diff --git a/pages/index/orderdetails.vue b/pages/index/orderdetails.vue index 1e1905d..653f380 100644 --- a/pages/index/orderdetails.vue +++ b/pages/index/orderdetails.vue @@ -53,7 +53,7 @@ 引车员 {{ detailData.leadManName }} - + 更换引车员 @@ -357,7 +357,8 @@ export default { text: '退办理', value: "0" }, - ] + ], + isChangeLeadMan: false, } }, onLoad(option) { @@ -367,7 +368,9 @@ export default { if (this.workNodeStatus == '1') { this.isExamines() } - + if (this.inspectionInfoId){ + this.judgeUpdateLeadMan() + } }, onShow() { this.getindex() @@ -379,6 +382,14 @@ export default { }) }, methods: { + judgeUpdateLeadMan(){ + request({ + url: '/system/info/judgeUpdateLeadMan?id=' + this.inspectionInfoId, + method: 'get' + }).then(res => { + this.isChangeLeadMan = res.data + }) + }, chooseBank(e) { this.receivablesAccount = e.value[0] this.bankShow = false