南骏 池
2025-02-11 889633898125d8476af87bb5cc246250f02e697f
H5/Js/Scbl.js
@@ -9,7 +9,9 @@
            },
            sms: "",
            num:"",
            type: "",
            billNo:"",
            selectType: "",
            daa001: "",
            barcode:"",
            ItemBlDetail:[],
@@ -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;