Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
04563a8b
Commit
04563a8b
authored
Jul 15, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阿斯顿发送到发顺丰达
parent
da8dd94a
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
23 additions
and
19 deletions
+23
-19
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+4
-4
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Define/Define.swift
GeliBusinessPlatform/Define/Define.swift
+6
-4
GeliBusinessPlatform/Define/NetworkRequest.swift
GeliBusinessPlatform/Define/NetworkRequest.swift
+4
-1
GeliBusinessPlatform/Other/Web/WebViewController.swift
GeliBusinessPlatform/Other/Web/WebViewController.swift
+4
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+1
-4
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
+2
-4
GeliBusinessPlatform/ViewController/地址管理/DZGLViewController.swift
...nessPlatform/ViewController/地址管理/DZGLViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/支付账号(设置,修改)/PayViewController.swift
...atform/ViewController/支付账号(设置,修改)/PayViewController.swift
+1
-0
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
+0
-1
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
04563a8b
...
...
@@ -5091,7 +5091,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
=
NO
;
CODE_SIGN_ENTITLEMENTS
=
GeliBusinessPlatform/GeliBusinessPlatform.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5.
8
;
CURRENT_PROJECT_VERSION
=
5.
9
;
DEFINES_MODULE
=
NO
;
DEVELOPMENT_ASSET_PATHS
=
"\"GeliBusinessPlatform/Preview Content\""
;
DEVELOPMENT_TEAM
=
K48346UACH
;
...
...
@@ -5151,7 +5151,7 @@
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/SDK"
,
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/SDK/GBDEMO"
,
);
MARKETING_VERSION
=
1.7.
7
;
MARKETING_VERSION
=
1.7.
8
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
@@ -5233,7 +5233,7 @@
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF
=
NO
;
CODE_SIGN_ENTITLEMENTS
=
GeliBusinessPlatform/GeliBusinessPlatform.entitlements
;
CODE_SIGN_STYLE
=
Automatic
;
CURRENT_PROJECT_VERSION
=
5.
8
;
CURRENT_PROJECT_VERSION
=
5.
9
;
DEFINES_MODULE
=
NO
;
DEVELOPMENT_ASSET_PATHS
=
"\"GeliBusinessPlatform/Preview Content\""
;
DEVELOPMENT_TEAM
=
K48346UACH
;
...
...
@@ -5293,7 +5293,7 @@
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/SDK"
,
"$(PROJECT_DIR)/GeliBusinessPlatform/Other/SDK/GBDEMO"
,
);
MARKETING_VERSION
=
1.7.
7
;
MARKETING_VERSION
=
1.7.
8
;
OTHER_LDFLAGS
=
(
"$(inherited)"
,
"-ObjC"
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
04563a8b
No preview for this file type
GeliBusinessPlatform/Define/Define.swift
View file @
04563a8b
...
...
@@ -27,10 +27,12 @@ let systemVersion = (UIDevice.current.systemVersion as String)
//接口地址
//test
let
SERVERCE_ImageHost
=
"https://z.gelifood.com/"
let
SERVERCE_HOST
=
"https://z.gelifood.com/admin/"
//let SERVERCE_ImageHost = "https://zx.gelifood.com/"
//let SERVERCE_HOST = "https://zx.gelifood.com/admin/"
//let SERVERCE_ImageHost = "https://z.gelifood.com/"
//let SERVERCE_HOST = "https://z.gelifood.com/admin/"
//let print_url = "http://z.gelifood.com/static/url/label.html?"
let
SERVERCE_ImageHost
=
"https://zx.gelifood.com/"
let
SERVERCE_HOST
=
"https://zx.gelifood.com/admin/"
let
print_url
=
"http://zx.gelifood.com/static/url/label.html?"
//online
//视图常量
...
...
GeliBusinessPlatform/Define/NetworkRequest.swift
View file @
04563a8b
...
...
@@ -73,12 +73,15 @@ class NetworkRequest {
let
serverTrustPolicies
:
[
String
:
ServerTrustPolicy
]
=
[
"z.gelifood.com"
:
.
disableEvaluation
,
"zx.gelifood.com"
:
.
disableEvaluation
,
"cms.gelifood.com"
:
.
disableEvaluation
"pay.gelifood.com"
:
.
disableEvaluation
,
"cms.gelifood.com"
:
.
disableEvaluation
]
// Create custom manager
if
manager
==
nil
{
let
configuration
=
URLSessionConfiguration
.
default
configuration
.
httpAdditionalHeaders
=
Alamofire
.
SessionManager
.
defaultHTTPHeaders
manager
=
Alamofire
.
SessionManager
(
configuration
:
URLSessionConfiguration
.
default
,
serverTrustPolicyManager
:
ServerTrustPolicyManager
(
policies
:
serverTrustPolicies
)
...
...
GeliBusinessPlatform/Other/Web/WebViewController.swift
View file @
04563a8b
...
...
@@ -95,6 +95,8 @@ extension WebViewController: WKNavigationDelegate
// Log4jMessage(message: "当内容开始返回...")
}
// 页面加载完成之后调用
func
webView
(
_
webView
:
WKWebView
,
didFinish
navigation
:
WKNavigation
!
){
// Log4jMessage(message: "页面加载完成...")
...
...
@@ -123,6 +125,8 @@ extension WebViewController: WKNavigationDelegate
if
err
.
code
==
NSURLErrorCancelled
{
return
}
UIView
.
animate
(
withDuration
:
0.5
)
{
self
.
progressView
.
progress
=
0.0
self
.
progressView
.
isHidden
=
true
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
04563a8b
...
...
@@ -113,10 +113,7 @@ class NewRKVc: BaseViewController ,UITableViewDelegate,UITableViewDataSource, Ne
var
wkWebView
:
WKWebView
?
func
printData
(
idx
:
Int
){
let
model
=
printData
[
idx
][
"goods_data"
]
as!
goodsInputBatchData
//测试
let
urlStr
=
"http://z.gelifood.com/static/url/label.html?goods_name=
\(
printData
[
idx
][
"goods_name"
]
as!
String
)
&spec_str=
\(
printData
[
idx
][
"spec_str"
]
as!
String
)
&batch_sn=
\(
model
.
batch_sn
!
)
&batch_id=
\(
model
.
batch_id
!
)
&iscs=1"
//online
// let urlStr = "http://zx.gelifood.com/static/url/label.html?goods_name=\(printData[idx]["goods_name"] as! String)&spec_str=\(printData[idx]["spec_str"] as! String)&batch_sn=\(model.batch_sn!)&batch_id=\(model.batch_id!)&iscs=0"
let
urlStr
=
print_url
+
"goods_name=
\(
printData
[
idx
][
"goods_name"
]
as!
String
)
&spec_str=
\(
printData
[
idx
][
"spec_str"
]
as!
String
)
&batch_sn=
\(
model
.
batch_sn
!
)
&batch_id=
\(
model
.
batch_id
!
)
&iscs=0"
let
urlString
=
urlStr
.
addingPercentEncoding
(
withAllowedCharacters
:
.
urlQueryAllowed
)
!
let
url
=
URL
(
string
:
urlString
)
if
wkWebView
==
nil
{
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
View file @
04563a8b
...
...
@@ -84,10 +84,8 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
var
wkWebView
:
WKWebView
?
func
printData
(
idx
:
Int
){
let
model
=
printData
[
idx
][
"goods_data"
]
as!
GetGoodBatchDataModel
//测试
// let urlStr = "http://z.gelifood.com/static/url/label.html?goods_name=\(printData[idx]["goods_name"] as! String)&spec_str=\(printData[idx]["spec_str"] as! String)&batch_sn=\(model.batch_sn!)&batch_id=\(model.batch_id!)&iscs=1"
//online
let
urlStr
=
"http://zx.gelifood.com/static/url/label.html?goods_name=
\(
printData
[
idx
][
"goods_name"
]
as!
String
)
&spec_str=
\(
printData
[
idx
][
"spec_str"
]
as!
String
)
&batch_sn=
\(
model
.
batch_sn
!
)
&batch_id=
\(
model
.
batch_id
!
)
&iscs=0"
let
urlStr
=
print_url
+
"goods_name=
\(
printData
[
idx
][
"goods_name"
]
as!
String
)
&spec_str=
\(
printData
[
idx
][
"spec_str"
]
as!
String
)
&batch_sn=
\(
model
.
batch_sn
!
)
&batch_id=
\(
model
.
batch_id
!
)
&iscs=0"
let
urlString
=
urlStr
.
addingPercentEncoding
(
withAllowedCharacters
:
.
urlQueryAllowed
)
!
let
url
=
URL
(
string
:
urlString
)
if
wkWebView
==
nil
{
...
...
GeliBusinessPlatform/ViewController/地址管理/DZGLViewController.swift
View file @
04563a8b
...
...
@@ -572,6 +572,6 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
deleteAction
.
image
=
UIImage
(
named
:
"shanchuWhite"
)
deleteAction
.
backgroundColor
=
UIColor
(
named
:
"#F57575"
)
//返回右侧事件按钮
return
[
deleteAction
,
]
return
[
deleteAction
]
}
}
GeliBusinessPlatform/ViewController/支付账号(设置,修改)/PayViewController.swift
View file @
04563a8b
...
...
@@ -94,6 +94,7 @@ class PayViewController: BaseViewController ,GeliAlertViewDelegate{
let
dataM
=
data
as!
LocationGeliPayModel
let
vc
=
WebViewController
()
vc
.
urlStr
=
dataM
.
data
?
.
url
print
(
"vcURL = "
,
vc
.
urlStr
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
})
{
(
error
)
in
...
...
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
View file @
04563a8b
...
...
@@ -219,7 +219,6 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
vc
.
isCaiGou
=
true
vc
.
isCaiGou_GYS_name
=
(
modelD
?
.
purchase_order
?
.
ven_name
)
!
vc
.
isCaiGou_GYS_ven_id
=
(
modelD
?
.
purchase_order
?
.
ven_id
)
!
print
(
"name= = "
,
vc
.
isCaiGou_GYS_name
)
vc
.
rkSelectArr
=
rkDatas
vc
.
po_id
=
model
?
.
po_id
!
as!
Int
vc
.
delegate
=
self
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment