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
2406e766
Commit
2406e766
authored
Jan 07, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增关联凭证
parent
025171e4
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
40 deletions
+22
-40
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
.../junyelu.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
+0
-23
GeliBusinessPlatform/AppDelegate.swift
GeliBusinessPlatform/AppDelegate.swift
+1
-1
GeliBusinessPlatform/Model/OrderManageModel/OrderDetailModel.swift
...essPlatform/Model/OrderManageModel/OrderDetailModel.swift
+3
-0
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
...Platform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
+0
-2
GeliBusinessPlatform/ViewController/分销员管理/FXYGL_ViewController.swift
...sPlatform/ViewController/分销员管理/FXYGL_ViewController.swift
+1
-0
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+15
-12
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.xib
...nessPlatform/ViewController/订单详情/OrderDViewController.xib
+2
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
2406e766
No preview for this file type
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
View file @
2406e766
...
@@ -3,27 +3,4 @@
...
@@ -3,27 +3,4 @@
uuid =
"4EFF3422-0342-402A-BFF0-17B15851B3EC"
uuid =
"4EFF3422-0342-402A-BFF0-17B15851B3EC"
type =
"0"
type =
"0"
version =
"2.0"
>
version =
"2.0"
>
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.ExceptionBreakpoint"
>
<BreakpointContent
uuid =
"C83E3376-0312-4D15-99E3-5CBF74F24A36"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
breakpointStackSelectionBehavior =
"1"
scope =
"1"
stopOnStyle =
"0"
>
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID =
"Xcode.Breakpoint.SwiftErrorBreakpoint"
>
<BreakpointContent
uuid =
"7F243655-7F7D-4E57-927F-4125D0651B3C"
shouldBeEnabled =
"Yes"
ignoreCount =
"0"
continueAfterRunningActions =
"No"
>
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket>
</Bucket>
GeliBusinessPlatform/AppDelegate.swift
View file @
2406e766
...
@@ -38,7 +38,7 @@ import ESTabBarController_swift
...
@@ -38,7 +38,7 @@ import ESTabBarController_swift
@available
(
iOS
10.0
,
*
)
@available
(
iOS
10.0
,
*
)
@UIApplicationMain
@UIApplicationMain
class
AppDelegate
:
UIResponder
,
UIApplicationDelegate
,
loginDelegate
,
UITabBarControllerDelegate
,
JPUSHRegisterDelegate
{
class
AppDelegate
:
UIResponder
,
UIApplicationDelegate
,
loginDelegate
,
UITabBarControllerDelegate
,
JPUSHRegisterDelegate
{
var
window
:
UIWindow
?
var
window
:
UIWindow
?
...
...
GeliBusinessPlatform/Model/OrderManageModel/OrderDetailModel.swift
View file @
2406e766
...
@@ -102,10 +102,13 @@ class OrderDetailResModel: Mappable {
...
@@ -102,10 +102,13 @@ class OrderDetailResModel: Mappable {
var
sum_commission_val
:
String
?
//总佣金
var
sum_commission_val
:
String
?
//总佣金
var
dbt_target
:
Int
?
//分销对象:1供应商 2分销商 3分销员
var
dbt_target
:
Int
?
//分销对象:1供应商 2分销商 3分销员
var
target_name
:
String
?
//分销商名称
var
target_name
:
String
?
//分销商名称
var
order_associated_code
:
String
?
//关联凭证
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
}
}
func
mapping
(
map
:
Map
)
{
func
mapping
(
map
:
Map
)
{
order_associated_code
<-
map
[
"order_associated_code"
]
sum_commission_val
<-
map
[
"sum_commission_val"
]
sum_commission_val
<-
map
[
"sum_commission_val"
]
dbt_target
<-
map
[
"dbt_target"
]
dbt_target
<-
map
[
"dbt_target"
]
target_name
<-
map
[
"target_name"
]
target_name
<-
map
[
"target_name"
]
...
...
GeliBusinessPlatform/ViewController/供应商分销商品管理/GYS_FX_Product_VC.swift
View file @
2406e766
...
@@ -34,8 +34,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
...
@@ -34,8 +34,6 @@ class GYS_FX_Product_VC: BaseViewController,UITableViewDelegate,UITableViewDataS
}
}
}
}
@IBOutlet
weak
var
center_select_btn
:
UIView
!
@IBOutlet
weak
var
center_select_btn
:
UIView
!
var
page
:
Int
=
0
var
page
:
Int
=
0
var
isUpData
=
true
{
var
isUpData
=
true
{
...
...
GeliBusinessPlatform/ViewController/分销员管理/FXYGL_ViewController.swift
View file @
2406e766
...
@@ -268,3 +268,4 @@ class FXYGL_ViewController: BaseViewController, UISearchBarDelegate, SearchBarVi
...
@@ -268,3 +268,4 @@ class FXYGL_ViewController: BaseViewController, UISearchBarDelegate, SearchBarVi
}
}
}
}
}
}
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
2406e766
...
@@ -46,8 +46,8 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -46,8 +46,8 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
// let YuShouPart3Arr = ["订单编号","下单时间","订单来源","提货方式","物流公司","运单号","支付方式","支付状态","买家留言","订单备注"]
// let YuShouPart3Arr = ["订单编号","下单时间","订单来源","提货方式","物流公司","运单号","支付方式","支付状态","买家留言","订单备注"]
// let isYuShouPart3Arr = ["订单编号","下单时间","订单来源","提货方式","物流公司","运单号","定金支付方式","定金支付状态","尾款支付方式","尾款支付状态","买家留言","订单备注"]
// let isYuShouPart3Arr = ["订单编号","下单时间","订单来源","提货方式","物流公司","运单号","定金支付方式","定金支付状态","尾款支付方式","尾款支付状态","买家留言","订单备注"]
//新的
//新的
let
YuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"提货方式"
,
"支付方式"
,
"支付状态"
,
"买家留言"
,
"订单备注"
]
let
YuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"
关联凭证"
,
"
提货方式"
,
"支付方式"
,
"支付状态"
,
"买家留言"
,
"订单备注"
]
let
isYuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"提货方式"
,
"定金支付方式"
,
"定金支付状态"
,
"尾款支付方式"
,
"尾款支付状态"
,
"买家留言"
,
"订单备注"
]
let
isYuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"
关联凭证"
,
"
提货方式"
,
"定金支付方式"
,
"定金支付状态"
,
"尾款支付方式"
,
"尾款支付状态"
,
"买家留言"
,
"订单备注"
]
let
nonYuShouPart3Arr
=
[
"收货人"
,
"联系电话"
,
"地址"
]
let
nonYuShouPart3Arr
=
[
"收货人"
,
"联系电话"
,
"地址"
]
...
@@ -581,7 +581,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -581,7 +581,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
if
isYuShou
{
if
isYuShou
{
isYushoucount
=
2
isYushoucount
=
2
}
}
if
indexPath
.
row
==
(
7
+
isYushoucount
){
if
indexPath
.
row
==
(
8
+
isYushoucount
){
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"PingLunCell"
)
as!
PingLunCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"PingLunCell"
)
as!
PingLunCell
cell
.
tag
=
indexPath
.
row
cell
.
tag
=
indexPath
.
row
...
@@ -592,7 +592,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -592,7 +592,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
}
switch
indexPath
.
row
{
switch
indexPath
.
row
{
case
7
:
case
8
:
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
order_postscript
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
order_postscript
if
self
.
dataMdoel
?
.
order_res
?
.
order_postscript
==
nil
{
if
self
.
dataMdoel
?
.
order_res
?
.
order_postscript
==
nil
{
cell
.
contentLbl
.
text
=
"-"
cell
.
contentLbl
.
text
=
"-"
...
@@ -618,7 +618,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -618,7 +618,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
}
return
cell
return
cell
}
}
if
indexPath
.
row
==
4
||
indexPath
.
row
==
5
||
indexPath
.
row
==
(
4
+
isYushoucount
)
||
indexPath
.
row
==
(
5
+
isYushoucount
){
if
indexPath
.
row
==
5
||
indexPath
.
row
==
6
||
indexPath
.
row
==
(
5
+
isYushoucount
)
||
indexPath
.
row
==
(
6
+
isYushoucount
){
if
isYuShou
{
if
isYuShou
{
cell
.
nameLbl
.
text
=
isYuShouPart3Arr
[
indexPath
.
row
]
cell
.
nameLbl
.
text
=
isYuShouPart3Arr
[
indexPath
.
row
]
...
@@ -629,12 +629,12 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -629,12 +629,12 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
arrowImg
.
isHidden
=
false
cell
.
arrowImg
.
isHidden
=
false
cell
.
contentRight
.
constant
=
32
cell
.
contentRight
.
constant
=
32
if
indexPath
.
row
==
7
{
if
indexPath
.
row
==
8
{
if
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
==
11
||
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
==
12
{
if
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
==
11
||
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
==
12
{
cell
.
arrowImg
.
isHidden
=
true
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
cell
.
contentRight
.
constant
=
15
}
}
}
else
if
indexPath
.
row
==
5
{
}
else
if
indexPath
.
row
==
6
{
if
isYuShou
{
if
isYuShou
{
if
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type
==
11
||
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type
==
12
{
if
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type
==
11
||
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type
==
12
{
cell
.
arrowImg
.
isHidden
=
true
cell
.
arrowImg
.
isHidden
=
true
...
@@ -649,7 +649,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -649,7 +649,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
}
switch
indexPath
.
row
{
switch
indexPath
.
row
{
case
4
:
case
5
:
if
isYuShou
{
if
isYuShou
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type_cn
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type_cn
...
@@ -658,7 +658,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -658,7 +658,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
}
break
break
case
5
:
case
6
:
if
isYuShou
{
if
isYuShou
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_status_cn
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_status_cn
...
@@ -669,14 +669,14 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -669,14 +669,14 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
arrowImg
.
isHidden
=
true
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
cell
.
contentRight
.
constant
=
15
break
break
case
6
:
case
7
:
if
isYuShou
{
if
isYuShou
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type_cn
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type_cn
}
else
{
}
else
{
cell
.
contentLbl
.
text
=
StringByInt
(
number
:
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
!
)
!
)
cell
.
contentLbl
.
text
=
StringByInt
(
number
:
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
!
)
!
)
}
}
break
break
case
7
:
case
8
:
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_status_cn
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_status_cn
cell
.
arrowImg
.
isHidden
=
true
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
cell
.
contentRight
.
constant
=
15
...
@@ -719,13 +719,16 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
...
@@ -719,13 +719,16 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
from_cn
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
from_cn
break
break
case
3
:
case
3
:
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
order_associated_code
break
case
4
:
if
self
.
dataMdoel
?
.
order_res
?
.
shipping_type
==
1
{
if
self
.
dataMdoel
?
.
order_res
?
.
shipping_type
==
1
{
cell
.
textTF
.
text
=
"派送"
cell
.
textTF
.
text
=
"派送"
}
else
{
}
else
{
cell
.
textTF
.
text
=
"自提"
cell
.
textTF
.
text
=
"自提"
}
}
break
break
case
(
6
+
isYushoucount
):
case
(
7
+
isYushoucount
):
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
postscript
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
postscript
break
break
...
...
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.xib
View file @
2406e766
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
156
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17
701
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<dependencies>
<deployment
identifier=
"iOS"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
126
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17
703
"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
...
...
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