修改 其他出库校验 完成生产补料校验 添加销售出库校验 委外领料扫码校验
4个文件已修改
101 ■■■■ 已修改文件
pages/qitachukujiaoyan/detail.vue 34 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanbuliaojiaoyan/form.vue 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwailingliaojiaoyan/form.vue 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchukujiaoyan/form.vue 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/qitachukujiaoyan/detail.vue
@@ -25,7 +25,7 @@
            </view>
            <view class="form-item">
                <view class="title">仓位:</view>
                <view class="right" >
                <view class="right">
                    <uni-combox :candidates="arrayHStockPlaceName" placeholder="请输入(或扫描)仓位"
                        v-model="hform.HStockPlaceName" @input="HStockPlaceNameChange"></uni-combox>
                </view>
@@ -184,10 +184,10 @@
            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,
                showHBillNo: true,
                tabs: 1,
                linterid: '',
@@ -271,7 +271,7 @@
                        // }else{
                        //     this.hform.HBarCode = res.result
                        // }
                        this.hform.HBillNo = res.result
                        this.GetMeesageByBillNo(this.hform.HBillNo)
                    }
@@ -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('用户点击取消');
@@ -855,8 +855,8 @@
            padding: 8rpx 20rpx;
            font-size: 30rpx;
        }
        textarea {
            width: 98%;
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('用户点击取消');