|
...
|
...
|
@@ -1523,11 +1523,15 @@ class _CouponEidtPayPageState extends State<CouponEidtPayPage> { |
|
|
|
Utils.showToast('请输入券名称');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (_priceControl.text.trim().length == 0 ||
|
|
|
|
_priceControl.text.trim() == '0') {
|
|
|
|
Utils.showToast('请输入销售价,且必须大于0');
|
|
|
|
if (_priceControl.text.trim().length == 0) {
|
|
|
|
Utils.showToast('请输入销售价');
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
// if (_priceControl.text.trim().length == 0 ||
|
|
|
|
// _priceControl.text.trim() == '0') {
|
|
|
|
// Utils.showToast('请输入销售价,且必须大于0');
|
|
|
|
// return;
|
|
|
|
// }
|
|
|
|
// if (!Utils.isInteger(
|
|
|
|
// _priceControl.text.trim())) {
|
|
|
|
// Utils.showToast('销售价请输入数字');
|
...
|
...
|
|