瀏覽代碼

bug 修复

lilei 4 年之前
父節點
當前提交
a82b096cf6
共有 1 個文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/views/salesManagement/waitDispatch/queryPart.vue

+ 5 - 5
src/views/salesManagement/waitDispatch/queryPart.vue

@@ -159,11 +159,11 @@ export default {
         { title: '成本价', dataIndex: 'showCost', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '销售价', dataIndex: 'price', width: 150, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '单位', dataIndex: 'productEntity.unit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '可用库存', dataIndex: 'stockQty', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '销售数量', dataIndex: 'qty', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '已取消', dataIndex: 'cancelQty', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '已下推', dataIndex: 'pushedQty', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '剩余待下推', dataIndex: 'surplusQty', width: 150, align: 'center', customRender: function (text) { return text || '--' } },
+        { title: '可用库存', dataIndex: 'stockQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '销售数量', dataIndex: 'qty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '已取消', dataIndex: 'cancelQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '已下推', dataIndex: 'pushedQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '剩余待下推', dataIndex: 'surplusQty', width: 150, align: 'center', customRender: function (text) { return text || 0 } },
         { title: '取消数量', dataIndex: 'cancelNums', scopedSlots: { customRender: 'nums' }, width: 150, align: 'center' },
         { title: '操作', dataIndex: 'action', scopedSlots: { customRender: 'action' }, width: 150, align: 'center', fixed: 'right' }
       ],