修改 其他出库校验 完成生产补料校验 添加销售出库校验 委外领料扫码校验
4个文件已修改
91 ■■■■ 已修改文件
pages/qitachukujiaoyan/detail.vue 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliaojiaoyan/form.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliaojiaoyan/form.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchukujiaoyan/form.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitachukujiaoyan/detail.vue
@@ -184,7 +184,7 @@
            return {
                userInfo: getUserInfo(),
                serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
                HModName: 'Kf_OtherOutBill_CheckList_PDA',
                HModName: 'Kf_OtherOutBill_Check_PDA',
                ModRightName: 'CE_OtherOutCheck',
                OperationType: 1,
                
@@ -459,24 +459,24 @@
                        sHQty = 0;
                    }
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -644,7 +644,7 @@
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DeleteBarCodeByEntryID_BillCheck_New_Json',
                                    '/WEBSController/set_SaveOtherOutBill_BillCheck_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HBillType: this.hform.HBillType,
@@ -725,7 +725,7 @@
                                            if (res.confirm) {
                                                console.log('用户点击确定');
                                                uni.redirectTo({
                                                    url: '/pages/shengchanlingliao/form?OperationType=1'
                                                    url: '/pages/qitachukujiaoyan/detail?OperationType=1'
                                                })
                                            } else if (res.cancel) {
                                                console.log('用户点击取消');
pages/shengchanbuliaojiaoyan/form.vue
@@ -453,24 +453,24 @@
                        sHQty = 0;
                    }
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -719,7 +719,7 @@
                                            if (res.confirm) {
                                                console.log('用户点击确定');
                                                uni.redirectTo({
                                                    url: '/pages/shengchanlingliao/form?OperationType=1'
                                                    url: '/pages/shengchanlingliaojiaoyan/form?OperationType=1'
                                                })
                                            } else if (res.cancel) {
                                                console.log('用户点击取消');
pages/weiwailingliaojiaoyan/form.vue
@@ -449,25 +449,26 @@
                    if (sHQty == "") {
                        sHQty = 0;
                    }
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -699,7 +700,7 @@
                        })
                        var sMainStr = JSON.stringify(this.hform);
                        uni.request({
                            url: this.serverUrl + 'WEBSController/set_SaveSellOutBill_BillCheck_Json',
                            url: this.serverUrl + '/WEBSController/set_SaveEntrustOutBill_BillCheck_Json',
                            method: 'POST',
                            dataType: "json",
                            data: {
@@ -716,7 +717,7 @@
                                            if (res.confirm) {
                                                console.log('用户点击确定');
                                                uni.redirectTo({
                                                    url: '/pages/shengchanlingliao/form?OperationType=1'
                                                    url: '/pages/weiwailingliaojiaoyan/form?OperationType=1'
                                                })
                                            } else if (res.cancel) {
                                                console.log('用户点击取消');
@@ -759,7 +760,7 @@
                        if (res.confirm) {
                            console.log('用户点击确定');
                            uni.redirectTo({
                                url: '/pages/qitachukujiaoyan/qitachukujiaoyan'
                                url: '/pages/weiwailingliaojiaoyan/table'
                            })
                        } else if (res.cancel) {
                            console.log('用户点击取消');
pages/xiaoshouchukujiaoyan/form.vue
@@ -450,24 +450,24 @@
                        sHQty = 0;
                    }
                    uni.request({
                        url: this.serverUrl + '/WEBSController/Get_BarCode_Json',
                        url: this.serverUrl + '/WEBSController/get_CheckTypeByBarCode_BillCheck_Json',
                        data: {
                            sBarCode: sBarCode,
                            HInterID: this.hform.HInterID,
                            HBillID: this.hform.HInterID || 0,
                            HBillType: this.hform.HBillType,
                            HBillNo: this.hform.HBillNo,
                            HMaker: this.hform.HMaker,
                            HWhID: sHWHID,
                            HSPID: sHSPID,
                            HQty: sHQty,
                            HRedBlueFlag: this.hform.HRedBlueFlag,
                            SourceFlag: HSourceFlag,
                            HSourceBillNo: sSourceBillNo,
                            HSourceBillType: sSourceBillType,
                            // HRedBlueFlag: this.hform.HRedBlueFlag,
                            // SourceFlag: HSourceFlag,
                            // HSourceBillNo: sSourceBillNo,
                            // HSourceBillType: sSourceBillType,
                            HStockOrgID: this.hform.HStockOrgID,
                            HScanStyle: "",
                            HCustom1: "",
                            HCustom2: ""
                            // HScanStyle: "",
                            // HCustom1: "",
                            // HCustom2: ""
                        },
                        success: (res) => {
                            console.log('扫码返回', res.data);
@@ -699,7 +699,7 @@
                        })
                        var sMainStr = JSON.stringify(this.hform);
                        uni.request({
                            url: this.serverUrl + 'WEBSController/set_SaveSellOutBill_BillCheck_Json',
                            url: this.serverUrl + '/WEBSController/set_SaveSellOutBill_BillCheck_Json',
                            method: 'POST',
                            dataType: "json",
                            data: {
@@ -716,7 +716,7 @@
                                            if (res.confirm) {
                                                console.log('用户点击确定');
                                                uni.redirectTo({
                                                    url: '/pages/shengchanlingliao/form?OperationType=1'
                                                    url: '/pages/xiaoshouchukujiaoyan/form?OperationType=1'
                                                })
                                            } else if (res.cancel) {
                                                console.log('用户点击取消');