|
@@ -75,7 +75,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
-import { getDetail,refund } from "@/api/order/index";
|
|
|
|
|
|
|
+import { getFullInfo,refund } from "@/api/purchase";
|
|
|
import { getUnClear } from "@/api/clear"
|
|
import { getUnClear } from "@/api/clear"
|
|
|
export default {
|
|
export default {
|
|
|
name: "orderDetail",
|
|
name: "orderDetail",
|
|
@@ -171,7 +171,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
async init() {
|
|
async init() {
|
|
|
//getOriginalItem 取原有的花材结构(小菊的花材结构有变化)
|
|
//getOriginalItem 取原有的花材结构(小菊的花材结构有变化)
|
|
|
- const res = await getDetail({ id: this.option.id,getOriginalItem:1 })
|
|
|
|
|
|
|
+ const res = await getFullInfo({ id: this.option.id,getOriginalItem:1 })
|
|
|
this.orderInfo = res.data
|
|
this.orderInfo = res.data
|
|
|
|
|
|
|
|
this.couldRefundPrice = Number(res.data.orderPrice) - Number(res.data.tkPrice)
|
|
this.couldRefundPrice = Number(res.data.orderPrice) - Number(res.data.tkPrice)
|