Commit c3ed3f621b13c1ff7677ac591448a9068df9b7df

Authored by wdn127929
1 parent ecf8991b

新建存酒存酒数量整数

... ... @@ -68,9 +68,9 @@ class _CreateWineItemPageState extends State<CreateWineItemPage> {
textAlignVertical: TextAlignVertical.center,
inputFormatters: title == '存酒数量'
? [
PrecisionLimitFormatter(2),
// PrecisionLimitFormatter(2),
FilteringTextInputFormatter.allow(
RegExp('[0-9.,]+'))
RegExp('[0-9]'))
]
: [],
... ...
... ... @@ -141,6 +141,7 @@ class StoreWineProvider with ChangeNotifier {
pageStateAll = PageState.Empty;
} else {
wineManageList = WineManageFaModel.fromJson(baseResp.responseData).data;
print(wineManageList);
if (wineManageList.length == 0) {
pageStateAll = PageState.Empty;
} else {
... ...