提交 f9248994 authored 作者: lgd's avatar lgd

1.修改物流开票显示问题

上级 5ac06051
package com.wd.workoffice.ui.activity.bat.work; package com.wd.workoffice.ui.activity.bat.work;
import android.os.Bundle;
import android.text.Editable;
import android.text.TextUtils; import android.text.TextUtils;
import android.text.TextWatcher;
import android.widget.EditText; import android.widget.EditText;
import android.widget.TextView; import android.widget.TextView;
...@@ -13,13 +10,9 @@ import com.wd.workoffice.R; ...@@ -13,13 +10,9 @@ import com.wd.workoffice.R;
import com.wd.workoffice.app.BaseBean; import com.wd.workoffice.app.BaseBean;
import com.wd.workoffice.app.WorkToolBarActivity; import com.wd.workoffice.app.WorkToolBarActivity;
import com.wd.workoffice.bean.LogisticDetailBean; import com.wd.workoffice.bean.LogisticDetailBean;
import com.wd.workoffice.bean.TicketAddBean;
import com.wd.workoffice.bean.event.CheckLogisticEvent; import com.wd.workoffice.bean.event.CheckLogisticEvent;
import com.wd.workoffice.bean.event.CheckTicketEvent;
import com.wd.workoffice.retrofit.RtfUtils; import com.wd.workoffice.retrofit.RtfUtils;
import com.wd.workoffice.retrofit.WorkObserver; import com.wd.workoffice.retrofit.WorkObserver;
import com.wd.workoffice.ui.adapter.WorkAddLogisticProAdapter;
import com.wd.workoffice.ui.adapter.WorkAddTicketOrderAdapter;
import com.wd.workoffice.ui.adapter.WorkLogisticDetailAdapter; import com.wd.workoffice.ui.adapter.WorkLogisticDetailAdapter;
import com.wd.workoffice.util.MathUtils; import com.wd.workoffice.util.MathUtils;
import com.wd.workoffice.util.WorkUtils; import com.wd.workoffice.util.WorkUtils;
...@@ -37,7 +30,6 @@ import butterknife.BindView; ...@@ -37,7 +30,6 @@ import butterknife.BindView;
import butterknife.ButterKnife; import butterknife.ButterKnife;
import butterknife.OnClick; import butterknife.OnClick;
import flexible.xd.android_base.network.rtfhttp.Transformer; import flexible.xd.android_base.network.rtfhttp.Transformer;
import io.reactivex.Observable;
import io.reactivex.disposables.Disposable; import io.reactivex.disposables.Disposable;
/** /**
...@@ -154,12 +146,12 @@ public class WorkFinancialLogisticsSubmitActivity extends WorkToolBarActivity { ...@@ -154,12 +146,12 @@ public class WorkFinancialLogisticsSubmitActivity extends WorkToolBarActivity {
@OnClick(R.id.tv_bottom) @OnClick(R.id.tv_bottom)
public void onViewClicked() { public void onViewClicked() {
if (TextUtils.isEmpty(etCompany.getText().toString())) { if (TextUtils.isEmpty(etPosition.getText().toString())) {
toast("请输入税费"); toast("请输入配送站点");
return; return;
} }
if (TextUtils.isEmpty(etPosition.getText().toString())) { if (TextUtils.isEmpty(etCompany.getText().toString())) {
toast("请输入税费"); toast("请输入运费发票单位");
return; return;
} }
submit(); submit();
......
...@@ -12,9 +12,9 @@ ...@@ -12,9 +12,9 @@
android:background="#5C768A" android:background="#5C768A"
android:gravity="center" android:gravity="center"
android:orientation="horizontal" android:orientation="horizontal"
android:text="发货" android:text="开票"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="16sp"></TextView> android:textSize="16sp"/>
<androidx.core.widget.NestedScrollView <androidx.core.widget.NestedScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
...@@ -119,7 +119,6 @@ ...@@ -119,7 +119,6 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentRight="true" android:layout_alignParentRight="true"
android:text="销售二公司"
android:textColor="@color/flexible_text_gray" android:textColor="@color/flexible_text_gray"
android:textSize="15sp" /> android:textSize="15sp" />
</RelativeLayout> </RelativeLayout>
...@@ -150,7 +149,6 @@ ...@@ -150,7 +149,6 @@
android:background="@null" android:background="@null"
android:gravity="right" android:gravity="right"
android:hint="输入配送站点" android:hint="输入配送站点"
android:inputType="numberDecimal"
android:textColor="@color/flexible_text_gray" android:textColor="@color/flexible_text_gray"
android:textSize="15sp" /> android:textSize="15sp" />
</LinearLayout> </LinearLayout>
...@@ -180,7 +178,6 @@ ...@@ -180,7 +178,6 @@
android:background="@null" android:background="@null"
android:gravity="right" android:gravity="right"
android:hint="输入运费发票单位" android:hint="输入运费发票单位"
android:inputType="numberDecimal"
android:textColor="@color/flexible_text_gray" android:textColor="@color/flexible_text_gray"
android:textSize="15sp" /> android:textSize="15sp" />
</LinearLayout> </LinearLayout>
...@@ -210,7 +207,6 @@ ...@@ -210,7 +207,6 @@
android:background="@null" android:background="@null"
android:gravity="right" android:gravity="right"
android:hint="输入运费发票票号" android:hint="输入运费发票票号"
android:inputType="numberDecimal"
android:textColor="@color/flexible_text_gray" android:textColor="@color/flexible_text_gray"
android:textSize="15sp" /> android:textSize="15sp" />
</LinearLayout> </LinearLayout>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论