From 3d8364629179424c6c1d1496dba01144cb5bfc56 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 16 三月 2023 17:07:09 +0800
Subject: [PATCH] 1.工单排版调整
---
src/views/zzmx/jpgj.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index 6e4804e..de97457 100644
--- a/src/views/zzmx/jpgj.vue
+++ b/src/views/zzmx/jpgj.vue
@@ -132,6 +132,7 @@
prop="partname"
label="浜у搧鍚嶇О"
min-width="200"
+ show-tooltip-when-overflow
sortable="custom"
/>
<el-table-column
@@ -262,7 +263,7 @@
<el-option
v-for="item in partArr2"
:key="item.partcode"
- :label="item.partname"
+ :label="item.partname + ' / '+ item.partcode"
:value="item.partcode"
/>
</el-select>
@@ -618,17 +619,20 @@
this.form.routecode = ''
this.form.stepcode = ''
this.form.eqpcode = ''
+ this.search()
},
async routeChange(val) {
const { data: res } = await RouteSelectStep({ routecode: val })
this.stepArr = res
this.form.stepcode = ''
this.form.eqpcode = ''
+ this.search()
},
async stepChange(val) {
const { data: res } = await StepSelectEqp({ stepcode: val })
this.eqpArr = res
this.form.eqpcode = ''
+ this.search()
},
// 閲嶇疆
reset() {
@@ -696,6 +700,9 @@
},
// 淇濆瓨琛�
async saveRow(row) {
+ if (parseFloat(row.unprice) <= 0 && this.eqpTable.steptype !== 'W') {
+ return this.$message.info('璁′欢鍗曚环蹇呴』澶т簬闆讹紒')
+ }
const data = {
partcode: this.eqpTable.partcode, // 浜у搧缂栫爜
routecode: this.eqpTable.routecode, // 宸ヨ壓璺嚎缂栫爜
--
Gitblit v1.9.3