| | |
| | | min-width="100" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="券后总金额(元)" |
| | | prop="realTotal" |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="券后单价(元)" |
| | | prop="realPrice" |
| | | min-width="100" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="优惠总金额(元)" |
| | | prop="couponAmountTotal" |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="供应商" |
| | |
| | | { label: '商品金额:', id: 'flowerAmountDesc', type: 'input' }, |
| | | { label: '打包费:', id: 'packingFee', type: 'input' }, |
| | | { label: '运费:', id: 'transportFee', type: 'input' }, |
| | | { label: '订单金额:', id: 'totalAmountDesc', type: 'input' }, |
| | | { label: '订单金额:', id: 'originalPrice', type: 'input' }, |
| | | { label: '实际支付金额:', id: 'totalAmountDesc', type: 'input' }, |
| | | { label: '订单状态:', id: 'statusBackendStr', type: 'input' }, |
| | | { label: '合伙人:', id: 'partnerName', type: 'input' }, |
| | | { label: '库区:', id: 'warehouseName', type: 'input' }, |
| | |
| | | id: 'memberDiscountAmount', |
| | | type: 'input', |
| | | unit: '元/扎', |
| | | hidden: (row) => row.memberDiscountType !== 'ratio', |
| | | hidden: (row) => row.memberDiscountType !== 'amount', |
| | | }, |
| | | ], |
| | | }, |
| | |
| | | if (data.memberCouponAmount) { |
| | | data.totalAmountDesc += `(其中使用了${data.memberCouponAmount}元优惠券)` |
| | | } |
| | | data.originalPrice = Number( |
| | | ( |
| | | (data.flowerAmount || 0) + |
| | | (data.packingFee || 0) + |
| | | (data.transportFee || 0) |
| | | ).toFixed(2) |
| | | ) |
| | | this.detail = data |
| | | this.$nextTick(() => { |
| | | if (this.$refs.discountForm) { |