在生产入库,销售出库,分布式调出单,分布式调入单,直接调拨单,采购入库,委外入库,生产领料,生产领料校验添加条码明细
12个文件已修改
839 ■■■■ 已修改文件
pages.json 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/caigouruku/POStockInBill.vue 85 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/fenbushidiaochudan/form_out.vue 83 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/fenbushidiaorudan/form.vue 84 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/fenbushidiaorudan/form_test.vue 82 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/index/login.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanlingliao/PPickingCheckBill.vue 83 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanlingliaoshengdan/Kf_MateOutBill.vue 84 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/shengchanrukushengdan/Kf_ProductInBill.vue 82 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/weiwairuku/EntrustInBill.vue 82 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/xiaoshouchuku/SellOutBill.vue 83 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/zhijiediaobo/MoveStockBill.vue 83 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages.json
@@ -1683,6 +1683,12 @@
            }
        },
        {
            "path": "pages/tiaomamingxi/tiaomamingxi",
            "style": {
                "navigationBarTitleText": "条码明细"
            }
        },
        {
            "path": "pages/fenbushidiaochudan/table_out",
            "style": {
                "navigationBarTitleText": "分步式调出单缓存列表"
pages/caigouruku/POStockInBill.vue
@@ -427,7 +427,10 @@
                }
            }
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getHSupList()
            this.getHEmpList()
            this.getHDeptList()
@@ -441,6 +444,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        methods: {
            toScanBillCode() {
@@ -1590,45 +1594,48 @@
                if (event && event.target.classList && event.target.classList.contains('link-text')) {
                    return; // 如果是链接点击,不执行删除
                }
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                    })
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 "' + item.物料名称 + '" 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                }
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 "' + item.物料名称 + '" 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 }
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/fenbushidiaochudan/form_out.vue
@@ -523,6 +523,11 @@
                this.HSourcebillNoFocus = true
                this.getNewData()
            }
            this.getHSupList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getHWarehouseInList()
            // this.getHBaseList()
@@ -565,6 +570,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        computed: {
            HIsStockInner: {
@@ -2215,44 +2221,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/fenbushidiaorudan/form.vue
@@ -511,7 +511,11 @@
                this.HSourcebillNoFocus = true
                this.getNewData()
            }
            this.getHSupList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getHWarehouseInList()
            // this.getHBaseList()
            this.getHSupList()
@@ -535,6 +539,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        computed: {
            HIsStockInner: {
@@ -1962,44 +1967,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/fenbushidiaorudan/form_test.vue
@@ -442,6 +442,10 @@
                this.HSourcebillNoFocus = true
                this.getNewData()
            }
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getHBaseList()
            this.getHDeptList()
@@ -470,6 +474,7 @@
            uni.$off('WarehouseSelectComplete')
            uni.$off('StockPlaceSelectComplete')
            uni.$off('DepartmentSelectComplete')
            this.$refs.billList.exit()
        },
        computed: {
            arrayHStockPlaceNameComputed: {
@@ -492,44 +497,47 @@
        methods: {
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            // 用户模块权限判断
            async checkModRight() {
pages/index/login.vue
@@ -114,7 +114,7 @@
                    "陈镐哲本地测试2": 'http://192.168.88.82:81/API/',
                    "张瑞广本地测试": 'http://localhost:8082/API/',
                    "余思杰本地测试": 'http://localhost:8082/LuBaoAPI/',
                    "杨权鑫本地测试": 'http://172.20.10.5:8082/API/',
                    "杨权鑫本地测试": 'http://172.20.10.2:8082/API/',
                    "王仪本地测试": 'http://192.168.0.74:8080/API/',
                    // 小卫内外网
                    "苏州卫智科技-外网": 'http://221.224.60.42:8082/API_WW/',
pages/shengchanlingliao/PPickingCheckBill.vue
@@ -93,7 +93,7 @@
                </label>
            </view>
            <view v-if="tabs == 2">
                <view class="list" v-for="(item,index) in Materlist" :key="index" @tap.stop="cmdDelete(item)">
                <view class="list" v-for="(item,index) in Materlist" :key="index" @tap.stop="delMater(item)">
                    <uni-card :title="item.物料名称" :extra="'数量:'+item.数量" style="margin: 10px;">
                        <view class="card-detail">
                            <view class="detail">
@@ -288,9 +288,6 @@
            BillListPopupVue,
            FIFOListComponentVue
        },
        onUnload() {
            uni.$off('BillSelectComplete')
        },
        onLoad(e) {
            console.log(e, this.userInfo)
            this.OperationType = e.OperationType
@@ -302,6 +299,10 @@
                this.refreshHBillNoFocus()
            }
            this.getHBaseList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            uni.$on('BillSelectComplete', async (e) => {
                console.log("接收到的消息: ", e)
                console.log("是否应用多源单: ", e.enableMultiSourceBill)
@@ -328,6 +329,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        methods: {
            async changeQty() {
@@ -1166,42 +1168,45 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DeleteBarCodeByEntryID_BillCheck_New_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HBillType: this.hform.HBillType,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HSourceBarCodeCtl: this.hform.HSourceBarCodeCtl
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DeleteBarCodeByEntryID_BillCheck_New_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HBillType: this.hform.HBillType,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HSourceBarCodeCtl: this.hform.HSourceBarCodeCtl
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            addNew() {
                uni.redirectTo({
pages/shengchanlingliaoshengdan/Kf_MateOutBill.vue
@@ -424,7 +424,7 @@
        },
        onLoad(e) {
            uni.setNavigationBarTitle({
                            title: this.$t("Kf_MateOutBill_PDA.title") == 'Kf_MateOutBill_PDA.title' ? '生产补料单' : this.$t("Kf_MateOutBill_PDA.title")
                            title: this.$t("Kf_MateOutBill_PDA.title") == 'Kf_MateOutBill_PDA.title' ? '生产领料单' : this.$t("Kf_MateOutBill_PDA.title")
                        })
            console.log(e, this.userInfo)
            this.OperationType = e.OperationType
@@ -443,6 +443,10 @@
            this.getHSupList()
            this.getHEmpList()
            this.getHDeptList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getRelationStore()
@@ -473,6 +477,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        computed: {
            enableMultiSourceBill: {
@@ -1566,44 +1571,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/shengchanrukushengdan/Kf_ProductInBill.vue
@@ -449,6 +449,10 @@
            }
            // this.getHBaseList()
            this.getHSupList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getHEmpList()
            this.getHDeptList()
            await this.getRelationStore()
@@ -461,6 +465,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            uni.$off('refreshList')
        },
        methods: {
            toScanBillCode() {
@@ -1593,44 +1598,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/weiwairuku/EntrustInBill.vue
@@ -418,6 +418,10 @@
            this.getHSupList()
            this.getHEmpList()
            this.getHDeptList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            this.getRelationStore()
@@ -429,6 +433,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        methods: {
            async HWHNameScan(e) {
@@ -1444,44 +1449,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/xiaoshouchuku/SellOutBill.vue
@@ -471,6 +471,11 @@
                this.refreshHSourceBillState()
                this.getNewData()
            }
            this.getHSupList()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            // this.getHBaseList()
            this.getHSupList()
            this.getHEmpList()
@@ -487,6 +492,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        methods: {
            toScanBillCode() {
@@ -1621,44 +1627,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {
pages/zhijiediaobo/MoveStockBill.vue
@@ -578,7 +578,10 @@
            await this.GetSourceBillType()
            this.InitTransferDirect()
            this.InitShipType()
            uni.$on('refreshList', () => {
                console.log('收到刷新指令!')
                this.DisBillEntryList() // 你的刷新方法
              })
            // this.getHSupList() // 初始化 客户
            this.getHCusList() // 初始化 供应商
@@ -592,6 +595,7 @@
        },
        onUnload() {
            uni.$off('BillSelectComplete')
            this.$refs.billList.exit()
        },
        computed: {
            HIsStockInner: {
@@ -2004,44 +2008,47 @@
            },
            //删除物料码
            delMater(item) {
                uni.showModal({
                    title: '提示',
                    content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                    success: (res) => {
                        if (res.confirm) {
                            uni.request({
                                url: this.serverUrl +
                                    '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                                data: {
                                    HInterID: this.hform.HInterID,
                                    HMaterID: item.HMaterID,
                                    HAuxPropID: item.HAuxPropID,
                                    HMTONo: item.HMTONo,
                                    HSourceInterID: item.HSourceInterID,
                                    HSourceEntryID: item.HSourceEntryID,
                                    HBillType: this.hform.HBillType
                                },
                                success: (res) => {
                                    if (res.data.count == 1) {
                                        this.DisBillEntryList()
                                    } else {
                                        uni.showToast({
                                            title: res.data.Message,
                                            icon: 'none'
                uni.navigateTo({
                        url:'../tiaomamingxi/tiaomamingxi?HInterID=' + this.hform.HInterID + '&HMaterID=' + item.HMaterID + '&HBillType=' + this.hform.HBillType
                                        })
                                    }
                                },
                                fail: (res) => {
                                    console.log(res);
                                    uni.showToast({
                                        title: '接口请求失败',
                                        icon: 'none'
                                    })
                                },
                            });
                        }
                    }
                });
                // uni.showModal({
                //     title: '提示',
                //     content: '确认要删除 " ' + item.物料名称 + ' " 所有扫码记录?删除后将不可恢复!',
                //     success: (res) => {
                //         if (res.confirm) {
                //             uni.request({
                //                 url: this.serverUrl +
                //                     '/WEBSController/set_DelPonderationBillMain_Temp_InterIDAndSource_Json',
                //                 data: {
                //                     HInterID: this.hform.HInterID,
                //                     HMaterID: item.HMaterID,
                //                     HAuxPropID: item.HAuxPropID,
                //                     HMTONo: item.HMTONo,
                //                     HSourceInterID: item.HSourceInterID,
                //                     HSourceEntryID: item.HSourceEntryID,
                //                     HBillType: this.hform.HBillType
                //                 },
                //                 success: (res) => {
                //                     if (res.data.count == 1) {
                //                         this.DisBillEntryList()
                //                     } else {
                //                         uni.showToast({
                //                             title: res.data.Message,
                //                             icon: 'none'
                //                         })
                //                     }
                //                 },
                //                 fail: (res) => {
                //                     console.log(res);
                //                     uni.showToast({
                //                         title: '接口请求失败',
                //                         icon: 'none'
                //                     })
                //                 },
                //             });
                //         }
                //     }
                // });
            },
            //新增
            getNewData() {