Showing
2 changed files
with
3 additions
and
2 deletions
| @@ -68,9 +68,9 @@ class _CreateWineItemPageState extends State<CreateWineItemPage> { | @@ -68,9 +68,9 @@ class _CreateWineItemPageState extends State<CreateWineItemPage> { | ||
| 68 | textAlignVertical: TextAlignVertical.center, | 68 | textAlignVertical: TextAlignVertical.center, |
| 69 | inputFormatters: title == '存酒数量' | 69 | inputFormatters: title == '存酒数量' |
| 70 | ? [ | 70 | ? [ |
| 71 | - PrecisionLimitFormatter(2), | 71 | + // PrecisionLimitFormatter(2), |
| 72 | FilteringTextInputFormatter.allow( | 72 | FilteringTextInputFormatter.allow( |
| 73 | - RegExp('[0-9.,]+')) | 73 | + RegExp('[0-9]')) |
| 74 | ] | 74 | ] |
| 75 | : [], | 75 | : [], |
| 76 | 76 |
| @@ -141,6 +141,7 @@ class StoreWineProvider with ChangeNotifier { | @@ -141,6 +141,7 @@ class StoreWineProvider with ChangeNotifier { | ||
| 141 | pageStateAll = PageState.Empty; | 141 | pageStateAll = PageState.Empty; |
| 142 | } else { | 142 | } else { |
| 143 | wineManageList = WineManageFaModel.fromJson(baseResp.responseData).data; | 143 | wineManageList = WineManageFaModel.fromJson(baseResp.responseData).data; |
| 144 | + print(wineManageList); | ||
| 144 | if (wineManageList.length == 0) { | 145 | if (wineManageList.length == 0) { |
| 145 | pageStateAll = PageState.Empty; | 146 | pageStateAll = PageState.Empty; |
| 146 | } else { | 147 | } else { |
-
Please register or login to post a comment