|
|
|
@ -1,3 +1,4 @@ |
|
|
|
import { number } from "mathjs" |
|
|
|
// pages/order/create/index.js
|
|
|
|
import { getVehicleList, getFactoryPriceDetail, getRelation, postRelation, getProxyOrderInfo, createProxyOrder } from "../../api/ztb" |
|
|
|
const util = require('../../../utils/util') |
|
|
|
@ -260,6 +261,10 @@ Page({ |
|
|
|
util.showToast('请输入预估重量') |
|
|
|
return |
|
|
|
} |
|
|
|
if (Number(this.data.form.totalEstimatedWeight) <= 0) { |
|
|
|
util.showToast('预估重量必须大于0') |
|
|
|
return |
|
|
|
} |
|
|
|
if (util.isEmpty(this.data.form.deliveryTime)) { |
|
|
|
util.showToast('请选择货到时间') |
|
|
|
return |
|
|
|
|