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
49465ba8
提交
49465ba8
authored
5月 11, 2020
作者:
lgd
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
1.添加连铸机名称,关联查询字段修正
2.//TODO ,质检接口数据无对应问题,内部交易订单审核,审核规则,领用申请列表/退件列表/参数,坩埚下单,mes其他页面,mes质量反馈,编辑任务担当无法修改.支数参数
上级
6a31e4c0
显示空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
222 行增加
和
49 行删除
+222
-49
MesSearchConditionActivity.java
...ce/ui/activity/mes/search/MesSearchConditionActivity.java
+36
-6
MesChooseFactoryActivity.java
...office/ui/activity/mes/user/MesChooseFactoryActivity.java
+1
-1
MesChooseFactoryAddActivity.java
...ice/ui/activity/mes/user/MesChooseFactoryAddActivity.java
+1
-0
MesChooseMachineActivity.java
...office/ui/activity/mes/user/MesChooseMachineActivity.java
+1
-1
MesChooseMachineAddActivity.java
...ice/ui/activity/mes/user/MesChooseMachineAddActivity.java
+24
-12
MesChooseMachineDetailActivity.java
.../ui/activity/mes/user/MesChooseMachineDetailActivity.java
+9
-4
MesUserDataDetailActivity.java
...ffice/ui/activity/mes/user/MesUserDataDetailActivity.java
+4
-1
MesUserDataDetailModifyActivity.java
...ui/activity/mes/user/MesUserDataDetailModifyActivity.java
+9
-2
UserDataChooseMachineAdapter.java
...d/workoffice/ui/adapter/UserDataChooseMachineAdapter.java
+1
-1
activity_mes_search_cnd.xml
app/src/main/res/layout/activity_mes_search_cnd.xml
+19
-12
activity_mes_user_data_detail.xml
app/src/main/res/layout/activity_mes_user_data_detail.xml
+27
-0
activity_mes_user_data_detail_modify.xml
.../main/res/layout/activity_mes_user_data_detail_modify.xml
+27
-0
activity_mes_user_data_machine_add.xml
...rc/main/res/layout/activity_mes_user_data_machine_add.xml
+33
-7
activity_mes_user_data_machine_detail.xml
...main/res/layout/activity_mes_user_data_machine_detail.xml
+28
-1
menu_add.xml
app/src/main/res/menu/menu_add.xml
+2
-1
没有找到文件。
app/src/main/java/com/wd/workoffice/ui/activity/mes/search/MesSearchConditionActivity.java
浏览文件 @
49465ba8
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
search
;
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
search
;
import
android.content.DialogInterface
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.os.Bundle
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
android.view.Menu
;
import
android.view.Menu
;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
import
android.widget.EditText
;
import
android.widget.EditText
;
import
android.widget.RelativeLayout
;
import
android.widget.TextView
;
import
com.alibaba.fastjson.JSON
;
import
com.alibaba.fastjson.JSON
;
import
com.qmuiteam.qmui.widget.dialog.QMUIDialog
;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.R
;
import
com.wd.workoffice.app.WorkToolBarActivity
;
import
com.wd.workoffice.app.WorkToolBarActivity
;
import
com.wd.workoffice.util.DialogUtils
;
import
com.wd.workoffice.util.WorkUtils
;
import
com.wd.workoffice.util.WorkUtils
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -17,6 +22,7 @@ import java.util.Map;
...
@@ -17,6 +22,7 @@ import java.util.Map;
import
androidx.core.widget.NestedScrollView
;
import
androidx.core.widget.NestedScrollView
;
import
butterknife.BindView
;
import
butterknife.BindView
;
import
butterknife.ButterKnife
;
import
butterknife.ButterKnife
;
import
butterknife.OnClick
;
/**
/**
* author : flexible
* author : flexible
...
@@ -25,7 +31,9 @@ import butterknife.ButterKnife;
...
@@ -25,7 +31,9 @@ import butterknife.ButterKnife;
**/
**/
public
class
MesSearchConditionActivity
extends
WorkToolBarActivity
{
public
class
MesSearchConditionActivity
extends
WorkToolBarActivity
{
@BindView
(
R
.
id
.
et_type
)
@BindView
(
R
.
id
.
et_type
)
EditText
etType
;
TextView
etType
;
@BindView
(
R
.
id
.
rl_status
)
RelativeLayout
rlStatus
;
@BindView
(
R
.
id
.
et_name
)
@BindView
(
R
.
id
.
et_name
)
EditText
etName
;
EditText
etName
;
@BindView
(
R
.
id
.
et_img_code
)
@BindView
(
R
.
id
.
et_img_code
)
...
@@ -46,12 +54,26 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
...
@@ -46,12 +54,26 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
EditText
etSection
;
EditText
etSection
;
@BindView
(
R
.
id
.
et_steel
)
@BindView
(
R
.
id
.
et_steel
)
EditText
etSteel
;
EditText
etSteel
;
@BindView
(
R
.
id
.
srl_refresh
)
NestedScrollView
srlRefresh
;
private
Map
<
String
,
Object
>
param
;
private
Map
<
String
,
Object
>
param
;
private
QMUIDialog
.
MenuDialogBuilder
statusDialog
;
private
String
[]
statusList
=
new
String
[]{
"成品"
,
"辅件"
,
"模具"
,
"泥料"
};
private
Integer
[]
statusValue
=
new
Integer
[]{
0
,
1
,
2
,
3
};
@Override
@Override
protected
void
initView
()
{
protected
void
initView
()
{
ButterKnife
.
bind
(
this
);
ButterKnife
.
bind
(
this
);
param
=
WorkUtils
.
simpleParam
();
param
=
WorkUtils
.
simpleParam
();
statusDialog
=
DialogUtils
.
listDialog
(
this
);
statusDialog
.
addItems
(
statusList
,
new
DialogInterface
.
OnClickListener
()
{
@Override
public
void
onClick
(
DialogInterface
dialog
,
int
which
)
{
etType
.
setText
(
statusList
[
which
]);
dialog
.
dismiss
();
param
.
put
(
"productType"
,
statusValue
[
which
]);
}
});
}
}
...
@@ -83,10 +105,10 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
...
@@ -83,10 +105,10 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
param
.
put
(
"customerUserName"
,
etClient
.
getText
().
toString
());
param
.
put
(
"customerUserName"
,
etClient
.
getText
().
toString
());
}
}
if
(!
TextUtils
.
isEmpty
(
etDrawing
.
getText
().
toString
()))
{
if
(!
TextUtils
.
isEmpty
(
etDrawing
.
getText
().
toString
()))
{
param
.
put
(
"drawingNumberPro
d
"
,
etDrawing
.
getText
().
toString
());
param
.
put
(
"drawingNumberPro
c
"
,
etDrawing
.
getText
().
toString
());
}
}
if
(!
TextUtils
.
isEmpty
(
etImgCode
.
getText
().
toString
()))
{
if
(!
TextUtils
.
isEmpty
(
etImgCode
.
getText
().
toString
()))
{
param
.
put
(
"drawingNumberPro
c
"
,
etImgCode
.
getText
().
toString
());
param
.
put
(
"drawingNumberPro
d
"
,
etImgCode
.
getText
().
toString
());
}
}
if
(!
TextUtils
.
isEmpty
(
etName
.
getText
().
toString
()))
{
if
(!
TextUtils
.
isEmpty
(
etName
.
getText
().
toString
()))
{
param
.
put
(
"productName"
,
etName
.
getText
().
toString
());
param
.
put
(
"productName"
,
etName
.
getText
().
toString
());
...
@@ -103,9 +125,6 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
...
@@ -103,9 +125,6 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
if
(!
TextUtils
.
isEmpty
(
etSteel
.
getText
().
toString
()))
{
if
(!
TextUtils
.
isEmpty
(
etSteel
.
getText
().
toString
()))
{
param
.
put
(
"steelGrade"
,
etSteel
.
getText
().
toString
());
param
.
put
(
"steelGrade"
,
etSteel
.
getText
().
toString
());
}
}
if
(!
TextUtils
.
isEmpty
(
etType
.
getText
().
toString
()))
{
param
.
put
(
"productType"
,
etType
.
getText
().
toString
());
}
if
(!
TextUtils
.
isEmpty
(
etWeight
.
getText
().
toString
()))
{
if
(!
TextUtils
.
isEmpty
(
etWeight
.
getText
().
toString
()))
{
param
.
put
(
"weight"
,
etWeight
.
getText
().
toString
());
param
.
put
(
"weight"
,
etWeight
.
getText
().
toString
());
}
}
...
@@ -123,4 +142,15 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
...
@@ -123,4 +142,15 @@ public class MesSearchConditionActivity extends WorkToolBarActivity {
}
}
@OnClick
(
R
.
id
.
rl_status
)
public
void
onViewClicked
()
{
statusDialog
.
show
();
}
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
// TODO: add setContentView(...) invocation
ButterKnife
.
bind
(
this
);
}
}
}
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesChooseFactoryActivity.java
浏览文件 @
49465ba8
...
@@ -72,7 +72,7 @@ public class MesChooseFactoryActivity extends WorkToolBarActivity {
...
@@ -72,7 +72,7 @@ public class MesChooseFactoryActivity extends WorkToolBarActivity {
clientAdapter
.
bindToRecyclerView
(
rvClient
);
clientAdapter
.
bindToRecyclerView
(
rvClient
);
clientAdapter
.
setEmptyView
(
R
.
layout
.
view_empty_content
,
rvClient
);
clientAdapter
.
setEmptyView
(
R
.
layout
.
view_empty_content
,
rvClient
);
paramMap
=
WorkUtils
.
simpleParam
();
paramMap
=
WorkUtils
.
simpleParam
();
param
=
WorkUtils
.
pageKey
();
param
=
WorkUtils
.
simpleParam
();
param
.
put
(
"paramMap"
,
paramMap
);
param
.
put
(
"paramMap"
,
paramMap
);
getData
();
getData
();
}
}
...
...
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesChooseFactoryAddActivity.java
浏览文件 @
49465ba8
...
@@ -170,6 +170,7 @@ public class MesChooseFactoryAddActivity extends WorkToolBarActivity {
...
@@ -170,6 +170,7 @@ public class MesChooseFactoryAddActivity extends WorkToolBarActivity {
if
(!
checkParam
())
{
if
(!
checkParam
())
{
return
;
return
;
}
}
data
.
setSteelmakingWorksCode
(
null
);
Map
<
String
,
Object
>
param
=
getParam
();
Map
<
String
,
Object
>
param
=
getParam
();
startActivity
(
MesChooseMachineAddActivity
.
class
,
"from"
,
"1"
startActivity
(
MesChooseMachineAddActivity
.
class
,
"from"
,
"1"
,
"data"
,
JSON
.
toJSONString
(
data
),
"factory"
,
JSON
.
toJSONString
(
param
));
,
"data"
,
JSON
.
toJSONString
(
data
),
"factory"
,
JSON
.
toJSONString
(
param
));
...
...
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesChooseMachineActivity.java
浏览文件 @
49465ba8
...
@@ -146,7 +146,7 @@ public class MesChooseMachineActivity extends WorkToolBarActivity {
...
@@ -146,7 +146,7 @@ public class MesChooseMachineActivity extends WorkToolBarActivity {
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
switch
(
item
.
getItemId
())
{
switch
(
item
.
getItemId
())
{
case
R
.
id
.
add
:
case
R
.
id
.
add
:
data
.
setSteelmakingWorksCode
(
null
);
//
data.setSteelmakingWorksCode(null);
startActivity
(
MesChooseMachineAddActivity
.
class
,
"data"
,
JSON
.
toJSONString
(
data
));
startActivity
(
MesChooseMachineAddActivity
.
class
,
"data"
,
JSON
.
toJSONString
(
data
));
break
;
break
;
}
}
...
...
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesChooseMachineAddActivity.java
浏览文件 @
49465ba8
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
user
;
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
user
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.text.TextUtils
;
import
android.text.TextUtils
;
import
android.view.Menu
;
import
android.view.Menu
;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
...
@@ -42,7 +43,6 @@ import butterknife.BindView;
...
@@ -42,7 +43,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
flexible.xd.android_base.utils.TimeUtils
;
import
io.reactivex.disposables.Disposable
;
import
io.reactivex.disposables.Disposable
;
import
okhttp3.MediaType
;
import
okhttp3.MediaType
;
import
okhttp3.RequestBody
;
import
okhttp3.RequestBody
;
...
@@ -79,7 +79,7 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -79,7 +79,7 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
@BindView
(
R
.
id
.
tv_middle7
)
@BindView
(
R
.
id
.
tv_middle7
)
EditText
tvMiddle7
;
EditText
tvMiddle7
;
@BindView
(
R
.
id
.
tv_middle8
)
@BindView
(
R
.
id
.
tv_middle8
)
TextView
tvMiddle8
;
EditText
tvMiddle8
;
@BindView
(
R
.
id
.
ll_middle
)
@BindView
(
R
.
id
.
ll_middle
)
LinearLayout
llMiddle
;
LinearLayout
llMiddle
;
@BindView
(
R
.
id
.
rl_cover
)
@BindView
(
R
.
id
.
rl_cover
)
...
@@ -134,6 +134,10 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -134,6 +134,10 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
TextView
tvAdd6
;
TextView
tvAdd6
;
@BindView
(
R
.
id
.
rl_add
)
@BindView
(
R
.
id
.
rl_add
)
RelativeLayout
rlAdd
;
RelativeLayout
rlAdd
;
@BindView
(
R
.
id
.
tv_machine_name
)
EditText
tvMachineName
;
@BindView
(
R
.
id
.
tv_add2
)
TextView
tvAdd2
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
...
@@ -247,6 +251,7 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -247,6 +251,7 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
castInfo
=
new
MachineDetailBean
.
CastInfoBean
();
castInfo
=
new
MachineDetailBean
.
CastInfoBean
();
machineDetailBean
.
setCastInfo
(
castInfo
);
machineDetailBean
.
setCastInfo
(
castInfo
);
}
}
castInfo
.
setContinuousCasterName
(
tvMachineName
.
getText
().
toString
());
castInfo
.
setContinuousCasterType
(
tvMachineType
.
getText
().
toString
());
castInfo
.
setContinuousCasterType
(
tvMachineType
.
getText
().
toString
());
castInfo
.
setFractureSurface
(
tvSection
.
getText
().
toString
());
castInfo
.
setFractureSurface
(
tvSection
.
getText
().
toString
());
castInfo
.
setSteelGrade
(
tvSteelType
.
getText
().
toString
());
castInfo
.
setSteelGrade
(
tvSteelType
.
getText
().
toString
());
...
@@ -263,12 +268,15 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -263,12 +268,15 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
}
}
castLadle
.
setCapacity
(
tvMiddle1
.
getText
().
toString
());
castLadle
.
setCapacity
(
tvMiddle1
.
getText
().
toString
());
castLadle
.
setLifeSpan
(
tvMiddle2
.
getText
().
toString
());
castLadle
.
setLifeSpan
(
tvMiddle2
.
getText
().
toString
());
castLadle
.
setLadleCode
(
tvMiddle3
.
getText
().
toString
());
//
castLadle.setLadleCode(tvMiddle3.getText().toString());
castLadle
.
setLiquidLevel
(
tvMiddle4
.
getText
().
toString
());
castLadle
.
setLiquidLevel
(
tvMiddle4
.
getText
().
toString
());
castLadle
.
setLiquidSteelTemperature
(
tvMiddle5
.
getText
().
toString
());
castLadle
.
setLiquidSteelTemperature
(
tvMiddle5
.
getText
().
toString
());
castLadle
.
setBakingMethod
(
tvMiddle6
.
getText
().
toString
());
castLadle
.
setBakingMethod
(
tvMiddle6
.
getText
().
toString
());
castLadle
.
setBakingTemperature
(
tvMiddle7
.
getText
().
toString
());
castLadle
.
setBakingTemperature
(
tvMiddle7
.
getText
().
toString
());
castLadle
.
setBakingDateTime
(
TimeUtils
.
string2Millis
(
tvMiddle8
.
getText
().
toString
())
/
1000
);
String
time
=
tvMiddle8
.
getText
().
toString
();
if
(!
TextUtils
.
isEmpty
(
time
))
{
castLadle
.
setBakingDateTime
(
Long
.
valueOf
(
tvMiddle8
.
getText
().
toString
()));
}
MachineDetailBean
.
CovAgentBean
covAgent
=
machineDetailBean
.
getCovAgent
();
MachineDetailBean
.
CovAgentBean
covAgent
=
machineDetailBean
.
getCovAgent
();
if
(
covAgent
==
null
)
{
if
(
covAgent
==
null
)
{
...
@@ -337,16 +345,16 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -337,16 +345,16 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
}
}
}
}
@OnClick
({
R
.
id
.
tv_add2
,
R
.
id
.
rl_cover4
,
R
.
id
.
rl_protection4
,
R
.
id
.
tv_add5
,
R
.
id
.
tv_add6
,
R
.
id
.
rl_middle
,
R
.
id
.
rl_cover
,
R
.
id
.
rl_protection
,
R
.
id
.
tv_add1
,
R
.
id
.
tv_add3
,
R
.
id
.
tv_add4
,
R
.
id
.
rl_add
})
@OnClick
({
R
.
id
.
tv_add2
,
R
.
id
.
rl_cover4
,
R
.
id
.
rl_protection4
,
R
.
id
.
tv_add5
,
R
.
id
.
tv_add6
,
R
.
id
.
rl_middle
,
R
.
id
.
rl_cover
,
R
.
id
.
rl_protection
,
R
.
id
.
tv_add1
,
R
.
id
.
tv_add3
,
R
.
id
.
tv_add4
,
R
.
id
.
rl_add
})
public
void
onViewClicked
(
View
view
)
{
public
void
onViewClicked
(
View
view
)
{
switch
(
view
.
getId
())
{
switch
(
view
.
getId
())
{
case
R
.
id
.
rl_cover4
:
case
R
.
id
.
rl_cover4
:
startActivityForResult
(
MesChooseClientActivity
.
class
,
startActivityForResult
(
MesChooseClientActivity
.
class
,
10001
,
"from"
,
"1"
);
10001
,
"from"
,
"1"
);
break
;
break
;
case
R
.
id
.
rl_protection4
:
case
R
.
id
.
rl_protection4
:
startActivityForResult
(
MesChooseClientActivity
.
class
,
startActivityForResult
(
MesChooseClientActivity
.
class
,
10002
,
"from"
,
"1"
);
10002
,
"from"
,
"1"
);
break
;
break
;
case
R
.
id
.
tv_add1
:
case
R
.
id
.
tv_add1
:
startActivity
(
MesThreeAddActivity
.
class
,
startActivity
(
MesThreeAddActivity
.
class
,
...
@@ -367,7 +375,7 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -367,7 +375,7 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
case
R
.
id
.
tv_add5
:
case
R
.
id
.
tv_add5
:
startActivity
(
MesStockAddActivity
.
class
,
startActivity
(
MesStockAddActivity
.
class
,
"from"
,
"1"
,
"continuousCasterCode"
,
data
.
getContinuousCasterCode
()
"from"
,
"1"
,
"continuousCasterCode"
,
data
.
getContinuousCasterCode
()
,
"id"
,
data
.
getCustomerUserCode
());
,
"id"
,
data
.
getCustomerUserCode
());
break
;
break
;
case
R
.
id
.
tv_add6
:
case
R
.
id
.
tv_add6
:
startActivity
(
MesMiddleAddActivity
.
class
,
startActivity
(
MesMiddleAddActivity
.
class
,
...
@@ -528,6 +536,10 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -528,6 +536,10 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
public
boolean
onOptionsItemSelected
(
MenuItem
item
)
{
switch
(
item
.
getItemId
())
{
switch
(
item
.
getItemId
())
{
case
R
.
id
.
finish
:
case
R
.
id
.
finish
:
if
(
TextUtils
.
isEmpty
(
tvMachineName
.
getText
().
toString
())){
toast
(
"请输入连铸机名称"
);
return
super
.
onOptionsItemSelected
(
item
);
}
changeSimple
();
changeSimple
();
if
(
TextUtils
.
equals
(
"1"
,
getIntent
().
getStringExtra
(
"from"
)))
{
// 1 多步骤新增
if
(
TextUtils
.
equals
(
"1"
,
getIntent
().
getStringExtra
(
"from"
)))
{
// 1 多步骤新增
submitAll
();
submitAll
();
...
@@ -620,8 +632,8 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -620,8 +632,8 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
if
(
resultCode
==
10001
)
{
if
(
resultCode
==
10001
)
{
MesClientBean
.
ListBean
modifyClient
=
JSON
.
parseObject
(
data
.
getStringExtra
(
"data"
),
MesClientBean
.
ListBean
.
class
);
MesClientBean
.
ListBean
modifyClient
=
JSON
.
parseObject
(
data
.
getStringExtra
(
"data"
),
MesClientBean
.
ListBean
.
class
);
MachineDetailBean
.
CovAgentBean
covAgent
=
machineDetailBean
.
getCovAgent
();
MachineDetailBean
.
CovAgentBean
covAgent
=
machineDetailBean
.
getCovAgent
();
if
(
covAgent
==
null
)
{
if
(
covAgent
==
null
)
{
covAgent
=
new
MachineDetailBean
.
CovAgentBean
();
covAgent
=
new
MachineDetailBean
.
CovAgentBean
();
machineDetailBean
.
setCovAgent
(
covAgent
);
machineDetailBean
.
setCovAgent
(
covAgent
);
}
}
tvCover4
.
setText
(
modifyClient
.
getCustomerName
());
tvCover4
.
setText
(
modifyClient
.
getCustomerName
());
...
@@ -633,8 +645,8 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
...
@@ -633,8 +645,8 @@ public class MesChooseMachineAddActivity extends WorkToolBarActivity {
if
(
resultCode
==
10001
)
{
if
(
resultCode
==
10001
)
{
MesClientBean
.
ListBean
modifyClient
=
JSON
.
parseObject
(
data
.
getStringExtra
(
"data"
),
MesClientBean
.
ListBean
.
class
);
MesClientBean
.
ListBean
modifyClient
=
JSON
.
parseObject
(
data
.
getStringExtra
(
"data"
),
MesClientBean
.
ListBean
.
class
);
MachineDetailBean
.
MouldFluBean
mouldFlu
=
machineDetailBean
.
getMouldFlu
();
MachineDetailBean
.
MouldFluBean
mouldFlu
=
machineDetailBean
.
getMouldFlu
();
if
(
mouldFlu
==
null
)
{
if
(
mouldFlu
==
null
)
{
mouldFlu
=
new
MachineDetailBean
.
MouldFluBean
();
mouldFlu
=
new
MachineDetailBean
.
MouldFluBean
();
machineDetailBean
.
setMouldFlu
(
mouldFlu
);
machineDetailBean
.
setMouldFlu
(
mouldFlu
);
}
}
tvProtection4
.
setText
(
modifyClient
.
getCustomerName
());
tvProtection4
.
setText
(
modifyClient
.
getCustomerName
());
...
...
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesChooseMachineDetailActivity.java
浏览文件 @
49465ba8
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
user
;
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
user
;
import
android.os.Bundle
;
import
android.view.Menu
;
import
android.view.Menu
;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
import
android.view.View
;
import
android.view.View
;
...
@@ -35,7 +36,6 @@ import butterknife.BindView;
...
@@ -35,7 +36,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
flexible.xd.android_base.utils.TimeUtils
;
import
io.reactivex.disposables.Disposable
;
import
io.reactivex.disposables.Disposable
;
/**
/**
...
@@ -121,6 +121,10 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
...
@@ -121,6 +121,10 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
RecyclerView
rvData6
;
RecyclerView
rvData6
;
@BindView
(
R
.
id
.
tv_add6
)
@BindView
(
R
.
id
.
tv_add6
)
TextView
tvAdd6
;
TextView
tvAdd6
;
@BindView
(
R
.
id
.
tv_machine_name
)
TextView
tvMachineName
;
@BindView
(
R
.
id
.
tv_add2
)
TextView
tvAdd2
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
...
@@ -200,17 +204,18 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
...
@@ -200,17 +204,18 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
tvSection
.
setText
(
castInfo
.
getFractureSurface
());
tvSection
.
setText
(
castInfo
.
getFractureSurface
());
tvSteelType
.
setText
(
castInfo
.
getSteelGrade
());
tvSteelType
.
setText
(
castInfo
.
getSteelGrade
());
tvSpeed
.
setText
(
castInfo
.
getCastingSpeed
());
tvSpeed
.
setText
(
castInfo
.
getCastingSpeed
());
tvMachineName
.
setText
(
castInfo
.
getContinuousCasterName
());
}
}
MachineDetailBean
.
CastLadleBean
castLadle
=
machineDetailBean
.
getCastLadle
();
MachineDetailBean
.
CastLadleBean
castLadle
=
machineDetailBean
.
getCastLadle
();
if
(
castLadle
!=
null
)
{
if
(
castLadle
!=
null
)
{
tvMiddle1
.
setText
(
castLadle
.
getCapacity
());
tvMiddle1
.
setText
(
castLadle
.
getCapacity
());
tvMiddle2
.
setText
(
castLadle
.
getLifeSpan
());
tvMiddle2
.
setText
(
castLadle
.
getLifeSpan
());
tvMiddle3
.
setText
(
castLadle
.
getLadleCode
());
//
tvMiddle3.setText(castLadle.getLadleCode());
tvMiddle4
.
setText
(
castLadle
.
getLiquidLevel
());
tvMiddle4
.
setText
(
castLadle
.
getLiquidLevel
());
tvMiddle5
.
setText
(
castLadle
.
getLiquidSteelTemperature
());
tvMiddle5
.
setText
(
castLadle
.
getLiquidSteelTemperature
());
tvMiddle6
.
setText
(
castLadle
.
getBakingMethod
());
tvMiddle6
.
setText
(
castLadle
.
getBakingMethod
());
tvMiddle7
.
setText
(
castLadle
.
getBakingTemperature
());
tvMiddle7
.
setText
(
castLadle
.
getBakingTemperature
());
tvMiddle8
.
setText
(
TimeUtils
.
millis2String
(
castLadle
.
getBakingDateTime
()/
1000
));
tvMiddle8
.
setText
(
String
.
valueOf
(
castLadle
.
getBakingDateTime
()
));
}
}
MachineDetailBean
.
CovAgentBean
covAgent
=
machineDetailBean
.
getCovAgent
();
MachineDetailBean
.
CovAgentBean
covAgent
=
machineDetailBean
.
getCovAgent
();
if
(
covAgent
!=
null
)
{
if
(
covAgent
!=
null
)
{
...
@@ -325,7 +330,7 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
...
@@ -325,7 +330,7 @@ public class MesChooseMachineDetailActivity extends WorkToolBarActivity {
}
}
@OnClick
({
R
.
id
.
tv_add2
,
R
.
id
.
tv_add5
,
R
.
id
.
tv_add6
,
R
.
id
.
rl_middle
,
R
.
id
.
rl_cover
,
R
.
id
.
rl_protection
,
R
.
id
.
tv_add1
,
R
.
id
.
tv_add3
,
R
.
id
.
tv_add4
,
R
.
id
.
rl_add
})
@OnClick
({
R
.
id
.
tv_add2
,
R
.
id
.
tv_add5
,
R
.
id
.
tv_add6
,
R
.
id
.
rl_middle
,
R
.
id
.
rl_cover
,
R
.
id
.
rl_protection
,
R
.
id
.
tv_add1
,
R
.
id
.
tv_add3
,
R
.
id
.
tv_add4
,
R
.
id
.
rl_add
})
public
void
onViewClicked
(
View
view
)
{
public
void
onViewClicked
(
View
view
)
{
switch
(
view
.
getId
())
{
switch
(
view
.
getId
())
{
case
R
.
id
.
tv_add1
:
case
R
.
id
.
tv_add1
:
...
...
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesUserDataDetailActivity.java
浏览文件 @
49465ba8
...
@@ -174,6 +174,8 @@ public class MesUserDataDetailActivity extends WorkToolBarActivity {
...
@@ -174,6 +174,8 @@ public class MesUserDataDetailActivity extends WorkToolBarActivity {
TextView
tvAdd6
;
TextView
tvAdd6
;
@BindView
(
R
.
id
.
tv_add2
)
@BindView
(
R
.
id
.
tv_add2
)
TextView
tvAdd2
;
TextView
tvAdd2
;
@BindView
(
R
.
id
.
tv_machine_name
)
TextView
tvMachineName
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
...
@@ -371,6 +373,7 @@ public class MesUserDataDetailActivity extends WorkToolBarActivity {
...
@@ -371,6 +373,7 @@ public class MesUserDataDetailActivity extends WorkToolBarActivity {
machineDetailBean
=
JSON
.
parseObject
(
data
.
getData
().
toString
(),
MachineDetailBean
.
class
);
machineDetailBean
=
JSON
.
parseObject
(
data
.
getData
().
toString
(),
MachineDetailBean
.
class
);
MachineDetailBean
.
CastInfoBean
castInfo
=
machineDetailBean
.
getCastInfo
();
MachineDetailBean
.
CastInfoBean
castInfo
=
machineDetailBean
.
getCastInfo
();
if
(
castInfo
!=
null
)
{
if
(
castInfo
!=
null
)
{
tvMachineName
.
setText
(
castInfo
.
getContinuousCasterName
());
tvMachineType
.
setText
(
castInfo
.
getContinuousCasterType
());
tvMachineType
.
setText
(
castInfo
.
getContinuousCasterType
());
tvSection
.
setText
(
castInfo
.
getFractureSurface
());
tvSection
.
setText
(
castInfo
.
getFractureSurface
());
tvSteelType
.
setText
(
castInfo
.
getSteelGrade
());
tvSteelType
.
setText
(
castInfo
.
getSteelGrade
());
...
@@ -380,7 +383,7 @@ public class MesUserDataDetailActivity extends WorkToolBarActivity {
...
@@ -380,7 +383,7 @@ public class MesUserDataDetailActivity extends WorkToolBarActivity {
if
(
castLadle
!=
null
)
{
if
(
castLadle
!=
null
)
{
tvMiddle1
.
setText
(
castLadle
.
getCapacity
());
tvMiddle1
.
setText
(
castLadle
.
getCapacity
());
tvMiddle2
.
setText
(
castLadle
.
getLifeSpan
());
tvMiddle2
.
setText
(
castLadle
.
getLifeSpan
());
tvMiddle3
.
setText
(
castLadle
.
getLadleCode
());
//
tvMiddle3.setText(castLadle.getLadleCode());
tvMiddle4
.
setText
(
castLadle
.
getLiquidLevel
());
tvMiddle4
.
setText
(
castLadle
.
getLiquidLevel
());
tvMiddle5
.
setText
(
castLadle
.
getLiquidSteelTemperature
());
tvMiddle5
.
setText
(
castLadle
.
getLiquidSteelTemperature
());
tvMiddle6
.
setText
(
castLadle
.
getBakingMethod
());
tvMiddle6
.
setText
(
castLadle
.
getBakingMethod
());
...
...
app/src/main/java/com/wd/workoffice/ui/activity/mes/user/MesUserDataDetailModifyActivity.java
浏览文件 @
49465ba8
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
user
;
package
com
.
wd
.
workoffice
.
ui
.
activity
.
mes
.
user
;
import
android.content.Intent
;
import
android.content.Intent
;
import
android.os.Bundle
;
import
android.view.Menu
;
import
android.view.Menu
;
import
android.view.MenuItem
;
import
android.view.MenuItem
;
import
android.view.View
;
import
android.view.View
;
...
@@ -178,6 +179,10 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
...
@@ -178,6 +179,10 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
TextView
tvAdd6
;
TextView
tvAdd6
;
@BindView
(
R
.
id
.
rl_add
)
@BindView
(
R
.
id
.
rl_add
)
RelativeLayout
rlAdd
;
RelativeLayout
rlAdd
;
@BindView
(
R
.
id
.
tv_machine_name
)
EditText
tvMachineName
;
@BindView
(
R
.
id
.
tv_add2
)
TextView
tvAdd2
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data1Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data2Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
private
UserDataMachineAdapter
data3Adapter
;
...
@@ -363,6 +368,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
...
@@ -363,6 +368,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
MachineDetailBean
.
CastInfoBean
castInfo
=
machineDetailBean
.
getCastInfo
();
MachineDetailBean
.
CastInfoBean
castInfo
=
machineDetailBean
.
getCastInfo
();
if
(
castInfo
!=
null
)
{
if
(
castInfo
!=
null
)
{
tvMachineType
.
setText
(
castInfo
.
getContinuousCasterType
());
tvMachineType
.
setText
(
castInfo
.
getContinuousCasterType
());
tvMachineName
.
setText
(
castInfo
.
getContinuousCasterName
());
tvSection
.
setText
(
castInfo
.
getFractureSurface
());
tvSection
.
setText
(
castInfo
.
getFractureSurface
());
tvSteelType
.
setText
(
castInfo
.
getSteelGrade
());
tvSteelType
.
setText
(
castInfo
.
getSteelGrade
());
tvSpeed
.
setText
(
castInfo
.
getCastingSpeed
());
tvSpeed
.
setText
(
castInfo
.
getCastingSpeed
());
...
@@ -371,7 +377,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
...
@@ -371,7 +377,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
if
(
castLadle
!=
null
)
{
if
(
castLadle
!=
null
)
{
tvMiddle1
.
setText
(
castLadle
.
getCapacity
());
tvMiddle1
.
setText
(
castLadle
.
getCapacity
());
tvMiddle2
.
setText
(
castLadle
.
getLifeSpan
());
tvMiddle2
.
setText
(
castLadle
.
getLifeSpan
());
tvMiddle3
.
setText
(
castLadle
.
getLadleCode
());
//
tvMiddle3.setText(castLadle.getLadleCode());
tvMiddle4
.
setText
(
castLadle
.
getLiquidLevel
());
tvMiddle4
.
setText
(
castLadle
.
getLiquidLevel
());
tvMiddle5
.
setText
(
castLadle
.
getLiquidSteelTemperature
());
tvMiddle5
.
setText
(
castLadle
.
getLiquidSteelTemperature
());
tvMiddle6
.
setText
(
castLadle
.
getBakingMethod
());
tvMiddle6
.
setText
(
castLadle
.
getBakingMethod
());
...
@@ -659,6 +665,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
...
@@ -659,6 +665,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
castInfo
=
new
MachineDetailBean
.
CastInfoBean
();
castInfo
=
new
MachineDetailBean
.
CastInfoBean
();
machineDetailBean
.
setCastInfo
(
castInfo
);
machineDetailBean
.
setCastInfo
(
castInfo
);
}
}
castInfo
.
setContinuousCasterName
(
tvMachineName
.
getText
().
toString
());
castInfo
.
setContinuousCasterType
(
tvMachineType
.
getText
().
toString
());
castInfo
.
setContinuousCasterType
(
tvMachineType
.
getText
().
toString
());
castInfo
.
setFractureSurface
(
tvSection
.
getText
().
toString
());
castInfo
.
setFractureSurface
(
tvSection
.
getText
().
toString
());
castInfo
.
setSteelGrade
(
tvSteelType
.
getText
().
toString
());
castInfo
.
setSteelGrade
(
tvSteelType
.
getText
().
toString
());
...
@@ -671,7 +678,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
...
@@ -671,7 +678,7 @@ public class MesUserDataDetailModifyActivity extends WorkToolBarActivity {
}
}
castLadle
.
setCapacity
(
tvMiddle1
.
getText
().
toString
());
castLadle
.
setCapacity
(
tvMiddle1
.
getText
().
toString
());
castLadle
.
setLifeSpan
(
tvMiddle2
.
getText
().
toString
());
castLadle
.
setLifeSpan
(
tvMiddle2
.
getText
().
toString
());
castLadle
.
setLadleCode
(
tvMiddle3
.
getText
().
toString
());
//
castLadle.setLadleCode(tvMiddle3.getText().toString());
castLadle
.
setLiquidLevel
(
tvMiddle4
.
getText
().
toString
());
castLadle
.
setLiquidLevel
(
tvMiddle4
.
getText
().
toString
());
castLadle
.
setLiquidSteelTemperature
(
tvMiddle5
.
getText
().
toString
());
castLadle
.
setLiquidSteelTemperature
(
tvMiddle5
.
getText
().
toString
());
castLadle
.
setBakingMethod
(
tvMiddle6
.
getText
().
toString
());
castLadle
.
setBakingMethod
(
tvMiddle6
.
getText
().
toString
());
...
...
app/src/main/java/com/wd/workoffice/ui/adapter/UserDataChooseMachineAdapter.java
浏览文件 @
49465ba8
...
@@ -21,7 +21,7 @@ public class UserDataChooseMachineAdapter extends BaseQuickAdapter<MachineBean,
...
@@ -21,7 +21,7 @@ public class UserDataChooseMachineAdapter extends BaseQuickAdapter<MachineBean,
@Override
@Override
protected
void
convert
(
BaseViewHolder
helper
,
MachineBean
item
)
{
protected
void
convert
(
BaseViewHolder
helper
,
MachineBean
item
)
{
helper
.
setText
(
R
.
id
.
tv_name
,
item
.
getContinuousCaster
Typ
e
());
helper
.
setText
(
R
.
id
.
tv_name
,
item
.
getContinuousCaster
Nam
e
());
}
}
}
}
app/src/main/res/layout/activity_mes_search_cnd.xml
浏览文件 @
49465ba8
...
@@ -9,12 +9,10 @@
...
@@ -9,12 +9,10 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<RelativeLayout
android:id=
"@+id/rl_status"
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10mm"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
android:paddingHorizontal=
"20mm"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
android:paddingVertical=
"9mm"
>
...
@@ -26,23 +24,32 @@
...
@@ -26,23 +24,32 @@
android:text=
"产品类别"
android:text=
"产品类别"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:gravity=
"center_vertical"
>
<EditText
<TextView
android:id=
"@+id/et_type"
android:id=
"@+id/et_type"
android:layout_width=
"0dp
"
android:layout_width=
"wrap_content
"
android:layout_height=
"30mm
"
android:layout_height=
"wrap_content
"
android:layout_marginLeft=
"40mm
"
android:layout_alignParentLeft=
"true
"
android:layout_marginRight=
"3mm"
android:layout_marginRight=
"3mm"
android:layout_weight=
"1"
android:text=
"请选择"
android:background=
"@drawable/shape_input_white"
android:textColor=
"@color/flexible_text_gray"
android:hint=
"请输入"
android:paddingLeft=
"13mm"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
<ImageView
android:layout_width=
"15mm"
android:layout_height=
"20mm"
android:src=
"@mipmap/arrow_right_gray"
/>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<View
style=
"@style/dividerX"
/>
<LinearLayout
<LinearLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
...
app/src/main/res/layout/activity_mes_user_data_detail.xml
浏览文件 @
49465ba8
...
@@ -376,7 +376,33 @@
...
@@ -376,7 +376,33 @@
android:src=
"@mipmap/mes_modify"
/>
android:src=
"@mipmap/mes_modify"
/>
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:text=
"连铸机名称"
android:textSize=
"14sp"
/>
<TextView
android:id=
"@+id/tv_machine_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"3mm"
android:background=
"@null"
android:textSize=
"14sp"
/>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -570,6 +596,7 @@
...
@@ -570,6 +596,7 @@
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
<RelativeLayout
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
...
...
app/src/main/res/layout/activity_mes_user_data_detail_modify.xml
浏览文件 @
49465ba8
...
@@ -378,7 +378,33 @@
...
@@ -378,7 +378,33 @@
android:src=
"@mipmap/mes_modify"
/>
android:src=
"@mipmap/mes_modify"
/>
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:text=
"连铸机名称"
android:textSize=
"14sp"
/>
<EditText
android:id=
"@+id/tv_machine_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"3mm"
android:background=
"@null"
android:textSize=
"14sp"
/>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -572,6 +598,7 @@
...
@@ -572,6 +598,7 @@
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
<RelativeLayout
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
...
...
app/src/main/res/layout/activity_mes_user_data_machine_add.xml
浏览文件 @
49465ba8
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -16,6 +15,34 @@
...
@@ -16,6 +15,34 @@
android:paddingHorizontal=
"20mm"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
android:paddingVertical=
"9mm"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:text=
"连铸机名称"
android:textSize=
"14sp"
/>
<EditText
android:id=
"@+id/tv_machine_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"3mm"
android:background=
"@null"
android:hint=
"请输入"
android:textSize=
"14sp"
/>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -208,6 +235,7 @@
...
@@ -208,6 +235,7 @@
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
<RelativeLayout
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
...
@@ -358,7 +386,7 @@
...
@@ -358,7 +386,7 @@
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
<
TextView
<
EditText
android:id=
"@+id/tv_middle8"
android:id=
"@+id/tv_middle8"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -510,7 +538,7 @@
...
@@ -510,7 +538,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:layout_alignParentLeft=
"true"
android:layout_marginRight=
"3mm"
android:layout_marginRight=
"3mm"
android:
tex
t=
"请选择"
android:
hin
t=
"请选择"
android:textColor=
"@color/flexible_text_gray"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
...
@@ -635,14 +663,12 @@
...
@@ -635,14 +663,12 @@
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
<RelativeLayout
android:id=
"@+id/rl_protection4"
android:id=
"@+id/rl_protection4"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:
layout_marginTop=
"10
mm"
android:
paddingLeft=
"25
mm"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
android:paddingVertical=
"9mm"
>
<TextView
<TextView
...
@@ -664,7 +690,7 @@
...
@@ -664,7 +690,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:layout_alignParentLeft=
"true"
android:layout_marginRight=
"3mm"
android:layout_marginRight=
"3mm"
android:
tex
t=
"请选择"
android:
hin
t=
"请选择"
android:textColor=
"@color/flexible_text_gray"
android:textColor=
"@color/flexible_text_gray"
android:textSize=
"14sp"
/>
android:textSize=
"14sp"
/>
...
...
app/src/main/res/layout/activity_mes_user_data_machine_detail.xml
浏览文件 @
49465ba8
...
@@ -7,7 +7,6 @@
...
@@ -7,7 +7,6 @@
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
android:orientation=
"vertical"
>
<RelativeLayout
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -16,6 +15,33 @@
...
@@ -16,6 +15,33 @@
android:paddingHorizontal=
"20mm"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
android:paddingVertical=
"9mm"
>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentLeft=
"true"
android:text=
"连铸机名称"
android:textSize=
"14sp"
/>
<TextView
android:id=
"@+id/tv_machine_name"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_alignParentRight=
"true"
android:layout_marginRight=
"3mm"
android:background=
"@null"
android:textSize=
"14sp"
/>
</RelativeLayout>
<View
style=
"@style/dividerX"
/>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:paddingHorizontal=
"20mm"
android:paddingVertical=
"9mm"
>
<TextView
<TextView
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
...
@@ -202,6 +228,7 @@
...
@@ -202,6 +228,7 @@
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
<RelativeLayout
android:visibility=
"gone"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:background=
"@android:color/white"
android:background=
"@android:color/white"
...
...
app/src/main/res/menu/menu_add.xml
浏览文件 @
49465ba8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<menu
xmlns:android=
"http://schemas.android.com/apk/res/android"
<menu
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<item
<item
android:id=
"@+id/
history
"
android:id=
"@+id/
add
"
android:title=
"添加"
android:title=
"添加"
app:showAsAction=
"always"
/>
app:showAsAction=
"always"
/>
</menu>
</menu>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论