From fcc14195066cf73d74301ae2fcce8218a1bfe579 Mon Sep 17 00:00:00 2001
From: dytyqx <1342948614@qq.com>
Date: 星期二, 07 四月 2026 13:54:36 +0800
Subject: [PATCH] 修复直接调拨单
---
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