From df86d5bd8bbbe4b2d6ec8bdffa681848d92576ca Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 30 八月 2022 17:02:59 +0800
Subject: [PATCH] 1.修改bug2.保养部位增删查改开发完成
---
src/views/scgl/scdd.vue | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 deletions(-)
diff --git a/src/views/scgl/scdd.vue b/src/views/scgl/scdd.vue
index 5cbf831..3ddcfb9 100644
--- a/src/views/scgl/scdd.vue
+++ b/src/views/scgl/scdd.vue
@@ -236,14 +236,24 @@
prop="planstartdate"
label="棰勮寮�宸ユ椂闂�"
sortable="custom"
- width="160"
- />
+ width="130"
+ >
+ <template slot-scope="{row}">
+ <div v-if="row.planstartdate">{{ row.planstartdate.substring(0,11) }}</div>
+ <div v-else>/</div>
+ </template>
+ </el-table-column>
<el-table-column
prop="planenddate"
label="棰勮瀹屽伐鏃堕棿"
sortable="custom"
- width="160"
- />
+ width="130"
+ >
+ <template slot-scope="{row}">
+ <div v-if="row.planenddate">{{ row.planenddate.substring(0,11) }}</div>
+ <div v-else>/</div>
+ </template>
+ </el-table-column>
<el-table-column
prop="createuser"
label="鍒涘缓浜哄憳"
@@ -258,9 +268,14 @@
<el-table-column
prop="createdate"
label="鍒涘缓鏃堕棿"
- width="160"
+ width="130"
sortable="custom"
- />
+ >
+ <template slot-scope="{row}">
+ <div v-if="row.createdate">{{ row.createdate.substring(0,11) }}</div>
+ <div v-else>/</div>
+ </template>
+ </el-table-column>
<el-table-column
label="鎿嶄綔"
fixed="right"
@@ -432,7 +447,6 @@
{ code: 'CLOSED', name: '宸插叧闂�' }
],
total: 10,
- radioSelected: '',
radioSelectedId: '',
tableData: [],
dialogVisible: false,
@@ -581,8 +595,6 @@
},
// 鍗曢�夋閫変腑鑾峰彇褰撳墠琛屼俊鎭�
getCurrentRow(id) {
- // console.log(row, 2)
- // this.radioSelected = row.wo
this.radioSelectedId = id
},
// 璁㈠崟鍏抽棴
@@ -604,7 +616,6 @@
if (res.code === '200') {
this.$message.success('璁㈠崟鍏抽棴鎴愬姛!')
this.getErpOrderSearch()
- // this.radioSelected = ''
}
})
}).catch(() => {
--
Gitblit v1.9.3