|
@@ -24,7 +24,7 @@
|
|
|
@change='getList'
|
|
|
style='margin-right:12px;'
|
|
|
v-model='ischange'
|
|
|
- width='180'
|
|
|
+ width='200'
|
|
|
tipPlace='top'
|
|
|
caption='是否更换配件信息 :'
|
|
|
:selectdata='changeOption'
|
|
@@ -60,48 +60,39 @@
|
|
|
end-placeholder
|
|
|
></el-date-picker>
|
|
|
</div>
|
|
|
- <input-dialog :type='3' @confirm='confirm'></input-dialog>
|
|
|
- <!-- <el-input
|
|
|
- placeholder='搜索工单编号'
|
|
|
- size='small'
|
|
|
- @blur='getList'
|
|
|
- prefix-icon='el-icon-search'
|
|
|
- v-model='wonum'
|
|
|
- style='width:192px;margin-right:12px'
|
|
|
- ></el-input>-->
|
|
|
</div>
|
|
|
<el-table :data='tableData' :border='true' style='width: 100%'>
|
|
|
<el-table-column type='index' label='序号' width='60'></el-table-column>
|
|
|
- <el-table-column prop='sbmc' label='设备名称' show-overflow-tooltip resizable min-width="150">
|
|
|
+ <el-table-column prop='sbmc' label='设备名称' show-overflow-tooltip resizable min-width='150'>
|
|
|
<template slot-scope='{row}'>{{row.sbmc || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='assetnum' label='设备编码' show-overflow-tooltip resizable width="80">
|
|
|
+ <el-table-column prop='assetnum' label='设备编码' show-overflow-tooltip resizable width='80'>
|
|
|
<template slot-scope='{row}'>{{row.assetnum || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='matters' label='重要事项记录' width='130' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.matters || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='description' label='描述' show-overflow-tooltip resizable min-width="150">
|
|
|
+ <el-table-column prop='description' label='描述' show-overflow-tooltip resizable min-width='150'>
|
|
|
<template slot-scope='{row}'>{{row.description || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label='更换配件信息' align='center'>
|
|
|
- <el-table-column prop='ischangepj' label='是/否更换' width="80">
|
|
|
+ <el-table-column prop='ischangepj' label='是/否更换' width='80'>
|
|
|
<template slot-scope='{row}'>{{row.ismodel==1?'是':(row.ismodel==0?"否" :'--')}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='model' label='配件名称型号' width='100' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.model || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='sl' label='数量' width="80">
|
|
|
+ <el-table-column prop='sl' label='数量' width='80'>
|
|
|
<template slot-scope='{row}'>{{row.sl>=0?row.sl:'--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='cost' label='费用(万元)' width="80">
|
|
|
+ <el-table-column prop='cost' label='费用(万元)' width='80'>
|
|
|
<template slot-scope='{row}'>{{number_format(row.cost,2) || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop='source' label='费用出处' show-overflow-tooltip resizable>
|
|
|
<template slot-scope='{row}'>{{row.source || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='brand' label='现场照片' width="80">
|
|
|
+ <el-table-column prop='brand' label='现场照片' width='80'>
|
|
|
<template slot-scope='{row}'>
|
|
|
<div style='cursor:pointer;color: #0091ff;' @click='clickPic(row.glsmsImage)'>{{row.glsmsImage?row.glsmsImage.length+'张':'--'}}</div>
|
|
|
</template>
|
|
@@ -112,7 +103,7 @@
|
|
|
<el-table-column prop='sjjssj' label='验收时间' width='130'>
|
|
|
<template slot-scope='{row}'>{{row.sjjssj?formatter(row.sjjssj): '--'}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop='wonum' label='工单编号' show-overflow-tooltip resizable width="80">
|
|
|
+ <el-table-column prop='wonum' label='工单编号' show-overflow-tooltip resizable width='80'>
|
|
|
<template slot-scope='{row}'>{{row.wonum || '--'}}</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -134,7 +125,7 @@
|
|
|
import { queryWx } from '@/api/equipmentList.js'
|
|
|
import { mapGetters } from 'vuex'
|
|
|
import inputDialog from './inputDIalog'
|
|
|
-import Select from '@/components/Select/Select.vue'
|
|
|
+import { Select } from 'meri-design'
|
|
|
import { formatter, number_format } from '@/utils/format.js'
|
|
|
export default {
|
|
|
components: { Select, inputDialog },
|
|
@@ -248,6 +239,9 @@ export default {
|
|
|
// this.tabFind()
|
|
|
this.getList()
|
|
|
}
|
|
|
+ },
|
|
|
+ ischange() {
|
|
|
+ this.getList()
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|