main
yangsai@163.com 7 months ago
parent 7b9409cf10
commit 052fadbe83
  1. 6
      src/views/order/refund/Index.vue
  2. 9
      src/views/order/refund/modules/ReceiptForm.vue

@ -101,13 +101,13 @@
AuditStatusEnum[item.audit_status].name AuditStatusEnum[item.audit_status].name
}}</a-tag> }}</a-tag>
</p> </p>
<p v-if="item.type == RefundTypeEnum.RETURN.value" class="mtb-2"> <p v-if="item.type == RefundTypeEnum.RETURN.value||item.type == RefundTypeEnum.EXCHANGE.value" class="mtb-2">
<span class="f-13">用户发货</span> <span class="f-13">用户发货</span>
<a-tag :color="item.is_user_send ? 'green' : ''">{{ <a-tag :color="item.is_user_send ? 'green' : ''">{{
item.is_user_send ? '已发货' : '待发货' item.is_user_send ? '已发货' : '待发货'
}}</a-tag> }}</a-tag>
</p> </p>
<p v-if="item.type == RefundTypeEnum.RETURN.value" class="mtb-2"> <p v-if="item.type == RefundTypeEnum.RETURN.value||item.type == RefundTypeEnum.EXCHANGE.value" class="mtb-2">
<span class="f-13">商家收货</span> <span class="f-13">商家收货</span>
<a-tag :color="item.is_receipt ? 'green' : ''">{{ <a-tag :color="item.is_receipt ? 'green' : ''">{{
item.is_receipt ? '已收货' : '待收货' item.is_receipt ? '已收货' : '待收货'
@ -135,7 +135,7 @@
<a <a
v-action:receipt v-action:receipt
v-if=" v-if="
item.type == RefundTypeEnum.RETURN.value && (item.type == RefundTypeEnum.RETURN.value || item.type == RefundTypeEnum.EXCHANGE.value) &&
item.audit_status == AuditStatusEnum.REVIEWED.value && item.audit_status == AuditStatusEnum.REVIEWED.value &&
item.is_user_send && item.is_user_send &&
!item.is_receipt !item.is_receipt

@ -15,6 +15,11 @@
message="请确认已收到寄回的商品,确认后自动退回付款金额(原路退款)并关闭当前售后单" message="请确认已收到寄回的商品,确认后自动退回付款金额(原路退款)并关闭当前售后单"
banner banner
/> />
<a-alert
v-if="record.type == RefundTypeEnum.EXCHANGE.value"
message="请确认已收到寄回的商品,确认后需对此订单进行重新发货"
banner
/>
<a-form v-if="visible" :form="form"> <a-form v-if="visible" :form="form">
<a-form-item label="售后类型" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="售后类型" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-tag>{{ RefundTypeEnum[record.type].name }}</a-tag> <a-tag>{{ RefundTypeEnum[record.type].name }}</a-tag>
@ -22,7 +27,7 @@
<a-form-item label="订单付款的总金额" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="订单付款的总金额" :labelCol="labelCol" :wrapperCol="wrapperCol">
<span>{{ record.orderData.pay_price }}</span> <span>{{ record.orderData.pay_price }}</span>
</a-form-item> </a-form-item>
<a-form-item label="退款的金额" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-form-item label="退款的金额" :labelCol="labelCol" :wrapperCol="wrapperCol" v-if="record.type == RefundTypeEnum.RETURN.value">
<a-input-number <a-input-number
:min="0" :min="0"
:precision="2" :precision="2"
@ -76,6 +81,8 @@ export default {
this.visible = true this.visible = true
// //
this.record = record this.record = record
this.title = this.record.type==RefundTypeEnum.RETURN.value?'确认收货并退款':'确认收货并换货'
console.log(record)
// form // form
this.$nextTick(() => { this.$nextTick(() => {
this.$forceUpdate() this.$forceUpdate()

Loading…
Cancel
Save