lilei 2 лет назад
Родитель
Сommit
77a7295d8d
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/views/basicData/warehouse/list.vue

+ 3 - 2
src/views/basicData/warehouse/list.vue

@@ -84,8 +84,9 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       columns: [
         { title: '序号', dataIndex: 'no', width: '10%', align: 'center' },
-        { title: '仓库名称', dataIndex: 'name', align: 'center', width: '45%', ellipsis: true, customRender: function (text) { return text || '--' } },
-        { title: '操作', scopedSlots: { customRender: 'action' }, align: 'center', width: '45%' }
+        { title: '仓库名称', dataIndex: 'name', align: 'center', width: '30%', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: 'ERP仓库编码', dataIndex: 'erpWarehouseCode', align: 'center', width: '30%', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: '操作', scopedSlots: { customRender: 'action' }, align: 'center', width: '30%' }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {