From 9f738b51b4f89c0f43a8526776fda39b59ae83d9 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Sat, 23 Dec 2023 19:45:36 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E5=95=86=E5=93=81=E5=BA=93=E5=AD=98?= =?UTF-8?q?=E6=8A=A5=E8=A1=A8=E5=A2=9E=E5=8A=A0=E6=8C=89=E6=9D=A1=E7=A0=81?= =?UTF-8?q?=E6=8E=92=E5=BA=8F=EF=BC=8C=E5=8E=BB=E6=8E=89=E5=88=9D=E5=A7=8B?= =?UTF-8?q?=E5=BA=93=E5=AD=98=E7=9A=84=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/report/MaterialStock.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jshERP-web/src/views/report/MaterialStock.vue b/jshERP-web/src/views/report/MaterialStock.vue index 987d531f..06486278 100644 --- a/jshERP-web/src/views/report/MaterialStock.vue +++ b/jshERP-web/src/views/report/MaterialStock.vue @@ -179,7 +179,7 @@ {title: '库存流水', dataIndex: 'action', align:"center", width: 60, scopedSlots: { customRender: 'action' } }, - {title: '条码', dataIndex: 'mBarCode', width: 100, + {title: '条码', dataIndex: 'mBarCode', width: 100, sorter: (a, b) => a.mBarCode - b.mBarCode, scopedSlots: { customRender: 'customBarCode' } }, {title: '名称', dataIndex: 'name', width: 140, ellipsis:true}, @@ -190,7 +190,7 @@ {title: '仓位货架', dataIndex: 'position', width: 60, ellipsis:true}, {title: '单位', dataIndex: 'unitName', width: 60, ellipsis:true}, {title: '单价', dataIndex: 'purchaseDecimal', sorter: (a, b) => a.purchaseDecimal - b.purchaseDecimal, width: 60}, - {title: '初始库存', dataIndex: 'initialStock', sorter: (a, b) => a.initialStock - b.initialStock, width: 60}, + {title: '初始库存', dataIndex: 'initialStock', width: 60}, {title: '库存', dataIndex: 'currentStock', sorter: (a, b) => a.currentStock - b.currentStock, width: 60, scopedSlots: { customRender: 'customRenderStock' } },