|
@@ -173,9 +173,10 @@ export default {
|
|
|
},
|
|
|
computed: {
|
|
|
showConvertPromoGIftQty(){
|
|
|
- const ret = this.detail && (this.detail.totalPutQty + this.detail.totalWaitPutQty + this.detail.totalCancelQty
|
|
|
- + this.detail.totalConvertPromoGiftsQty) == this.detail.totalQty
|
|
|
- return ret
|
|
|
+ const c = this.detail ? this.detail.totalConvertPromoGiftsQty : 0
|
|
|
+ const a = this.detail ? (this.detail.totalPutQty + this.detail.totalWaitPutQty + this.detail.totalCancelQty + c) : 0
|
|
|
+ const b = this.detail ? this.detail.totalQty : 0
|
|
|
+ return this.detail && c>0 && a == b
|
|
|
},
|
|
|
columns () {
|
|
|
const _this = this
|