|
|
|
@ -418,18 +418,16 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
|
|
getBillNo(billNo,workPlaceCode){
|
|
|
|
|
getBillNo(billNo){
|
|
|
|
|
let post = {
|
|
|
|
|
billNo: billNo,
|
|
|
|
|
workPlaceCode: workPlaceCode,
|
|
|
|
|
page: 1,
|
|
|
|
|
limit: 10,
|
|
|
|
|
}
|
|
|
|
|
findByBill(post).then(res => {
|
|
|
|
|
if (res.code == 20000) {
|
|
|
|
|
if (res.data.billNo != null){
|
|
|
|
|
this.formData = res.data
|
|
|
|
|
this.startDeal();
|
|
|
|
|
if (res.data.list.length > 0){
|
|
|
|
|
this.formData = res.data.list[0]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
@ -457,7 +455,7 @@ export default {
|
|
|
|
|
this.findFromInvList("");
|
|
|
|
|
}
|
|
|
|
|
if (this.formData.billNo != null){
|
|
|
|
|
this.getBillNo(this.formData.billNo,this.formData.workPlaceCode)
|
|
|
|
|
this.getBillNo(this.formData.billNo)
|
|
|
|
|
}else {
|
|
|
|
|
this.findCurOrder();
|
|
|
|
|
}
|
|
|
|
@ -874,6 +872,7 @@ export default {
|
|
|
|
|
this.isLinkDisabled = true
|
|
|
|
|
this.selectBusTypeDisabled = true
|
|
|
|
|
this.corpOrderIdDisabled = true
|
|
|
|
|
this.workplaceId = Number(this.$route.query.workplaceId);
|
|
|
|
|
this.formData.workPlaceCode = Number(this.$route.query.workplaceId);
|
|
|
|
|
this.getWorkBindBusTypes(this.formData.workPlaceCode);
|
|
|
|
|
}
|
|
|
|
|