Przeglądaj źródła

如果是使用跑腿配送,就不允许:确认送达(confirmReachFn)

shizhongqi 7 miesięcy temu
rodzic
commit
a3eabcdfdc
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      ghsApp/src/pagesOrder/detail.vue

+ 6 - 0
ghsApp/src/pagesOrder/detail.vue

@@ -1199,6 +1199,12 @@ export default {
 		},
 		confirmReach(info){
 			let that = this
+
+
+			if(that.detailInfo.sendStatus != -4){
+				that.$msg('已使用跑腿配送')
+				return
+			}
 			that.$util.confirmModal({content:'确认已经送达?'},() => {
 				confirmReachFn({id:info.id}).then(res=>{
 					if(res.code == 1){