Browse Source

bug修复

chenrui 4 years ago
parent
commit
412e247a8c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/financialManagement/warehousingAudit/detail.vue

+ 2 - 2
src/views/financialManagement/warehousingAudit/detail.vue

@@ -72,8 +72,8 @@ export default {
         { title: '成本价', dataIndex: 'totalAmount', width: 100, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '单位', dataIndex: 'dealerProductEntity.unit', width: 100, align: 'center' },
         { title: '入库小计', dataIndex: 'totalAmount', width: 100, align: 'center' },
-        { title: '仓库', dataIndex: 'warehouseName', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
-        { title: '仓位', dataIndex: 'warehouseLocationName', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
+        { title: '仓库', dataIndex: 'warehouseEntity.name', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
+        { title: '仓位', dataIndex: 'warehouseLocationEntity.name', width: 140, align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {