tianyi 2 weeks ago
parent
commit
5630f8bc9c
  1. 8
      package1/buyFood/buyFood.vue

8
package1/buyFood/buyFood.vue

@ -1007,11 +1007,17 @@
if (this.isPaotui && this.selected === 'buzhiding' && !isJoiningFaceToFace) { if (this.isPaotui && this.selected === 'buzhiding' && !isJoiningFaceToFace) {
let comm = parseFloat(this.customCommission); let comm = parseFloat(this.customCommission);
if (isNaN(comm) || comm < 0.1) { //
if(isNaN(comm)){
this.$refs.commissionPopup.open()
return;
}
if (comm < 0.1) {
this.warnPopup = 'psyj'; this.warnPopup = 'psyj';
this.$refs.warnPopup.open(); this.$refs.warnPopup.open();
return; return;
} }
if (comm > 200) { if (comm > 200) {
this.tui.toast('配送佣金不得超过200元'); this.tui.toast('配送佣金不得超过200元');
return; return;

Loading…
Cancel
Save