ソースを参照

表格无数据“--”显示

chenrui 4 年 前
コミット
8e205d32b2
46 ファイル変更280 行追加283 行削除
  1. 8 8
      src/views/allocationManagement/chainTransferIn/detail.vue
  2. 5 5
      src/views/allocationManagement/chainTransferIn/edit.vue
  3. 1 1
      src/views/allocationManagement/chainTransferIn/list.vue
  4. 7 7
      src/views/allocationManagement/chainTransferOut/detail.vue
  5. 15 15
      src/views/allocationManagement/chainTransferOut/edit.vue
  6. 5 5
      src/views/allocationManagement/storeTransferOut/detail.vue
  7. 11 11
      src/views/allocationManagement/storeTransferOut/edit.vue
  8. 8 8
      src/views/allocationManagement/warehouseAllocation/detail.vue
  9. 14 14
      src/views/allocationManagement/warehouseAllocation/edit.vue
  10. 1 1
      src/views/basicData/supplierManagement/list.vue
  11. 6 6
      src/views/bulkManagement/bulkWarehousingOrder/detail.vue
  12. 5 5
      src/views/bulkManagement/bulkWarehousingOrder/edit.vue
  13. 7 7
      src/views/bulkManagement/bulkWarehousingOrder/list.vue
  14. 6 6
      src/views/bulkManagement/bulkWarehousingOrder/warehousing.vue
  15. 6 6
      src/views/financialManagement/companyCollectionPayment/list.vue
  16. 3 3
      src/views/financialManagement/companyReceivablePayable/detail.vue
  17. 4 4
      src/views/financialManagement/companyReceivablePayable/list.vue
  18. 5 5
      src/views/financialManagement/companyReceivablePayable/paymentSlip.vue
  19. 5 5
      src/views/financialManagement/companyReceivablePayable/receipt.vue
  20. 15 15
      src/views/financialManagement/expenseManagement/edit.vue
  21. 5 5
      src/views/financialManagement/expenseManagement/list.vue
  22. 6 6
      src/views/financialManagement/financialCollection/list.vue
  23. 7 7
      src/views/financialManagement/financialPayment/list.vue
  24. 8 8
      src/views/financialManagement/inventoryReview/detail.vue
  25. 7 7
      src/views/financialManagement/inventoryReview/list.vue
  26. 8 8
      src/views/financialManagement/ledgerRecord/list.vue
  27. 8 8
      src/views/financialManagement/warehousingAudit/detail.vue
  28. 6 6
      src/views/financialManagement/warehousingAudit/list.vue
  29. 6 6
      src/views/financialManagement/withdrawalManagement/list.vue
  30. 1 1
      src/views/inventoryManagement/inventoryChecking/checkingTipsModal.vue
  31. 5 5
      src/views/inventoryManagement/inventoryChecking/detail.vue
  32. 5 5
      src/views/inventoryManagement/inventoryChecking/financialAuditDetail.vue
  33. 1 1
      src/views/inventoryManagement/inventoryChecking/list.vue
  34. 7 7
      src/views/inventoryManagement/inventoryChecking/makeInventory.vue
  35. 5 5
      src/views/inventoryManagement/inventoryChecking/makeInventoryDetail.vue
  36. 2 2
      src/views/inventoryManagement/inventoryChecking/overall.vue
  37. 8 8
      src/views/inventoryManagement/inventoryChecking/selfDisk.vue
  38. 6 6
      src/views/inventoryManagement/inventoryChecking/supervisionAudit.vue
  39. 5 5
      src/views/inventoryManagement/inventoryChecking/supervisionAuditDetail.vue
  40. 2 2
      src/views/inventoryManagement/satelliteWarehouseInventory/addModal.vue
  41. 6 9
      src/views/inventoryManagement/satelliteWarehouseInventory/list.vue
  42. 6 6
      src/views/purchasingManagement/purchaseOrder/detail.vue
  43. 8 8
      src/views/purchasingManagement/purchaseOrder/edit.vue
  44. 8 8
      src/views/purchasingManagement/purchaseOrder/list.vue
  45. 1 1
      src/views/purchasingManagement/purchaseOrder/receivingAddress/chooseAddressModal.vue
  46. 6 6
      src/views/purchasingManagement/purchaseOrder/warehousing.vue

+ 8 - 8
src/views/allocationManagement/chainTransferIn/detail.vue

@@ -44,15 +44,15 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '成本价', dataIndex: 'custsN2agme', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'custsN2agme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '调入数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
-          { title: '成本小计', dataIndex: 'custsNagme', align: 'center' },
-          { title: '仓库', dataIndex: 'warehouse', align: 'center' },
-          { title: '仓位', dataIndex: 'warehouseLoc', align: 'center' }
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本小计', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '仓库', dataIndex: 'warehouse', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'warehouseLoc', align: 'center', customRender: function (text) { return text || '--' } }
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 5 - 5
src/views/allocationManagement/chainTransferIn/edit.vue

@@ -92,13 +92,13 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '成本价', dataIndex: 'custsN2agme', align: 'center' },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'custsN2agme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '调入数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
-          { title: '成本小计', dataIndex: 'custsNagme', align: 'center' },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本小计', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '仓库', scopedSlots: { customRender: 'warehouse' }, align: 'center' },
           { title: '仓位', scopedSlots: { customRender: 'warehouseLoc' }, align: 'center' },
           // { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }

+ 1 - 1
src/views/allocationManagement/chainTransferIn/list.vue

@@ -110,7 +110,7 @@ export default {
       dateFormat: 'YYYY-MM-DD',
       columns: [
         { title: '创建时间', dataIndex: 'no', width: 70, align: 'center', width: 180 },
-        { title: '连锁调出单号', dataIndex: 'productName', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+        { title: '连锁调出单号', dataIndex: 'productName', align: 'center', ellipsis: true },
         { title: '店内单号', dataIndex: 'productOldNum', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '调往对象', dataIndex: 'inventoryMoney', width: 180, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '总款数', dataIndex: 'inventsoryMoney', width: 180, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },

+ 7 - 7
src/views/allocationManagement/chainTransferOut/detail.vue

@@ -44,15 +44,15 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '成本价', dataIndex: 'custsN2agme', align: 'center' },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'custsN2agme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '调入数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
-          { title: '成本小计', dataIndex: 'custsNagme', align: 'center' },
-          { title: '仓库', dataIndex: 'warehouse', align: 'center' },
-          { title: '仓位', dataIndex: 'warehouseLoc', align: 'center' }
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本小计', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '仓库', dataIndex: 'warehouse', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'warehouseLoc', align: 'center', customRender: function (text) { return text || '--' } }
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 15 - 15
src/views/allocationManagement/chainTransferOut/edit.vue

@@ -203,13 +203,13 @@
         columns: [
           { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '品牌', dataIndex: 'custsNsame', align: 'center' },
-          { title: '仓库', dataIndex: 'custsNdame', align: 'center' },
-          { title: '仓位', dataIndex: 'custsNafme', align: 'center' },
-          { title: '成本价', dataIndex: 'storageQuantity', align: 'center' },
-          { title: '库存数量', dataIndex: 'custsNagme', align: 'center' },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '品牌', dataIndex: 'custsNsame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓库', dataIndex: 'custsNdame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'custsNafme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'storageQuantity', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '库存数量', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],
@@ -246,16 +246,16 @@
         // 表头
         chooseColumns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '品牌', dataIndex: 'custsNsame', align: 'center' },
-          { title: '仓库', dataIndex: 'custsNdame', align: 'center' },
-          { title: '仓位', dataIndex: 'custsNafme', align: 'center' },
-          { title: '成本价', dataIndex: 'storageQuantity', align: 'center' },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '品牌', dataIndex: 'custsNsame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓库', dataIndex: 'custsNdame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'custsNafme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'storageQuantity', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
-          { title: '成本小计', dataIndex: 'custsNagme', align: 'center' },
+          { title: '成本小计', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],
         // 加载数据方法 必须为 Promise 对象

+ 5 - 5
src/views/allocationManagement/storeTransferOut/detail.vue

@@ -54,13 +54,13 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
-          { title: '成本价', dataIndex: 'custsNagme', align: 'center' },
-          { title: '调出仓库', dataIndex: 'warehouse', align: 'center' },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '调出仓库', dataIndex: 'warehouse', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
-          { title: '成本小计(¥)', dataIndex: 'custsN2agme', align: 'center' },
+          { title: '成本小计(¥)', dataIndex: 'custsN2agme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 11 - 11
src/views/allocationManagement/storeTransferOut/edit.vue

@@ -187,11 +187,11 @@
         columns: [
           { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
-          { title: '仓库', dataIndex: 'custsNdame', align: 'center' },
-          { title: '仓位', dataIndex: 'custsNafme', align: 'center' },
-          { title: '库存数量', dataIndex: 'custsNagme', align: 'center' },
-          { title: '成本价', dataIndex: 'storageQuantity', align: 'center' },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓库', dataIndex: 'custsNdame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'custsNafme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '库存数量', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '成本价', dataIndex: 'storageQuantity', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],
         // 加载数据方法 必须为 Promise 对象
@@ -227,14 +227,14 @@
         // 表头
         chooseColumns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
-          { title: '成本价', dataIndex: 'storageQuantity', align: 'center' },
-          { title: '仓库', dataIndex: 'custsNdame', align: 'center' },
-          { title: '仓位', dataIndex: 'custsNafme', align: 'center' },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本价', dataIndex: 'storageQuantity', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '仓库', dataIndex: 'custsNdame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'custsNafme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
-          { title: '成本小计', dataIndex: 'custsNagme', align: 'center' },
+          { title: '成本小计', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],
         // 加载数据方法 必须为 Promise 对象

+ 8 - 8
src/views/allocationManagement/warehouseAllocation/detail.vue

@@ -70,15 +70,15 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '类别', dataIndex: 'tostalP', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '类别', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '成本小计', dataIndex: 'totalNums', align: 'center' },
-          { title: '调出仓位', dataIndex: 'shDate', align: 'center' },
-          { title: '调入仓位', dataIndex: 'shDsate', align: 'center' },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '成本小计', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '调出仓位', dataIndex: 'shDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '调入仓位', dataIndex: 'shDsate', align: 'center', customRender: function (text) { return text || '--' } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 14 - 14
src/views/allocationManagement/warehouseAllocation/edit.vue

@@ -215,15 +215,15 @@
         advanced: false,  // 高级搜索 展开/关闭
         // 表头
         columns: [
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '产品名称', dataIndex: 'custNahme', align: 'center', ellipsis: true },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '品牌', dataIndex: 'custsNsame', align: 'center' },
-          { title: '类别', dataIndex: 'custsNdame', align: 'center' },
-          { title: '调出仓位', dataIndex: 'custsNafme', align: 'center' },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '品牌', dataIndex: 'custsNsame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '类别', dataIndex: 'custsNdame', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '调出仓位', dataIndex: 'custsNafme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调入仓位', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
-          { title: '库存数量', dataIndex: 'custsNagme', align: 'center' },
-          { title: '单位', dataIndex: 'custsNsagme', align: 'center' },
+          { title: '库存数量', dataIndex: 'custsNagme', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '单位', dataIndex: 'custsNsagme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],
@@ -259,14 +259,14 @@
         },
         // 表头
         chooseColumns: [
-          { title: '产品编码', dataIndex: 'creatDaite', align: 'center', sorter: true },
-          { title: '产品名称', dataIndex: 'custNayme', align: 'center' },
-          { title: '原厂编码', dataIndex: 'custNdayme', align: 'center' },
-          { title: '品牌', dataIndex: 'mementPsay', align: 'center' },
-          { title: '类别', dataIndex: 'mementPay', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDaite', align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custNayme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'custNdayme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '品牌', dataIndex: 'mementPsay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '类别', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出仓位', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
-          { title: '调入仓位', dataIndex: 'custsNakme', align: 'center' },
-          { title: '单位', dataIndex: 'custssNakme', align: 'center' },
+          { title: '调入仓位', dataIndex: 'custsNakme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'custssNakme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '调出数量', scopedSlots: { customRender: 'transferOutQuantity' }, align: 'center' },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],

+ 1 - 1
src/views/basicData/supplierManagement/list.vue

@@ -66,7 +66,7 @@ export default {
         { title: '联系人', dataIndex: 'productBrand', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '联系电话', dataIndex: 'productType', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '主营内容', dataIndex: 'inventoryNum', width: 180, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-        { title: '创建时间', dataIndex: 'inventoryMoney', width: 180, align: 'center' },
+        { title: '创建时间', dataIndex: 'inventoryMoney', width: 180, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '状态', scopedSlots: { customRender: 'state' }, width: 180, align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 240, align: 'center' }
       ],

+ 6 - 6
src/views/bulkManagement/bulkWarehousingOrder/detail.vue

@@ -90,14 +90,14 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '采购单价', dataIndex: 'totalNums', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购单价', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '采购数量', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '缺货数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '采购金额', dataIndex: 'shDate', align: 'center' },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购金额', dataIndex: 'shDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 5 - 5
src/views/bulkManagement/bulkWarehousingOrder/edit.vue

@@ -201,11 +201,11 @@
         disabled: false, //  查询、重置按钮是否可操作
         // 表头
         columns: [
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center', sorter: true },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '产品品牌', dataIndex: 'custsName', align: 'center', sorter: true },
-          { title: '单位', dataIndex: 'custsNdame', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品品牌', dataIndex: 'custsName', align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'custsNdame', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '成本价', scopedSlots: { customRender: 'costPrice' }, align: 'center' },
           { title: '数量', scopedSlots: { customRender: 'quantity' }, align: 'center' },
           { title: '仓库', scopedSlots: { customRender: 'warehouse' }, align: 'center' },

+ 7 - 7
src/views/bulkManagement/bulkWarehousingOrder/list.vue

@@ -117,13 +117,13 @@ export default {
       // 表头
       columns: [
         { title: '散件单号', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '创建时间', dataIndex: 'creatDate', align: 'center' },
-        { title: '供应商', dataIndex: 'custName', align: 'center' },
-        { title: '产品款数', dataIndex: 'totalP', align: 'center' },
-        { title: '总数量', dataIndex: 'totalNums', align: 'center' },
-        { title: '总金额', dataIndex: 'totalPrice', align: 'center' },
-        { title: '单据状态', dataIndex: 'payType', align: 'center' },
-        { title: '结算状态', dataIndex: 'mementPay', align: 'center' },
+        { title: '创建时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '供应商', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品款数', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '总数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '总金额', dataIndex: 'totalPrice', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '单据状态', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '结算状态', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 270, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 6 - 6
src/views/bulkManagement/bulkWarehousingOrder/warehousing.vue

@@ -90,14 +90,14 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '采购单价', dataIndex: 'totalNums', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购单价', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '采购数量', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '缺货数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '采购金额', dataIndex: 'shDate', align: 'center' },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购金额', dataIndex: 'shDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '入库数量', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
           { title: '仓库仓位', scopedSlots: { customRender: 'warehousePosition' }, align: 'center' },
         ],

+ 6 - 6
src/views/financialManagement/companyCollectionPayment/list.vue

@@ -110,13 +110,13 @@ export default {
       // 表头
       columns: [
         { title: '序号', dataIndex: 'no', align: 'center' },
-        { title: '单位名称', dataIndex: 'name', align: 'center' },
-        { title: '单位类型', dataIndex: 'pssayType', align: 'center' },
-        { title: '结算类型', dataIndex: 'paddyType', align: 'center' },
+        { title: '单位名称', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '单位类型', dataIndex: 'pssayType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '结算类型', dataIndex: 'paddyType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '结算单号', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '结算金额', dataIndex: 'totalP', align: 'center' },
-        { title: '结算时间', dataIndex: 'creatDate', align: 'center' },
-        { title: '操作人', dataIndex: 'payType', align: 'center' },
+        { title: '结算金额', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '结算时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '操作人', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '结算方式', scopedSlots: { customRender: 'sss' }, width: 270, align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 160, align: 'center' }
       ],

+ 3 - 3
src/views/financialManagement/companyReceivablePayable/detail.vue

@@ -77,9 +77,9 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '单据号', dataIndex: 'creatDate', align: 'center' },
-          { title: '类型', dataIndex: 'custName', align: 'center' },
-          { title: '审核时间', dataIndex: 'totalP', align: 'center' },
+          { title: '单据号', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '类型', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '审核时间', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '金额', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '余额', scopedSlots: { customRender: 'purchasesNum' }, align: 'center' },
         ],

+ 4 - 4
src/views/financialManagement/companyReceivablePayable/list.vue

@@ -65,10 +65,10 @@ export default {
       // 表头
       columns: [
         { title: '序号', dataIndex: 'no', align: 'center' },
-        { title: '单位名称', dataIndex: 'name', align: 'center' },
-        { title: '单位类型', dataIndex: 'pssayType', align: 'center' },
-        { title: '应收金额', dataIndex: 'totalP', align: 'center' },
-        { title: '应付金额', dataIndex: 'tostalP', align: 'center' },
+        { title: '单位名称', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '单位类型', dataIndex: 'pssayType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '应收金额', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '应付金额', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 270, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 5 - 5
src/views/financialManagement/companyReceivablePayable/paymentSlip.vue

@@ -206,11 +206,11 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '单据号', dataIndex: 'creatDate', align: 'center' },
-          { title: '类型', dataIndex: 'custName', align: 'center' },
-          { title: '审核时间', dataIndex: 'custsName', align: 'center' },
-          { title: '金额', dataIndex: 'totalP', align: 'center' },
-          { title: '余额', dataIndex: 'totalNums', align: 'center' },
+          { title: '单据号', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '类型', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '审核时间', dataIndex: 'custsName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '金额', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '余额', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '结算金额', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
         ],
         selectedRowKeys: [], // Check here to configure the default column

+ 5 - 5
src/views/financialManagement/companyReceivablePayable/receipt.vue

@@ -206,11 +206,11 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '单据号', dataIndex: 'creatDate', align: 'center' },
-          { title: '类型', dataIndex: 'custName', align: 'center' },
-          { title: '审核时间', dataIndex: 'custsName', align: 'center' },
-          { title: '金额', dataIndex: 'totalP', align: 'center' },
-          { title: '余额', dataIndex: 'totalNums', align: 'center' },
+          { title: '单据号', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '类型', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '审核时间', dataIndex: 'custsName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '金额', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '余额', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '结算金额', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
         ],
         selectedRowKeys: [], // Check here to configure the default column

+ 15 - 15
src/views/financialManagement/expenseManagement/edit.vue

@@ -14,21 +14,21 @@
 				:rules="rules"
 				:label-col="formItemLayout.labelCol"
 				:wrapper-col="formItemLayout.wrapperCol" >
-        <a-form-model-item label="费用类型" prop="distributionType">
-        	<v-select code="DISPATCH_FASHION" id="expenseManagementEdit-distributionType" v-model="form.distributionType" allowClear placeholder="请选择费用类型" ></v-select>
-        </a-form-model-item>
-        <a-form-model-item label="费用金额" prop="name">
-          <a-input-number id="expenseManagementEdit-name" v-model="form.name" :precision="0" :min="0" :max="999999" placeholder="请输入费用金额(0~999999)" allowClear style="width: 90%;" /> 元
-        </a-form-model-item>
-        <a-form-model-item label="结算方式" prop="distributionType">
-        	<v-select code="DISPATCH_FASHION" id="expenseManagementEdit-distributionType" v-model="form.distributionType" allowClear placeholder="请选择结算方式" ></v-select>
-        </a-form-model-item>
-        <a-form-model-item label="关联单号" prop="mobile">
-          <a-input id="expenseManagementEdit-mobile" :maxLength="30" v-model="form.mobile" placeholder="请输入关联单号(最多30个字符)" allowClear />
-        </a-form-model-item>
-        <a-form-model-item label="备注" prop="remarks">
-        	<a-textarea id="expenseManagementEdit-remarks" :maxLength="500" v-model="form.remarks" placeholder="请输入备注(最多500个字符)" allowClear />
-        </a-form-model-item>
+				<a-form-model-item label="费用类型" prop="distributionType">
+					<v-select code="DISPATCH_FASHION" id="expenseManagementEdit-distributionType" v-model="form.distributionType" allowClear placeholder="请选择费用类型" ></v-select>
+				</a-form-model-item>
+				<a-form-model-item label="费用金额" prop="name">
+				  <a-input-number id="expenseManagementEdit-name" v-model="form.name" :precision="0" :min="0" :max="999999" placeholder="请输入费用金额(0~999999)" allowClear style="width: 90%;" /> 元
+				</a-form-model-item>
+				<a-form-model-item label="结算方式" prop="distributionType">
+					<v-select code="DISPATCH_FASHION" id="expenseManagementEdit-distributionType" v-model="form.distributionType" allowClear placeholder="请选择结算方式" ></v-select>
+				</a-form-model-item>
+				<a-form-model-item label="关联单号" prop="mobile">
+				  <a-input id="expenseManagementEdit-mobile" :maxLength="30" v-model="form.mobile" placeholder="请输入关联单号(最多30个字符)" allowClear />
+				</a-form-model-item>
+				<a-form-model-item label="备注" prop="remarks">
+					<a-textarea id="expenseManagementEdit-remarks" :maxLength="500" v-model="form.remarks" placeholder="请输入备注(最多500个字符)" allowClear />
+				</a-form-model-item>
 				<a-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;">
 					<a-button type="primary" @click="handleSave" id="expenseManagementEdit-btn-save" style="padding: 0 60px;margin: 0 30px;">保存</a-button>
 					<a-button type="danger" @click="handleSubmit" id="expenseManagementEdit-btn-submit" style="padding: 0 60px;margin: 0 30px;">提交</a-button>

+ 5 - 5
src/views/financialManagement/expenseManagement/list.vue

@@ -121,11 +121,11 @@ export default {
       // 表头
       columns: [
         { title: '费用单号', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '创建时间', dataIndex: 'creatDates', align: 'center' },
-        { title: '费用类型', dataIndex: 'creatDate', align: 'center' },
-        { title: '金额', dataIndex: 'totalPrice', align: 'center' },
-        { title: '单据状态', dataIndex: 'totalP', align: 'center' },
-        { title: '结算状态', dataIndex: 'totalNums', align: 'center' },
+        { title: '创建时间', dataIndex: 'creatDates', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '费用类型', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '金额', dataIndex: 'totalPrice', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '单据状态', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '结算状态', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 270, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 6 - 6
src/views/financialManagement/financialCollection/list.vue

@@ -108,13 +108,13 @@ export default {
       // 表头
       columns: [
         { title: '收款单号', dataIndex: 'no', align: 'center' },
-        { title: '关联单号', dataIndex: 'name', align: 'center' },
-        { title: '商户名称', dataIndex: 'pssayType', align: 'center' },
-        { title: '收款金额', dataIndex: 'paddyType', align: 'center' },
+        { title: '关联单号', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '商户名称', dataIndex: 'pssayType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '收款金额', dataIndex: 'paddyType', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '收款类型', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '收款方式', dataIndex: 'totalP', align: 'center' },
-        { title: '审核时间', dataIndex: 'payType', align: 'center' },
-        { title: '收款时间', dataIndex: 'creatDate', align: 'center' },
+        { title: '收款方式', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '审核时间', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '收款时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 160, align: 'center' }
       ],
       selectedRowKeys: [], // Check here to configure the default column

+ 7 - 7
src/views/financialManagement/financialPayment/list.vue

@@ -107,14 +107,14 @@ export default {
       queryParam: {},
       // 表头
       columns: [
-        { title: '付款单号', dataIndex: 'no', align: 'center' },
-        { title: '关联单号', dataIndex: 'name', align: 'center' },
-        { title: '商户名称', dataIndex: 'pssayType', align: 'center' },
-        { title: '付款金额', dataIndex: 'paddyType', align: 'center' },
+        { title: '付款单号', dataIndex: 'no', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '关联单号', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '商户名称', dataIndex: 'pssayType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '付款金额', dataIndex: 'paddyType', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '付款类型', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '付款方式', dataIndex: 'totalP', align: 'center' },
-        { title: '付款时间', dataIndex: 'creatDate', align: 'center' },
-        { title: '审核时间', dataIndex: 'payType', align: 'center' },
+        { title: '付款方式', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '付款时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '审核时间', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 160, align: 'center' }
       ],
       selectedRowKeys: [], // Check here to configure the default column

+ 8 - 8
src/views/financialManagement/inventoryReview/detail.vue

@@ -92,16 +92,16 @@
       return{
         // 表头
         columns: [
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '仓库', dataIndex: 'shDaste', align: 'center' },
-          { title: '仓位', dataIndex: 'shsDate', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓库', dataIndex: 'shDaste', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'shsDate', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '库存数量', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
-          { title: '库存成本', dataIndex: 'totalNums', align: 'center' },
+          { title: '库存成本', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '盘点数量', scopedSlots: { customRender: 'purchasesNum' }, align: 'center' },
-          { title: '盘点盈亏数量', dataIndex: 'totalP', align: 'center' },
-          { title: '盘点盈亏成本', dataIndex: 'shDate', align: 'center' },
+          { title: '盘点盈亏数量', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盘点盈亏成本', dataIndex: 'shDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 7 - 7
src/views/financialManagement/inventoryReview/list.vue

@@ -82,13 +82,13 @@ export default {
       // 表头
       columns: [
         { title: '盘点单号', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '盘点产品款数', dataIndex: 'totalP', align: 'center' },
-        { title: '库存总成本', dataIndex: 'totalPrice', align: 'center' },
-        { title: '盘盈总数量', dataIndex: 'totalNums', align: 'center' },
-        { title: '盘亏总数量', dataIndex: 'totaslNums', align: 'center' },
-        { title: '盘点审核时间', dataIndex: 'creatDates', align: 'center' },
-        { title: '财务审核时间', dataIndex: 'creatDate', align: 'center' },
-        { title: '财务审核状态', dataIndex: 'payType', align: 'center' },
+        { title: '盘点产品款数', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '库存总成本', dataIndex: 'totalPrice', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '盘盈总数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '盘亏总数量', dataIndex: 'totaslNums', align: 'center' , customRender: function (text) { return ((text || text == 0) ? text : '--') }},
+        { title: '盘点审核时间', dataIndex: 'creatDates', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '财务审核时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '财务审核状态', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 270, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 8 - 8
src/views/financialManagement/ledgerRecord/list.vue

@@ -82,16 +82,16 @@ export default {
       // 表头
       columns: [
         { title: '序号', dataIndex: 'no', align: 'center' },
-        { title: '分账时间', dataIndex: 'name', align: 'center' },
-        { title: '客户名称', dataIndex: 'pssayType', align: 'center' },
-        { title: '关联工单', dataIndex: 'paddyType', align: 'center' },
+        { title: '分账时间', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '客户名称', dataIndex: 'pssayType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '关联工单', dataIndex: 'paddyType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '配件名称', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '配件编码', dataIndex: 'totalP', align: 'center' },
-        { title: '数量', dataIndex: 'creatDate', align: 'center' },
-        { title: '分账类型', dataIndex: 'payType', align: 'center' },
+        { title: '配件编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '数量', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '分账类型', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '分账金额(¥)', scopedSlots: { customRender: 'sss' }, width: 270, align: 'center' },
-        { title: '分账状态', dataIndex: 'paysType', align: 'center' },
-        { title: '备注', dataIndex: 'payTypde', align: 'center' },
+        { title: '分账状态', dataIndex: 'paysType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '备注', dataIndex: 'payTypde', align: 'center', ellipsis: true },
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {

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

@@ -70,16 +70,16 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '采购数量', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '入库数量', scopedSlots: { customRender: 'purchasesNum' }, align: 'center' },
-          { title: '成本价', dataIndex: 'totalNums', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '入库小计', dataIndex: 'shDate', align: 'center' },
-          { title: '仓库', dataIndex: 'shDaste', align: 'center' },
-          { title: '仓位', dataIndex: 'shsDate', align: 'center' },
+          { title: '成本价', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '入库小计', dataIndex: 'shDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '仓库', dataIndex: 'shDaste', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'shsDate', align: 'center', customRender: function (text) { return text || '--' } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 6 - 6
src/views/financialManagement/warehousingAudit/list.vue

@@ -95,12 +95,12 @@ export default {
       columns: [
         { title: '采购单号', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
         { title: '采购入库单号', scopedSlots: { customRender: 'purchaseNos' }, align: 'center' },
-        { title: '总款数', dataIndex: 'totalP', align: 'center' },
-        { title: '入库总数量', dataIndex: 'totalNums', align: 'center' },
-        { title: '入库总成本', dataIndex: 'totalPrice', align: 'center' },
-        { title: '入库时间', dataIndex: 'creatDate', align: 'center' },
-        { title: '财务审核时间', dataIndex: 'creatDates', align: 'center' },
-        { title: '财务审核状态', dataIndex: 'payType', align: 'center' },
+        { title: '总款数', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '入库总数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '入库总成本', dataIndex: 'totalPrice', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '入库时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '财务审核时间', dataIndex: 'creatDates', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '财务审核状态', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 270, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 6 - 6
src/views/financialManagement/withdrawalManagement/list.vue

@@ -75,13 +75,13 @@ export default {
       // 表头
       columns: [
         { title: '序号', dataIndex: 'no', align: 'center' },
-        { title: '提现时间', dataIndex: 'name', align: 'center' },
-        { title: '提现单号', dataIndex: 'paddyType', align: 'center' },
-        { title: '申请提现金额', dataIndex: 'pssayType', align: 'center' },
+        { title: '提现时间', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '提现单号', dataIndex: 'paddyType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '申请提现金额', dataIndex: 'pssayType', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '开户名', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '银行卡号', dataIndex: 'totalP', align: 'center' },
-        { title: '状态', dataIndex: 'paysType', align: 'center' },
-        { title: '备注', dataIndex: 'payTypde', align: 'center' },
+        { title: '银行卡号', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '状态', dataIndex: 'paysType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '备注', dataIndex: 'payTypde', align: 'center', ellipsis: true },
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {

+ 1 - 1
src/views/inventoryManagement/inventoryChecking/checkingTipsModal.vue

@@ -65,7 +65,7 @@ export default {
       exportLoading: false, // 导出loading
       columns: [
         { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-        { title: '创建时间', dataIndex: 'createDate', width: 180, align: 'center' },
+        { title: '创建时间', dataIndex: 'createDate', width: 180, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '单号', dataIndex: 'nsso', width: 70, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '单据类型', dataIndex: 'sort', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '单据状态', dataIndex: 'name', width: 160, align: 'center', customRender: function (text) { return text || '--' } },

+ 5 - 5
src/views/inventoryManagement/inventoryChecking/detail.vue

@@ -86,12 +86,12 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '库存数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '盘点数量', dataIndex: 'tostalP', align: 'center' },
-          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center' },
+          { title: '盘点数量', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 5 - 5
src/views/inventoryManagement/inventoryChecking/financialAuditDetail.vue

@@ -88,12 +88,12 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '库存数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '盘点数量', dataIndex: 'tostalP', align: 'center' },
-          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center' },
+          { title: '盘点数量', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 1 - 1
src/views/inventoryManagement/inventoryChecking/list.vue

@@ -73,7 +73,7 @@ export default {
       dateFormat: 'YYYY-MM-DD',
       columns: [
         { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-        { title: '创建时间', dataIndex: 'createDate', width: 180, align: 'center' },
+        { title: '创建时间', dataIndex: 'createDate', width: 180, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '盘点单号', dataIndex: 'nsso', width: 70, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '库存总款数', dataIndex: 'no3', width: 70, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         { title: '库存总数量', dataIndex: 'n4o', width: 70, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },

+ 7 - 7
src/views/inventoryManagement/inventoryChecking/makeInventory.vue

@@ -85,14 +85,14 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '仓库', dataIndex: 'memsentPay', align: 'center' },
-          { title: '仓位', dataIndex: 'memendtPay', align: 'center' },
-          { title: '库存数量', dataIndex: 'tostalP', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓库', dataIndex: 'memsentPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'memendtPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '库存数量', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '盘点数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center' },
+          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 5 - 5
src/views/inventoryManagement/inventoryChecking/makeInventoryDetail.vue

@@ -86,12 +86,12 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '库存数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '盘点数量', dataIndex: 'tostalP', align: 'center' },
-          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center' },
+          { title: '盘点数量', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 2 - 2
src/views/inventoryManagement/inventoryChecking/overall.vue

@@ -39,9 +39,9 @@ export default {
       disabled: false, //  查询、重置按钮是否可操作
       columns: [
         { title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-        { title: '产品编码', dataIndex: 'createDate', width: 180, align: 'center' },
+        { title: '产品编码', dataIndex: 'createDate', width: 180, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '产品名称', dataIndex: 'nsso', width: 70, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '单位', dataIndex: 'no3', width: 70, align: 'center' },
+        { title: '单位', dataIndex: 'no3', width: 70, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '库存数量', dataIndex: 'n4o', width: 70, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
       ],
       // 加载数据方法 必须为 Promise 对象

+ 8 - 8
src/views/inventoryManagement/inventoryChecking/selfDisk.vue

@@ -141,14 +141,14 @@
         disabled: false, //  查询、重置按钮是否可操作
         // 表头
         columns: [
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center', sorter: true },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '产品品牌', dataIndex: 'custssName', align: 'center' },
-          { title: '产品级别', dataIndex: 'custsdName', align: 'center' },
-          { title: '仓库', dataIndex: 'totalNums', align: 'center' },
-          { title: '仓位', dataIndex: 'totalNsums', align: 'center' },
-          { title: '库存数量', dataIndex: 'storageQuantity', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', sorter: true, customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品品牌', dataIndex: 'custssName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品级别', dataIndex: 'custsdName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓库', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '仓位', dataIndex: 'totalNsums', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '库存数量', dataIndex: 'storageQuantity', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '单位', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
           { title: '最后入库时间', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }

+ 6 - 6
src/views/inventoryManagement/inventoryChecking/supervisionAudit.vue

@@ -86,12 +86,12 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '库存数量', dataIndex: 'tostalP', align: 'center' },
-          { title: '盘点数量', dataIndex: 'tossstalP', align: 'center' },
-          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '库存数量', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盘点数量', dataIndex: 'tossstalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 5 - 5
src/views/inventoryManagement/inventoryChecking/supervisionAuditDetail.vue

@@ -86,12 +86,12 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '库存数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '盘点数量', dataIndex: 'tostalP', align: 'center' },
-          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center' },
+          { title: '盘点数量', dataIndex: 'tostalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+          { title: '盈亏数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 2 - 2
src/views/inventoryManagement/satelliteWarehouseInventory/addModal.vue

@@ -57,8 +57,8 @@ export default {
         { title: '客户名称', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true },
         { title: '仓库名称', dataIndex: 'productBrand', width: 200, align: 'center', ellipsis: true },
         { title: '配件名称', dataIndex: 'productOldNum', width: 160, align: 'center', ellipsis: true },
-        { title: '产品编码', dataIndex: 'productType', width: 200, align: 'center' },
-        { title: '产品原厂编码', dataIndex: 'productTyspe', width: 200, align: 'center' },
+        { title: '产品编码', dataIndex: 'productType', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品原厂编码', dataIndex: 'productTyspe', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
         { title: '补货数量', scopedSlots: { customRender: 'inventoryNumss' }, width: 280, align: 'center' },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
       ],

+ 6 - 9
src/views/inventoryManagement/satelliteWarehouseInventory/list.vue

@@ -89,11 +89,11 @@ export default {
 			brandData: [], //  产品品牌下拉数据
 			columns: [
 				{ title: '序号', dataIndex: 'no', width: 70, align: 'center' },
-				{ title: '客户名称', dataIndex: 'productName', width: 200, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-				{ title: '配件名称', dataIndex: 'productBrand', width: 200, align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
-				{ title: '产品编码', dataIndex: 'productOldNum', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
-				{ title: '原厂编码', dataIndex: 'productType', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
-				{ title: '当前库存', dataIndex: 'inventoryNumss', width: 180, align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+				{ title: '客户名称', dataIndex: 'productName', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+				{ title: '配件名称', dataIndex: 'productBrand', align: 'center', ellipsis: true, customRender: function (text) { return text || '--' } },
+				{ title: '产品编码', dataIndex: 'productOldNum', align: 'center', customRender: function (text) { return text || '--' } },
+				{ title: '原厂编码', dataIndex: 'productType', align: 'center', customRender: function (text) { return text || '--' } },
+				{ title: '当前库存', dataIndex: 'inventoryNumss', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
 				{ title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
 			],
 			// 加载数据方法 必须为 Promise 对象
@@ -180,7 +180,4 @@ export default {
 };
 </script>
 
-<style lang="less">
-.satelliteWarehouseInventoryList-wrap {
-}
-</style>
+<style lang="less"></style>

+ 6 - 6
src/views/purchasingManagement/purchaseOrder/detail.vue

@@ -90,14 +90,14 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '采购单价', dataIndex: 'totalNums', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购单价', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '采购数量', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '缺货数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '采购金额', dataIndex: 'shDate', align: 'center' },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购金额', dataIndex: 'shDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
         ],
         // 加载数据方法 必须为 Promise 对象
         loadData: parameter => {

+ 8 - 8
src/views/purchasingManagement/purchaseOrder/edit.vue

@@ -176,13 +176,13 @@
         // 表头
         columns: [
           { title: '产品编码', dataIndex: 'creatDate', align: 'center', sorter: true },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '产品级别', dataIndex: 'custsName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '终端会员价', dataIndex: 'totalNums', align: 'center' },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品级别', dataIndex: 'custsName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '终端会员价', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '车主零售价', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '箱/单位', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '采购单价', dataIndex: 'mementPay', align: 'center' },
+          { title: '采购单价', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '采购数量', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],
@@ -219,10 +219,10 @@
         // 表头
         chooseColumns: [
           { title: '产品编码', dataIndex: 'creatDaite', align: 'center', sorter: true },
-          { title: '产品名称', dataIndex: 'custNayme', align: 'center' },
-          { title: '采购单价', dataIndex: 'mementPay', align: 'center' },
+          { title: '产品名称', dataIndex: 'custNayme', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购单价', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '采购数量', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
-          { title: '单位', dataIndex: 'custsNakme', align: 'center' },
+          { title: '单位', dataIndex: 'custsNakme', align: 'center', customRender: function (text) { return text || '--' } },
           { title: '采购金额', dataIndex: 'custssNakme', align: 'center', customRender: function (text) { return ((text || text == 0) ? '¥'+text : '--') } },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 150, align: 'center' }
         ],

+ 8 - 8
src/views/purchasingManagement/purchaseOrder/list.vue

@@ -115,14 +115,14 @@ export default {
       // 表头
       columns: [
         { title: '采购单号', scopedSlots: { customRender: 'purchaseNo' }, align: 'center' },
-        { title: '创建时间', dataIndex: 'creatDate', align: 'center' },
-        { title: '供应商', dataIndex: 'custName', align: 'center' },
-        { title: '产品款数', dataIndex: 'totalP', align: 'center' },
-        { title: '采购数量', dataIndex: 'totalNums', align: 'center' },
-        { title: '采购金额', dataIndex: 'totalPrice', align: 'center' },
-        { title: '单据状态', dataIndex: 'payType', align: 'center' },
-        { title: '结算状态', dataIndex: 'mementPay', align: 'center' },
-        { title: '重要提示', dataIndex: 'shDate', align: 'center' },
+        { title: '创建时间', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '供应商', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '产品款数', dataIndex: 'totalP', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '采购数量', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '采购金额', dataIndex: 'totalPrice', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
+        { title: '单据状态', dataIndex: 'payType', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '结算状态', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '重要提示', dataIndex: 'shDate', align: 'center', customRender: function (text) { return text || '--' } },
         { title: '操作', scopedSlots: { customRender: 'action' }, width: 270, align: 'center' }
       ],
       // 加载数据方法 必须为 Promise 对象

+ 1 - 1
src/views/purchasingManagement/purchaseOrder/receivingAddress/chooseAddressModal.vue

@@ -67,7 +67,7 @@
         // 表头
         columns: [
           { title: '收货人', scopedSlots: { customRender: 'consignee' }, align: 'center', ellipsis: true },
-          { title: '手机号码', dataIndex: 'phone', width: 120, align: 'center' },
+          { title: '手机号码', dataIndex: 'phone', width: 120, align: 'center', customRender: function (text) { return text || '--' } },
           { title: '收货地址', dataIndex: 'address', align: 'center', ellipsis: true },
           { title: '操作', scopedSlots: { customRender: 'action' }, width: 295, align: 'center' },
           { title: '选择', scopedSlots: { customRender: 'choose' }, width: 160, align: 'center' },

+ 6 - 6
src/views/purchasingManagement/purchaseOrder/warehousing.vue

@@ -90,14 +90,14 @@
         // 表头
         columns: [
           { title: '序号', dataIndex: 'no', align: 'center' },
-          { title: '产品编码', dataIndex: 'creatDate', align: 'center' },
-          { title: '产品名称', dataIndex: 'custName', align: 'center' },
-          { title: '原厂编码', dataIndex: 'totalP', align: 'center' },
-          { title: '采购单价', dataIndex: 'totalNums', align: 'center' },
+          { title: '产品编码', dataIndex: 'creatDate', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '产品名称', dataIndex: 'custName', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '原厂编码', dataIndex: 'totalP', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购单价', dataIndex: 'totalNums', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '采购数量', scopedSlots: { customRender: 'purchaseNum' }, align: 'center' },
           { title: '缺货数量', scopedSlots: { customRender: 'outOfStockNum' }, align: 'center' },
-          { title: '单位', dataIndex: 'mementPay', align: 'center' },
-          { title: '采购金额', dataIndex: 'shDate', align: 'center' },
+          { title: '单位', dataIndex: 'mementPay', align: 'center', customRender: function (text) { return text || '--' } },
+          { title: '采购金额', dataIndex: 'shDate', align: 'center', customRender: function (text) { return ((text || text == 0) ? text : '--') } },
           { title: '入库数量', scopedSlots: { customRender: 'storageQuantity' }, align: 'center' },
           { title: '仓库仓位', scopedSlots: { customRender: 'warehousePosition' }, align: 'center' },
         ],