From 68bcd91bf90706e6340b12cf30672fc2dae6f9bb Mon Sep 17 00:00:00 2001
From: dytyqx <1342948614@qq.com>
Date: 星期三, 25 三月 2026 16:23:31 +0800
Subject: [PATCH] 在生产入库,销售出库,分布式调出单,分布式调入单,直接调拨单,采购入库,委外入库,生产领料,生产领料校验添加条码明细

---
 pages/shengchanrukushengdan/Kf_ProductInBill.vue   |   84 +++--
 pages/caigouruku/POStockInBill.vue                 |   85 +++--
 pages/shengchanlingliaoshengdan/Kf_MateOutBill.vue |   86 +++--
 pages.json                                         |    6 
 pages/fenbushidiaorudan/form_test.vue              |   84 +++--
 pages/xiaoshouchuku/SellOutBill.vue                |   85 +++--
 pages/zhijiediaobo/MoveStockBill.vue               |   85 +++--
 pages/index/login.vue                              |    2 
 pages/shengchanlingliao/PPickingCheckBill.vue      |   85 +++--
 pages/fenbushidiaorudan/form.vue                   |   86 +++--
 pages/fenbushidiaochudan/form_out.vue              |   85 +++--
 pages/weiwairuku/EntrustInBill.vue                 |   84 +++--
 12 files changed, 470 insertions(+), 387 deletions(-)

diff --git a/pages.json b/pages.json
index 7a97314..e09c987 100644
--- a/pages.json
+++ b/pages.json
@@ -1683,6 +1683,12 @@
             }
         },
 		{
+		    "path": "pages/tiaomamingxi/tiaomamingxi",
+		    "style": {
+		        "navigationBarTitleText": "鏉$爜鏄庣粏"
+		    }
+		},
+		{
 		    "path": "pages/fenbushidiaochudan/table_out",
 		    "style": {
 		        "navigationBarTitleText": "鍒嗘寮忚皟鍑哄崟缂撳瓨鍒楄〃"
diff --git a/pages/caigouruku/POStockInBill.vue b/pages/caigouruku/POStockInBill.vue
index 17a731c..9b101b4 100644
--- a/pages/caigouruku/POStockInBill.vue
+++ b/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() {
diff --git a/pages/fenbushidiaochudan/form_out.vue b/pages/fenbushidiaochudan/form_out.vue
index c9688fa..10851b0 100644
--- a/pages/fenbushidiaochudan/form_out.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             //鏂板
             getNewData() {
diff --git a/pages/fenbushidiaorudan/form.vue b/pages/fenbushidiaorudan/form.vue
index 9351c55..d4f5d09 100644
--- a/pages/fenbushidiaorudan/form.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             //鏂板
             getNewData() {
diff --git a/pages/fenbushidiaorudan/form_test.vue b/pages/fenbushidiaorudan/form_test.vue
index 0cb1e12..32b0830 100644
--- a/pages/fenbushidiaorudan/form_test.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             // 鐢ㄦ埛妯″潡鏉冮檺鍒ゆ柇
             async checkModRight() {
diff --git a/pages/index/login.vue b/pages/index/login.vue
index 3cc31b5..f08d6bf 100644
--- a/pages/index/login.vue
+++ b/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/',
diff --git a/pages/shengchanlingliao/PPickingCheckBill.vue b/pages/shengchanlingliao/PPickingCheckBill.vue
index e860169..9facb2f 100644
--- a/pages/shengchanlingliao/PPickingCheckBill.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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_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({
diff --git a/pages/shengchanlingliaoshengdan/Kf_MateOutBill.vue b/pages/shengchanlingliaoshengdan/Kf_MateOutBill.vue
index d2dddb7..c77ef94 100644
--- a/pages/shengchanlingliaoshengdan/Kf_MateOutBill.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             //鏂板
             getNewData() {
diff --git a/pages/shengchanrukushengdan/Kf_ProductInBill.vue b/pages/shengchanrukushengdan/Kf_ProductInBill.vue
index f48236f..0fda5a5 100644
--- a/pages/shengchanrukushengdan/Kf_ProductInBill.vue
+++ b/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'
-										})
-									}
-								},
-								fail: (res) => {
-									console.log(res);
-									uni.showToast({
-										title: '鎺ュ彛璇锋眰澶辫触',
-										icon: 'none'
-									})
-								},
-							});
-						}
-					}
-				});
+				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'
+				// 					})
+				// 				},
+				// 			});
+				// 		}
+				// 	}
+				// });
 			},
 			//鏂板
 			getNewData() {
diff --git a/pages/weiwairuku/EntrustInBill.vue b/pages/weiwairuku/EntrustInBill.vue
index 0f8e4b4..56ad569 100644
--- a/pages/weiwairuku/EntrustInBill.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             //鏂板
             getNewData() {
diff --git a/pages/xiaoshouchuku/SellOutBill.vue b/pages/xiaoshouchuku/SellOutBill.vue
index dba310b..bd7fe7a 100644
--- a/pages/xiaoshouchuku/SellOutBill.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             //鏂板
             getNewData() {
diff --git a/pages/zhijiediaobo/MoveStockBill.vue b/pages/zhijiediaobo/MoveStockBill.vue
index 343ba74..547033f 100644
--- a/pages/zhijiediaobo/MoveStockBill.vue
+++ b/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'
-                                        })
-                                    }
-                                },
-                                fail: (res) => {
-                                    console.log(res);
-                                    uni.showToast({
-                                        title: '鎺ュ彛璇锋眰澶辫触',
-                                        icon: 'none'
-                                    })
-                                },
-                            });
-                        }
-                    }
-                });
+				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'
+                //                     })
+                //                 },
+                //             });
+                //         }
+                //     }
+                // });
             },
             //鏂板
             getNewData() {

--
Gitblit v1.9.1