Browse Source

修改经销商促销例子bug

chenrui 1 year ago
parent
commit
33c83cd4a0

+ 3 - 3
src/views/promotionRulesManagement/dealerPromotions/chooseProductsModal.vue

@@ -7,7 +7,7 @@
     title="选择产品"
     v-model="isShow"
     @cancel="isShow=false"
-    :width="900">
+    width="70%">
     <a-spin :spinning="spinning" tip="Loading...">
       <div class="products-con">
         <!-- 搜索条件 -->
@@ -130,9 +130,9 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       loading: false, //  表格加载中
       columns: [
-        { title: '序号', dataIndex: 'no', width: 80, align: 'center' },
+        { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
         { title: '产品编码', dataIndex: 'code', align: 'center' },
-        { title: '产品名称', dataIndex: 'name', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: '产品名称', dataIndex: 'name', align: 'center', width: '18%', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '原厂编码', dataIndex: 'origCode', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
         { title: '省级价', dataIndex: 'provincePrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },
         { title: '市级价', dataIndex: 'cityPrice', width: '6%', align: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text) : '--') } },