Browse Source

修改按计划完工

hella_online_20240919
lijuncheng 2 months ago
parent
commit
5a7cc4fe4d
  1. 32
      src/pages/fg/receiptByPlan.vue

32
src/pages/fg/receiptByPlan.vue

@ -302,6 +302,20 @@
} else {
throw new Error("提交失败")
}
//
if(this.dataContent.putAwayRequestSwitch){
if(list.length>0&&list[0].requestNumber){
createPutawayRequestByPlan(list[0].requestNumber)
}
}
//
if(this.dataContent.putAwayInspectSwitch){
if(list.length>0&&list[0].requestNumber){
createInspectRequestByPlan(list[0].requestNumber)
}
}
var queryParams = {
filters: [{
@ -333,9 +347,7 @@
this.index = 1
}
}
// else {
// throw new Error("")
// }
uni.hideLoading()
if (isAllSubmit) {
this.clearData()
@ -352,20 +364,6 @@
nextTick(() => {
this.showCommitSuccessMessage(hintMsg, list)
})
//
if(this.dataContent.putAwayRequestSwitch){
if(list.length>0&&list[0].requestNumber){
createPutawayRequestByPlan(list[0].requestNumber)
}
}
//
if(this.dataContent.putAwayInspectSwitch){
if(list.length>0&&list[0].requestNumber){
createInspectRequestByPlan(list[0].requestNumber)
}
}
} catch (error) {
uni.hideLoading()

Loading…
Cancel
Save