diff --git a/lib/page/pick/pick.dart b/lib/page/pick/pick.dart index a9d6c82..45e091e 100644 --- a/lib/page/pick/pick.dart +++ b/lib/page/pick/pick.dart @@ -41,8 +41,9 @@ class _PickPageState extends State { ), child: ListView( children: [ BrnTextInputFormItem( - controller: _vehicleNoTextController, - title: "载具号:", hint: "请扫描或输入需要拣货的载具号" + controller: _vehicleNoTextController, + title: "载具号:", hint: "请扫描或输入需要拣货的载具号", + isRequire: true, ), Padding(padding: const EdgeInsets.only( top: 5 diff --git a/lib/page/stock/stockCheck.dart b/lib/page/stock/stockCheck.dart index 15a40ab..10900ef 100644 --- a/lib/page/stock/stockCheck.dart +++ b/lib/page/stock/stockCheck.dart @@ -41,8 +41,9 @@ class _StockCheckPageState extends State { ), child: ListView( children: [ BrnTextInputFormItem( - controller: _vehicleNoTextController, - title: "载具号:", hint: "请扫描或输入需要盘点的载具号" + controller: _vehicleNoTextController, + title: "载具号:", hint: "请扫描或输入需要盘点的载具号", + isRequire: true, ), Padding(padding: const EdgeInsets.only( top: 5 diff --git a/lib/page/stock/stockSearch.dart b/lib/page/stock/stockSearch.dart index ab5e98c..ab6f4be 100644 --- a/lib/page/stock/stockSearch.dart +++ b/lib/page/stock/stockSearch.dart @@ -27,10 +27,10 @@ class _StockSearchPageState extends State { centerTitle: true, backgroundColor: ColorCommon.colorScheme, title: const Text( - "库存管理", - style: TextStyle( - color: Colors.white - )), + "库存管理", + style: TextStyle( + color: Colors.white + )), ), body: Center( child: Padding(padding: const EdgeInsets.only( @@ -47,18 +47,22 @@ class _StockSearchPageState extends State { controller: _goodsIdTextController, title: "物料号:", hint: "请输入物料号" ), + BrnTextInputFormItem( + controller: _goodsIdTextController, + title: "批次号:", hint: "请输入批次号" + ), Padding(padding: const EdgeInsets.only( top: 5 ), child: ElevatedButton( - onPressed: search, - style: ButtonStyle( - backgroundColor: WidgetStateProperty.all(ColorCommon.colorScheme), - ), - child: const Text( - "查询库存", - style: TextStyle( - color: Colors.white - )) + onPressed: search, + style: ButtonStyle( + backgroundColor: WidgetStateProperty.all(ColorCommon.colorScheme), + ), + child: const Text( + "查询库存", + style: TextStyle( + color: Colors.white + )) )) ], ),), diff --git a/lib/page/stockIn/StackInWheelEBS.dart b/lib/page/stockIn/StackInWheelEBS.dart index 5f7208b..2ad9151 100644 --- a/lib/page/stockIn/StackInWheelEBS.dart +++ b/lib/page/stockIn/StackInWheelEBS.dart @@ -60,7 +60,8 @@ class _StockInWheelEBSPageState extends State { children: [ BrnTextInputFormItem( controller: _vehicleTextController, - title: "载具号:", hint: "请扫描或输入" + title: "载具号:", hint: "请扫描或输入", + isRequire: true, ), BrnRadioInputFormItem( title: "选择目的地:", diff --git a/lib/page/stockIn/StockInEmpty.dart b/lib/page/stockIn/StockInEmpty.dart index 88a1879..53c94c4 100644 --- a/lib/page/stockIn/StockInEmpty.dart +++ b/lib/page/stockIn/StockInEmpty.dart @@ -44,8 +44,9 @@ class _StockInEmptyPageState extends State { ), child: ListView( children: [ BrnTextInputFormItem( - controller: _vehicleTextController, - title: "载具号:", hint: "请扫描或输入" + controller: _vehicleTextController, + title: "载具号:", hint: "请扫描或输入", + isRequire: true, ), Padding(padding: const EdgeInsets.only( top: 5