Commit 5ef87967 authored by lujunye's avatar lujunye

1.3上架版本

parent fab58ede
......@@ -3451,7 +3451,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1.22;
CURRENT_PROJECT_VERSION = 1.23;
DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH;
......@@ -3583,7 +3583,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = GeliBusinessPlatform/GeliBusinessPlatform.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1.22;
CURRENT_PROJECT_VERSION = 1.23;
DEFINES_MODULE = NO;
DEVELOPMENT_ASSET_PATHS = "\"GeliBusinessPlatform/Preview Content\"";
DEVELOPMENT_TEAM = K48346UACH;
......
......@@ -45,6 +45,8 @@
<string>我们需要通过您同意使用麦克风,才能与你进行语音交流</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>我们需要通过您同意使用相册,才能获取相关数据</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>我们需要通过您同意使用相册,才能添加相关数据</string>
<key>UIBackgroundModes</key>
<array/>
<key>UILaunchImageFile</key>
......
......@@ -82,14 +82,23 @@ class GeliAltetCodeView: UIView {
}else{
let image = self.iconImgV.image!
print(image)
UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil)
HUD.flash(.label("保存成功"),delay: 1.2)
UIImageWriteToSavedPhotosAlbum(image, self, #selector(saveImage(image:didFinishSavingWithError:contextInfo:)), nil)
}
self.removeFromSuperview()
}
@objc private func saveImage(image: UIImage, didFinishSavingWithError error: NSError?, contextInfo: AnyObject) {
if error != nil{
HUD.flash(.label("保存失败"),delay: 1.2)
}else{
HUD.flash(.label("保存成功"),delay: 1.2)
}
}
//初始化时将xib中的view添加进来
var contentView:UIView!
......
......@@ -136,7 +136,7 @@ class XinCaiGouViewController: BaseViewController,UITableViewDelegate,UITableVie
var datas:Array<GetGoodsInfoDataModel> = []
let typeArr = ["临时采购","固定采购"]
let titleArr = ["采购日期","供应商","采购人","采购类型"]
var holderArr = ["","请选择供应商","请输入采购人姓名","请选择采购类型"]
var holderArr = ["","请选择供应商","请输入采购人姓名","固定采购"]
override func viewDidLoad() {
super.viewDidLoad()
navbar.title = "新增采购单"
......
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