|
@@ -25,6 +25,24 @@ const returnState = {
|
|
|
2: '已完成',
|
|
|
3: '已拒绝'
|
|
|
}
|
|
|
+type good = {
|
|
|
+ description: string;
|
|
|
+ memberUsername: string;
|
|
|
+ orderId: number;
|
|
|
+ orderSn: string;
|
|
|
+ productAttr: string;
|
|
|
+ productBrand: string;
|
|
|
+ productCount: number;
|
|
|
+ productId: number;
|
|
|
+ productName: string;
|
|
|
+ productPic: string;
|
|
|
+ productPrice: number;
|
|
|
+ productRealPrice: number;
|
|
|
+ proofPics: string;
|
|
|
+ returnName: string;
|
|
|
+ returnPhone: string;
|
|
|
+ orderItemId: string;
|
|
|
+}
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: 'after-sale',
|
|
@@ -42,24 +60,7 @@ export default defineComponent({
|
|
|
pageSize: 20
|
|
|
},
|
|
|
|
|
|
- returnGood: {
|
|
|
- description: '',
|
|
|
- memberUsername: '',
|
|
|
- orderId: 0,
|
|
|
- orderSn: '',
|
|
|
- productAttr: '',
|
|
|
- productBrand: '',
|
|
|
- productCount: 0,
|
|
|
- productId: 0,
|
|
|
- productName: '',
|
|
|
- productPic: '',
|
|
|
- productPrice: 0,
|
|
|
- productRealPrice: 0,
|
|
|
- proofPics: '',
|
|
|
- returnName: '',
|
|
|
- returnPhone: '',
|
|
|
- orderItemId: ''
|
|
|
- },
|
|
|
+ returnGood: {} as good,
|
|
|
reason: '', // 退货原因
|
|
|
returnOrderSn: '', // 退货快递单号
|
|
|
returnGoodId: 0 // 退货申请服务单号
|
|
@@ -180,6 +181,7 @@ export default defineComponent({
|
|
|
})
|
|
|
}
|
|
|
} catch (error) {}
|
|
|
+ this.returnGood = {} as good
|
|
|
},
|
|
|
|
|
|
// 填写快递单号
|