|
|
@@ -133,7 +133,7 @@ public class ModifyBarcodeQuantityFragment extends BaseFragment {
|
|
|
CommonUtil.toastNoRepeat(mActivity, getString(R.string.please_collect_barcode));
|
|
|
} else if (TextUtils.isEmpty(quantity)) {
|
|
|
CommonUtil.toastNoRepeat(mActivity, "请输入条码数量");
|
|
|
- } else if (!quantity.matches(Constants.REGEX.IS_FLOAT)) {
|
|
|
+ } else if (!quantity.matches(Constants.REGEX.IS_NUM)) {
|
|
|
CommonUtil.toastNoRepeat(mActivity, "请输入正确的条码数量");
|
|
|
} else if (!barcode.matches(Constants.REGEX.NO_CN_SYMBOL)) {
|
|
|
CommonUtil.toastNoRepeat(mActivity, getString(R.string.barcode_cannot_contain_special));
|