From 7fb0a8f0ab16c149484bf043754cd10cfa94de2f Mon Sep 17 00:00:00 2001
From: wangyi <2946747746@qq.com>
Date: 星期一, 19 一月 2026 14:48:05 +0800
Subject: [PATCH] 增加了业务员,保管员和验收员的对应的显示

---
 src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue |   34 +++++++++++++++-------------------
 1 files changed, 15 insertions(+), 19 deletions(-)

diff --git a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
index a6c815b..b9de7e6 100644
--- a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
+++ b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
@@ -226,7 +226,7 @@
                 </template>
             </el-table>
             <pagination v-show="total > 0" :total="total" :page.sync="page" :limit.sync="pageSize"
-                :pageSizes="pageSizes" @pagination="getList" />
+                :pageSizes="pageSizes" @pagination="handleQuery" />
             <el-dialog title="闅愯棌鍒楄缃�" :visible.sync="openRowHide" width="816px" append-to-body>
                 <RowSettings :colName="btResList" :HModName="HModName" @rowEditClose="rowSetClose" v-if="rowHideShow" />
             </el-dialog>
@@ -364,7 +364,7 @@
     created() {
         // this.fetchData()
         this.riqiChange();
-        this.getList();
+        this.handleQuery();
     },
 
     methods: {
@@ -407,7 +407,7 @@
             this.rowHideShow = false;
             this.tableShow = true;
             this.openRowHide = val;
-            this.getList();
+            this.handleQuery();
         },
         riqiChange() {
             const end = new Date();
@@ -427,15 +427,12 @@
             this.pageSize = 50;
             this.tableShow = false;
             this.loading = true;
-            if (this.sTime) {
-                this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.sTime + "'";
-                this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.eTime + "'";
-            }
+            
             if (this.pageSize == 0) {
                 this.pageSize = 50;
             }
             // 鍒楄〃
-            axios.get(this.baseURL + "/Kf_POStockInBackBill/list", {
+            axios.get(this.$baseUrl + "/Kf_POStockInBackBill/list", {
                 params: {
                     sWhere: this.sWhere,
                     user: sessionStorage["HUserName"],
@@ -538,7 +535,7 @@
         DisPlay_HideColumn(HModName, user, option, dataOption) {
             this.totalNameList = [];
             axios
-                .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+                .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
                     params: {
                         HModName: HModName,
                         user: user,
@@ -784,7 +781,6 @@
             if (this.sTime) {
                 this.sTime = moment(this.sTime).format("YYYY-MM-DD");
                 this.eTime = moment(this.eTime).format("YYYY-MM-DD");
-                console.log(this.sTime, this.eTime);
                 this.sWhere +=
                     " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" +
                     this.sTime +
@@ -850,7 +846,7 @@
             };
             this.riqiChange();
             this.resetForm("queryForm");
-            this.getList();
+            this.handleQuery();
         },
 
         //閫�鍑�
@@ -859,7 +855,7 @@
             this.tableShow = true;
             this.openEdit = false;
             this.editShow = false;
-            this.getList();
+            this.handleQuery();
         },
         //鎵撳紑鏂板缁勪欢寮圭獥
         handleAddEdit() {
@@ -878,19 +874,19 @@
             this.open = val;
             this.editShow = false;
             this.openEdit = val;
-            this.getList();
+            this.handleQuery();
         },
         /** 鍒犻櫎鎸夐挳鎿嶄綔 */
         handleDelete() {
             this.$modal.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠").then(() => {
-                axios.get(this.baseURL + "/Kf_POStockInBackBill/DeltetKf_POStockInBackBill", {
+                axios.get(this.$baseUrl + "/Kf_POStockInBackBill/DeltetKf_POStockInBackBill", {
                     params: {
                         HInterID: this.rowForm.hmainid.toString(),
                         user: sessionStorage["HUserName"],
                     },
                 }).then((response) => {
                     if (response.data.count == 1) {
-                        this.getList();
+                        this.handleQuery();
                         this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
                     } else {
                         this.$modal.msgError("閿欒:" + result.code + result.Message);
@@ -902,7 +898,7 @@
         },
         set_CheckBill(num) {
             //閫昏緫瀹℃牳鏂规硶
-            axios.get(this.baseURL + "/Kf_POStockInBackBill/AuditProcessReportList", {
+            axios.get(this.$baseUrl + "/Kf_POStockInBackBill/AuditProcessReportList", {
                 params: { "HInterID": this.rowForm.hmainid, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
             }).then(response => {
                 let result = response.data
@@ -920,7 +916,7 @@
         },
         set_CloseBill(num) {
             //閫昏緫鍏抽棴鏂规硶
-            axios.get(this.baseURL + "/Kf_POStockInBackBill/CloseKf_POStockInBackBill", {
+            axios.get(this.$baseUrl + "/Kf_POStockInBackBill/CloseKf_POStockInBackBill", {
                 params: { "HInterID": this.rowForm.hmainid, "Type": num, "CurUserName": sessionStorage["HUserName"] }
             }).then(response => {
                 let result = response.data
@@ -938,7 +934,7 @@
         },
         set_DropBill(num) {
             //閫昏緫浣滃簾鏂规硶
-            axios.get(this.baseURL + "/Kf_POStockInBackBill/DropKf_POStockInBackBill", {
+            axios.get(this.$baseUrl + "/Kf_POStockInBackBill/DropKf_POStockInBackBill", {
                 params: { "HInterID": this.rowForm.hmainid, "Type": num, "CurUserName": sessionStorage["HUserName"] }
             }).then(response => {
                 let result = response.data
@@ -961,7 +957,7 @@
             } else {
                 this.printListShow = true;
                 this.openPrintList = true;
-                // axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+                // axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
                 //         params: { HInterID: this.rowForm.hmainid },
                 //     })
                 //     .then((response) => {

--
Gitblit v1.9.1