Commit c3ed3f621b13c1ff7677ac591448a9068df9b7df

Authored by wdn127929
1 parent ecf8991b

新建存酒存酒数量整数

@@ -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 {