From 20cf1938a8aa04a3f911d6d3729e8aec08a7d658 Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 25 二月 2025 09:08:51 +0800
Subject: [PATCH] feat: 完成检测单页面
---
src/views/business/productOrder/index.vue | 31 ++++++++++++++++++-------------
1 files changed, 18 insertions(+), 13 deletions(-)
diff --git a/src/views/business/productOrder/index.vue b/src/views/business/productOrder/index.vue
index ad315e7..757f49d 100644
--- a/src/views/business/productOrder/index.vue
+++ b/src/views/business/productOrder/index.vue
@@ -376,7 +376,7 @@
} else if (params == 3) {
return '涓嶅垽瀹�'
} else {
- return ''
+ return null
}
},
formatType: (params) => {
@@ -387,7 +387,7 @@
} else if (params == 3) {
return ''
} else {
- return ''
+ return null
}
}
},
@@ -499,6 +499,16 @@
},
showHide: (row) => {
return this.tabIndex === 4 || this.tabIndex === 5
+ }
+ },
+ {
+ name: '鍘熷璁板綍',
+ type: 'text',
+ clickFun: (row) => {
+ this.viewInspectInfo(row);
+ },
+ showHide: (row) => {
+ return this.tabIndex === 2 || this.tabIndex === 3 || this.tabIndex === 6
}
},
]
@@ -999,13 +1009,6 @@
link.click();
}
},
- // 瀹℃牳
- handleVerify(row) {
- // this.verifyDialogVisible = true;
- this.active = 3;
- this.currentId = row.id
- this.examine = 1
- },
// 鎾ら攢
handlEquash(row) {
if(this.tabIndex!=1){
@@ -1066,8 +1069,6 @@
handlEquashCheck(row){
this.orderId = row.id
this.revocationInsProductIds = row.revocationInsProductIds
- this.componentDataDelete.showSelect= false
- this.componentDataDelete.select= false
this.deleteTilte = '鎾ら攢瀹℃牳'
this.deleteDialogVisible = true;
},
@@ -1166,7 +1167,7 @@
}
})
}
- let authorizedPerson = this.formData.authorizedPerson.length > 0 ? this.formData.authorizedPerson.join(',') : ''
+ let authorizedPerson = this.formData.authorizedPerson && this.formData.authorizedPerson.length > 0 ? this.formData.authorizedPerson.join(',') : ''
delete this.formData.createTime
delete this.formData.updateTime
delete this.formData.createUser
@@ -1175,7 +1176,11 @@
},
// 涓嬪崟
playOrder(num) {
- this.$router.push({ path: "/productOrder/add", query: {examine: 0,active: num} });
+ this.$router.push({ path: "/productOrder/add", query: {examine: 0,active: num, tabIndex: this.tabIndex} });
+ },
+ // 瀹℃牳
+ handleVerify(row) {
+ this.$router.push({ path: "/productOrder/add", query: {examine: 1,active: 3, currentId: row.id} });
},
handleTab(m, i) {
this.tabIndex = i;
--
Gitblit v1.9.3