Browse Source

退款详情输出原订单花材结构

shish 4 năm trước cách đây
mục cha
commit
7fad9bd4a3
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      ghsApp/src/pagesOrder/refund.vue

+ 2 - 2
ghsApp/src/pagesOrder/refund.vue

@@ -214,7 +214,7 @@ export default {
 				uni.showToast({title:'请选择商品',icon:'none'})
 				return;
 			}
-			let parameter = {id:this.option.id,product:JSON.stringify(product),price:this.refundMoney,remark:this.remark,refundType:this.refundType};
+			let parameter = {id:this.option.id,product:JSON.stringify(product),price:this.refundMoney,remark:this.remark,refundType:this.refundType,getOriginalItem:1};
 			uni.showModal({
 				title: "提示",
 				content: "确认退款?",
@@ -248,7 +248,7 @@ export default {
 		},
 		async init() {
 			const res = await getDetail({
-				id: this.option.id
+				id: this.option.id,getOriginalItem:1
 			});
 
 			this.totalMoney = res.data.actPrice