From 889633898125d8476af87bb5cc246250f02e697f Mon Sep 17 00:00:00 2001 From: 南骏 池 <chiffly@163.com> Date: 星期二, 11 二月 2025 09:03:07 +0800 Subject: [PATCH] 1.生产补料,超领优化 2.成品入库界面和初步功能 --- H5/Js/Scbl.js | 23 ++++++++++++++++------- 1 files changed, 16 insertions(+), 7 deletions(-) diff --git a/H5/Js/Scbl.js b/H5/Js/Scbl.js index bea1c7a..23ead55 100644 --- a/H5/Js/Scbl.js +++ b/H5/Js/Scbl.js @@ -8,10 +8,12 @@ "loginAccount": '', }, sms: "", - num:"", - billNo:"", + num: "", + type: "", + billNo: "", + selectType: "", daa001: "", - barcode:"", + barcode: "", ItemBlDetail:[], modeInfo: [], active: 0, @@ -25,6 +27,8 @@ loginGuid: this.GetLoginInfor().loginGuid, loginAccount: this.GetLoginInfor().loginAccount, }; + this.type = this.Request("type"); + selectType = this.type == "bl" ? selectType = "鐢熶骇琛ユ枡" : selectType = "鐢熶骇瓒呴"; }, methods: { getInfo() { @@ -32,8 +36,11 @@ var that = this; that.isLoading = true; + + + that.AxiosHttp("post", 'MesItemBl/GetSCBLBillNo', { - type: "鐢熶骇琛ユ枡", + type: selectType, }, false) .then(function (res) { var json = res; @@ -77,7 +84,7 @@ that.isLoading = true; that.AxiosHttp("post", 'MesItemBl/GetMesItemBlDetailByBillNo', { billNo: that.billNo, - type: "鐢熶骇琛ユ枡" + type: selectType }, false) .then(function (res) { var json = res; @@ -132,7 +139,8 @@ userName: that.userInfo.loginAccount, barcode: that.barcode, blNo: that.billNo, - billNo: that.daa001 + billNo: that.daa001, + type: selectType }, false) .then(function (res) { var json = res; @@ -201,7 +209,8 @@ barcode: that.barcode, blNo: that.billNo, billNo: that.daa001, - num: that.sms + num: that.sms, + type: selectType }, false) .then(function (res) { var json = res; -- Gitblit v1.9.3