|
@@ -1,12 +1,326 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
|
|
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
+ xmlns:whatever="http://schemas.android.com/apk/res-auto"
|
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
- android:paddingLeft="@dimen/activity_horizontal_margin"
|
|
|
|
|
- android:paddingRight="@dimen/activity_horizontal_margin"
|
|
|
|
|
- android:paddingTop="@dimen/activity_vertical_margin"
|
|
|
|
|
- android:paddingBottom="@dimen/activity_vertical_margin"
|
|
|
|
|
tools:context="com.xzjmyk.pm.activity.ui.erp.activity.crm.BusinessAddActivity">
|
|
tools:context="com.xzjmyk.pm.activity.ui.erp.activity.crm.BusinessAddActivity">
|
|
|
|
|
|
|
|
-</RelativeLayout>
|
|
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="match_parent"
|
|
|
|
|
+ tools:context="com.xzjmyk.pm.activity.ui.erp.activity.crm.CustomerAddActivity">
|
|
|
|
|
+
|
|
|
|
|
+ <LinearLayout
|
|
|
|
|
+ android:id="@+id/ly_head_display"
|
|
|
|
|
+ android:layout_width="match_parent"
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_leave_man"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_leave_man"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="商机编号:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_man"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:testType="nocheck" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<ImageView style="@style/app_comm_list_line_gray" />-->
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_leave_mankind"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_leave_mankind"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="商机名称:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_mankind"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:testType="nocheck" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_leave_type"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:visibility="gone">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_leave_type"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="请假类型:" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_type"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ android:focusableInTouchMode="false"
|
|
|
|
|
+ editTextFormExample:testType="nocheck" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<ImageView style="@style/app_comm_list_line_gray" />-->
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_leave_category"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_leave_category"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="商机来源:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_category"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:testType="nocheck" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<ImageView style="@style/app_comm_list_line_gray" />-->
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_set_website"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_iv_leave_days"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="联系方式:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_days"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ whatever:customRegexp="^(([0-9])|([0-9]+\\.?[0-9]+))$"
|
|
|
|
|
+ whatever:testErrorString="@string/error_only_numeric_digits_allowed"
|
|
|
|
|
+ whatever:testType="regexp" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<ImageView style="@style/app_comm_list_line_gray" />-->
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_leave_hours"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_leave_hours"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+
|
|
|
|
|
+ android:text="创建时间:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_hours"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+
|
|
|
|
|
+ whatever:customRegexp="^(([0-9])|([0-9]+\\.?[0-9]+))$"
|
|
|
|
|
+ whatever:testErrorString="@string/error_only_numeric_digits_allowed"
|
|
|
|
|
+ whatever:testType="regexp" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <!--<ImageView style="@style/app_comm_list_line_gray" />-->
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_leave_reason"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_leave_reason"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="商机库:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/et_leave_reason"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:testType="nocheck" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_set_startTime"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_set_"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="当前阶段:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/tv_start_time"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ android:id="@+id/ry_set_endTime"
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="跟进时间:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="跟进人:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="企业名称:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="地址"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="联系人:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color1">
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_note_"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="职位:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/tv_note_value"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ <RelativeLayout
|
|
|
|
|
+
|
|
|
|
|
+ style="@style/form_relative_customer"
|
|
|
|
|
+ android:background="@color/item_color2">
|
|
|
|
|
+
|
|
|
|
|
+ <TextView
|
|
|
|
|
+ android:id="@+id/tv_date_gh"
|
|
|
|
|
+ style="@style/form_relative_left_text"
|
|
|
|
|
+ android:text="电话:"
|
|
|
|
|
+ android:textColor="@color/text_main"
|
|
|
|
|
+ android:textSize="@dimen/text_main" />
|
|
|
|
|
+
|
|
|
|
|
+ <com.andreabaccega.widget.FormEditText xmlns:editTextFormExample="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
+ android:id="@+id/tv_end_time"
|
|
|
|
|
+ style="@style/form_relative_right_text"
|
|
|
|
|
+ editTextFormExample:customFormat="yyyy-MM-dd HH:mm"
|
|
|
|
|
+ editTextFormExample:testType="date" />
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+ </LinearLayout>
|
|
|
|
|
+ </RelativeLayout>
|
|
|
|
|
+
|
|
|
|
|
+</ScrollView>
|