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/basic/gyWarehouse/gyWarehouse.vue |   31 +++++++++++++++++--------------
 1 files changed, 17 insertions(+), 14 deletions(-)

diff --git a/src/views/basic/gyWarehouse/gyWarehouse.vue b/src/views/basic/gyWarehouse/gyWarehouse.vue
index 8f30f57..05403a7 100644
--- a/src/views/basic/gyWarehouse/gyWarehouse.vue
+++ b/src/views/basic/gyWarehouse/gyWarehouse.vue
@@ -360,9 +360,10 @@
                 <span v-if="column.property.includes('鏃ユ湡')">{{
                   parseTime(row[column.property], "{y}-{m}-{d}")
                 }}</span>
+
                 <el-button
                   type="text"
-                  @click="handleEdit(row, (OperationType = 3))"
+                  @click.stop="handleEdit(row, (OperationType = 3))"
                   v-else-if="column.property == '浠撳簱浠g爜'"
                   >{{ row.浠撳簱浠g爜 }}</el-button
                 >
@@ -640,7 +641,7 @@
     // 浠撳簱鍚屾
     async handleSync() {
       try {
-        let res = await axios.get(this.baseURL + "/Gy_Warehouse/Gy_WarehouseViewApi", {
+        let res = await axios.get(this.$baseUrl + "/Gy_Warehouse/Gy_WarehouseViewApi", {
           params: {
             Number: this.queryParams.HSyncNumber,
             Type: "CK",
@@ -690,7 +691,7 @@
     defaintOperationByCompanyName() {
       var result = false;
       axios
-        .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+        .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
         .then((response) => {
           var data1 = response.data;
           if (data1.count == 1) {
@@ -779,7 +780,7 @@
       this.sWhere += "";
       //鐢熶骇璧勬枡鍒楄〃
       axios
-        .get(this.baseURL + "/Gy_WareHouse/listpage", {
+        .get(this.$baseUrl + "/Gy_WareHouse/listpage", {
           params: {
             sWhere: `${this.sWhere}`,
             user: sessionStorage["HUserName"],
@@ -887,7 +888,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,
@@ -1033,7 +1034,7 @@
     handleRowClick(row, column, event) {
       this.lastSelectedRow = this.selectedRow; // 璁板綍涓婁竴娆¢�変腑鐨勮
       this.selectedRow = row; // 璁板綍褰撳墠閫変腑鐨勮
-      if (this.checkIsIframe) {
+      if (this.checkIsIframe()) {
         // 灏嗗綋鍓嶉�変腑鐨勬暟鎹毚闇插埌window涓�
         window.selectedRow = row;
       }
@@ -1057,7 +1058,7 @@
     },
     //鍙屽嚮琛�
     handleDblclick(row, column, cell, event) {
-      if (this.checkIsIframe) {
+      if (this.checkIsIframe()) {
         // IFrame 鍙屽嚮 杩斿洖褰撳墠鍙屽嚮鐨勬暟鎹�
         window.parent.iframeWareHouseCallBack(row);
         return;
@@ -1066,7 +1067,7 @@
       if (this.openPage) {
         this.$emit("deptEmitDb", row, 2);
       } else {
-        this.handleEdit();
+        this.handleEdit(row);
       }
     },
     // 澶氶�夋閫変腑鏁版嵁
@@ -1198,7 +1199,7 @@
     getOrgIDByUser() {
       var res = "";
       axios
-        .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+        .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
           params: {
             HModName: this.HModName,
             user: sessionStorage["HUserName"],
@@ -1263,7 +1264,9 @@
       });
     },
     //鎵撳紑淇敼缁勪欢寮圭獥
-    handleEdit() {
+
+    handleEdit(row) {
+      this.rowForm = row
       this.$nextTick(() => {
         this.openEdit = true;
         this.editShow = true;
@@ -1282,7 +1285,7 @@
         .then(() => {
           if (!this.rowForm.瀹℃牳浜�) {
             axios
-              .get(this.baseURL + "/DeltetGy_Warehouse", {
+              .get(this.$baseUrl + "/DeltetGy_Warehouse", {
                 params: {
                   HItemID: this.rowForm.HItemID.toString(),
                   user: sessionStorage["HUserName"],
@@ -1310,7 +1313,7 @@
       var InterID = form.HItemID || form.HInterID;
       //閫昏緫瀹℃牳鏂规硶
       axios
-        .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+        .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
           params: {
             HInterID: InterID,
             IsAudit: num,
@@ -1335,7 +1338,7 @@
       var InterID = form.HItemID || form.HInterID;
       //閫昏緫瀹℃牳鏂规硶
       axios
-        .get(this.baseURL + "/Gy_Warehouse/StopGy_Warehouse", {
+        .get(this.$baseUrl + "/Gy_Warehouse/StopGy_Warehouse", {
           params: {
             HInterID: InterID,
             IsStop: num,
@@ -1409,7 +1412,7 @@
       var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
       axios({
         method: "post",
-        url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+        url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
         data: {
           sMainSub: sMainSub,
         },

--
Gitblit v1.9.1