feat: io
This commit is contained in:
@@ -15,7 +15,7 @@ import com.lukouguoji.module_base.ktx.showToast
|
||||
class IntExpAssembleStartViewModel : BaseViewModel() {
|
||||
|
||||
// ========== 搜索条件 ==========
|
||||
val searchWaybillNo = MutableLiveData("")
|
||||
val searchText = MutableLiveData("")
|
||||
|
||||
// ========== 左侧组装信息列表 ==========
|
||||
val assembleInfoList = MutableLiveData<MutableList<AssembleInfoBean>>()
|
||||
@@ -59,35 +59,65 @@ class IntExpAssembleStartViewModel : BaseViewModel() {
|
||||
// 组装信息列表(左侧)
|
||||
assembleInfoList.value = mutableListOf(
|
||||
AssembleInfoBean().apply {
|
||||
waybillNo = "99912345678"
|
||||
pieces = "25"
|
||||
uldNo = "PMC12345MU"
|
||||
weightInfo = "100/290kg"
|
||||
hasArrow = true
|
||||
isOrange = false
|
||||
showIndex = true
|
||||
},
|
||||
AssembleInfoBean().apply {
|
||||
waybillNo = "99912345679"
|
||||
pieces = "18"
|
||||
uldNo = "AKE453654CZ"
|
||||
weightInfo = "100/290kg"
|
||||
hasArrow = true
|
||||
isOrange = false
|
||||
showIndex = true
|
||||
},
|
||||
AssembleInfoBean().apply {
|
||||
waybillNo = "99912345680"
|
||||
pieces = "32"
|
||||
uldNo = "AKE598190CZ"
|
||||
weightInfo = "100/290kg"
|
||||
hasArrow = true
|
||||
isOrange = false
|
||||
showIndex = true
|
||||
},
|
||||
AssembleInfoBean().apply {
|
||||
waybillNo = "99912345681"
|
||||
pieces = "15"
|
||||
uldNo = "78112345678"
|
||||
weightInfo = "100/100kg"
|
||||
hasArrow = false
|
||||
isOrange = true
|
||||
showIndex = false
|
||||
},
|
||||
AssembleInfoBean().apply {
|
||||
uldNo = "78112345999"
|
||||
weightInfo = "150/200kg"
|
||||
hasArrow = false
|
||||
isOrange = true
|
||||
showIndex = false
|
||||
},
|
||||
AssembleInfoBean().apply {
|
||||
uldNo = "78112345454"
|
||||
weightInfo = "120/300kg"
|
||||
hasArrow = false
|
||||
isOrange = true
|
||||
showIndex = false
|
||||
}
|
||||
)
|
||||
|
||||
// 组装位置列表(左侧)
|
||||
assemblePositionList.value = mutableListOf(
|
||||
AssemblePositionBean().apply {
|
||||
positionName = "A区-01号位"
|
||||
positionName = "组装区001"
|
||||
isSelected = true
|
||||
},
|
||||
AssemblePositionBean().apply {
|
||||
positionName = "A区-02号位"
|
||||
positionName = "组装区002"
|
||||
isSelected = false
|
||||
},
|
||||
AssemblePositionBean().apply {
|
||||
positionName = "B区-01号位"
|
||||
positionName = "组装区003"
|
||||
isSelected = false
|
||||
},
|
||||
AssemblePositionBean().apply {
|
||||
positionName = "组装区004"
|
||||
isSelected = false
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user