|
@@ -58,7 +58,7 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
if (type == "1"){
|
|
if (type == "1"){
|
|
|
text = "审核"
|
|
text = "审核"
|
|
|
}else if (type == "2"){
|
|
}else if (type == "2"){
|
|
|
- text = "撤回"
|
|
|
|
|
|
|
+ text = "撤销"
|
|
|
}else if (type == "3"){
|
|
}else if (type == "3"){
|
|
|
text = "详情"
|
|
text = "详情"
|
|
|
}
|
|
}
|
|
@@ -88,9 +88,13 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
marginStart = autoSize(37)
|
|
marginStart = autoSize(37)
|
|
|
}
|
|
}
|
|
|
textView {
|
|
textView {
|
|
|
|
|
+ if (data.applystatus == "2"){
|
|
|
|
|
+ textColorInt = R.color.rma_green_color
|
|
|
|
|
+ }else{
|
|
|
|
|
+ textColorInt = R.color.rma_yellow_text_color
|
|
|
|
|
+ }
|
|
|
text = data.applystatus?.inventoryapplystatus()
|
|
text = data.applystatus?.inventoryapplystatus()
|
|
|
textSizeAuto = 31
|
|
textSizeAuto = 31
|
|
|
- textColorInt = R.color.rma_yellow_text_color
|
|
|
|
|
}.lparams(wrapContent, wrapContent) {
|
|
}.lparams(wrapContent, wrapContent) {
|
|
|
marginStart = autoSize(20)
|
|
marginStart = autoSize(20)
|
|
|
}
|
|
}
|
|
@@ -98,7 +102,7 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
|
|
|
|
|
|
|
|
|
|
textView {
|
|
textView {
|
|
|
- text = "待审核登记信息:"
|
|
|
|
|
|
|
+ text = "合同基本信息:"
|
|
|
textColorInt = R.color.rma_blue_color
|
|
textColorInt = R.color.rma_blue_color
|
|
|
textSizeAuto = 34
|
|
textSizeAuto = 34
|
|
|
}.lparams(wrapContent, wrapContent) {
|
|
}.lparams(wrapContent, wrapContent) {
|
|
@@ -143,7 +147,9 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
text = data.warehousename
|
|
text = data.warehousename
|
|
|
textSizeAuto = 29
|
|
textSizeAuto = 29
|
|
|
textColorInt = R.color.rma_black_33
|
|
textColorInt = R.color.rma_black_33
|
|
|
- }.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
+ }.lparams(wrapContent, wrapContent){
|
|
|
|
|
+ marginEnd = margingPadding
|
|
|
|
|
+ }
|
|
|
}.lparams(matchParent, wrapContent)
|
|
}.lparams(matchParent, wrapContent)
|
|
|
}.lparams(autoSize(450), wrapContent)
|
|
}.lparams(autoSize(450), wrapContent)
|
|
|
}.lparams(matchParent, autoSize(60)) {
|
|
}.lparams(matchParent, autoSize(60)) {
|
|
@@ -169,12 +175,6 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
textColorInt = R.color.rma_black_33
|
|
textColorInt = R.color.rma_black_33
|
|
|
}.lparams(wrapContent, wrapContent)
|
|
}.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
|
- textView {
|
|
|
|
|
- text = data.applytime?.split(" ")?.get(1)
|
|
|
|
|
- textSizeAuto = 17
|
|
|
|
|
- textColorInt = R.color.rma_black_33
|
|
|
|
|
- }.lparams(wrapContent, wrapContent)
|
|
|
|
|
-
|
|
|
|
|
}.lparams(matchParent, wrapContent)
|
|
}.lparams(matchParent, wrapContent)
|
|
|
|
|
|
|
|
}.lparams(autoSize(450), wrapContent)
|
|
}.lparams(autoSize(450), wrapContent)
|
|
@@ -193,7 +193,9 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
text = data.brandname
|
|
text = data.brandname
|
|
|
textSizeAuto = 29
|
|
textSizeAuto = 29
|
|
|
textColorInt = R.color.rma_black_33
|
|
textColorInt = R.color.rma_black_33
|
|
|
- }.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
+ }.lparams(wrapContent, wrapContent){
|
|
|
|
|
+ marginEnd = margingPadding
|
|
|
|
|
+ }
|
|
|
}.lparams(matchParent, wrapContent)
|
|
}.lparams(matchParent, wrapContent)
|
|
|
}.lparams(autoSize(450), wrapContent)
|
|
}.lparams(autoSize(450), wrapContent)
|
|
|
}.lparams(matchParent, autoSize(60))
|
|
}.lparams(matchParent, autoSize(60))
|
|
@@ -221,12 +223,6 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
textColorInt = R.color.rma_black_33
|
|
textColorInt = R.color.rma_black_33
|
|
|
}.lparams(wrapContent, wrapContent)
|
|
}.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
|
- textView {
|
|
|
|
|
- text = data.applytime?.split(" ")?.get(1)
|
|
|
|
|
- textSizeAuto = 17
|
|
|
|
|
- textColorInt = R.color.rma_black_33
|
|
|
|
|
- }.lparams(wrapContent, wrapContent)
|
|
|
|
|
-
|
|
|
|
|
}.lparams(matchParent, wrapContent)
|
|
}.lparams(matchParent, wrapContent)
|
|
|
|
|
|
|
|
}.lparams(autoSize(450), wrapContent)
|
|
}.lparams(autoSize(450), wrapContent)
|
|
@@ -304,7 +300,9 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
text = data.applyname
|
|
text = data.applyname
|
|
|
textSizeAuto = 29
|
|
textSizeAuto = 29
|
|
|
textColorInt = R.color.rma_black_33
|
|
textColorInt = R.color.rma_black_33
|
|
|
- }.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
+ }.lparams(wrapContent, wrapContent){
|
|
|
|
|
+ marginEnd = margingPadding
|
|
|
|
|
+ }
|
|
|
}.lparams(matchParent, wrapContent)
|
|
}.lparams(matchParent, wrapContent)
|
|
|
}.lparams(autoSize(450), wrapContent)
|
|
}.lparams(autoSize(450), wrapContent)
|
|
|
}.lparams(matchParent, autoSize(60))
|
|
}.lparams(matchParent, autoSize(60))
|
|
@@ -328,7 +326,12 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
}else{
|
|
}else{
|
|
|
visibility = View.GONE
|
|
visibility = View.GONE
|
|
|
}
|
|
}
|
|
|
- text = "待审核登记信息:"
|
|
|
|
|
|
|
+ if (data.applystatus == "1"){
|
|
|
|
|
+ text = "待审核登记信息:"
|
|
|
|
|
+ }else{
|
|
|
|
|
+ text = "已审核登记信息:"
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
textColorInt = R.color.rma_blue_color
|
|
textColorInt = R.color.rma_blue_color
|
|
|
textSizeAuto = 34
|
|
textSizeAuto = 34
|
|
|
}.lparams(wrapContent, wrapContent) {
|
|
}.lparams(wrapContent, wrapContent) {
|
|
@@ -376,16 +379,16 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
linearLayout {
|
|
linearLayout {
|
|
|
emptyView()
|
|
emptyView()
|
|
|
textView {
|
|
textView {
|
|
|
- text = data.audittime?.split(" ")?.get(0)
|
|
|
|
|
- textSizeAuto = 29
|
|
|
|
|
|
|
+ text = data.audittime
|
|
|
|
|
+ textSizeAuto = 24
|
|
|
textColorInt = R.color.rma_black_33
|
|
textColorInt = R.color.rma_black_33
|
|
|
}.lparams(wrapContent, wrapContent)
|
|
}.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
|
- textView {
|
|
|
|
|
- text = data.audittime?.split(" ")?.get(1)
|
|
|
|
|
- textSizeAuto = 17
|
|
|
|
|
- textColorInt = R.color.rma_black_33
|
|
|
|
|
- }.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
+// textView {
|
|
|
|
|
+// text = data.audittime?.split(" ")?.get(1)
|
|
|
|
|
+// textSizeAuto = 17
|
|
|
|
|
+// textColorInt = R.color.rma_black_33
|
|
|
|
|
+// }.lparams(wrapContent, wrapContent)
|
|
|
|
|
|
|
|
}.lparams(matchParent, wrapContent)
|
|
}.lparams(matchParent, wrapContent)
|
|
|
|
|
|
|
@@ -488,7 +491,7 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
topMargin = autoSize(50)
|
|
topMargin = autoSize(50)
|
|
|
bottomMargin = autoSize(40)
|
|
bottomMargin = autoSize(40)
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ }.lparams(autoSize(900), matchParent)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
linearLayout {
|
|
linearLayout {
|
|
@@ -565,7 +568,7 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
}
|
|
}
|
|
|
gravity = Gravity.CENTER
|
|
gravity = Gravity.CENTER
|
|
|
backgroundResource = R.mipmap.rma_submit_bg
|
|
backgroundResource = R.mipmap.rma_submit_bg
|
|
|
- text = "撤回"
|
|
|
|
|
|
|
+ text = "撤销"
|
|
|
textColorInt = R.color.white
|
|
textColorInt = R.color.white
|
|
|
textSizeAuto = 38
|
|
textSizeAuto = 38
|
|
|
}.lparams(autoSize(780), autoSize(119)){
|
|
}.lparams(autoSize(780), autoSize(119)){
|
|
@@ -574,7 +577,7 @@ class ProductionInventoryActivity : BaseActivity<InventoryAuditViewModel>(){
|
|
|
}.lparams(matchParent, autoSize(144)) {
|
|
}.lparams(matchParent, autoSize(144)) {
|
|
|
gravity = Gravity.BOTTOM
|
|
gravity = Gravity.BOTTOM
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
|
|
+ }.lparams(matchParent, matchParent)
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|