From c3334e4a5563021437c4aaa65b43de60eede5dec Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期二, 07 四月 2026 14:02:55 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI

---
 src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue |   35 ++++++++++++++++++++++++++++++++++-
 1 files changed, 34 insertions(+), 1 deletions(-)

diff --git a/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue b/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue
index 6f508d2..338698c 100644
--- a/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue
+++ b/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue
@@ -227,6 +227,9 @@
 export default {
   name: 'Kf_MoveStockRequestBillList',
   components: { RowSettings, Edit, PrintList },
+  props: {
+    openPage: { type: String },
+  },
   data() {
     return {
       HModName: "Kf_MoveStockRequestBillList",
@@ -279,6 +282,10 @@
       lastSelectedRow: null, // 涓婁竴娆¢�変腑鐨勮
       selectedRow: null, // 褰撳墠閫変腑鐨勮
       rowForm: {},
+      dialogTypeNum: null,
+      deptform: {}, //寮圭獥閫変腑鏁版嵁
+      openData: false, //鏁版嵁寮圭獥
+      dialogTitle: "",
       // 寮瑰嚭灞傛爣棰�
       title: "",
       // 鏄惁鏄剧ず寮瑰嚭灞�
@@ -606,6 +613,9 @@
       this.selectedRow = row; // 璁板綍褰撳墠閫変腑鐨勮
       this.lastSelectedRowIndex = this.tableData.indexOf(row);
       this.$refs.tableData.toggleRowSelection(row);
+      if (this.openPage) {
+        this.$emit("deptEmit", row, 11);
+      }
     },
     //閫変腑琛岄珮浜牱寮�
     rowStyle({ row, rowIndex }) {
@@ -613,10 +623,33 @@
         return { "background": "#ecf5ff" }
       }
     },
+    dbEmitData(deptRow, num) {
+      // num=1閮ㄩ棬 num=2鍑哄簱浠撳簱
+      if (num == 11){
+        this.editData[this.zbIndex].HSourceBillNo = deptRow.鍗曟嵁鍙�
+        this.editData[this.zbIndex].HSourceBillType = deptRow.HBillSubType
+        this.editData[this.zbIndex].HSourceInterID = deptRow.hmainid
+        this.editData[this.zbIndex].HSourceEntryID = deptRow.hsubid
+        this.gyCustomerShow = false
+        this.openData = false
+    }
+  },
+    emitData(deptRow, num) {
+      this.dialogTypeNum = num;
+      this.deptform = deptRow;
+    },
+    deptClickSub() {
+      this.dbEmitData(this.deptform, this.dialogTypeNum)
+      this.deptform = {}
+    },
     //鍙屽嚮琛�
     handleDblclick(row, column, cell, event) {
       this.OperationType = 3
-      this.handleEdit()
+      if (this.openPage) {
+        this.$emit("deptEmitDb", row, 11);
+      } else {
+        this.handleEdit(row);
+      }
     },
     // 澶氶�夋閫変腑鏁版嵁
     handleSelectionChange(selection) {

--
Gitblit v1.9.1