|
@@ -6,7 +6,7 @@
|
|
|
<!-- 数据表格 -->
|
|
<!-- 数据表格 -->
|
|
|
<ele-pro-table ref="table" :columns="columns" :datasource="datasource" cache-key="workOrderTable">
|
|
<ele-pro-table ref="table" :columns="columns" :datasource="datasource" cache-key="workOrderTable">
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
<template v-slot:totalCount="{ row }">
|
|
<template v-slot:totalCount="{ row }">
|
|
|
{{ row.totalCount }} {{ row.measuringUnit }}
|
|
{{ row.totalCount }} {{ row.measuringUnit }}
|
|
@@ -32,12 +32,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<template v-slot:action="{ row }">
|
|
<template v-slot:action="{ row }">
|
|
|
-
|
|
|
|
|
- <el-link type="primary" :underline="false" @click="details(row)">
|
|
|
|
|
- 详情
|
|
|
|
|
- </el-link>
|
|
|
|
|
|
|
|
|
|
- </template>
|
|
|
|
|
|
|
+ <el-link type="primary" :underline="false" @click="details(row)">
|
|
|
|
|
+ 详情
|
|
|
|
|
+ </el-link>
|
|
|
|
|
+
|
|
|
|
|
+ </template>
|
|
|
|
|
|
|
|
|
|
|
|
|
</ele-pro-table>
|
|
</ele-pro-table>
|
|
@@ -89,8 +89,8 @@ export default {
|
|
|
fixed: 'left'
|
|
fixed: 'left'
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- prop: 'workOrderId',
|
|
|
|
|
- label: '工单id',
|
|
|
|
|
|
|
+ prop: 'workOrderCode',
|
|
|
|
|
+ label: '工单Code',
|
|
|
align: 'center',
|
|
align: 'center',
|
|
|
minWidth: 110
|
|
minWidth: 110
|
|
|
},
|
|
},
|
|
@@ -168,8 +168,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
},
|
|
},
|
|
|
created() {
|
|
created() {
|
|
|
|
|
|
|
@@ -191,7 +191,7 @@ export default {
|
|
|
|
|
|
|
|
|
|
|
|
|
details(row) {
|
|
details(row) {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.$refs.tgDetailsRefs.open(row)
|
|
this.$refs.tgDetailsRefs.open(row)
|
|
|
|
|
|
|
|
},
|
|
},
|