Browse Source

修改按计划完工

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

32
src/pages/fg/receiptByPlan.vue

@ -303,6 +303,20 @@
throw new Error("提交失败") 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 = { var queryParams = {
filters: [{ filters: [{
column: "number", column: "number",
@ -333,9 +347,7 @@
this.index = 1 this.index = 1
} }
} }
// else {
// throw new Error("")
// }
uni.hideLoading() uni.hideLoading()
if (isAllSubmit) { if (isAllSubmit) {
this.clearData() this.clearData()
@ -353,20 +365,6 @@
this.showCommitSuccessMessage(hintMsg, list) 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) { } catch (error) {
uni.hideLoading() uni.hideLoading()
var hint = error.message ? error.message : error var hint = error.message ? error.message : error

Loading…
Cancel
Save