chenrui 1 سال پیش
والد
کامیت
fa1ab5bf71
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      src/views/promotionRulesManagement/dealerPromotions/productPreviewModal.vue

+ 4 - 4
src/views/promotionRulesManagement/dealerPromotions/productPreviewModal.vue

@@ -6,7 +6,7 @@
     :maskClosable="false"
     v-model="isShow"
     @cancel="isShow=false"
-    width="80%">
+    width="50%">
     <template slot="title">
       <div v-if="resObj"><strong>{{ resObj.tit }}</strong>(已选<span style="color:#ed1c24;">{{ dataList.length }}</span>项)</div>
       <span v-else>预览弹窗</span>
@@ -57,9 +57,9 @@ export default {
       exportLoading: false,
       spinning: false,
       columns: [
-        { title: '序号', field: 'no', key: 'a', width: 40, align: 'center', operationColumn: false },
-        { title: '产品编码', field: 'productCode', key: 'b', width: '40%', align: 'center', operationColumn: false, renderBodyCell: ({ row, column }) => { return row[column.field] || '--' } },
-        { title: '起订量', field: 'unitTypeInfo', key: 'c', width: '40%', align: 'center', operationColumn: false, renderBodyCell: ({ row, column }) => { return row[column.field] || '--' } }
+        { title: '序号', field: 'no', key: 'a', width: 20, align: 'center', operationColumn: false },
+        { title: '产品编码', field: 'productCode', key: 'b', width: '45%', align: 'center', operationColumn: false, renderBodyCell: ({ row, column }) => { return row[column.field] || '--' } },
+        { title: '起订量', field: 'unitTypeInfo', key: 'c', width: '45%', align: 'center', operationColumn: false, renderBodyCell: ({ row, column }) => { return row[column.field] || '--' } }
       ],
       newDataList: this.dataList
     }