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 {
+
+