From a61c512b6b2e0b0e9231a78d0ce2ddafa51b5f58 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Thu, 12 Nov 2026 14:38:28 +0800
Subject: [PATCH] =?UTF-8?q?2026-11-12=20=E9=87=87=E8=B4=AD=E6=A0=87?=
=?UTF-8?q?=E7=AD=BE=E7=94=9F=E6=88=90=E9=A1=B5=E9=9D=A2=E4=B8=8B=E6=96=B9?=
=?UTF-8?q?=E9=A1=B5=E7=AD=BE=E5=A2=9E=E5=8A=A0=E6=A0=87=E7=AD=BE=E7=8A=B6?=
=?UTF-8?q?=E6=80=81=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/print/PoPartPrint.vue | 112 ++++++++++++++++++------
1 file changed, 83 insertions(+), 29 deletions(-)
diff --git a/src/views/modules/print/PoPartPrint.vue b/src/views/modules/print/PoPartPrint.vue
index 7e601ff..59b7ed0 100644
--- a/src/views/modules/print/PoPartPrint.vue
+++ b/src/views/modules/print/PoPartPrint.vue
@@ -177,13 +177,22 @@
:total="totalPage"
layout="total, sizes, prev, pager, next, jumper">
-
-
- 打印
- 删除
- 导入
-
-
+
+ 标签状态
+
+
+
+
+ 查询
+ 打印
+ 删除
+ 导入
+
{
- // //区分请求成功和失败的状况
- // if (data && data.code == 0) {
- // this.table2List = data.rows
- //
- // } else {
- // this.table2List = [];
- // }
- // });
+ const previousKey = this.buildMainRowKey(this.currentRow)
+ this.currentRow = row ? JSON.parse(JSON.stringify(row)) : {}
+ if (previousKey !== this.buildMainRowKey(this.currentRow)) {
+ this.detailSearch.hardtagInFlag = ''
+ }
this.getDetailTableList();
},
+ buildMainRowKey (row) {
+ if (!row || !row.orderNo) {
+ return ''
+ }
+ return [row.site || '', row.buNo || '', row.orderNo].join('|')
+ },
getDetailTableList () {
+ if (!this.currentRow || !this.currentRow.site || !this.currentRow.orderNo) {
+ this.table2List = []
+ return
+ }
let inData={
site:this.currentRow.site,
buNo:this.currentRow.buNo,
inspectionNo:this.currentRow.orderNo,
+ hardtagInFlag: this.detailSearch.hardtagInFlag || ''
}
getPoOrderRollNoOutData(inData).then(({data}) => {
//区分请求成功和失败的状况
@@ -1898,14 +1911,45 @@ export default {
}
}
-/* 选项样式优化 */
-/deep/ .el-select-dropdown__item {
- padding: 10px 20px;
- transition: all 0.2s;
+.detail-toolbar {
+ display: flex;
+ align-items: center;
+ margin-top: 6px;
+ margin-bottom: 4px;
+}
- &:hover {
- background-color: #f5f7fa;
- }
+.detail-toolbar-label {
+ margin-right: 8px;
+ color: #606266;
+ font-size: 12px;
+ font-weight: 500;
+ line-height: 24px;
+}
+
+.detail-status-select {
+ width: 140px;
+ margin-right: 8px;
+}
+
+.detail-toolbar /deep/ .el-input__inner {
+ height: 24px !important;
+ line-height: 24px !important;
+ padding-right: 24px !important;
+}
+
+.detail-toolbar /deep/ .el-input__suffix {
+ display: flex;
+ align-items: center;
+ height: 24px;
+}
+
+.detail-toolbar /deep/ .el-input__icon {
+ height: 24px;
+ line-height: 24px;
+}
+
+.detail-toolbar .el-button + .el-button {
+ margin-left: 2px;
}
/* 输入框聚焦效果 */
@@ -1917,3 +1961,13 @@ export default {
+
+