lilei 2 weeks ago
parent
commit
6e07b6a368
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/salesManagement/waitDispatchNew/queryPart.vue

+ 2 - 2
src/views/salesManagement/waitDispatchNew/queryPart.vue

@@ -396,7 +396,7 @@ export default {
       }
       }
 
 
       let arr = [
       let arr = [
-        { title: '', field: '', key: 'acheck', width: 50, type: 'checkbox', align: 'center' },
+        { title: '', field: 'acheck', key: 'acheck', width: 50, type: 'checkbox', align: 'center' },
         { title: '序号', field: 'no', key: 'a', width: 50, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return noFormat(row, row[column.field], h) } },
         { title: '序号', field: 'no', key: 'a', width: 50, align: 'center', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return noFormat(row, row[column.field], h) } },
         { title: '产品编码', field: 'productCode', key: 'b', width: 150, align: 'left', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return codeFormat(row, row[column.field], h) } },
         { title: '产品编码', field: 'productCode', key: 'b', width: 150, align: 'left', operationColumn: false, renderBodyCell: ({ row, column, rowIndex }, h) => { return codeFormat(row, row[column.field], h) } },
         { title: '产品名称', field: 'productName', key: 'c', width: 220, align: 'left', operationColumn: false, ellipsis: { showTitle: true }, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
         { title: '产品名称', field: 'productName', key: 'c', width: 220, align: 'left', operationColumn: false, ellipsis: { showTitle: true }, renderBodyCell: ({ row, column, rowIndex }, h) => { return row[column.field] || '--' } },
@@ -409,7 +409,7 @@ export default {
           operationColumn: false,
           operationColumn: false,
           renderBodyCell: ({ row, column, rowIndex }, h) => {
           renderBodyCell: ({ row, column, rowIndex }, h) => {
             return (
             return (
-              row.promoRuleSnList
+              row.useRuleQty
                 ? <a-popover placement="right">
                 ? <a-popover placement="right">
                   <template slot="content">
                   <template slot="content">
                     {row.promoRuleSnList.map(item => {
                     {row.promoRuleSnList.map(item => {