|
|
@@ -1543,6 +1543,23 @@ export default {
|
|
|
)
|
|
|
}
|
|
|
}
|
|
|
+ },
|
|
|
+ 'form.shiFouXiaoZhun': {
|
|
|
+ handler(value) {
|
|
|
+ if (value !== '是') {
|
|
|
+ const arr = [
|
|
|
+ 'xiaoZhunZQ',
|
|
|
+ 'shiYongKeShi',
|
|
|
+ 'yiXiaoRiQi',
|
|
|
+ 'xiaoZhunYouXia',
|
|
|
+ 'zhengShuBianHa',
|
|
|
+ 'jianDingXiao',
|
|
|
+ 'zuiDaYunCha',
|
|
|
+ 'xiuZhengZhiXiu'
|
|
|
+ ]
|
|
|
+ arr.forEach((t) => (this.form[t] = ''))
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
|
|
|
@@ -1770,6 +1787,10 @@ export default {
|
|
|
if (this.isEdit) {
|
|
|
const { data } = await getequipmentCard({ id: this.params.id })
|
|
|
this.form = data
|
|
|
+ console.log(this.form.xiaoZhunZQ)
|
|
|
+ if (!this.form.xiaoZhunZQ) {
|
|
|
+ this.form.xiaoZhunYouXia = ''
|
|
|
+ }
|
|
|
} else {
|
|
|
this.isFirstbianZhiBuMen = false
|
|
|
this.isFirstyiXiaoRiQi = false
|