|
@@ -0,0 +1,197 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto" >
|
|
|
+
|
|
|
+ <data >
|
|
|
+ <import type="android.view.View" />
|
|
|
+ <variable
|
|
|
+ name="vm"
|
|
|
+ type="com.quansu.heifengwuliu.vmodel.InvoiceTitleVModel" />
|
|
|
+ </data >
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:paddingStart="@dimen/dp_14"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:id="@+id/lay_input"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/dp_12"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14"
|
|
|
+ app:qmui_borderColor="#F4F3F9"
|
|
|
+ app:qmui_borderWidth="@dimen/dp_1"
|
|
|
+ app:rv_radius="25dp" >
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="名 称" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_enter"
|
|
|
+ android:paddingStart="@dimen/dp_18"
|
|
|
+ android:text="@={vm.company}"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="税 号" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_enter"
|
|
|
+ android:paddingStart="@dimen/dp_18"
|
|
|
+ android:text="@={vm.sn}"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="单位地址" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_enter"
|
|
|
+ android:paddingStart="@dimen/dp_18"
|
|
|
+ android:text="@={vm.addr}"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="电话号码" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_enter"
|
|
|
+ android:inputType="phone"
|
|
|
+ android:paddingStart="@dimen/dp_18"
|
|
|
+ android:text="@={vm.tel}"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="开户银行" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_enter"
|
|
|
+ android:paddingStart="@dimen/dp_18"
|
|
|
+ android:text="@={vm.bank}"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:paddingStart="@dimen/dp_8"
|
|
|
+ android:paddingEnd="@dimen/dp_14" >
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="银行账号" />
|
|
|
+
|
|
|
+ <com.ysnows.base.widget.DelEditText
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:background="@color/white"
|
|
|
+ android:hint="@string/please_enter"
|
|
|
+ android:paddingStart="@dimen/dp_18"
|
|
|
+ android:text="@={vm.number}"
|
|
|
+ android:textSize="@dimen/sp_13" />
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ </com.qmuiteam.qmui.widget.roundwidget.QMUIRoundLinearLayout >
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:layout_height="0dp"></View>
|
|
|
+
|
|
|
+ <com.qmuiteam.qmui.widget.roundwidget.QMUIRoundButton
|
|
|
+ android:id="@+id/btn_submmit"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/dp_40"
|
|
|
+ android:layout_marginStart="@dimen/dp_30"
|
|
|
+ android:layout_marginEnd="@dimen/dp_30"
|
|
|
+ android:layout_marginBottom="@dimen/dp_30"
|
|
|
+ android:onClick="@{v->vm.toSubmit()}"
|
|
|
+ android:text="@string/save"
|
|
|
+ />
|
|
|
+
|
|
|
+ </LinearLayout >
|
|
|
+
|
|
|
+</layout >
|