From 5dfbc4af25ab4f5e8d75f99c6e889b5004a49ef0 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 18 八月 2023 19:22:25 +0800
Subject: [PATCH] 大屏统计
---
web_standard/src/components/business/OperaSalaryParamWindow.vue | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/web_standard/src/components/business/OperaSalaryParamWindow.vue b/web_standard/src/components/business/OperaSalaryParamWindow.vue
index 9d2c21a..d524e1e 100644
--- a/web_standard/src/components/business/OperaSalaryParamWindow.vue
+++ b/web_standard/src/components/business/OperaSalaryParamWindow.vue
@@ -32,9 +32,9 @@
<el-select v-model="form.materialId" placeholder="璇烽�夋嫨鐗╂枡" :disabled="isEdit" clearable @change="selectMaterial">
<el-option
v-for="item in materials"
- :key="item.realMaterialId"
+ :key="item.materialId"
:label="item.mmodel.name"
- :value="item.realMaterialId"
+ :value="item.materialId"
>
</el-option>
</el-select>
@@ -103,7 +103,7 @@
minute: '',
second: '',
unqualified: 0,
- type: ''
+ type: 1
},
isEdit: false,
type: [
@@ -196,7 +196,9 @@
// if (!isEdit) {
// this.form.materialId = res[0]?res[0].materialId:''
// }
- // this.selectMaterial(this.form.materialId)
+ if (isEdit) {
+ this.selectMaterial(this.form.materialId)
+ }
})
.catch(err => {
console.log(err)
@@ -206,7 +208,7 @@
let routeId;
for (const item of this.materials) {
- if (item.realMaterialId === id) {
+ if (item.materialId === id) {
routeId = item.routeId
}
}
--
Gitblit v1.9.3