From 64a7f738aadbf552bfb1ce24c46b1924767bf526 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期二, 05 九月 2023 16:00:16 +0800
Subject: [PATCH] 小程序
---
web_standard/src/views/ext/workorderPutRecordExt.vue | 36 +++++++++++++++++++++++++-----------
1 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/web_standard/src/views/ext/workorderPutRecordExt.vue b/web_standard/src/views/ext/workorderPutRecordExt.vue
index b618fe0..58a2f0e 100644
--- a/web_standard/src/views/ext/workorderPutRecordExt.vue
+++ b/web_standard/src/views/ext/workorderPutRecordExt.vue
@@ -111,28 +111,42 @@
<el-table-column prop="batch" label="鐢熶骇鎵规鍙�" min-width="100px"></el-table-column>
<el-table-column prop="promodel.name" label="宸ュ簭" min-width="100px"></el-table-column>
<el-table-column prop="omodel.planNum" label="璁″垝鏁伴噺" min-width="100px">
- <template slot-scope="{row}">
- <span>{{ row.omodel.planNum }}</span>
- </template>
+ <!-- <template slot-scope="{row}">
+ <span>{{ row.omodel.planNum + row.umodel.name }}</span>
+ </template> -->
</el-table-column>
<el-table-column prop="procedureName" label="鐢熶骇鍛樺伐" show-overflow-tooltip min-width="100px">
<template slot-scope="{row}">
<span class="long-title-style">{{ row.procedureName }}</span>
</template>
</el-table-column>
- <el-table-column prop="qualifiedNum" label="鍚堟牸鏁伴噺" min-width="100px">
+ <!-- <el-table-column prop="qualifiedNum" label="鍚堟牸鏁伴噺" min-width="100px">
<template slot-scope="{row}">
<span class="valid-style">{{ row.qualifiedNum + row.umodel.name }}</span>
</template>
</el-table-column>
<el-table-column prop="unqualifiedNum" label="涓嶈壇鏁伴噺" min-width="100px">
<template slot-scope="{row}">
- <span class="unvalid-style">{{ row.num + row.umodel.name}}</span>
- <!-- <span :class="row.materialDonetype==0 ? 'valid-style' : ''">{{ row.num + row.umodel.name }}</span> -->
+ <span class="unvalid-style">{{ row.unqualifiedNum + row.umodel.name}}</span>
</template>
- </el-table-column>
- <el-table-column prop="num" label="鎶ュ伐鏁伴噺" min-width="100px"></el-table-column>
- <!-- <el-table-column prop="amodel.code" label="宸ヨ鍣ㄥ叿" min-width="100px"></el-table-column> -->
+ </el-table-column> -->
+ <el-table-column prop="doneType" label="璐ㄩ噺灞炴��" min-width="100px">
+ <template slot-scope="{row}">
+ <span v-if="row.materialDonetype==0" class="valid-style">鍚堟牸</span>
+ <span v-else-if="row.materialDonetype==1" class="unvalid-style">涓嶈壇</span>
+ <span v-else>-</span>
+ </template>
+ </el-table-column>
+ <el-table-column prop="num" label="鏁伴噺" min-width="100px">
+ <template slot-scope="{row}">
+ <span :class="row.materialDonetype==0 ? 'valid-style' : 'unvalid-style'">{{ row.num + row.umodel.name }}</span>
+ </template>
+ </el-table-column>
+ <!-- <el-table-column prop="num" label="鎶ュ伐鏁伴噺" min-width="100px">
+ <template slot-scope="{row}">
+ {{ row.num + row.umodel.name }}
+ </template>
+ </el-table-column> -->
<el-table-column prop="deviceCode" label="璁惧" show-overflow-tooltip min-width="100px">
<template slot-scope="{row}">
<span class="long-title-style" :title="row.deviceCode + ' | ' + row.deviceName">{{ row.deviceCode + ' | ' + row.deviceName}}</span>
@@ -204,7 +218,7 @@
created () {
this.config({
module: '鎶曟枡璁板綍',
- api: '/ext/workorderRecordExt',
+ api: '/ext/workorderRecordPutExt',
'field.id': 'id',
'field.main': 'name',
sorts: [{ direction: 'DESC', property: 'CREATE_TIME' }]
@@ -264,7 +278,7 @@
if (index === 0) {
sums[index] = '鍚堣';
return;
- } else if (index === 4 || index === 6 || index === 8 || index === 10) {
+ } else if (index === 4 || index === 7 || index === 8 || index === 10) {
// || index === 8 || index === 9 || index === 16 || index === 17
sums[index] = '-';
return;
--
Gitblit v1.9.3