Skip to content
项目
Groups
代码片段
帮助
正在加载...
Sign in / Register
Toggle navigation
W
workoffice
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图表
统计图
Create a new issue
作业
提交
议题看板
Open sidebar
冷广德
workoffice
Commits
f9248994
提交
f9248994
authored
7月 16, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.修改物流开票显示问题
上级
5ac06051
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
6 行增加
和
18 行删除
+6
-18
WorkFinancialLogisticsSubmitActivity.java
...tivity/bat/work/WorkFinancialLogisticsSubmitActivity.java
+4
-12
activity_logistics_submit.xml
app/src/main/res/layout/activity_logistics_submit.xml
+2
-6
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/activity/bat/work/WorkFinancialLogisticsSubmitActivity.java
浏览文件 @
f9248994
package
com
.
wd
.
workoffice
.
ui
.
activity
.
bat
.
work
;
import
android.os.Bundle
;
import
android.text.Editable
;
import
android.text.TextUtils
;
import
android.text.TextWatcher
;
import
android.widget.EditText
;
import
android.widget.TextView
;
...
...
@@ -13,13 +10,9 @@ import com.wd.workoffice.R;
import
com.wd.workoffice.app.BaseBean
;
import
com.wd.workoffice.app.WorkToolBarActivity
;
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.CheckTicketEvent
;
import
com.wd.workoffice.retrofit.RtfUtils
;
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.util.MathUtils
;
import
com.wd.workoffice.util.WorkUtils
;
...
...
@@ -37,7 +30,6 @@ import butterknife.BindView;
import
butterknife.ButterKnife
;
import
butterknife.OnClick
;
import
flexible.xd.android_base.network.rtfhttp.Transformer
;
import
io.reactivex.Observable
;
import
io.reactivex.disposables.Disposable
;
/**
...
...
@@ -154,12 +146,12 @@ public class WorkFinancialLogisticsSubmitActivity extends WorkToolBarActivity {
@OnClick
(
R
.
id
.
tv_bottom
)
public
void
onViewClicked
()
{
if
(
TextUtils
.
isEmpty
(
et
Company
.
getText
().
toString
()))
{
toast
(
"请输入
税费
"
);
if
(
TextUtils
.
isEmpty
(
et
Position
.
getText
().
toString
()))
{
toast
(
"请输入
配送站点
"
);
return
;
}
if
(
TextUtils
.
isEmpty
(
et
Position
.
getText
().
toString
()))
{
toast
(
"请输入
税费
"
);
if
(
TextUtils
.
isEmpty
(
et
Company
.
getText
().
toString
()))
{
toast
(
"请输入
运费发票单位
"
);
return
;
}
submit
();
...
...
app/src/main/res/layout/activity_logistics_submit.xml
浏览文件 @
f9248994
...
...
@@ -12,9 +12,9 @@
android:background=
"#5C768A"
android:gravity=
"center"
android:orientation=
"horizontal"
android:text=
"
发货
"
android:text=
"
开票
"
android:textColor=
"@color/white"
android:textSize=
"16sp"
></TextView
>
android:textSize=
"16sp"
/
>
<androidx.core.widget.NestedScrollView
android:layout_width=
"match_parent"
...
...
@@ -119,7 +119,6 @@
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:text=
"销售二公司"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"15sp"
/>
</RelativeLayout>
...
...
@@ -150,7 +149,6 @@
android:background=
"@null"
android:gravity=
"right"
android:hint=
"输入配送站点"
android:inputType=
"numberDecimal"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"15sp"
/>
</LinearLayout>
...
...
@@ -180,7 +178,6 @@
android:background=
"@null"
android:gravity=
"right"
android:hint=
"输入运费发票单位"
android:inputType=
"numberDecimal"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"15sp"
/>
</LinearLayout>
...
...
@@ -210,7 +207,6 @@
android:background=
"@null"
android:gravity=
"right"
android:hint=
"输入运费发票票号"
android:inputType=
"numberDecimal"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"15sp"
/>
</LinearLayout>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论