|
@@ -350,9 +350,6 @@ export default {
|
|
|
getOrderDetail () {
|
|
|
salesReturnDetail({ sn: this.orderSn }).then(res => {
|
|
|
this.ordeDetail = res.data || null
|
|
|
- if (res.data.billStatus == 'AUDIT_REJECT') {
|
|
|
- this.$refs.chooseDepart.getDetail(res.data)
|
|
|
- }
|
|
|
})
|
|
|
},
|
|
|
// 删除产品
|
|
@@ -421,6 +418,9 @@ export default {
|
|
|
this.$message.warning('请输入退货原因!')
|
|
|
} else {
|
|
|
this.openDepartUserModal = true
|
|
|
+ if (this.ordeDetail.billStatus == 'AUDIT_REJECT') {
|
|
|
+ this.$refs.chooseDepart.getDetail(this.ordeDetail)
|
|
|
+ }
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.warning('请添加产品!')
|