Browse Source

新建订单不强制输入送货地址

master
chenxuhui 7 years ago
parent
commit
9792f82767
1 changed files with 7 additions and 12 deletions
  1. +7
    -12
      pages/order/newBill/newBill.js

+ 7
- 12
pages/order/newBill/newBill.js View File

@ -468,12 +468,12 @@ Page({
return;
}
if (dmo.DeliverAddress == "") {
wx.showToast({
title: '请填写送货地址',
})
return;
}
// if (dmo.DeliverAddress == "") {
// wx.showToast({
// title: '请填写送货地址',
// })
// return;
// }
for (var i = 0; i < dmo.Details.length; i++) {
if (dmo.Details[i].SaleGoods_ID == null) {
@ -488,12 +488,7 @@ Page({
})
return;
}
// if (dmo.Details[i].SecondNumber == null) {
// wx.showToast({
// title: '辅数量不能为空',
// })
// return;
// }
}
let method = insert;


Loading…
Cancel
Save