producemassagebinding_fragment.xml 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:orientation="vertical">
  7. <TableLayout
  8. android:layout_width="match_parent"
  9. android:layout_height="wrap_content"
  10. android:stretchColumns="1">
  11. <TableRow>
  12. <TextView
  13. android:layout_marginLeft="@dimen/dp_10"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:text="扫码框"
  17. android:layout_gravity="center"
  18. android:textColor="@color/black">
  19. </TextView>
  20. <LinearLayout
  21. android:layout_width="match_parent"
  22. android:layout_height="wrap_content"
  23. android:layout_marginRight="16dp"
  24. android:layout_marginLeft="16dp"
  25. android:layout_marginTop="5dp">
  26. <FrameLayout
  27. android:layout_width="0dp"
  28. android:layout_height="wrap_content"
  29. android:layout_weight="1">
  30. <AutoCompleteTextView
  31. android:id="@+id/storage_recharge_collect_et"
  32. style="@style/EditTextLineStyle"
  33. android:layout_height="30dp"
  34. android:hint="" />
  35. <ImageView
  36. android:layout_width="wrap_content"
  37. android:layout_height="wrap_content"
  38. android:layout_gravity="center|right"
  39. android:layout_marginRight="13dp"
  40. android:src="@drawable/wrong"
  41. android:visibility="gone" />
  42. </FrameLayout>
  43. <ImageView
  44. android:id="@+id/storage_recharge_scan_iv"
  45. android:layout_width="30dp"
  46. android:layout_height="wrap_content"
  47. android:layout_gravity="center"
  48. android:layout_marginLeft="5dp"
  49. android:layout_marginRight="@dimen/dp_10"
  50. android:clickable="false"
  51. android:src="@drawable/ic_edittext_scan" />
  52. </LinearLayout>
  53. </TableRow>
  54. <TableRow
  55. android:layout_marginTop="5dp">
  56. <TextView
  57. android:layout_marginLeft="@dimen/dp_10"
  58. android:layout_width="wrap_content"
  59. android:layout_height="wrap_content"
  60. android:text="工单ID"
  61. android:layout_gravity="center"
  62. android:textColor="@color/black">
  63. </TextView>
  64. <LinearLayout
  65. android:layout_width="match_parent"
  66. android:layout_height="wrap_content"
  67. android:layout_marginLeft="@dimen/textsize_16"
  68. android:layout_marginRight="@dimen/textsize_16"
  69. >
  70. <FrameLayout
  71. android:layout_width="0dp"
  72. android:layout_height="wrap_content"
  73. android:layout_weight="1">
  74. <AutoCompleteTextView
  75. android:id="@+id/et_linecode_smts"
  76. style="@style/EditTextLineStyle"
  77. android:layout_height="30dp"
  78. android:hint="请输入工单ID" />
  79. <ImageView
  80. android:id="@+id/iocout_smts"
  81. android:layout_width="wrap_content"
  82. android:layout_height="wrap_content"
  83. android:layout_gravity="center|right"
  84. android:layout_marginRight="13dp"
  85. android:src="@drawable/wrong"
  86. android:visibility="gone" />
  87. </FrameLayout>
  88. <ImageView
  89. android:id="@+id/shaopwork_id"
  90. android:layout_width="30dp"
  91. android:layout_height="wrap_content"
  92. android:layout_gravity="center"
  93. android:layout_marginLeft="5dp"
  94. android:layout_marginRight="@dimen/dp_10"
  95. android:clickable="false"
  96. android:src="@drawable/ic_edittext_scan" />
  97. <ImageView
  98. android:layout_gravity="center"
  99. android:id="@+id/iv_popuwindow"
  100. android:layout_width="30dp"
  101. android:layout_height="match_parent"
  102. android:layout_marginRight="10dp"
  103. android:layout_marginLeft="5dp"
  104. android:background="@drawable/bg_button"
  105. android:src="@drawable/search_48"
  106. android:visibility="gone"/>
  107. </LinearLayout>
  108. </TableRow>
  109. <LinearLayout
  110. android:orientation="horizontal"
  111. android:layout_width="match_parent"
  112. android:layout_height="wrap_content">
  113. <LinearLayout
  114. android:layout_gravity="bottom"
  115. android:layout_width="0dp"
  116. android:layout_height="wrap_content"
  117. android:layout_weight="1.5"
  118. android:layout_marginLeft="@dimen/textsize_20">
  119. <TextView
  120. android:layout_width="wrap_content"
  121. android:layout_height="wrap_content"
  122. android:text="工单号 "
  123. android:scrollbarSize="16sp"
  124. android:gravity="center"
  125. android:textSize="16sp"
  126. android:layout_gravity="center"
  127. android:textColor="@color/black">
  128. </TextView>
  129. <TextView
  130. android:id="@+id/work_code_code"
  131. android:layout_width="wrap_content"
  132. android:layout_height="wrap_content"
  133. android:text=""
  134. android:scrollbarSize="16sp"
  135. android:gravity="center"
  136. android:textSize="16sp"
  137. android:layout_gravity="center"
  138. android:textColor="@color/black">
  139. </TextView>
  140. </LinearLayout>
  141. <LinearLayout
  142. android:layout_width="0dp"
  143. android:layout_height="wrap_content"
  144. android:layout_weight="1">
  145. <TextView
  146. android:layout_marginLeft="@dimen/dp_10"
  147. android:layout_width="wrap_content"
  148. android:layout_height="wrap_content"
  149. android:text="工段"
  150. android:textSize="16sp"
  151. android:gravity="center"
  152. android:layout_gravity="bottom"
  153. android:paddingTop="@dimen/dp_10"
  154. android:textColor="@color/black">
  155. </TextView>
  156. <Spinner
  157. android:id="@+id/sp_login"
  158. android:layout_marginLeft="@dimen/dp_10"
  159. android:layout_marginRight="@dimen/dp_10"
  160. style="@style/SpinnerStyle"
  161. android:layout_height="30dp"
  162. android:layout_marginTop="0dp"
  163. android:padding="0dp"
  164. android:gravity="center"
  165. android:paddingLeft="0dp"
  166. android:layout_gravity="top"
  167. android:background="@drawable/bg_spinner" />
  168. </LinearLayout>
  169. </LinearLayout>
  170. <LinearLayout
  171. android:layout_marginTop="5dp"
  172. android:orientation="horizontal"
  173. android:layout_width="match_parent"
  174. android:layout_height="wrap_content">
  175. <LinearLayout
  176. android:orientation="horizontal"
  177. android:layout_width="match_parent"
  178. android:layout_weight="1"
  179. android:layout_height="wrap_content"
  180. android:layout_marginLeft="@dimen/textsize_20"
  181. android:layout_gravity="center">
  182. <TextView
  183. android:layout_width="wrap_content"
  184. android:layout_height="wrap_content"
  185. android:text="产品编号 "
  186. android:gravity="center"
  187. android:layout_gravity="center"
  188. android:textColor="@color/black">
  189. </TextView>
  190. <TextView
  191. android:id="@+id/tv_pr_code"
  192. android:layout_width="wrap_content"
  193. android:layout_height="wrap_content"
  194. android:text=""
  195. android:gravity="center"
  196. android:layout_gravity="center"
  197. android:textColor="@color/black">
  198. </TextView>
  199. </LinearLayout>
  200. <TextView
  201. android:id="@+id/tv_pr_detail"
  202. android:layout_width="match_parent"
  203. android:layout_height="wrap_content"
  204. android:layout_weight="1"
  205. android:text="产品名称"
  206. android:gravity="left"
  207. android:layout_gravity="center"
  208. android:textColor="@color/black">
  209. </TextView>
  210. </LinearLayout>
  211. <LinearLayout
  212. android:layout_marginLeft="15dp"
  213. android:layout_marginTop="7dp"
  214. android:orientation="horizontal"
  215. android:layout_width="match_parent"
  216. android:layout_height="wrap_content">
  217. </LinearLayout>
  218. <TableRow
  219. android:layout_marginTop="5dp">
  220. <TextView
  221. android:layout_marginLeft="@dimen/dp_10"
  222. android:layout_width="wrap_content"
  223. android:layout_height="wrap_content"
  224. android:text="人员编号"
  225. android:layout_gravity="center"
  226. android:textColor="@color/black">
  227. </TextView>
  228. <LinearLayout
  229. android:layout_width="match_parent"
  230. android:layout_height="wrap_content"
  231. android:layout_marginRight="16dp"
  232. android:layout_marginLeft="16dp">
  233. <FrameLayout
  234. android:layout_width="0dp"
  235. android:layout_height="wrap_content"
  236. android:layout_weight="1">
  237. <AutoCompleteTextView
  238. android:id="@+id/tv_dc_emcode"
  239. style="@style/EditTextLineStyle"
  240. android:layout_height="30dp"
  241. android:hint="请输入人员编号" />
  242. <ImageView
  243. android:id="@+id/tv_dc_emcode_delete"
  244. android:layout_width="wrap_content"
  245. android:layout_height="wrap_content"
  246. android:layout_gravity="center|right"
  247. android:layout_marginRight="13dp"
  248. android:src="@drawable/wrong"
  249. android:visibility="gone" />
  250. </FrameLayout>
  251. <ImageView
  252. android:id="@+id/iv_dc_emcode"
  253. android:layout_width="30dp"
  254. android:layout_height="wrap_content"
  255. android:layout_gravity="center"
  256. android:layout_marginLeft="5dp"
  257. android:layout_marginRight="@dimen/dp_10"
  258. android:clickable="false"
  259. android:src="@drawable/ic_edittext_scan" />
  260. </LinearLayout>
  261. </TableRow>
  262. <TableRow
  263. android:layout_marginTop="5dp">
  264. <TextView
  265. android:text="人员名称"
  266. android:layout_width="wrap_content"
  267. android:layout_height="wrap_content"
  268. android:layout_marginLeft="@dimen/dp_10"
  269. android:layout_gravity="center"
  270. android:textColor="@color/black">
  271. </TextView>
  272. <TextView
  273. android:id="@+id/tv_dc_emname"
  274. android:text=""
  275. android:layout_width="wrap_content"
  276. android:layout_gravity="center|left"
  277. android:layout_height="wrap_content"
  278. android:layout_marginLeft="@dimen/textsize_20"
  279. android:textColor="@color/black">
  280. </TextView>
  281. </TableRow>
  282. <TableRow
  283. android:layout_marginTop="5dp">
  284. <TextView
  285. android:layout_marginLeft="@dimen/dp_10"
  286. android:layout_width="wrap_content"
  287. android:layout_height="wrap_content"
  288. android:text="岗位资源"
  289. android:layout_gravity="center"
  290. android:textColor="@color/black">
  291. </TextView>
  292. <LinearLayout
  293. android:layout_width="match_parent"
  294. android:layout_height="wrap_content"
  295. android:layout_marginRight="16dp"
  296. android:layout_marginLeft="16dp">
  297. <FrameLayout
  298. android:layout_width="0dp"
  299. android:layout_height="wrap_content"
  300. android:layout_weight="1">
  301. <AutoCompleteTextView
  302. android:id="@+id/ce_resources"
  303. style="@style/EditTextLineStyle"
  304. android:layout_height="30dp"
  305. android:hint="请输入岗位资源" />
  306. <ImageView
  307. android:id="@+id/iv_resources_delete"
  308. android:layout_width="wrap_content"
  309. android:layout_height="wrap_content"
  310. android:layout_gravity="center|right"
  311. android:layout_marginRight="13dp"
  312. android:src="@drawable/wrong"
  313. android:visibility="gone" />
  314. </FrameLayout>
  315. <ImageView
  316. android:id="@+id/iv_resources"
  317. android:layout_gravity="center"
  318. android:layout_width="30dp"
  319. android:layout_height="match_parent"
  320. android:layout_marginRight="10dp"
  321. android:layout_marginLeft="5dp"
  322. android:background="@drawable/bg_button"
  323. android:src="@drawable/search_48" />
  324. </LinearLayout>
  325. </TableRow>
  326. </TableLayout>
  327. <RadioGroup
  328. android:id="@+id/rg_change"
  329. android:layout_gravity="center"
  330. android:orientation="horizontal"
  331. android:layout_width="wrap_content"
  332. android:layout_height="wrap_content">
  333. <RadioButton
  334. android:id="@+id/rb_equipment"
  335. android:layout_width="wrap_content"
  336. android:layout_height="wrap_content"
  337. android:layout_margin="@dimen/dp_10"
  338. android:checked="true"
  339. android:text="设备">
  340. </RadioButton>
  341. <RadioButton
  342. android:id="@+id/rb_fixture"
  343. android:layout_width="wrap_content"
  344. android:layout_height="wrap_content"
  345. android:layout_margin="@dimen/dp_10"
  346. android:layout_weight="1"
  347. android:text="夹具">
  348. </RadioButton>
  349. <RadioButton
  350. android:id="@+id/rb_ingredients"
  351. android:layout_width="wrap_content"
  352. android:layout_height="wrap_content"
  353. android:layout_margin="@dimen/dp_10"
  354. android:text="辅料">
  355. </RadioButton>
  356. </RadioGroup>
  357. <com.bin.david.form.core.SmartTable
  358. android:id="@+id/jlt_storage_in_filter_list_st"
  359. android:layout_width="match_parent"
  360. android:layout_height="match_parent"
  361. android:layout_weight="1" />
  362. <TextView
  363. android:visibility="gone"
  364. android:layout_marginTop="@dimen/dp_10"
  365. android:id="@+id/tv_save"
  366. android:layout_width="100dp"
  367. android:layout_height="wrap_content"
  368. android:text="保存"
  369. android:layout_gravity="center"
  370. android:gravity="center"
  371. android:textSize="@dimen/textsize_20"
  372. android:layout_marginBottom="@dimen/textsize_20"
  373. android:background="@color/gray_light">
  374. </TextView>
  375. </LinearLayout>