|
@@ -149,6 +149,7 @@
|
|
|
console.log('refundImgs', this.postData.imgs);
|
|
console.log('refundImgs', this.postData.imgs);
|
|
|
},
|
|
},
|
|
|
submit() {
|
|
submit() {
|
|
|
|
|
+ console.log('状态',this.postData.goods_state)
|
|
|
if (!this.postData.goods_state) {
|
|
if (!this.postData.goods_state) {
|
|
|
this.$api.msg('请选择货物状态');
|
|
this.$api.msg('请选择货物状态');
|
|
|
return;
|
|
return;
|
|
@@ -176,7 +177,13 @@
|
|
|
|
|
|
|
|
//只有代发货状态才能申请退款
|
|
//只有代发货状态才能申请退款
|
|
|
var data=_this.postData.order_id
|
|
var data=_this.postData.order_id
|
|
|
- refund(data).then((res) => {
|
|
|
|
|
|
|
+ var data2={
|
|
|
|
|
+ "goodsState": _this.postData.goods_state,
|
|
|
|
|
+ "refundReason": _this.postData.reason,
|
|
|
|
|
+ "refundAmt": _this.postData.refund_money,
|
|
|
|
|
+ "remark": _this.postData.desc
|
|
|
|
|
+ }
|
|
|
|
|
+ refund(data,data2).then((res) => {
|
|
|
if(res.success){
|
|
if(res.success){
|
|
|
_this.$api.msg('提交成功');
|
|
_this.$api.msg('提交成功');
|
|
|
_this.issubmit = false;
|
|
_this.issubmit = false;
|