Browse Source

三方库发货去掉客户选择校验

hella_online_20241114
lijuncheng 2 weeks ago
parent
commit
450d35937e
  1. 12
      src/pages/deliver/record/deliverRecord.vue

12
src/pages/deliver/record/deliverRecord.vue

@ -264,11 +264,11 @@
}, },
commit() { commit() {
if (this.customerText == "") { // if (this.customerText == "") {
this.showMessage("请先选择客户") // this.showMessage("")
return; // return;
} // }
console.log("客户", this.customerText) // console.log("", this.customerText)
if (this.toLocationCode == "") { if (this.toLocationCode == "") {
this.showMessage("请先选择目标库位") this.showMessage("请先选择目标库位")
return; return;
@ -290,7 +290,7 @@
deliverRecordSubmit(params).then(res => { deliverRecordSubmit(params).then(res => {
uni.hideLoading() uni.hideLoading()
if (res.data) { if (res.data) {
this.showCommitSuccessMessage("提交成功\n生成制品发货记录\n" + res.data) this.showCommitSuccessMessage("提交成功\n生成发货记录\n" + res.data)
} else { } else {
this.showErrorMessage("提交失败[" + res.msg + "]") this.showErrorMessage("提交失败[" + res.msg + "]")
} }

Loading…
Cancel
Save