|
|
@@ -342,7 +342,7 @@
|
|
|
<script>
|
|
|
import { mapGetters } from "vuex";
|
|
|
import { getCgExpressTrack } from "@/api/express"
|
|
|
-import { purchaseDetail, purchaseDebtPay,purchaseClearCreateOrder,confirmTake,cancelOrder } from "@/api/purchase";
|
|
|
+import { purchaseDetail, purchaseDebtPay,purchaseClearCreateOrder,confirmTake,cancelOrder,ghsDetail } from "@/api/purchase";
|
|
|
import TuiListCell from "@/components/plugin/list-cell";
|
|
|
import { getGhsDataApi } from "@/api/ghs";
|
|
|
import { CURRENT_ENV } from "@/config";
|
|
|
@@ -512,6 +512,16 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
clearOrder(){
|
|
|
+
|
|
|
+ //如果是小向花卉和奥斯的客户,暂时引导只能通过充值方式来结账,多处要同步修改change_clear_to_recharge
|
|
|
+ if(this.detailInfo.supplierMobile == 19224081651 || this.detailInfo.supplierMobile == 17187822038){
|
|
|
+ ghsDetail({id:this.detailInfo.ghsId}).then(res => {
|
|
|
+ let ghsInfo = res.data
|
|
|
+ this.pageTo({url: '/admin/ghs/pay?id='+ghsInfo.id+'&salt='+ghsInfo.salt,type:2})
|
|
|
+ })
|
|
|
+ return false
|
|
|
+ }
|
|
|
+
|
|
|
let arr = []
|
|
|
arr.push(this.detailInfo.id)
|
|
|
let that = this
|