|
|
@@ -349,7 +349,7 @@
|
|
|
align: 'center',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.purchaseCount) {
|
|
|
- return row.purchaseCount + ' ' + row.purchaseUnit;
|
|
|
+ return row.purchaseCount + ' ' + (row.purchaseUnit || '');
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
@@ -372,7 +372,7 @@
|
|
|
label: '计量数量',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.totalCount) {
|
|
|
- return row.totalCount + ' ' + row.measuringUnit;
|
|
|
+ return row.totalCount + ' ' + (row.measuringUnit || '');
|
|
|
}
|
|
|
},
|
|
|
align: 'center'
|
|
|
@@ -415,7 +415,7 @@
|
|
|
label: '单重',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.singleWeight) {
|
|
|
- return row.singleWeight + ' ' + row.weightUnit;
|
|
|
+ return row.singleWeight + ' ' + (row.weightUnit || '');
|
|
|
}
|
|
|
},
|
|
|
align: 'center'
|
|
|
@@ -426,7 +426,7 @@
|
|
|
label: '总重',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.totalWeight) {
|
|
|
- return row.totalWeight + ' ' + row.weightUnit;
|
|
|
+ return row.totalWeight + ' ' + (row.weightUnit || '');
|
|
|
}
|
|
|
},
|
|
|
align: 'center'
|
|
|
@@ -679,7 +679,7 @@
|
|
|
slot: 'totalCount',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.totalCount) {
|
|
|
- return row.totalCount + ' ' + row.measuringUnit;
|
|
|
+ return row.totalCount + ' ' + (row.measuringUnit || '');
|
|
|
}
|
|
|
},
|
|
|
align: 'center'
|
|
|
@@ -691,7 +691,7 @@
|
|
|
label: '单重',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.singleWeight) {
|
|
|
- return row.singleWeight + ' ' + row.weightUnit;
|
|
|
+ return row.singleWeight + ' ' + (row.weightUnit || '');
|
|
|
}
|
|
|
},
|
|
|
align: 'center'
|
|
|
@@ -702,7 +702,7 @@
|
|
|
label: '总重',
|
|
|
formatter: (row, column) => {
|
|
|
if (row.totalWeight) {
|
|
|
- return row.totalWeight + ' ' + row.weightUnit;
|
|
|
+ return row.totalWeight + ' ' + (row.weightUnit || '');
|
|
|
}
|
|
|
},
|
|
|
align: 'center'
|