Browse Source

t status

修改发料接收
lijuncheng0816
lijuncheng 3 months ago
parent
commit
c23b7e763d
  1. 80
      src/pages/productionReceipt/job/productionReceiptDetail.vue

80
src/pages/productionReceipt/job/productionReceiptDetail.vue

@ -453,46 +453,46 @@
}); });
var params = this.setParams() var params = this.setParams()
console.log("提交参数", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
// productionReceiptJobSubmit(params).then(res => { productionReceiptJobSubmit(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 + "]")
// } }
// }).catch(error => { }).catch(error => {
// uni.hideLoading() uni.hideLoading()
// this.showErrorMessage(error) this.showErrorMessage(error)
// }) })
// var itemCodes = [] var itemCodes = []
// this.detailSource.forEach(item => { this.detailSource.forEach(item => {
// itemCodes.push(item.itemCode) itemCodes.push(item.itemCode)
// }) })
// getManagementPrecisions(itemCodes, this.toLocationCode, res => { getManagementPrecisions(itemCodes, this.toLocationCode, res => {
// if (res.success) { if (res.success) {
// this.managementList = res.list; this.managementList = res.list;
// var params = this.setParams() var params = this.setParams()
// console.log("", JSON.stringify(params)); console.log("提交参数", JSON.stringify(params));
// productionReceiptJobSubmit(params).then(res => { productionReceiptJobSubmit(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 + "]")
// } }
// }).catch(error => { }).catch(error => {
// uni.hideLoading() uni.hideLoading()
// this.showErrorMessage(error) this.showErrorMessage(error)
// }) })
// } else { } else {
// uni.hideLoading(); uni.hideLoading();
// this.showErrorMessage(res.message); this.showErrorMessage(res.message);
// } }
// }); });
}, },
setParams() { setParams() {

Loading…
Cancel
Save