Browse Source

验车

master
Zhao Qiqi 3 years ago
parent
commit
821d7f609a
  1. 4
      anrui-scm/anrui-scm-ui/src/api/supplychain/yancheguanli.js
  2. 38
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue
  3. 14
      anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliInfo.vue

4
anrui-scm/anrui-scm-ui/src/api/supplychain/yancheguanli.js

@ -24,7 +24,7 @@ export function saveCarInspectedInfo(data) {
// 验车管理 新增初始化
export function getCarInspectedInfo(data) {
return request({
url: '/terminal/supplychain/v1/carInspected/getCarInspectedInfo/'+ data.inspectedSid + '/' + data.userSid,
url: '/scm/v1/scmvehicleexamine/getCarInspectedInfo/'+ data.inspectedSid + '/' + data.userSid,
method: 'get'
})
}
@ -32,7 +32,7 @@ export function getCarInspectedInfo(data) {
// 验车管理详情回显
export function getCarInspected(data) {
return request({
url: '/terminal/supplychain/v1/carInspected/getCarInspected/' + data,
url: '/scm/v1/scmvehicleexamine/getCarInspected/' + data,
method: 'get'
})
}

38
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliAdd.vue

@ -35,19 +35,42 @@
</el-col>
</el-row>
<el-row class="yancheAdd-bor">
<el-col :span="12" class="yancheAdd-bor">
<el-col :span="24" class="yancheAdd-bor">
<el-form-item prop="config" label="配置:">
<el-input
v-model="temp.config"
type="textarea"
autosize
placeholder="请输入配置"
class="addinputw"
class="addinputw addinputw_copy"
readonly/>
</el-form-item>
</el-col>
</el-row>
<el-row class="yancheAdd-bor">
<el-col :span="24" class="yancheAdd-bor">
<el-form-item prop="modelDifferenceExplain" label="车型配置差异说明:">
<el-input
v-model="temp.modelDifferenceExplain"
type="textarea"
autosize
placeholder="请输入车型配置差异说明"
class="addinputw addinputw_copy"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item prop="guaranteeCardNo" label="保修卡号:">
<el-input
v-model="temp.guaranteeCardNo"
placeholder="请输入保修卡号"
class="addinputw"
clearable
@keyup.native="temp.guaranteeCardNo = oninput(temp.guaranteeCardNo,2)"
/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item prop="price" label="洗车费:">
<el-input
@ -122,7 +145,9 @@ export default {
vin: '',
config: '',
model: '',
inspectedSid: ''
inspectedSid: '',
modelDifferenceExplain:'',
guaranteeCardNo:''
}, //
dialogFormVisible: false, //
dialogFormShowVisible: false, //
@ -276,7 +301,9 @@ export default {
vin: '',
config: '',
model: '',
inspectedSid: ''
inspectedSid: '',
modelDifferenceExplain:'',
guaranteeCardNo:''
}
this.imgList01 = []
this.imgList02 = []
@ -407,4 +434,7 @@ export default {
line-height: 40px !important;
font-weight: 600;
}
.addinputw_copy{
width: 92% !important;
}
</style>

14
anrui-scm/anrui-scm-ui/src/views/supplychain/yancheguanli/yancheguanliInfo.vue

@ -24,13 +24,25 @@
</el-col>
</el-row>
<el-row class="yancheAdd-bor">
<el-col :span="12" class="yancheAdd-bor">
<el-col :span="24" class="yancheAdd-bor">
<el-form-item prop="config" label="配置:">
{{ temp.config }}
</el-form-item>
</el-col>
</el-row>
<el-row class="yancheAdd-bor">
<el-col :span="24" class="yancheAdd-bor">
<el-form-item prop="modelDifferenceExplain" label="请输入车型配置差异说明:">
{{ temp.modelDifferenceExplain }}
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item prop="guaranteeCardNo" label="保修卡号:">
<span>{{ temp.guaranteeCardNo }}</span>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item prop="price" label="洗车费:">
<span>{{ temp.price }}</span>

Loading…
Cancel
Save