权限代码调整
This commit is contained in:
parent
0bb46ab432
commit
19606ffd98
@ -116,5 +116,6 @@ export default {
|
||||
transferAttribution: 'Transfer attribution',
|
||||
distributionAttribution: 'Distribution attribution',
|
||||
goodsAmount:'Goods Amount',
|
||||
operate:'operate'
|
||||
operate:'operate',
|
||||
orderNotPay:'order not pay'
|
||||
};
|
||||
|
@ -115,5 +115,6 @@ export default {
|
||||
transferAttribution: '转赠归属',
|
||||
distributionAttribution: '分发归属',
|
||||
goodsAmount:'商品个数',
|
||||
operate:'操作'
|
||||
operate:'操作',
|
||||
orderNotPay:'该订单未支付'
|
||||
};
|
||||
|
@ -241,7 +241,11 @@ export default {
|
||||
this.$refs.detail.doShow(data);
|
||||
},
|
||||
handleCanDistribute(index, data) {
|
||||
this.distribute(data.code);
|
||||
if (data.payStatus == '01') {
|
||||
this.$messageBox(this.$t('orderAuthor.orderNotPay'));
|
||||
} else if (data.payStatus == '02' || data.payStatus == '04' ) {
|
||||
this.distribute(data.code);
|
||||
}
|
||||
},
|
||||
distribute(orderCode) {
|
||||
getDistributeFromOrder(orderCode).then(response => {
|
||||
|
Loading…
Reference in New Issue
Block a user