有重检、复检项时 创建订单人员才可以修改引车员
This commit is contained in:
parent
ca2fc2773c
commit
fe911c6965
@ -53,7 +53,7 @@
|
||||
<view class="h_title"> 引车员</view>
|
||||
<view class="h_name">{{ detailData.leadManName }}</view>
|
||||
</view>
|
||||
<view class="h-two-r" @tap="selectLeadMan">
|
||||
<view v-if="isChangeLeadMan" class="h-two-r" @tap="selectLeadMan">
|
||||
<image src="../..//static/imgs/t_.png" mode=""></image>
|
||||
<text>更换引车员</text>
|
||||
</view>
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user