activity_submit_order.xml 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:background="@color/white"
  7. android:fitsSystemWindows="true" >
  8. <include
  9. android:id="@+id/titlebar"
  10. layout="@layout/fragment_title" />
  11. <LinearLayout
  12. android:id="@+id/bottomLay"
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:layout_alignParentBottom="true"
  16. android:layout_marginTop="10dp"
  17. android:gravity="center_vertical"
  18. android:orientation="horizontal" >
  19. <TextView
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_marginLeft="@dimen/tv_layout_marginLeft_15"
  23. android:text="合计金额:"
  24. android:textColor="@color/black"
  25. android:textSize="@dimen/textsize_14" />
  26. <TextView
  27. android:layout_width="wrap_content"
  28. android:layout_height="wrap_content"
  29. android:layout_marginLeft="@dimen/tv_layout_marginLeft_3"
  30. android:gravity="center_vertical"
  31. android:text="¥"
  32. android:textColor="@color/black"
  33. android:textSize="@dimen/textsize_14" />
  34. <TextView
  35. android:id="@+id/Discount"
  36. android:layout_width="0dp"
  37. android:layout_height="wrap_content"
  38. android:layout_weight="1"
  39. android:gravity="center_vertical"
  40. android:textColor="@color/black"
  41. android:textSize="@dimen/textsize_13" />
  42. <RelativeLayout
  43. android:layout_width="wrap_content"
  44. android:layout_height="wrap_content" >
  45. <EditText
  46. android:id="@+id/focus"
  47. android:layout_width="1dp"
  48. android:layout_height="1dp"
  49. android:background="@null" />
  50. <Button
  51. android:id="@+id/submitOrder"
  52. android:layout_width="110dp"
  53. android:layout_height="50dp"
  54. android:background="@color/oldred"
  55. android:src="@drawable/rounded_corners_search_bg"
  56. android:text="提交订单"
  57. android:textColor="@color/white" />
  58. </RelativeLayout>
  59. </LinearLayout>
  60. <LinearLayout
  61. android:id="@+id/mainLay"
  62. android:layout_width="match_parent"
  63. android:layout_height="wrap_content"
  64. android:layout_above="@id/bottomLay"
  65. android:layout_below="@id/titlebar"
  66. android:orientation="vertical" >
  67. <ScrollView
  68. android:layout_width="match_parent"
  69. android:layout_height="match_parent" >
  70. <LinearLayout
  71. android:layout_width="match_parent"
  72. android:layout_height="match_parent"
  73. android:orientation="vertical" >
  74. <!-- head -->
  75. <LinearLayout
  76. android:layout_width="match_parent"
  77. android:layout_height="match_parent"
  78. android:orientation="vertical" >
  79. <RelativeLayout
  80. android:layout_width="match_parent"
  81. android:layout_height="@dimen/ll_layout_height_40"
  82. android:layout_marginTop="5dp" >
  83. <TextView
  84. android:id="@+id/customerCodeTitle"
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:layout_centerVertical="true"
  88. android:layout_marginLeft="15dp"
  89. android:text="客户编码"
  90. android:textColor="@color/black"
  91. android:textSize="@dimen/textsize_13" />
  92. <LinearLayout
  93. android:layout_width="match_parent"
  94. android:layout_height="wrap_content"
  95. android:layout_centerVertical="true"
  96. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  97. android:layout_toRightOf="@id/customerCodeTitle"
  98. android:gravity="center"
  99. android:orientation="horizontal" >
  100. <EditText
  101. android:id="@+id/CustomerCode"
  102. android:layout_width="200dp"
  103. android:layout_height="wrap_content"
  104. android:layout_gravity="center_vertical"
  105. android:background="@null"
  106. android:hint="请输入客户编码 "
  107. android:maxLength="100"
  108. android:singleLine="true"
  109. android:text=""
  110. android:textColor="@color/black"
  111. android:textSize="@dimen/textsize_13" />
  112. <LinearLayout
  113. android:layout_width="match_parent"
  114. android:layout_height="wrap_content"
  115. android:gravity="right"
  116. android:orientation="horizontal" >
  117. <LinearLayout
  118. android:id="@+id/customerCodeLin"
  119. android:layout_width="50dp"
  120. android:layout_height="wrap_content"
  121. android:gravity="right"
  122. android:orientation="horizontal" >
  123. <ImageView
  124. android:id="@+id/customerCodeIv"
  125. android:layout_width="wrap_content"
  126. android:layout_height="wrap_content"
  127. android:layout_gravity="center_vertical"
  128. android:layout_marginRight="15dp"
  129. android:src="@drawable/right" />
  130. </LinearLayout>
  131. </LinearLayout>
  132. </LinearLayout>
  133. <LinearLayout
  134. android:layout_width="fill_parent"
  135. android:layout_height="wrap_content"
  136. android:layout_alignParentBottom="true"
  137. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  138. android:layout_toRightOf="@id/customerCodeTitle"
  139. android:background="@color/white"
  140. android:orientation="vertical" >
  141. <View
  142. android:layout_width="match_parent"
  143. android:layout_height="1dp"
  144. android:background="@color/EBEBEB" />
  145. </LinearLayout>
  146. </RelativeLayout>
  147. <!-- n1 -->
  148. <RelativeLayout
  149. android:layout_width="match_parent"
  150. android:layout_height="@dimen/ll_layout_height_40" >
  151. <TextView
  152. android:id="@+id/customerNameTitle"
  153. android:layout_width="wrap_content"
  154. android:layout_height="wrap_content"
  155. android:layout_centerVertical="true"
  156. android:layout_marginLeft="15dp"
  157. android:text="客户名称"
  158. android:textColor="@color/black"
  159. android:textSize="@dimen/textsize_13" />
  160. <EditText
  161. android:id="@+id/CustomerName"
  162. android:layout_width="match_parent"
  163. android:layout_height="match_parent"
  164. android:layout_centerVertical="true"
  165. android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
  166. android:layout_toRightOf="@id/customerNameTitle"
  167. android:background="@null"
  168. android:hint="请输入客户名称"
  169. android:maxLength="50"
  170. android:singleLine="true"
  171. android:text=""
  172. android:textColor="@color/black"
  173. android:textSize="@dimen/textsize_13" />
  174. <LinearLayout
  175. android:layout_width="fill_parent"
  176. android:layout_height="wrap_content"
  177. android:layout_alignParentBottom="true"
  178. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  179. android:layout_toRightOf="@id/customerNameTitle"
  180. android:background="@color/white"
  181. android:orientation="vertical" >
  182. <View
  183. android:layout_width="match_parent"
  184. android:layout_height="1dp"
  185. android:background="@color/EBEBEB" />
  186. </LinearLayout>
  187. </RelativeLayout>
  188. <!-- n2 -->
  189. <RelativeLayout
  190. android:layout_width="match_parent"
  191. android:layout_height="@dimen/ll_layout_height_40" >
  192. <TextView
  193. android:id="@+id/customerAddressTitle"
  194. android:layout_width="wrap_content"
  195. android:layout_height="wrap_content"
  196. android:layout_centerVertical="true"
  197. android:layout_marginLeft="15dp"
  198. android:text="客户地址"
  199. android:textColor="@color/black"
  200. android:textSize="@dimen/textsize_13" />
  201. <EditText
  202. android:id="@+id/Address"
  203. android:layout_width="match_parent"
  204. android:layout_height="match_parent"
  205. android:layout_centerVertical="true"
  206. android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
  207. android:layout_toRightOf="@id/customerAddressTitle"
  208. android:background="@null"
  209. android:hint="请输入客户地址"
  210. android:maxLength="100"
  211. android:singleLine="true"
  212. android:text=""
  213. android:textColor="@color/black"
  214. android:textSize="@dimen/textsize_13" />
  215. <LinearLayout
  216. android:layout_width="fill_parent"
  217. android:layout_height="wrap_content"
  218. android:layout_alignParentBottom="true"
  219. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  220. android:layout_toRightOf="@id/customerAddressTitle"
  221. android:background="@color/white"
  222. android:orientation="vertical" >
  223. <View
  224. android:layout_width="match_parent"
  225. android:layout_height="1dp"
  226. android:background="@color/EBEBEB" />
  227. </LinearLayout>
  228. </RelativeLayout>
  229. <RelativeLayout
  230. android:layout_width="match_parent"
  231. android:layout_height="@dimen/ll_layout_height_40" >
  232. <TextView
  233. android:id="@+id/contactTelephoneTitle"
  234. android:layout_width="wrap_content"
  235. android:layout_height="wrap_content"
  236. android:layout_centerVertical="true"
  237. android:layout_marginLeft="15dp"
  238. android:text="联系电话"
  239. android:textColor="@color/black"
  240. android:textSize="@dimen/textsize_13" />
  241. <EditText
  242. android:id="@+id/Telephone"
  243. android:layout_width="match_parent"
  244. android:layout_height="wrap_content"
  245. android:layout_centerVertical="true"
  246. android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
  247. android:layout_toRightOf="@id/contactTelephoneTitle"
  248. android:background="@null"
  249. android:hint="请输入联系电话 "
  250. android:maxLength="12"
  251. android:numeric="integer"
  252. android:singleLine="true"
  253. android:text=""
  254. android:textColor="@color/black"
  255. android:textSize="@dimen/textsize_13" />
  256. <LinearLayout
  257. android:layout_width="fill_parent"
  258. android:layout_height="wrap_content"
  259. android:layout_alignParentBottom="true"
  260. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  261. android:layout_toRightOf="@id/contactTelephoneTitle"
  262. android:background="@color/white"
  263. android:orientation="vertical" >
  264. <View
  265. android:layout_width="match_parent"
  266. android:layout_height="1dp"
  267. android:background="@color/EBEBEB" />
  268. </LinearLayout>
  269. </RelativeLayout>
  270. <!-- n2 -->
  271. <RelativeLayout
  272. android:layout_width="match_parent"
  273. android:layout_height="@dimen/ll_layout_height_40" >
  274. <TextView
  275. android:id="@+id/customerTypeTitle"
  276. android:layout_width="wrap_content"
  277. android:layout_height="wrap_content"
  278. android:layout_centerVertical="true"
  279. android:layout_marginLeft="15dp"
  280. android:text="客户性质"
  281. android:textColor="@color/black"
  282. android:textSize="@dimen/textsize_13" />
  283. <LinearLayout
  284. android:id="@+id/customerTypeLin"
  285. android:layout_width="match_parent"
  286. android:layout_height="wrap_content"
  287. android:layout_centerVertical="true"
  288. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  289. android:layout_toRightOf="@id/customerTypeTitle"
  290. android:orientation="horizontal" >
  291. <TextView
  292. android:id="@+id/CustomerType"
  293. android:layout_width="180dp"
  294. android:layout_height="wrap_content"
  295. android:hint="请输入客户性质"
  296. android:text=""
  297. android:textColor="@color/black"
  298. android:textSize="@dimen/textsize_13" />
  299. <LinearLayout
  300. android:layout_width="match_parent"
  301. android:layout_height="wrap_content"
  302. android:gravity="right"
  303. android:orientation="horizontal" >
  304. <ImageView
  305. android:id="@+id/customerTypeIv"
  306. android:layout_width="wrap_content"
  307. android:layout_height="wrap_content"
  308. android:layout_gravity="center_vertical"
  309. android:layout_marginRight="15dp"
  310. android:src="@drawable/right" />
  311. </LinearLayout>
  312. </LinearLayout>
  313. <LinearLayout
  314. android:layout_width="fill_parent"
  315. android:layout_height="wrap_content"
  316. android:layout_alignParentBottom="true"
  317. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  318. android:layout_toRightOf="@id/customerTypeTitle"
  319. android:background="@color/white"
  320. android:orientation="vertical" >
  321. <View
  322. android:layout_width="match_parent"
  323. android:layout_height="1dp"
  324. android:background="@color/EBEBEB" />
  325. </LinearLayout>
  326. </RelativeLayout>
  327. <RelativeLayout
  328. android:layout_width="match_parent"
  329. android:layout_height="@dimen/ll_layout_height_40" >
  330. <TextView
  331. android:id="@+id/channelTitle"
  332. android:layout_width="wrap_content"
  333. android:layout_height="wrap_content"
  334. android:layout_centerVertical="true"
  335. android:layout_marginLeft="15dp"
  336. android:text="渠 道"
  337. android:textColor="@color/black"
  338. android:textSize="@dimen/textsize_13" />
  339. <LinearLayout
  340. android:id="@+id/channelLin"
  341. android:layout_width="match_parent"
  342. android:layout_height="wrap_content"
  343. android:layout_centerVertical="true"
  344. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  345. android:layout_toRightOf="@id/channelTitle"
  346. android:orientation="horizontal" >
  347. <TextView
  348. android:id="@+id/tvChannel"
  349. android:layout_width="180dp"
  350. android:layout_height="wrap_content"
  351. android:hint="请选择渠道"
  352. android:text=""
  353. android:textColor="@color/black"
  354. android:textSize="@dimen/textsize_13" />
  355. <LinearLayout
  356. android:layout_width="match_parent"
  357. android:layout_height="wrap_content"
  358. android:gravity="right"
  359. android:orientation="horizontal" >
  360. <ImageView
  361. android:id="@+id/channelIv"
  362. android:layout_width="wrap_content"
  363. android:layout_height="wrap_content"
  364. android:layout_gravity="center_vertical"
  365. android:layout_marginRight="15dp"
  366. android:src="@drawable/right" />
  367. </LinearLayout>
  368. </LinearLayout>
  369. <LinearLayout
  370. android:layout_width="fill_parent"
  371. android:layout_height="wrap_content"
  372. android:layout_alignParentBottom="true"
  373. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  374. android:layout_toRightOf="@id/channelTitle"
  375. android:background="@color/white"
  376. android:orientation="vertical" >
  377. <View
  378. android:layout_width="match_parent"
  379. android:layout_height="1dp"
  380. android:background="@color/EBEBEB" />
  381. </LinearLayout>
  382. </RelativeLayout>
  383. <!-- n1 -->
  384. <RelativeLayout
  385. android:layout_width="match_parent"
  386. android:layout_height="@dimen/ll_layout_height_40" >
  387. <TextView
  388. android:id="@+id/organizationTitle"
  389. android:layout_width="wrap_content"
  390. android:layout_height="wrap_content"
  391. android:layout_centerVertical="true"
  392. android:layout_marginLeft="15dp"
  393. android:gravity="center_vertical"
  394. android:text="业务部门"
  395. android:textColor="@color/black"
  396. android:textSize="@dimen/textsize_13" />
  397. <LinearLayout
  398. android:id="@+id/organizationLin"
  399. android:layout_width="match_parent"
  400. android:layout_height="wrap_content"
  401. android:layout_centerVertical="true"
  402. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  403. android:layout_toRightOf="@id/organizationTitle"
  404. android:orientation="horizontal" >
  405. <TextView
  406. android:id="@+id/Organization"
  407. android:layout_width="180dp"
  408. android:layout_height="wrap_content"
  409. android:hint="请选择业务部门"
  410. android:text=""
  411. android:textColor="@color/black"
  412. android:textSize="@dimen/textsize_13" />
  413. <LinearLayout
  414. android:layout_width="match_parent"
  415. android:layout_height="wrap_content"
  416. android:gravity="right"
  417. android:orientation="horizontal" >
  418. <ImageView
  419. android:id="@+id/organizationIv"
  420. android:layout_width="wrap_content"
  421. android:layout_height="wrap_content"
  422. android:layout_gravity="center_vertical"
  423. android:layout_marginRight="15dp"
  424. android:src="@drawable/right" />
  425. </LinearLayout>
  426. </LinearLayout>
  427. <LinearLayout
  428. android:layout_width="fill_parent"
  429. android:layout_height="wrap_content"
  430. android:layout_alignParentBottom="true"
  431. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  432. android:layout_toRightOf="@id/organizationTitle"
  433. android:background="@color/white"
  434. android:orientation="vertical" >
  435. <View
  436. android:layout_width="match_parent"
  437. android:layout_height="1dp"
  438. android:background="@color/EBEBEB" />
  439. </LinearLayout>
  440. </RelativeLayout>
  441. <!-- n1 -->
  442. <RelativeLayout
  443. android:layout_width="match_parent"
  444. android:layout_height="@dimen/ll_layout_height_40" >
  445. <TextView
  446. android:id="@+id/staffTitle"
  447. android:layout_width="wrap_content"
  448. android:layout_height="wrap_content"
  449. android:layout_centerVertical="true"
  450. android:layout_marginLeft="15dp"
  451. android:text="业 务 员"
  452. android:textColor="@color/black"
  453. android:textSize="@dimen/textsize_13" />
  454. <LinearLayout
  455. android:id="@+id/staffLin"
  456. android:layout_width="match_parent"
  457. android:layout_height="wrap_content"
  458. android:layout_centerVertical="true"
  459. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  460. android:layout_toRightOf="@id/staffTitle"
  461. android:orientation="horizontal" >
  462. <TextView
  463. android:id="@+id/Staff"
  464. android:layout_width="180dp"
  465. android:layout_height="wrap_content"
  466. android:hint="请选择业务员"
  467. android:text=""
  468. android:textColor="@color/black"
  469. android:textSize="@dimen/textsize_13" />
  470. <LinearLayout
  471. android:layout_width="match_parent"
  472. android:layout_height="wrap_content"
  473. android:gravity="right"
  474. android:orientation="horizontal" >
  475. <ImageView
  476. android:id="@+id/staffIv"
  477. android:layout_width="wrap_content"
  478. android:layout_height="wrap_content"
  479. android:layout_gravity="center_vertical"
  480. android:layout_marginRight="15dp"
  481. android:src="@drawable/right" />
  482. </LinearLayout>
  483. </LinearLayout>
  484. <LinearLayout
  485. android:layout_width="fill_parent"
  486. android:layout_height="wrap_content"
  487. android:layout_alignParentBottom="true"
  488. android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
  489. android:layout_toRightOf="@id/staffTitle"
  490. android:background="@color/white"
  491. android:orientation="vertical" >
  492. <View
  493. android:layout_width="match_parent"
  494. android:layout_height="1dp"
  495. android:background="@color/EBEBEB" />
  496. </LinearLayout>
  497. </RelativeLayout>
  498. <!-- n1 -->
  499. <RelativeLayout
  500. android:layout_width="match_parent"
  501. android:layout_height="@dimen/ll_layout_height_40" >
  502. <TextView
  503. android:id="@+id/remarksTitle"
  504. android:layout_width="wrap_content"
  505. android:layout_height="wrap_content"
  506. android:layout_centerVertical="true"
  507. android:layout_marginLeft="15dp"
  508. android:text="备 注"
  509. android:textColor="@color/black"
  510. android:textSize="@dimen/textsize_13" />
  511. <LinearLayout
  512. android:id="@+id/remarksLin"
  513. android:layout_width="match_parent"
  514. android:layout_height="wrap_content"
  515. android:layout_centerVertical="true"
  516. android:layout_marginBottom="15dp"
  517. android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
  518. android:layout_toRightOf="@id/remarksTitle"
  519. android:orientation="horizontal" >
  520. <EditText
  521. android:id="@+id/Remarks"
  522. android:layout_width="match_parent"
  523. android:layout_height="wrap_content"
  524. android:background="@null"
  525. android:gravity="center_vertical"
  526. android:hint="请输入备注"
  527. android:maxLength="100"
  528. android:singleLine="true"
  529. android:text=""
  530. android:textColor="@color/black"
  531. android:textSize="@dimen/textsize_13" />
  532. </LinearLayout>
  533. </RelativeLayout>
  534. <View
  535. android:layout_width="match_parent"
  536. android:layout_height="10dp"
  537. android:background="@color/lightgray" />
  538. <LinearLayout
  539. android:layout_width="match_parent"
  540. android:layout_height="match_parent"
  541. android:orientation="vertical" >
  542. <com.dongkesoft.ibossmini.viewscroll.NoScrollListView
  543. android:id="@+id/su_order_recyclerview"
  544. android:layout_width="match_parent"
  545. android:layout_height="wrap_content"
  546. android:layout_marginBottom="20dp"
  547. android:divider="@color/lightgray"
  548. android:dividerHeight="10dp" />
  549. </LinearLayout>
  550. <!-- list -->
  551. </LinearLayout>
  552. </LinearLayout>
  553. </ScrollView>
  554. </LinearLayout>
  555. <!-- end -->
  556. </RelativeLayout>