From 717dc9fa42e09e8befe970496877e7178e59ca76 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 24 二月 2025 13:06:37 +0800
Subject: [PATCH] 检验任务复核
---
src/views/business/materialOrder/index.vue | 50 ++++++++++++++++++++++++++++++++------------------
1 files changed, 32 insertions(+), 18 deletions(-)
diff --git a/src/views/business/materialOrder/index.vue b/src/views/business/materialOrder/index.vue
index 45c4936..4a20344 100644
--- a/src/views/business/materialOrder/index.vue
+++ b/src/views/business/materialOrder/index.vue
@@ -2,19 +2,23 @@
<div class="app-container">
<div>
<div class="search">
- <el-form :model="entity" ref="entity" size="small" :inline="true"><el-form-item label="鎵瑰彿" prop="updateBatchNo">
+ <el-form :model="entity" ref="entity" size="small" :inline="true">
+ <el-form-item label="鎵瑰彿" prop="updateBatchNo">
<el-input v-model="entity.updateBatchNo" clearable placeholder="璇疯緭鍏�" size="small"
@keyup.enter.native="refreshTable">
</el-input>
- </el-form-item><el-form-item label="濮旀墭缂栧彿" prop="entrustCode">
+ </el-form-item>
+ <el-form-item label="濮旀墭缂栧彿" prop="entrustCode">
<el-input v-model="entity.entrustCode" clearable placeholder="璇疯緭鍏�" size="small"
@keyup.enter.native="refreshTable">
</el-input>
- </el-form-item><el-form-item label="闆朵欢鍙�" prop="partNo">
+ </el-form-item>
+ <el-form-item label="闆朵欢鍙�" prop="partNo">
<el-input v-model="entity.partNo" clearable placeholder="璇疯緭鍏�" size="small"
@keyup.enter.native="refreshTable">
</el-input>
- </el-form-item><el-form-item label="闆朵欢鎻忚堪" prop="partDesc">
+ </el-form-item>
+ <el-form-item label="闆朵欢鎻忚堪" prop="partDesc">
<el-input v-model="entity.partDesc" clearable placeholder="璇疯緭鍏�" size="small"
@keyup.enter.native="refreshTable">
</el-input>
@@ -273,10 +277,22 @@
tableLoading1: false,
column1: [
{ label: '鎵瑰彿', prop: 'updateBatchNo' },
- { label: '濮旀墭缂栧彿', prop: 'entrustCode' },
+ {
+ label: '濮旀墭缂栧彿',
+ prop: 'entrustCode',
+ width: "160px",
+ dataType: "link",
+ linkMethod: "changeEntrustCode",
+ },
{ label: '闆朵欢鍙�', prop: 'partNo' },
{ label: '闆朵欢鎻忚堪', prop: 'partDesc' },
- { label: '鏍峰搧鍚嶇О', prop: 'sampleName' },
+ {
+ label: '鏍峰搧鍚嶇О',
+ prop: 'sampleName',
+ width: "160px",
+ dataType: "link",
+ linkMethod: "selectAllByOne",
+ },
{ label: '鏍峰搧鍨嬪彿', prop: 'sampleModel' },
{ label: '妫�楠屼汉', prop: 'userName' },
{ label: '涓嬪彂鏃堕棿', prop: 'sendTime' },
@@ -898,10 +914,16 @@
},
// 瀛e害妫�楠屼笅鍗�
playOrderSec(row) {
- if (typeof row !== "object") {
- this.$router.push({ path: "/materialOrder/customsInspection", query: { active: row } });
+ this.$router.push({ path: "/materialOrder/customsInspection", query: { orderType: 1, customsInspection: row, active: 1 } });
+ },
+ // 鐐瑰嚮鏍峰搧鍚嶇О鏌ョ湅璇︽儏
+ selectAllByOne(row) {
+ if (row.isCopper == 1) {
+ this.currentId = row.enterOrderId
+ this.$router.push({ path: "/materialOrder/copperOrder", query: { customsInspection: row, active: 2, currentId: this.currentId } });
} else {
- this.$router.push({ path: "/materialOrder/customsInspection", query: { orderType: 1, customsInspection: row, active: 1 } });
+ this.currentId = row.insOrderId
+ this.$router.push({ path: "/materialOrder/customsInspection", query: { customsInspection: row, active: 2, currentId: this.currentId } });
}
},
// 鎵撳紑鍏嶆寮规
@@ -1007,15 +1029,6 @@
}).catch(() => { })
}
},
- // 鐐瑰嚮鏍峰搧鍚嶇О鏌ョ湅璇︽儏
- selectAllByOne(row) {
- this.currentId = row.insOrderId
- if (row.isCopper == 1) {
- this.currentId = row.enterOrderId
- }
- this.customsInspection = row
- this.active = 2;
- },
// 鏁版嵁鏌ョ湅
handleDataLook(row) {
this.dataLookInfo = row
@@ -1085,6 +1098,7 @@
this.entrustCodeVisible = false
this.$message.success('淇敼鎴愬姛')
}
+ this.refreshTable()
this.submitCodeLoading = false
})
} catch (e) {
--
Gitblit v1.9.3