|
@@ -104,6 +104,8 @@
|
|
|
<el-input-number
|
|
<el-input-number
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
v-model="scope.row.receiveTotalWeight"
|
|
v-model="scope.row.receiveTotalWeight"
|
|
|
|
|
+ @blur="changeSendTotalWeight(scope.$index)"
|
|
|
|
|
+
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
>
|
|
>
|
|
|
</el-input-number>
|
|
</el-input-number>
|
|
@@ -116,6 +118,8 @@
|
|
|
<el-input-number
|
|
<el-input-number
|
|
|
:controls="false"
|
|
:controls="false"
|
|
|
v-model="scope.row.increaseTotalWeight"
|
|
v-model="scope.row.increaseTotalWeight"
|
|
|
|
|
+ @blur="changeSendTotalWeight(scope.$index)"
|
|
|
|
|
+
|
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
|
>
|
|
>
|
|
|
</el-input-number>
|
|
</el-input-number>
|
|
@@ -521,64 +525,64 @@
|
|
|
slot: 'weightUnit',
|
|
slot: 'weightUnit',
|
|
|
align: 'center'
|
|
align: 'center'
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // width: 160,
|
|
|
|
|
- // prop: 'pricingWay',
|
|
|
|
|
- // label: '计价方式',
|
|
|
|
|
- // slot: 'pricingWay',
|
|
|
|
|
- // align: 'center',
|
|
|
|
|
- // formatter: (row, column) => {
|
|
|
|
|
- // return row.pricingWay == 1
|
|
|
|
|
- // ? '按数量计费'
|
|
|
|
|
- // : row.pricingWay == 2
|
|
|
|
|
- // ? '按重量计费'
|
|
|
|
|
- // : '';
|
|
|
|
|
- // }
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // width: 160,
|
|
|
|
|
- // prop: 'singlePrice',
|
|
|
|
|
- // label: '单价',
|
|
|
|
|
- // slot: 'singlePrice',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // width: 120,
|
|
|
|
|
- // prop: 'taxRate',
|
|
|
|
|
- // label: '税率',
|
|
|
|
|
- // formatter: (_row, _column, cellValue) => {
|
|
|
|
|
- // return _row.taxRate ? _row.taxRate + '%' : '';
|
|
|
|
|
- // },
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // width: 180,
|
|
|
|
|
- // prop: 'notaxSinglePrice',
|
|
|
|
|
- // label: '不含税单价',
|
|
|
|
|
- // slot: 'notaxSinglePrice',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // width: 160,
|
|
|
|
|
- // prop: 'discountSinglePrice',
|
|
|
|
|
- // label: '折后单价',
|
|
|
|
|
- // slot: 'discountSinglePrice',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // width: 120,
|
|
|
|
|
- // prop: 'totalPrice',
|
|
|
|
|
- // label: '合计',
|
|
|
|
|
- // slot: 'totalPrice',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // width: 120,
|
|
|
|
|
- // prop: 'discountTotalPrice',
|
|
|
|
|
- // label: '折后合计',
|
|
|
|
|
- // slot: 'discountTotalPrice',
|
|
|
|
|
- // align: 'center'
|
|
|
|
|
- // },
|
|
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'pricingWay',
|
|
|
|
|
+ label: '计价方式',
|
|
|
|
|
+ slot: 'pricingWay',
|
|
|
|
|
+ align: 'center',
|
|
|
|
|
+ formatter: (row, column) => {
|
|
|
|
|
+ return row.pricingWay == 1
|
|
|
|
|
+ ? '按数量计费'
|
|
|
|
|
+ : row.pricingWay == 2
|
|
|
|
|
+ ? '按重量计费'
|
|
|
|
|
+ : '';
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'singlePrice',
|
|
|
|
|
+ label: '单价',
|
|
|
|
|
+ slot: 'singlePrice',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ prop: 'taxRate',
|
|
|
|
|
+ label: '税率',
|
|
|
|
|
+ formatter: (_row, _column, cellValue) => {
|
|
|
|
|
+ return _row.taxRate ? _row.taxRate + '%' : '';
|
|
|
|
|
+ },
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 180,
|
|
|
|
|
+ prop: 'notaxSinglePrice',
|
|
|
|
|
+ label: '不含税单价',
|
|
|
|
|
+ slot: 'notaxSinglePrice',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 160,
|
|
|
|
|
+ prop: 'discountSinglePrice',
|
|
|
|
|
+ label: '折后单价',
|
|
|
|
|
+ slot: 'discountSinglePrice',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ prop: 'totalPrice',
|
|
|
|
|
+ label: '合计',
|
|
|
|
|
+ slot: 'totalPrice',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ width: 120,
|
|
|
|
|
+ prop: 'discountTotalPrice',
|
|
|
|
|
+ label: '折后合计',
|
|
|
|
|
+ slot: 'discountTotalPrice',
|
|
|
|
|
+ align: 'center'
|
|
|
|
|
+ },
|
|
|
{
|
|
{
|
|
|
prop: 'provenance',
|
|
prop: 'provenance',
|
|
|
label: '产地',
|
|
label: '产地',
|