|
|
@@ -394,26 +394,36 @@
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
- width: 150,
|
|
|
+ width: 180,
|
|
|
prop: 'saleCount',
|
|
|
label: '发货数量',
|
|
|
slot: 'saleCount',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.saleCount) {
|
|
|
+ return row.saleCount + ' ' + row.saleUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
headerSlot: 'headerTotalCount',
|
|
|
align: 'center'
|
|
|
},
|
|
|
- {
|
|
|
- width: 150,
|
|
|
- prop: 'saleUnit',
|
|
|
- label: '单位',
|
|
|
- slot: 'saleUnit',
|
|
|
- headerSlot: 'headerTotalCount',
|
|
|
- align: 'center'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // width: 150,
|
|
|
+ // prop: 'saleUnit',
|
|
|
+ // label: '单位',
|
|
|
+ // slot: 'saleUnit',
|
|
|
+ // headerSlot: 'headerTotalCount',
|
|
|
+ // align: 'center'
|
|
|
+ // },
|
|
|
{
|
|
|
width: 120,
|
|
|
prop: 'totalCount',
|
|
|
label: '计量数量',
|
|
|
slot: 'totalCount',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.totalCount) {
|
|
|
+ return row.totalCount + ' ' + row.measuringUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
headerSlot: 'headerTotalCount',
|
|
|
align: 'center'
|
|
|
},
|
|
|
@@ -422,16 +432,21 @@
|
|
|
prop: 'orderTotalCount',
|
|
|
label: '订单数量',
|
|
|
slot: 'orderTotalCount',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.orderTotalCount) {
|
|
|
+ return row.orderTotalCount + ' ' + row.measuringUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
align: 'center'
|
|
|
},
|
|
|
|
|
|
- {
|
|
|
- width: 80,
|
|
|
- prop: 'measuringUnit',
|
|
|
- label: '计量单位',
|
|
|
- slot: 'measuringUnit',
|
|
|
- align: 'center'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // width: 80,
|
|
|
+ // prop: 'measuringUnit',
|
|
|
+ // label: '计量单位',
|
|
|
+ // slot: 'measuringUnit',
|
|
|
+ // align: 'center'
|
|
|
+ // },
|
|
|
|
|
|
this.$store.state.user.info.clientEnvironmentId == '4'
|
|
|
? {
|
|
|
@@ -449,6 +464,11 @@
|
|
|
prop: 'singleWeight',
|
|
|
label: '单重',
|
|
|
slot: 'singleWeight',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.singleWeight) {
|
|
|
+ return row.singleWeight + ' ' + row.weightUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
align: 'center'
|
|
|
},
|
|
|
{
|
|
|
@@ -456,6 +476,11 @@
|
|
|
prop: 'receiveTotalWeight',
|
|
|
label: '收货总重',
|
|
|
slot: 'receiveTotalWeight',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.receiveTotalWeight) {
|
|
|
+ return row.receiveTotalWeight + ' ' + row.weightUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
align: 'center',
|
|
|
headerSlot: 'headerTotalCount'
|
|
|
},
|
|
|
@@ -464,6 +489,11 @@
|
|
|
prop: 'sendTotalWeight',
|
|
|
label: '发货总重',
|
|
|
slot: 'sendTotalWeight',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.sendTotalWeight) {
|
|
|
+ return row.sendTotalWeight + ' ' + row.weightUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
align: 'center'
|
|
|
},
|
|
|
|
|
|
@@ -472,15 +502,20 @@
|
|
|
prop: 'increaseTotalWeight',
|
|
|
label: '增重重量',
|
|
|
slot: 'increaseTotalWeight',
|
|
|
+ formatter: (row, column) => {
|
|
|
+ if (row.increaseTotalWeight) {
|
|
|
+ return row.increaseTotalWeight + ' ' + row.weightUnit;
|
|
|
+ }
|
|
|
+ },
|
|
|
align: 'center'
|
|
|
},
|
|
|
- {
|
|
|
- width: 100,
|
|
|
- prop: 'weightUnit',
|
|
|
- label: '重量单位',
|
|
|
- slot: 'weightUnit',
|
|
|
- align: 'center'
|
|
|
- },
|
|
|
+ // {
|
|
|
+ // width: 100,
|
|
|
+ // prop: 'weightUnit',
|
|
|
+ // label: '重量单位',
|
|
|
+ // slot: 'weightUnit',
|
|
|
+ // align: 'center'
|
|
|
+ // },
|
|
|
// {
|
|
|
// width: 160,
|
|
|
// prop: 'pricingWay',
|