有重检、复检项时 创建订单人员才可以修改引车员
This commit is contained in:
parent
ca2fc2773c
commit
fe911c6965
@ -53,7 +53,7 @@
|
|||||||
<view class="h_title"> 引车员</view>
|
<view class="h_title"> 引车员</view>
|
||||||
<view class="h_name">{{ detailData.leadManName }}</view>
|
<view class="h_name">{{ detailData.leadManName }}</view>
|
||||||
</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>
|
<image src="../..//static/imgs/t_.png" mode=""></image>
|
||||||
<text>更换引车员</text>
|
<text>更换引车员</text>
|
||||||
</view>
|
</view>
|
||||||
@ -357,7 +357,8 @@ export default {
|
|||||||
text: '退办理',
|
text: '退办理',
|
||||||
value: "0"
|
value: "0"
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
|
isChangeLeadMan: false,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
@ -367,7 +368,9 @@ export default {
|
|||||||
if (this.workNodeStatus == '1') {
|
if (this.workNodeStatus == '1') {
|
||||||
this.isExamines()
|
this.isExamines()
|
||||||
}
|
}
|
||||||
|
if (this.inspectionInfoId){
|
||||||
|
this.judgeUpdateLeadMan()
|
||||||
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
this.getindex()
|
this.getindex()
|
||||||
@ -379,6 +382,14 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
judgeUpdateLeadMan(){
|
||||||
|
request({
|
||||||
|
url: '/system/info/judgeUpdateLeadMan?id=' + this.inspectionInfoId,
|
||||||
|
method: 'get'
|
||||||
|
}).then(res => {
|
||||||
|
this.isChangeLeadMan = res.data
|
||||||
|
})
|
||||||
|
},
|
||||||
chooseBank(e) {
|
chooseBank(e) {
|
||||||
this.receivablesAccount = e.value[0]
|
this.receivablesAccount = e.value[0]
|
||||||
this.bankShow = false
|
this.bankShow = false
|
||||||
|
Loading…
Reference in New Issue
Block a user