| | |
| | | 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="供应商" |
| | |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="质检扣款(元)" |
| | | label="质检退款(元)" |
| | | prop="deductAmount" |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="补货扣款(元)" |
| | | prop="replaceFee" |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="降级扣款(元)" |
| | | prop="checkFee" |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column |
| | | label="缺货扣款(元)" |
| | | prop="lackFeeSupplier" |
| | | min-width="120" |
| | | ></el-table-column> |
| | | <el-table-column label="质检审核" width="220" fixed="right"> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <template v-if="detail.pointGoodsList && detail.pointGoodsList.length > 0"> |
| | | <div class="base-page-wrapper__line"></div> |
| | | <el-bus-title title="积分兑换商品" size="small" /> |
| | | <el-table :data="detail.pointGoodsList"> |
| | | <el-table-column label="商品图片"> |
| | | <template #default="{ row }"> |
| | | <el-bus-image |
| | | :src="row.cover" |
| | | lazy |
| | | style="width: 50px; height: 50px" |
| | | /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="商品名称" prop="name"></el-table-column> |
| | | <el-table-column label="兑换数量" prop="num"></el-table-column> |
| | | </el-table> |
| | | </template> |
| | | <template v-if="afterSaleList && afterSaleList.length > 0"> |
| | | <div class="base-page-wrapper__line"></div> |
| | | <el-bus-title title="售后信息" size="small" class="mt-20"></el-bus-title> |
| | |
| | | span: 24, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label: '提交时间:', |
| | | id: 'checkTime', |
| | | type: 'input', |
| | | span: 24, |
| | | readonly: true, |
| | | }, |
| | | ] |
| | | const dialogAuditForm = [ |
| | | { |
| | | label: '审核结果:', |
| | | id: 'auditStatusStr', |
| | | type: 'input', |
| | | hidden: (row) => !row.auditStatusStr, |
| | | span: 24, |
| | | readonly: true, |
| | | }, |
| | | { |
| | | label: '审核时间:', |
| | | id: 'auditTime', |
| | | type: 'input', |
| | | hidden: (row) => !row.auditStatusStr, |
| | | span: 24, |
| | |
| | | { 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' }, |
| | | { label: '库位:', id: 'warehouseLocationCode', type: 'input' }, |
| | | { label: '特殊需求:', id: 'specialNeedsStr', type: 'input' }, |
| | | { label: '快递号:', id: 'deliveryNo', type: 'input' }, |
| | | { |
| | | label: '备注:', |
| | | id: 'remarks', |
| | |
| | | { |
| | | type: 'row', |
| | | items: [ |
| | | { |
| | | label: '优惠券类型:', |
| | | id: 'couponDiscountTypeName', |
| | | type: 'input', |
| | | hidden: (row) => !row.memberCouponAmount, |
| | | }, |
| | | { |
| | | label: '使用条件:', |
| | | id: 'minOrderAmount', |
| | | type: 'input', |
| | | hidden: (row) => !row.memberCouponAmount, |
| | | }, |
| | | { |
| | | label: '优惠券名称:', |
| | | id: 'memberCouponName', |
| | |
| | | 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) { |