feat: fix issues
This commit is contained in:
@@ -23,6 +23,7 @@ class IntImpPickUpDLVBean : Serializable {
|
||||
var cashWeight: Double = 0.0 // 计费重量
|
||||
var pkId: String = "" // 提货编号(提货单号)
|
||||
var location: String = "" // 库位
|
||||
var locationInStore: String = "" // 入库库位
|
||||
var chargeTime: String = "" // 缴费时间(提取时间)
|
||||
var dlvTime: String = "" // 出库时间
|
||||
var goods: String = "" // 品名
|
||||
|
||||
@@ -300,7 +300,7 @@ interface Api {
|
||||
* 获取地区类型
|
||||
*/
|
||||
@POST("typeCode/countryType")
|
||||
suspend fun getAreaTypeList(): DictListBean
|
||||
suspend fun getCountryTypeList(): DictListBean
|
||||
|
||||
/**
|
||||
* 获取国家代码
|
||||
|
||||
@@ -457,14 +457,14 @@ object DictUtils {
|
||||
/**
|
||||
* 地区类型
|
||||
*/
|
||||
fun getAreaTypeList(
|
||||
fun getCountryTypeList(
|
||||
addAll: Boolean = true,
|
||||
checkedValue: String? = null,
|
||||
callBack: (List<KeyValue>) -> Unit
|
||||
) {
|
||||
launchCollect({
|
||||
NetApply.api
|
||||
.getAreaTypeList()
|
||||
.getCountryTypeList()
|
||||
}) {
|
||||
onSuccess = {
|
||||
handleCallBack(it, checkedValue, addAll, callBack)
|
||||
|
||||
Reference in New Issue
Block a user