|
|
@@ -70,9 +70,8 @@ import TuiListCell from "@/components/plugin/list-cell";
|
|
|
import AppDeliveryModule from "./components/app-delivery";
|
|
|
import AppListModule from "./components/app-order-list2";
|
|
|
import HbSelect from "@/components/hb/hb-select";
|
|
|
-//import { getShopUser } from "@/utils/auth";
|
|
|
import { getOrderShop } from "@/utils/config";
|
|
|
-import { createOrder,newFreight } from "@/api/order";
|
|
|
+import { createOrder,inform } from "@/api/order";
|
|
|
import { getHasMap } from "@/api/express";
|
|
|
import { getAvailableHb } from "@/api/hb"
|
|
|
export default {
|
|
|
@@ -263,12 +262,13 @@ export default {
|
|
|
let hdId = this.option.hdId?this.option.hdId:0
|
|
|
let account = this.option.account?this.option.account:0
|
|
|
|
|
|
- if(Number(hdId)<=0 || Number(account)<=0){
|
|
|
- this.$util.confirmModal({content:'网络异常,请重新提交'},() => {
|
|
|
- uni.reLaunch({url:'/pages/home/recent'})
|
|
|
- })
|
|
|
- return false
|
|
|
- }
|
|
|
+ inform({hdId:hdId,account:account,page:'buy'})
|
|
|
+ if(Number(hdId)<=0 || Number(account)<=0){
|
|
|
+ this.$util.confirmModal({content:'网络异常,请重新提交'},() => {
|
|
|
+ uni.reLaunch({url:'/pages/home/recent'})
|
|
|
+ })
|
|
|
+ return false
|
|
|
+ }
|
|
|
|
|
|
let form = {}
|
|
|
if (this.form.sendType == 2) {
|