feat: opt qr scan icons
This commit is contained in:
@@ -48,7 +48,8 @@
|
|||||||
"Bash(xargs sed:*)",
|
"Bash(xargs sed:*)",
|
||||||
"Bash(while IFS= read -r file)",
|
"Bash(while IFS= read -r file)",
|
||||||
"Bash(do if ! grep -q \"import com.lukouguoji.module_base.ktx.formatDate\" \"$file\")",
|
"Bash(do if ! grep -q \"import com.lukouguoji.module_base.ktx.formatDate\" \"$file\")",
|
||||||
"Bash(then sed -i '' '/import dev.utils.common.DateUtils/a\\\\\nimport com.lukouguoji.module_base.ktx.formatDate\n' \"$file\" echo \"Added formatDate import to: $file\" fi done)"
|
"Bash(then sed -i '' '/import dev.utils.common.DateUtils/a\\\\\nimport com.lukouguoji.module_base.ktx.formatDate\n' \"$file\" echo \"Added formatDate import to: $file\" fi done)",
|
||||||
|
"Bash(identify:*)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
|||||||
@@ -707,7 +707,7 @@ class HomeFragment : Fragment() {
|
|||||||
list.add(
|
list.add(
|
||||||
RightMenu(
|
RightMenu(
|
||||||
Constant.AuthName.GjcAssembleAllocateActivity,
|
Constant.AuthName.GjcAssembleAllocateActivity,
|
||||||
com.lukouguoji.module_base.R.drawable.img_gjc_banxiangzuzhuang,
|
com.lukouguoji.module_base.R.drawable.img_gnc_fenpei,
|
||||||
"组装分配"
|
"组装分配"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<!-- 运单号 -->
|
<!-- 运单号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}"
|
value="@={viewModel.waybillNo}"
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<!-- 分单号 -->
|
<!-- 分单号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入分单号"}'
|
hint='@{"请输入分单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanHaWb()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanHaWb()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.hno}"
|
value="@={viewModel.hno}"
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}" />
|
value="@={viewModel.waybillNo}" />
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请输入分单号"}'
|
hint='@{"请输入分单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanHouseWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanHouseWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.houseWaybillNo}" />
|
value="@={viewModel.houseWaybillNo}" />
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<!-- ULD编号 -->
|
<!-- ULD编号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入ULD编号"}'
|
hint='@{"请输入ULD编号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanUld()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanUld()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.uldNo}"
|
value="@={viewModel.uldNo}"
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}" />
|
value="@={viewModel.waybillNo}" />
|
||||||
@@ -66,7 +66,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请输入分单号"}'
|
hint='@{"请输入分单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanHouseWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanHouseWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.houseWaybillNo}" />
|
value="@={viewModel.houseWaybillNo}" />
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}" />
|
value="@={viewModel.waybillNo}" />
|
||||||
@@ -65,7 +65,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
hint='@{"请输入分单号"}'
|
hint='@{"请输入分单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanHouseNo()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanHouseNo()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.houseNo}" />
|
value="@={viewModel.houseNo}" />
|
||||||
|
|||||||
@@ -69,7 +69,7 @@
|
|||||||
<!-- 运单号 -->
|
<!-- 运单号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}"
|
value="@={viewModel.waybillNo}"
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
<!-- 运单号 -->
|
<!-- 运单号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}"
|
value="@={viewModel.waybillNo}"
|
||||||
|
|||||||
@@ -51,7 +51,7 @@
|
|||||||
<!-- 运单号 -->
|
<!-- 运单号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入运单号"}'
|
hint='@{"请输入运单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanWaybill()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.waybillNo}"
|
value="@={viewModel.waybillNo}"
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
<!-- 分单号 -->
|
<!-- 分单号 -->
|
||||||
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
<com.lukouguoji.module_base.ui.weight.search.layout.PadSearchLayout
|
||||||
hint='@{"请输入分单号"}'
|
hint='@{"请输入分单号"}'
|
||||||
icon="@{@drawable/scan_code}"
|
icon="@{@drawable/img_scan}"
|
||||||
setOnIconClickListener="@{(v)-> viewModel.scanHno()}"
|
setOnIconClickListener="@{(v)-> viewModel.scanHno()}"
|
||||||
type="@{SearchLayoutType.INPUT}"
|
type="@{SearchLayoutType.INPUT}"
|
||||||
value="@={viewModel.hno}"
|
value="@={viewModel.hno}"
|
||||||
|
|||||||
Reference in New Issue
Block a user