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' }
       ],