This commit is contained in:
老叶
2022-02-10 10:38:03 +08:00
parent 4096d72bfc
commit df67ab05c1
+2 -1
View File
@@ -10,6 +10,7 @@ Page({
transport:[],//请上传运输单
id:'',//查看id
tran_id:'',//操作ID
mileage:'',//里程数
},
onLoad: function (options) {
for (let key in options) {
@@ -193,7 +194,7 @@ Page({
//确认发车/接车
putAppTransfer() {
let that = this
if (that.data.mileage == ''){
if (!that.data.mileage||that.data.mileage == ''){
wx.showToast({
title: '请填定里程数',
icon: 'none'