|
|
@@ -674,9 +674,15 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(this.form.sendType == 2 && this.form.hasPay == 0 && this.form.callErrand == 1){
|
|
|
- this.$msg('扫码付款,暂不支持马上发跑腿')
|
|
|
- return false
|
|
|
+ if(this.form.callErrand == 1){
|
|
|
+ if(this.form.sendType == 2 && this.form.hasPay == 0){
|
|
|
+ this.$msg('扫码付款,暂不支持马上发跑腿')
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if(this.$util.isEmpty(this.custom.long) || this.$util.isEmpty(this.custom.lat) || this.$util.isEmpty(this.custom.address)){
|
|
|
+ this.$msg('客户地址不完整,请选择先不要叫跑腿')
|
|
|
+ return false
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
this.$emit('settleCommit',this.form)
|