|
|
@ -55,7 +55,7 @@ |
|
|
|
<!-- :active-value="1" :inactive-value="0"(关闭) 加冒号表示数字格式 --> |
|
|
|
<!-- active-value="1" inactive-value="0"(关闭) 不加冒号表示字符串 --> |
|
|
|
<!-- 传入的modelvalue 为数字 0 或者 1 --> |
|
|
|
<GuipSwitch :modelValue="payIsAutoRefund" :active-value="1" :inactive-value="0" @change="updatePayAutoRefund(payinfo)" activeText="开启" inactiveText="关闭"></GuipSwitch> |
|
|
|
<GuipSwitch :modelValue="payinfo.is_auto_refund" :active-value="1" :inactive-value="0" @change="updatePayAutoRefund(payinfo)" activeText="开启" inactiveText="关闭"></GuipSwitch> |
|
|
|
</div> |
|
|
|
<p class="ml-23 flex gray">开启后,遇到退单的情况,平台尽量在联系您并同意的情况下操作退款</p> |
|
|
|
</div> |
|
|
@ -274,7 +274,6 @@ export default { |
|
|
|
payid: '', |
|
|
|
payinfo: [], |
|
|
|
payType: -1, |
|
|
|
payIsAutoRefund: -1, |
|
|
|
paySvg: '', |
|
|
|
// 收款方式 |
|
|
|
payTypeTaoBao: PAY_TYPE_TAOBAO, |
|
|
@ -334,7 +333,7 @@ export default { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.payinfo = response.data |
|
|
|
this.payType = response.data.type |
|
|
|
this.payIsAutoRefund = Number(response.data.is_auto_refund) |
|
|
|
this.payinfo.is_auto_refund = Number(response.data.is_auto_refund) |
|
|
|
this.payinfo.profit_share_status = Number(response.data.profit_share_status) |
|
|
|
this.paySvg = require('@/assets/pay/pay_' + this.payType + '.svg') |
|
|
|
if (this.payType == PAY_TYPE_TAOBAO || this.payType == PAY_TYPE_JINGDONG) { |
|
|
|