Browse Source

修改bug

chenrui 10 months ago
parent
commit
b465812406

+ 3 - 8
src/views/purchasingManagement/purchaseOrderNew/chooseProductModal.vue

@@ -111,12 +111,7 @@
           </template>
         </s-table>
         <div v-else>
-          <a-empty
-            :image="simpleImage"
-            :image-style="{
-              height: '60px',
-            }"
-          >
+          <a-empty :image="simpleImage" :image-style="{height: '60px'}">
             <span style="color:red" slot="description">请输入查询条件</span>
           </a-empty>
         </div>
@@ -236,7 +231,7 @@ export default {
       const _this = this
       const arr = [
         { title: '序号', dataIndex: 'no', width: '50px', align: 'center' },
-        { title: '产品名称', dataIndex: 'name', width: '180px', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '产品名称', dataIndex: 'name', align: 'left', customRender: function (text) { return text || '--' }, ellipsis: true },
         { title: '原厂编码', dataIndex: 'origCode', width: '150px', align: 'center', customRender: function (text) { return text && text != ' ' ? text : '--' } },
         { title: '在途数', dataIndex: 'transitQty', width: '60px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '可用库存', dataIndex: 'currentStockQty', width: '60px', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
@@ -246,7 +241,7 @@ export default {
         { title: '终端会员价', dataIndex: 'terminalPrice', width: '80px', align: 'right', fixed: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text, 2) : '--') } },
         { title: '车主零售价', dataIndex: 'carOwnersPrice', width: '80px', align: 'right', fixed: 'right', customRender: function (text) { return ((text || text == 0) ? _this.toThousands(text, 2) : '--') } },
         { title: '采购数量', dataIndex: 'qty', scopedSlots: { customRender: 'storageQuantity' }, width: '80px', align: 'center', fixed: 'right' },
-        { title: '操作', scopedSlots: { customRender: 'action' }, width: '60px', align: 'center', fixed: 'right' }
+        { title: '操作', scopedSlots: { customRender: 'action' }, width: '80px', align: 'center', fixed: 'right' }
       ]
       // 产品来源,如果时上级
       if (this.isDealerUp) {