From 23695c99c212e97ac901504a01d8985ea4081296 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期四, 05 一月 2023 16:48:13 +0800
Subject: [PATCH] 1.节拍工价 取消行功能优化
---
src/views/zzmx/jpgj.vue | 20 ++++++++++++--------
src/styles/global.css | 1 +
public/favicon.ico | 0
src/views/kb/zhkbc.vue | 1 -
4 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/public/favicon.ico b/public/favicon.ico
index 34b63ac..1d643d0 100644
--- a/public/favicon.ico
+++ b/public/favicon.ico
Binary files differ
diff --git a/src/styles/global.css b/src/styles/global.css
index 856789c..340c54b 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -83,6 +83,7 @@
width: 100%;
margin: 10px auto;
/*margin-top: 20px;*/
+ box-shadow: 0 0 5px #d7d6d6;
}
.operationClass {
diff --git a/src/views/kb/zhkbc.vue b/src/views/kb/zhkbc.vue
index 77be60b..66e1053 100644
--- a/src/views/kb/zhkbc.vue
+++ b/src/views/kb/zhkbc.vue
@@ -455,7 +455,6 @@
}, 1000 * 30)
},
// 浜х嚎鍔犲伐涓换鍔�
- // 浜х嚎鍔犲伐涓换鍔�
getShopSearchLine() {
let length, count
LineSearchTopLeftData({ shopcode: this.ShopArr.join(',') }).then(res => {
diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index 2137b81..6e4804e 100644
--- a/src/views/zzmx/jpgj.vue
+++ b/src/views/zzmx/jpgj.vue
@@ -124,14 +124,14 @@
/>
<el-table-column
prop="partcode"
- min-width="160"
+ min-width="120"
label="浜у搧缂栫爜"
sortable="custom"
/>
<el-table-column
prop="partname"
label="浜у搧鍚嶇О"
- min-width="160"
+ min-width="200"
sortable="custom"
/>
<el-table-column
@@ -304,11 +304,13 @@
<div>
<i class="el-icon-s-operation" style="color:#42b983;margin: -20px 10px 20px 0" />宸ュ簭闆嗗悎
</div>
- <div style="display: flex;background-color: #F2F6FC;padding:20px 0 20px 20px; min-height: 100px">
+
+ <div style="display: flex;background-color: #F2F6FC;padding:10px; min-height: 100px">
<el-radio-group v-model="dialogForm.stepcode" @change="radioChange">
<el-radio
- v-for="item in stepDialogArr"
+ v-for="(item,index) in stepDialogArr"
:key="item.code"
+ :style="{marginLeft:index%7===0?0:'10px',marginBottom:'10px'}"
:label="item.name"
border
/>
@@ -431,10 +433,10 @@
>
<template slot-scope="{row}">
<div class="operationClass">
- <el-button v-show="row.isVisible===1" type="text" @click="saveRow(row)">淇濆瓨</el-button>
- <el-button v-show="row.isVisible===1" type="text" @click="cancelRow(row)">鍙栨秷</el-button>
- <el-button v-show="row.isVisible===0" type="text" @click="editRow(row)">缂栬緫</el-button>
- <el-button v-show="row.isVisible===0" type="text" @click="copyRow(row)">澶嶅埗</el-button>
+ <el-button v-if="row.isVisible===1" type="text" @click="saveRow(row)">淇濆瓨</el-button>
+ <el-button v-if="row.isVisible===1" type="text" @click="cancelRow(row)">鍙栨秷</el-button>
+ <el-button v-if="row.isVisible===0" type="text" @click="editRow(row)">缂栬緫</el-button>
+ <el-button v-if="row.isVisible===0" type="text" @click="copyRow(row)">澶嶅埗</el-button>
</div>
</template>
</el-table-column>
@@ -717,6 +719,8 @@
// 鍙栨秷琛�
cancelRow(row) {
this.getEqpTable()
+ this.radioChange(this.radioChangeTempValue)
+ this.dialogForm.stepcode = this.radioChangeTempValue
this.isEqpTableEdit = true
},
// 缂栬緫琛�
--
Gitblit v1.9.3