|
|
@ -462,7 +462,6 @@ export default { |
|
|
|
this.getMaxBh() |
|
|
|
} else { |
|
|
|
this.getYsjl(this.$route.query.id) |
|
|
|
|
|
|
|
} |
|
|
|
this.getDepartment() |
|
|
|
}, |
|
|
@ -536,7 +535,6 @@ export default { |
|
|
|
} |
|
|
|
}).then(data => { |
|
|
|
this.ysjl = data.ysjl |
|
|
|
this.getJyxm(1) |
|
|
|
this.param = (data.param !== null && data.param !== undefined) ? data.param : {} |
|
|
|
this.ysjl.jianyanjieshuriqi = this.formatter.dateFormat('YYYY-MM-dd') |
|
|
|
this.getXcjyrq() |
|
|
@ -550,6 +548,7 @@ export default { |
|
|
|
// 制造日期、投用日期、上次检验日期设置成正确的日期格式 |
|
|
|
this.ysjl.zhizaoriqi = this.common.checkDateFormat(this.ysjl.zhizaoriqi) |
|
|
|
this.ysjl.gaizaoriqi = this.common.checkDateFormat(this.ysjl.gaizaoriqi) |
|
|
|
this.getJyxm(1) |
|
|
|
}) |
|
|
|
}, |
|
|
|
getYsjl(id) { |
|
|
@ -561,7 +560,6 @@ export default { |
|
|
|
} |
|
|
|
}).then(data => { |
|
|
|
this.ysjl = data |
|
|
|
this.getJyxm(1) |
|
|
|
this.departmentId = this.ysjl.departmentId |
|
|
|
if (this.ysjl.jianyanrenyuan !== null && this.ysjl.jianyanrenyuan.length > 0) { |
|
|
|
this.jianyanrenyuan = this.common.convertCnName(this.ysjl.jianyanrenyuan) |
|
|
@ -571,6 +569,7 @@ export default { |
|
|
|
this.getMaxBh() |
|
|
|
} |
|
|
|
this.getParam(this.ysjl.id, this.ysjl.shebeizhongleidaima) |
|
|
|
this.getJyxm(1) |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleChange(v) { |
|
|
|