| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640 |
- <?xml version="1.0" encoding="utf-8"?>
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/white"
- android:fitsSystemWindows="true" >
- <include
- android:id="@+id/titlebar"
- layout="@layout/fragment_title" />
- <LinearLayout
- android:id="@+id/bottomLay"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginTop="10dp"
- android:gravity="center_vertical"
- android:orientation="horizontal" >
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/tv_layout_marginLeft_15"
- android:text="合计金额:"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/tv_layout_marginLeft_3"
- android:gravity="center_vertical"
- android:text="¥"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_14" />
- <TextView
- android:id="@+id/Discount"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:gravity="center_vertical"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
- <EditText
- android:id="@+id/focus"
- android:layout_width="1dp"
- android:layout_height="1dp"
- android:background="@null" />
- <Button
- android:id="@+id/submitOrder"
- android:layout_width="110dp"
- android:layout_height="50dp"
- android:background="@color/oldred"
- android:src="@drawable/rounded_corners_search_bg"
- android:text="提交订单"
- android:textColor="@color/white" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/mainLay"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_above="@id/bottomLay"
- android:layout_below="@id/titlebar"
- android:orientation="vertical" >
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <!-- head -->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40"
- android:layout_marginTop="5dp" >
- <TextView
- android:id="@+id/customerCodeTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户编码"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerCodeTitle"
- android:gravity="center"
- android:orientation="horizontal" >
- <EditText
- android:id="@+id/CustomerCode"
- android:layout_width="200dp"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:background="@null"
- android:hint="请输入客户编码 "
- android:maxLength="100"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:orientation="horizontal" >
- <LinearLayout
- android:id="@+id/customerCodeLin"
- android:layout_width="50dp"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/customerCodeIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerCodeTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <!-- n1 -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/customerNameTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户名称"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <EditText
- android:id="@+id/CustomerName"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerNameTitle"
- android:background="@null"
- android:hint="请输入客户名称"
- android:maxLength="50"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerNameTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <!-- n2 -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/customerAddressTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户地址"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <EditText
- android:id="@+id/Address"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerAddressTitle"
- android:background="@null"
- android:hint="请输入客户地址"
- android:maxLength="100"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerAddressTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/contactTelephoneTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="联系电话"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <EditText
- android:id="@+id/Telephone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/et_layout_marginLeft_30"
- android:layout_toRightOf="@id/contactTelephoneTitle"
- android:background="@null"
- android:hint="请输入联系电话 "
- android:maxLength="12"
- android:numeric="integer"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/contactTelephoneTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <!-- n2 -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/customerTypeTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="客户性质"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:id="@+id/customerTypeLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/customerTypeTitle"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/CustomerType"
- android:layout_width="180dp"
- android:layout_height="wrap_content"
- android:hint="请输入客户性质"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/customerTypeIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/customerTypeTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/channelTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="渠 道"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:id="@+id/channelLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/channelTitle"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/tvChannel"
- android:layout_width="180dp"
- android:layout_height="wrap_content"
- android:hint="请选择渠道"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/channelIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/channelTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <!-- n1 -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/organizationTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:gravity="center_vertical"
- android:text="业务部门"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:id="@+id/organizationLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/organizationTitle"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/Organization"
- android:layout_width="180dp"
- android:layout_height="wrap_content"
- android:hint="请选择业务部门"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/organizationIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/organizationTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <!-- n1 -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/staffTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="业 务 员"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:id="@+id/staffLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/staffTitle"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/Staff"
- android:layout_width="180dp"
- android:layout_height="wrap_content"
- android:hint="请选择业务员"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="right"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/staffIv"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center_vertical"
- android:layout_marginRight="15dp"
- android:src="@drawable/right" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginLeft="@dimen/ll_layout_marginBottom_30"
- android:layout_toRightOf="@id/staffTitle"
- android:background="@color/white"
- android:orientation="vertical" >
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:background="@color/EBEBEB" />
- </LinearLayout>
- </RelativeLayout>
- <!-- n1 -->
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/ll_layout_height_40" >
- <TextView
- android:id="@+id/remarksTitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginLeft="15dp"
- android:text="备 注"
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- <LinearLayout
- android:id="@+id/remarksLin"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:layout_marginBottom="15dp"
- android:layout_marginLeft="@dimen/ll_layout_marginLeft_30"
- android:layout_toRightOf="@id/remarksTitle"
- android:orientation="horizontal" >
- <EditText
- android:id="@+id/Remarks"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@null"
- android:gravity="center_vertical"
- android:hint="请输入备注"
- android:maxLength="100"
- android:singleLine="true"
- android:text=""
- android:textColor="@color/black"
- android:textSize="@dimen/textsize_13" />
- </LinearLayout>
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="10dp"
- android:background="@color/lightgray" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical" >
- <com.dongkesoft.ibossmini.viewscroll.NoScrollListView
- android:id="@+id/su_order_recyclerview"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginBottom="20dp"
- android:divider="@color/lightgray"
- android:dividerHeight="10dp" />
- </LinearLayout>
- <!-- list -->
- </LinearLayout>
- </LinearLayout>
- </ScrollView>
- </LinearLayout>
- <!-- end -->
- </RelativeLayout>
|