...
|
...
|
@@ -54,6 +54,7 @@ |
|
|
const modal = require('common/modal');
|
|
|
|
|
|
const productList = require('me/return/list.vue');
|
|
|
const reasonConfig = require('me/return/reason');
|
|
|
|
|
|
module.exports = {
|
|
|
data() {
|
...
|
...
|
@@ -110,13 +111,13 @@ |
|
|
}
|
|
|
});
|
|
|
|
|
|
global.store = {};
|
|
|
global.store.reasons = [{
|
|
|
reasonConfig.specialReasons = [];
|
|
|
res.data.specialExchangeReason.forEach(obj => reasonConfig.specialReasons.push(obj.id));
|
|
|
reasonConfig.reasons = [{
|
|
|
id: 0,
|
|
|
name: '请选择'
|
|
|
}].concat(res.data.returnReason);
|
|
|
global.store.specialReasons = res.data.specialReturnReason.map(obj => obj.id);
|
|
|
global.store.specialNotice = res.data.specialNotice;
|
|
|
}].concat(res.data.exchangeReason);
|
|
|
reasonConfig.specialNotice = res.data.specialNoticeBo;
|
|
|
|
|
|
this.list = res.data.goodsList;
|
|
|
this.$set('refundData', res.data);
|
...
|
...
|
|