单据详情页面优化

master
schry 2 years ago
parent cd8e3fbeab
commit a03c343754

@ -683,6 +683,7 @@
<el-col :span="11" type="flex">
<el-form-item label="客户端类型" prop="clientType" show-overflow-tooltip>
<el-input v-model="orderFormView.clientType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
@ -738,7 +739,7 @@
<el-row type="flex">
<el-col :span="11" type="flex">
<el-form-item label="出入库类型" prop="inOutType" show-overflow-tooltip>
<el-input v-model="orderFormView.inOutType" size="small" style="width: 90%" :disabled="true"
<el-input v-model="this.inOutType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
@ -908,6 +909,7 @@ import {getTraceRecordList, getTraceOrder, getManuOrder, getManuCodeRelList, get
export default {
data() {
return {
inOutType: null,
openManuOrder: false,
manuOrderFormView: {},
openManuCodeRel: false,
@ -990,6 +992,21 @@ export default {
if (row.id == obj.id) {
this.orderFormView = obj
}
if (this.orderFormView.inOutType == '1') {
this.inOutType = "入库"
}else {
this.inOutType = "出库"
}
if (this.orderFormView.clientType == '1') {
this.clientType = "模拟测试客户端"
}else if (this.orderFormView.clientType == '2'){
this.clientType = "UDI自助平台"
}else if (this.orderFormView.clientType == '3'){
this.clientType = "UDI管理系统"
}else if (this.orderFormView.clientType == '4'){
this.clientType = "UDIMS平台"
}
})
this.orderOpen = true
},

@ -613,6 +613,7 @@
<el-col :span="11" type="flex">
<el-form-item label="出入库类型" prop="inOutType">
<el-input v-model="formView.inOutType" size="small" style="width: 90%" :disabled="true"
></el-input>
</el-form-item>
</el-col>
@ -1052,6 +1053,11 @@ export default {
this.list.forEach(obj => {
if (row.id == obj.id) {
this.formView = obj
// if (this.formView.inOutType == 1) {
// this.formView.inOutType = ""
// }else {
// this.formView.inOutType = ""
// }
}
})
console.log(this.formView)

Loading…
Cancel
Save