|
@@ -74,6 +74,20 @@
|
|
|
<span v-else>{{ row.maintenanceDate }}</span>
|
|
|
</template>
|
|
|
|
|
|
+ <template slot="installDate" slot-scope="{ row, index }">
|
|
|
+ <el-date-picker
|
|
|
+ v-if="row.$cellEdit"
|
|
|
+ v-model="row.installDate"
|
|
|
+ type="date"
|
|
|
+ value-format="yyyy-MM-dd"
|
|
|
+ size="small"
|
|
|
+ placeholder="选择日期">
|
|
|
+ </el-date-picker>
|
|
|
+ <span v-else>{{ row.installDate }}</span>
|
|
|
+ </template>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
<template slot="menu" slot-scope="{ row, index }">
|
|
|
<el-button size="small" type="text" v-if="row.url" @click="imgurlfun(row)">信息码
|
|
|
</el-button>
|
|
@@ -620,15 +634,15 @@ export default {
|
|
|
// this.findObject(this.optionList.column, "brand").dicData = res.data.data.records
|
|
|
// this.findObject(this.optionTwo.column, "brand").dicData = res.data.data.records
|
|
|
// })
|
|
|
-
|
|
|
// 品牌
|
|
|
var type = {
|
|
|
type: 'PP'
|
|
|
}
|
|
|
listAllP(type).then(res => {
|
|
|
- this.findObject(this.optionTwo.column, "brandId").dicData = res.data.data.records
|
|
|
+ this.findObject(this.optionTwo.column, "brandId").dicData = res.data.data
|
|
|
+ // 设备详情的品牌编辑
|
|
|
+ this.findObject(this.optionList.column, "brand").dicData = res.data.data
|
|
|
})
|
|
|
-
|
|
|
// 获取供应商厂家数据
|
|
|
GYSgetList(1,20, {corpType:'GYS'}).then(res=>{
|
|
|
this.findObject(this.optionTwo.column, "corpId").dicData = res.data.data.records
|
|
@@ -802,6 +816,7 @@ export default {
|
|
|
maintenanceSecond:item.maintenanceSecond?item.maintenanceSecond:0,
|
|
|
exitDate:item.exitDate?item.exitDate + ' 00:00:00':item.exitDate,
|
|
|
maintenanceDate:item.maintenanceDate?item.maintenanceDate + ' 00:00:00':item.maintenanceDate,
|
|
|
+ installDate:item.installDate?item.installDate + ' 00:00:00':item.installDate, // 安装日期
|
|
|
repairReportDate:item.repairReportDate,
|
|
|
url:item.url?item.url:null,
|
|
|
factoryId:item.factoryId?item.factoryId:null,
|
|
@@ -914,6 +929,7 @@ export default {
|
|
|
factoryName:item.corpName,
|
|
|
...item,
|
|
|
code:'',
|
|
|
+ installDate:'',
|
|
|
equipmentDescribe:item.cname,
|
|
|
})
|
|
|
}
|
|
@@ -929,6 +945,7 @@ export default {
|
|
|
factoryName:item.corpName,
|
|
|
...item,
|
|
|
code:'',
|
|
|
+ installDate:'',
|
|
|
equipmentDescribe:item.cname,
|
|
|
})
|
|
|
}
|