Browse Source

修改采购订单测试问题,修改合格证台账测试问题

zhanglei
Zhao Qiqi 3 years ago
parent
commit
d23d569f9f
  1. 2
      anrui-scm/anrui-scm-ui/src/api/portal/Upload_chexing.js
  2. 3
      anrui-scm/anrui-scm-ui/src/styles/index.scss
  3. 2
      anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/relation/vehicleconfiguration.vue
  4. 9
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
  5. 2
      anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue
  6. 65
      anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue

2
anrui-scm/anrui-scm-ui/src/api/portal/Upload_chexing.js

@ -3,7 +3,7 @@ import qs from 'qs'
// 统一请求路径前缀
const base = process.env.VUE_APP_URL
// 文件上传接口
// 文件上传接口(仅存车型管理页面使用接口)
export const uploadFile = '/api/base/v1/basevehiclemodel/pictureUpload'
//文件上传接口(仅存放地点变更页面使用接口)

3
anrui-scm/anrui-scm-ui/src/styles/index.scss

@ -329,7 +329,8 @@ div:focus {
}
.forminfo {
padding: 20px 0;
padding: 10px 40px 0 40px;
font-size: 16px;
.title {
padding: 10px;font-weight: bold;
font-size: 20px;

2
anrui-scm/anrui-scm-ui/src/views/cheliang/cheliangcaigou/relation/vehicleconfiguration.vue

@ -46,7 +46,7 @@ export default {
showInfo(row) {
this.FormLoading = true
this.sid_list.modelSid = row.modelSid
this.sid_list.configSid = row.modelConfigSid
this.sid_list.configSid = row.configSid
this.sid_list.vehModelConfigSid = row.vehModelConfigSid
if (row.guidedPrice !== '' || row.guidedPrice !== null){
const guidedPrice_two = parseFloat(Number(row.guidedPrice) / 10000).toFixed(2)

9
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue

@ -138,12 +138,13 @@
<span>{{ scope.row.emissionStandardValue }}</span>
</template>
</el-table-column>
<el-table-column label="车型照片" align="center" width="120px" class-name="small-padding fixed-width">
<el-table-column label="车型照片" align="center" width="160px" class-name="small-padding fixed-width">
<template slot-scope="scope">
<el-button size="mini" type="primary" @click="handleGetCheck(scope.row)">查看</el-button>
<!-- <div class="upload_img">-->
<!-- <upload ref="uploadMoreImg" v-model="imgList" :limit="1" bucket="map" @eett="getList" :upload-data="{type:'0001',modelSid: scope.row.sid}"></upload>-->
<!-- </div>-->
<div class="upload_img">
<upload ref="uploadMoreImg" v-model="imgList" :limit="1" bucket="map" @eett="getList"
:upload-data="{type:'0001',modelSid: scope.row.sid}"></upload>
</div>
</template>
</el-table-column>
</el-table>

2
anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue

@ -132,7 +132,7 @@
<el-table-column width="80px" fixed label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="操作" fixed align="center" width="110px" class-name="small-padding fixed-width">
<template slot-scope="{row}">
<el-button size="mini" type="primary" @click="handleJiage(row)">价格维护</el-button>
<el-button size="mini" type="primary" :disabled="row.guidedPrice !== ''" @click="handleJiage(row)">价格维护</el-button>
</template>
</el-table-column>
<el-table-column width="110px" fixed label="指导价(元)" align="center">

65
anrui-scm/anrui-scm-ui/src/views/cheliang/hegezhengtaizhang/hegezhengtaizhang.vue

@ -35,14 +35,14 @@
</el-select>
</el-form-item>
<el-form-item label="车架号">
<el-input v-model="listQuery.params.certificationNo" placeholder="请输入车架号" clearable
<el-input v-model="listQuery.params.vinNo" placeholder="请输入车架号" clearable
class="filter-item"/>
</el-form-item>
<el-form-item label="移交状态">
<el-select v-model="listQuery.params.certificateState" class="addinputw" clearable
<el-select v-model="listQuery.params.transferStateKey" class="addinputw" clearable
placeholder="请选择移交状态"
style="width: 200px;">
<el-option v-for="item in Situation" :key="item.dictKey" :label="item.dictValue"
<el-option v-for="item in transferState_list" :key="item.dictKey" :label="item.dictValue"
:value="item.dictKey"/>
</el-select>
</el-form-item>
@ -63,15 +63,20 @@
@selection-change="handleSelectionChange">
<el-table-column width="50px" type="selection" align="center"/>
<el-table-column width="80px" fixed label="序号" type="index" :index="indexMethod" align="center"/>
<el-table-column label="操作" fixed align="center" width="220px" class-name="small-padding fixed-width">
<template slot-scope="{row}">
<el-button size="mini" type="primary" @click="handleCheck(row)">查看</el-button>
<el-button size="mini" type="primary" @click="cheLiangXiangXi(row)">车辆信息</el-button>
<!-- <el-table-column label="操作" fixed align="center" width="220px" class-name="small-padding fixed-width">-->
<!-- <template slot-scope="{row}">-->
<!-- <el-button size="mini" type="primary" @click="handleCheck(row)">查看</el-button>-->
<!-- <el-button size="mini" type="primary" @click="cheLiangXiangXi(row)">车辆信息</el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="车架号" width="180px" align="center">
<template slot-scope="scope">
<span class="bluezi" @click="cheLiangXiangXi(scope.row)">{{ scope.row.vinNo }}</span>
</template>
</el-table-column>
<el-table-column label="合格证编号" width="180px" align="center">
<template slot-scope="scope">
<span>{{ scope.row.certificationNo }}</span>
<span class="bluezi" @click="handleCheck(scope.row)">{{ scope.row.certificationNo }}</span>
</template>
</el-table-column>
<el-table-column label="发证日期" width="140px" align="center">
@ -84,6 +89,11 @@
<span>{{ scope.row.certificateStateValue }}</span>
</template>
</el-table-column>
<el-table-column label="移交状态" width="120px" align="center">
<template slot-scope="scope">
<span>{{ scope.row.transferStateValue }}</span>
</template>
</el-table-column>
<el-table-column label="到证日期" width="140px" align="center">
<template slot-scope="scope">
<span>{{ scope.row.toCardDate }}</span>
@ -264,22 +274,25 @@ export default {
certificateStartDate: '',
certificateEndDate: '',
certificateState: '',
certificationNo: ''
certificationNo: '',
vinNo:'',
transferStateKey:''
},
current: 1,
size: 20
},
Situation: [],
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
Situation: [],
transferState_list: [],
selectDate: undefined,
temp: {}, //
templook: {}, //
textMap: {
update: '编辑',
create: '创建'
},
dialogFormVisible: false, //
dialogFormShowVisible: false, //
dialogStatus: '', //
typeOptions: [],
rules: {
@ -382,6 +395,14 @@ export default {
this.Situation = res.data
}
})
typeValues({
type: 'transferState'
}).then((res) => {
console.log(res)
if (res.code === '200') {
this.transferState_list = res.data
}
})
},
//
getList() {
@ -414,7 +435,9 @@ export default {
certificateStartDate: '',
certificateEndDate: '',
certificateState: '',
certificationNo: ''
certificationNo: '',
vinNo:'',
transferStateKey:''
},
current: 1,
size: 20

Loading…
Cancel
Save