From 87c0d37b3bf7a508334f112ceaa54f8dab02cdd9 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期四, 18 十二月 2025 11:08:13 +0800
Subject: [PATCH] 1
---
src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue | 13 +++++++------
src/views/component/printList/barcode.vue | 7 ++++++-
2 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/src/views/component/printList/barcode.vue b/src/views/component/printList/barcode.vue
index a640440..1aff0a0 100644
--- a/src/views/component/printList/barcode.vue
+++ b/src/views/component/printList/barcode.vue
@@ -56,6 +56,11 @@
"select * from h_v_IF_BarCodeBillList where hmainid in(" +
this.handleMessage.linterid.toString() +
") order by hmainid desc";
+ } else if (this.$route.query.Type == "HGy_BarCodeBillList") {
+ sql =
+ "select * from h_v_IF_BarCodeBillList where hmainid in(" +
+ this.handleMessage.linterid.toString() +
+ ") order by hmainid desc";
} else if (this.$route.query.Type == "HPOInStockBill") {
sql =
"select * from h_v_Sc_PrintMouldProdOutBillList where hmainid=" +
@@ -79,7 +84,7 @@
ORDER BY orderid;`;
}
try{
- let res = await axios.get(this.baseURL + "/CommonModel/searchMethod", {
+ let res = await axios.get(this.baseUrl + "/CommonModel/searchMethod", {
params: {
sql: sql,
user: sessionStorage["HUserName"],
diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
index ae933a5..9ded270 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
@@ -161,8 +161,8 @@
</el-dialog>
<!-- 鎵撳嵃 -->
<el-dialog title="鎵撳嵃妯℃澘閫夋嫨" :visible.sync="openPrintList" width="800px" append-to-body>
- <PrintList :linterid="rowSel.toString()" :MyMsg="rowSel.toString()" Type="HGy_BarCodeBillList"
- HModName="HGy_BarCodeBillList" @rowEditClose="rowSetClose" v-if="printListShow" />
+ <PrintList :linterid="rowSel.toString()" :MyMsg="rowSel.toString()" Type="HGy_BarCodeBill"
+ HModName="HGy_BarCodeBill" @rowEditClose="rowSetClose" v-if="printListShow" />
</el-dialog>
</div>
</div>
@@ -182,7 +182,6 @@
baseURL: process.env.VUE_APP_BASE_API, //鍚庣鎺ュ彛鍓嶇紑(鍚庣鏈嶅姟鍣╥p鍦板潃)
HInterID: null,
- checkDataList: [], //琛ㄦ牸閫変腑鏁版嵁闆嗗悎
rowSel: [], //鐢ㄤ簬鎵撳嵃鐨勬暟鎹泦鍚�
rqsgList: [ //鏃ユ湡闂撮殧涓嬫媺鍒楄〃鏁版嵁
@@ -262,6 +261,7 @@
lastSelectedRow: null, // 涓婁竴娆¢�変腑鐨勮
selectedRow: null, // 褰撳墠閫変腑鐨勮
rowForm: {}, // 褰撻�変腑鐨勫彧鏈変竴琛屾椂锛屾洿鏂版暟鎹负璇ラ�変腑鐨勮銆�
+ checkDataList: [], // 琛ㄦ牸閫変腑鏁版嵁闆嗗悎
tyResList: [], // 鍒楄〃鏁版嵁锛岀敤浜庡鍑�
titleData: [], // 涓嶉渶瑕佹樉绀虹殑瀛楁 鍙墿灞�
@@ -312,7 +312,7 @@
//#region 澶氶�夋閫変腑鏁版嵁
handleSelectionChange(selection) {
// this.rowForm = {}
- checkDataList = selection;
+ this.checkDataList = selection;
this.ids = selection.map(item => item.hmainid)
this.single = selection.length != 1
this.multiple = !selection.length
@@ -518,6 +518,7 @@
option.data = data1.data;
var result = data1.data;
option.data = result;
+ this.checkDataList = [];
let HModName = "Gy_BarCodeBillList"
this.DisPlay_HideColumn(HModName, sessionStorage["HUserName"], option, this.dataList);
}
@@ -727,8 +728,8 @@
this.$modal.msgError("璇烽�夋嫨鏁版嵁");
} else {
this.rowSel = [];
- for (var i = 0; i < this.selection.length; i++) {
- this.rowSel.push(this.selection[i].HItemID.toString());
+ for (var i = 0; i < this.checkDataList.length; i++) {
+ this.rowSel.push(this.checkDataList[i].HItemID.toString());
}
this.printListShow = true;
this.openPrintList = true;
--
Gitblit v1.9.1