优化出厂日期可以晚于采购日期与到货日期
This commit is contained in:
parent
57417fc8be
commit
3616e79133
|
|
@ -381,17 +381,6 @@ export default {
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
|
||||||
pickerOptions() {
|
|
||||||
return {
|
|
||||||
disabledDate(time) {
|
|
||||||
const currentDate = new Date()
|
|
||||||
currentDate.setHours(0, 0, 0, 0)
|
|
||||||
return time.getTime() < currentDate.getTime()
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
// watch: {
|
// watch: {
|
||||||
// 'maForm.purchaseTime'() {
|
// 'maForm.purchaseTime'() {
|
||||||
// if (this.maForm.purchaseTime != '') {
|
// if (this.maForm.purchaseTime != '') {
|
||||||
|
|
@ -704,10 +693,8 @@ export default {
|
||||||
},
|
},
|
||||||
// 采购日期变化
|
// 采购日期变化
|
||||||
changeTimePurchase() {
|
changeTimePurchase() {
|
||||||
this.queryParams.productionTime = ''
|
// 清除到货日期
|
||||||
this.equipmentList.forEach((item) => {
|
this.maForm.arrivalTime = ''
|
||||||
this.$set(item, 'productionTime', '')
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue