From d2eed0eb7c2f9537d5eaab7ccc3b6ab258959227 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期六, 24 十月 2026 20:48:11 +0800
Subject: [PATCH] feat(device): 设备核查计划附件上传与运行记录导出调整
---
src/views/standard/model/index.vue | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/src/views/standard/model/index.vue b/src/views/standard/model/index.vue
index d4e0274..3c90eea 100644
--- a/src/views/standard/model/index.vue
+++ b/src/views/standard/model/index.vue
@@ -41,6 +41,9 @@
<el-form-item label="澶囨敞" prop="remark">
<el-input v-model="copyForm.remark" clearable size="small"></el-input>
</el-form-item>
+ <el-form-item label="鏍囧噯瑕佹眰鍊�" prop="standardRequirement">
+ <el-input v-model="copyForm.standardRequirement" clearable size="small"></el-input>
+ </el-form-item>
<el-form-item label="浠锋牸(鍏�)" prop="price">
<el-input v-model="copyForm.price" clearable size="small"></el-input>
</el-form-item>
@@ -88,6 +91,7 @@
number: "",
name: "",
remark: "",
+ standardRequirement: "",
price: "",
id: "",
},
@@ -103,6 +107,7 @@
{ label: "妫�楠屼緷鎹�", prop: "number" },
{ label: "妫�楠岄」鐩�", prop: "name" },
{ label: "澶囨敞", prop: "remark" },
+ { label: "鏍囧噯瑕佹眰鍊�", prop: "standardRequirement" },
{ label: "浠锋牸(鍏�)", prop: "price" },
{ label: "鍒涘缓鐢ㄦ埛", prop: "createUserName" },
{ label: "鍒涘缓鏃堕棿", prop: "createTime", width: "160" },
@@ -216,7 +221,7 @@
copyTemplate(row) {
this.title = "澶嶅埗妯$増";
this.isShowCopyTem = true;
- this.copyForm.id = row.id;
+ this.copyForm = this.HaveJson(row);
},
// 鏂板/缂栬緫/澶嶅埗妯℃澘
submitCopyInfo() {
@@ -228,6 +233,7 @@
name: this.copyForm.name,
number: this.copyForm.number,
remark: this.copyForm.remark,
+ standardRequirement: this.copyForm.standardRequirement,
price: this.copyForm.price === "" || this.copyForm.price == null ? null : this.copyForm.price,
};
switch (this.title) {
@@ -247,6 +253,8 @@
break;
case "缂栬緫":
params.thing = this.copyForm.thing ? this.copyForm.thing : "";
+ // 浠锋牸鐣欑┖浠嶆寜 0 淇濆瓨锛涙ā鏉跨紪鍒朵繚瀛樹笉浼犱环鏍硷紝闇�鐢卞悗绔繚鎸佸師鍊�
+ params.price = params.price == null ? 0 : params.price;
upStandardTemplate(params)
.then((res) => {
this.isShowCopyTem = false;
--
Gitblit v1.9.3