Showing
1 changed file
with
7 additions
and
3 deletions
| @@ -1523,11 +1523,15 @@ class _CouponEidtPayPageState extends State<CouponEidtPayPage> { | @@ -1523,11 +1523,15 @@ class _CouponEidtPayPageState extends State<CouponEidtPayPage> { | ||
| 1523 | Utils.showToast('请输入券名称'); | 1523 | Utils.showToast('请输入券名称'); |
| 1524 | return; | 1524 | return; |
| 1525 | } | 1525 | } |
| 1526 | - if (_priceControl.text.trim().length == 0 || | ||
| 1527 | - _priceControl.text.trim() == '0') { | ||
| 1528 | - Utils.showToast('请输入销售价,且必须大于0'); | 1526 | + if (_priceControl.text.trim().length == 0) { |
| 1527 | + Utils.showToast('请输入销售价'); | ||
| 1529 | return; | 1528 | return; |
| 1530 | } | 1529 | } |
| 1530 | + // if (_priceControl.text.trim().length == 0 || | ||
| 1531 | + // _priceControl.text.trim() == '0') { | ||
| 1532 | + // Utils.showToast('请输入销售价,且必须大于0'); | ||
| 1533 | + // return; | ||
| 1534 | + // } | ||
| 1531 | // if (!Utils.isInteger( | 1535 | // if (!Utils.isInteger( |
| 1532 | // _priceControl.text.trim())) { | 1536 | // _priceControl.text.trim())) { |
| 1533 | // Utils.showToast('销售价请输入数字'); | 1537 | // Utils.showToast('销售价请输入数字'); |
-
Please register or login to post a comment