lilei 4 lat temu
rodzic
commit
be9b43817c
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      src/views/salesManagement/salesQuery/detail.vue

+ 4 - 4
src/views/salesManagement/salesQuery/detail.vue

@@ -119,10 +119,10 @@ export default {
         { title: '成本价', dataIndex: 'showCost', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '销售价', dataIndex: 'price', width: 100, align: 'center', customRender: function (text) { return '¥' + (text || 0) } },
         { title: '单位', dataIndex: 'productOrigUnit', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '销售数量', dataIndex: 'qty', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '已取消数', dataIndex: 'cancelQty', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '已下推数', dataIndex: 'pushedQty', width: 100, align: 'center', customRender: function (text) { return text || '--' } },
-        { title: '待下推数', dataIndex: 'unpushedQty', width: 100, align: 'center', customRender: function (text) { return text || '--' } }
+        { title: '销售数量', dataIndex: 'qty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '已取消数', dataIndex: 'cancelQty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '已下推数', dataIndex: 'pushedQty', width: 100, align: 'center', customRender: function (text) { return text || 0 } },
+        { title: '待下推数', dataIndex: 'unpushedQty', width: 100, align: 'center', customRender: function (text) { return text || 0 } }
       ],
       // 加载数据方法 必须为 Promise 对象
       loadData: parameter => {