Commit 489718cc authored by 曹云霄's avatar 曹云霄

no message

parent 392c40c0
...@@ -1394,7 +1394,7 @@ ...@@ -1394,7 +1394,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 2G3393EZPN; DEVELOPMENT_TEAM = W54V2VB863;
INFOPLIST_FILE = "$(SRCROOT)/IFS/Resource/Info.plist"; INFOPLIST_FILE = "$(SRCROOT)/IFS/Resource/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
...@@ -1415,7 +1415,7 @@ ...@@ -1415,7 +1415,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = 2G3393EZPN; DEVELOPMENT_TEAM = W54V2VB863;
INFOPLIST_FILE = "$(SRCROOT)/IFS/Resource/Info.plist"; INFOPLIST_FILE = "$(SRCROOT)/IFS/Resource/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
......
...@@ -352,11 +352,12 @@ extension RepairOrderAddViewModel { ...@@ -352,11 +352,12 @@ extension RepairOrderAddViewModel {
let deviceModel = result[index!] let deviceModel = result[index!]
let choiceModel = choices.first! let choiceModel = choices.first!
controller.deviceTitleLabel.text = choiceModel.title controller.deviceTitleLabel.text = choiceModel.title
controller.deviceLocationLabel.text = deviceModel.position.name if deviceModel.position != nil {
controller.deviceLocationLabel.text = deviceModel.position.name
}
controller.deviceTitleLabel.textColor = kBlackColor controller.deviceTitleLabel.textColor = kBlackColor
controller.deviceLocationLabel.textColor = kBlackColor controller.deviceLocationLabel.textColor = kBlackColor
let model = result[index!] let device = UCN(deviceModel.code, deviceModel.name, deviceModel.uuid)
let device = UCN(model.code, model.name, model.uuid)
self?.saveOrderModel.device = device self?.saveOrderModel.device = device
}) })
controller.pushVC(publicFilterVc) controller.pushVC(publicFilterVc)
......
...@@ -209,8 +209,12 @@ extension RepairOrderDetailViewModel { ...@@ -209,8 +209,12 @@ extension RepairOrderDetailViewModel {
// MARK: - 工单详情赋值 // MARK: - 工单详情赋值
func billDetailAssignment(_ controller: RepairOrderDetailViewController) { func billDetailAssignment(_ controller: RepairOrderDetailViewController) {
var source: String? var source: String?
if billDetailModel.source == "租区" { if billDetailModel.source == "租区" {
source = String(format: "%@,商户: (%@)", billDetailModel.source,billDetailModel.tenant.name) if billDetailModel.tenant != nil {
source = String(format: "%@,商户: (%@)", billDetailModel.source,billDetailModel.tenant.name)
}else {
source = String(format: "%@,商户: ---", billDetailModel.source)
}
}else { }else {
source = String(format: "%@", billDetailModel.source) source = String(format: "%@", billDetailModel.source)
} }
...@@ -233,7 +237,6 @@ extension RepairOrderDetailViewModel { ...@@ -233,7 +237,6 @@ extension RepairOrderDetailViewModel {
if billDetailModel.position != nil { if billDetailModel.position != nil {
controller.positionLabel.text = disposeEmpty(billDetailModel.position.name) controller.positionLabel.text = disposeEmpty(billDetailModel.position.name)
} }
controller.deviceLocationLab.text = disposeEmpty(billDetailModel.deviceadree)
controller.descriptionLab.text = disposeEmpty(billDetailModel.descriptionField) controller.descriptionLab.text = disposeEmpty(billDetailModel.descriptionField)
controller.billNumberLab.text = billDetailModel.workNo controller.billNumberLab.text = billDetailModel.workNo
controller.isSolveLabel.text = billDetailModel.finish ? "是" : "否" controller.isSolveLabel.text = billDetailModel.finish ? "是" : "否"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment