|
@@ -181,6 +181,13 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
+ label: "盘点单号",
|
|
|
+ prop: "code",
|
|
|
+ width: 200,
|
|
|
+ },
|
|
|
+ },
|
|
|
+ {
|
|
|
+ attrs: {
|
|
|
label: "归属事业部",
|
|
|
prop: "departmentName",
|
|
|
"min-width": 160,
|
|
@@ -406,8 +413,9 @@ const calculationMoney = (row) => {
|
|
|
if (row.surplusStock) {
|
|
|
num = Number(num) - Number(row.surplusStock);
|
|
|
}
|
|
|
+ let money = 0;
|
|
|
if (row.balanceUnitPrice) {
|
|
|
- money = Number(Math.round(money * Number(row.balanceUnitPrice) * 100) / 100);
|
|
|
+ money = Number(Math.round(num * Number(row.balanceUnitPrice) * 100) / 100);
|
|
|
return money;
|
|
|
} else {
|
|
|
return 0;
|