#418 bug

Merged
lilei merged 1 commits from jianguan-web/develop_yh68 into jianguan-web/pre-release 5 hours ago

+ 1 - 1
src/views/salesManagement/salesQueryNew/comps/detailProductList.vue

@@ -291,7 +291,7 @@ export default {
         { title: '已下推数', field: 'pushedQty', width: 80, key: 'p', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row.borrowFlag != '1' ? numsFormat(row[column.field]) : '--' } }
       ])
       // 如果有转采购额
-      if (this.showConvertPromoGifts) {
+      if (this.showConvertPromoGifts && this.type == 'active') {
         arr.push({ title: '转采购额数量', field: 'convertPromoGiftsQty', width: 100, key: 'z', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row.convertPromoGiftsFlag ? numsFormat(row[column.field]) : '--' } })
       }
       arr.push({ title: '已取消数', field: 'cancelQty', width: 80, key: 'q', align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return row.borrowFlag != '1' ? numsFormat(row[column.field]) : '--' } })