|
@@ -839,6 +839,12 @@ export default {
|
|
|
// 改变需求计划改变需求日期
|
|
|
changeplanType() {
|
|
|
this.dafaultDate()
|
|
|
+ if (this.basicForm.planType == 'JJXQ') {
|
|
|
+ this.basicForm.billType = 'JJXQ'
|
|
|
+ }
|
|
|
+ if (this.basicForm.planType == 'JJXQ' && this.basicForm.puDemandItemList.length != 0) {
|
|
|
+ this.basicForm.puDemandItemList.forEach(item => {item.isUrgency = 'Y'})
|
|
|
+ }
|
|
|
},
|
|
|
// 无限滚动加载配置
|
|
|
load() {
|
|
@@ -872,6 +878,9 @@ export default {
|
|
|
item.additionalSupplierName = null
|
|
|
})
|
|
|
}
|
|
|
+ if (this.basicForm.billType == 'JJXQ') {
|
|
|
+ this.basicForm.planType = 'JJXQ'
|
|
|
+ }
|
|
|
if (this.basicForm.billType == 'JJXQ' && this.basicForm.puDemandItemList.length != 0) {
|
|
|
this.basicForm.puDemandItemList.forEach(item => {item.isUrgency = 'Y'})
|
|
|
} else {
|