|
@@ -399,6 +399,7 @@
|
|
|
}
|
|
|
this.alertTitle = '确定提交装车信息?'
|
|
|
}
|
|
|
+ if (this.validate()) return
|
|
|
this.isShowAlert = true
|
|
|
this.detailData.statusFlag = type
|
|
|
// this.$refs.uToast.show({
|
|
@@ -447,17 +448,17 @@
|
|
|
// })
|
|
|
// return true
|
|
|
// }
|
|
|
- // if (uni.$u.test.isEmpty(this.detailData.carrierInfo.loadingImg)) {
|
|
|
- // this.$refs.uToast.show({
|
|
|
- // type: 'error',
|
|
|
- // message: "装车照片不能为空!",
|
|
|
- // })
|
|
|
- // return true
|
|
|
- // }
|
|
|
+
|
|
|
+ if(this.fileList1.length == 0){
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ type: 'error',
|
|
|
+ message: "装车照片不能为空!",
|
|
|
+ })
|
|
|
+ return true
|
|
|
+ }
|
|
|
},
|
|
|
confirmClick() {
|
|
|
this.isShowAlert = false
|
|
|
- if (this.validate()) return
|
|
|
//1暂存
|
|
|
if (this.detailData.statusFlag == 1) {
|
|
|
delete this.detailData.hyCarrierInfo.loadingAreaLongitude;
|