|
@@ -228,7 +228,8 @@ export default {
|
|
memo: ''
|
|
memo: ''
|
|
},
|
|
},
|
|
auditStatus: '',
|
|
auditStatus: '',
|
|
- orderServerList: orderServerList
|
|
|
|
|
|
+ orderServerList: orderServerList,
|
|
|
|
+ clearSchool: false
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
@@ -255,8 +256,8 @@ export default {
|
|
}
|
|
}
|
|
this.auditStatus = orderInfo.auditStatus
|
|
this.auditStatus = orderInfo.auditStatus
|
|
this.$set(this.form, 'goodsList', this.getShopList(orderInfo.goodsJson))
|
|
this.$set(this.form, 'goodsList', this.getShopList(orderInfo.goodsJson))
|
|
- console.log(this.form)
|
|
|
|
this.changeOrgin(orderInfo.routeOrganId)
|
|
this.changeOrgin(orderInfo.routeOrganId)
|
|
|
|
+ this.clearSchool = true;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
}
|
|
}
|
|
@@ -264,8 +265,10 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
changeOrgin (val) {
|
|
changeOrgin (val) {
|
|
- // this.$set(this.form, 'schoolId', null)
|
|
|
|
if (val) {
|
|
if (val) {
|
|
|
|
+ if (this.clearSchool) {
|
|
|
|
+ this.$set(this.form, 'schoolId', null)
|
|
|
|
+ }
|
|
getCooperation({ rows: 9999, organId: val }).then(res => {
|
|
getCooperation({ rows: 9999, organId: val }).then(res => {
|
|
if (res.code === 200) {
|
|
if (res.code === 200) {
|
|
this.cooperationList = res.data.rows
|
|
this.cooperationList = res.data.rows
|