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
33fe40c8
Commit
33fe40c8
authored
Mar 09, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化111
parent
f05e75bb
Changes
15
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
269 additions
and
22 deletions
+269
-22
GeliBusinessPlatform.xcodeproj/project.pbxproj
GeliBusinessPlatform.xcodeproj/project.pbxproj
+16
-0
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.swift
...atform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.swift
+9
-0
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.xib
...Platform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.xib
+0
-0
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuViewController.swift
...wController/代客下单(购物)/DaiKeXiaDanGouWuViewController.swift
+4
-0
GeliBusinessPlatform/ViewController/供应商管理/GYSGLCell.xib
GeliBusinessPlatform/ViewController/供应商管理/GYSGLCell.xib
+8
-4
GeliBusinessPlatform/ViewController/入库/CRKSumCell.xib
GeliBusinessPlatform/ViewController/入库/CRKSumCell.xib
+3
-2
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.xib
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.xib
+3
-3
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.swift
...Platform/ViewController/入库/PiCiXuanZeViewController.swift
+0
-0
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.xib
...ssPlatform/ViewController/入库/PiCiXuanZeViewController.xib
+0
-0
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageDetailViewController.swift
...wController/分销订单管理/RetailManageDetailViewController.swift
+4
-0
GeliBusinessPlatform/ViewController/批次库新Cell/NewPiCiCell.swift
...usinessPlatform/ViewController/批次库新Cell/NewPiCiCell.swift
+121
-0
GeliBusinessPlatform/ViewController/批次库新Cell/NewPiCiCell.xib
GeliBusinessPlatform/ViewController/批次库新Cell/NewPiCiCell.xib
+96
-0
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
+1
-13
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+4
-0
No files found.
GeliBusinessPlatform.xcodeproj/project.pbxproj
View file @
33fe40c8
...
@@ -447,6 +447,8 @@
...
@@ -447,6 +447,8 @@
E0F1BE4924692379003015B2
/* ItemCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F1BE4724692379003015B2
/* ItemCell.xib */
;
};
E0F1BE4924692379003015B2
/* ItemCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F1BE4724692379003015B2
/* ItemCell.xib */
;
};
E0F3C2CB24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F3C2C924590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift */
;
};
E0F3C2CB24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F3C2C924590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift */
;
};
E0F3C2CC24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F3C2CA24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.xib */
;
};
E0F3C2CC24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F3C2CA24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.xib */
;
};
E0F83BA925F7085400D31672
/* NewPiCiCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F83BA725F7085400D31672
/* NewPiCiCell.swift */
;
};
E0F83BAA25F7085400D31672
/* NewPiCiCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F83BA825F7085400D31672
/* NewPiCiCell.xib */
;
};
E0F8E91B248737F100817A08
/* NewOnlyRKCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F8E919248737F100817A08
/* NewOnlyRKCell.swift */
;
};
E0F8E91B248737F100817A08
/* NewOnlyRKCell.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F8E919248737F100817A08
/* NewOnlyRKCell.swift */
;
};
E0F8E91C248737F100817A08
/* NewOnlyRKCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F8E91A248737F100817A08
/* NewOnlyRKCell.xib */
;
};
E0F8E91C248737F100817A08
/* NewOnlyRKCell.xib in Resources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F8E91A248737F100817A08
/* NewOnlyRKCell.xib */
;
};
E0F8E91F248747D200817A08
/* NewCKVc.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F8E91D248747D200817A08
/* NewCKVc.swift */
;
};
E0F8E91F248747D200817A08
/* NewCKVc.swift in Sources */
=
{
isa
=
PBXBuildFile
;
fileRef
=
E0F8E91D248747D200817A08
/* NewCKVc.swift */
;
};
...
@@ -1206,6 +1208,8 @@
...
@@ -1206,6 +1208,8 @@
E0F1BE4724692379003015B2
/* ItemCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
ItemCell.xib
;
sourceTree
=
"<group>"
;
};
E0F1BE4724692379003015B2
/* ItemCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
ItemCell.xib
;
sourceTree
=
"<group>"
;
};
E0F3C2C924590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
XinZengAndBianJiKeHuViewController.swift
;
sourceTree
=
"<group>"
;
};
E0F3C2C924590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
XinZengAndBianJiKeHuViewController.swift
;
sourceTree
=
"<group>"
;
};
E0F3C2CA24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XinZengAndBianJiKeHuViewController.xib
;
sourceTree
=
"<group>"
;
};
E0F3C2CA24590C86006F0D1F
/* XinZengAndBianJiKeHuViewController.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
XinZengAndBianJiKeHuViewController.xib
;
sourceTree
=
"<group>"
;
};
E0F83BA725F7085400D31672
/* NewPiCiCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NewPiCiCell.swift
;
sourceTree
=
"<group>"
;
};
E0F83BA825F7085400D31672
/* NewPiCiCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
NewPiCiCell.xib
;
sourceTree
=
"<group>"
;
};
E0F8E919248737F100817A08
/* NewOnlyRKCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NewOnlyRKCell.swift
;
sourceTree
=
"<group>"
;
};
E0F8E919248737F100817A08
/* NewOnlyRKCell.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NewOnlyRKCell.swift
;
sourceTree
=
"<group>"
;
};
E0F8E91A248737F100817A08
/* NewOnlyRKCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
NewOnlyRKCell.xib
;
sourceTree
=
"<group>"
;
};
E0F8E91A248737F100817A08
/* NewOnlyRKCell.xib */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
file.xib
;
path
=
NewOnlyRKCell.xib
;
sourceTree
=
"<group>"
;
};
E0F8E91D248747D200817A08
/* NewCKVc.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NewCKVc.swift
;
sourceTree
=
"<group>"
;
};
E0F8E91D248747D200817A08
/* NewCKVc.swift */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
sourcecode.swift
;
path
=
NewCKVc.swift
;
sourceTree
=
"<group>"
;
};
...
@@ -2258,6 +2262,7 @@
...
@@ -2258,6 +2262,7 @@
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
E09B03AD2445B0BA00211A51
/* ViewController */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
E0F83BA625F7082E00D31672
/* 批次库新Cell */
,
E02A3CAC25C3ECCD00A4E369
/* 商品库存 */
,
E02A3CAC25C3ECCD00A4E369
/* 商品库存 */
,
E06FBA9025BFE3B100E9C2BA
/* 溯源 */
,
E06FBA9025BFE3B100E9C2BA
/* 溯源 */
,
E06B1AE925B52684002F3C65
/* 打印订单 */
,
E06B1AE925B52684002F3C65
/* 打印订单 */
,
...
@@ -2825,6 +2830,15 @@
...
@@ -2825,6 +2830,15 @@
path
=
PurchaseModel
;
path
=
PurchaseModel
;
sourceTree
=
"<group>"
;
sourceTree
=
"<group>"
;
};
};
E0F83BA625F7082E00D31672
/* 批次库新Cell */
=
{
isa
=
PBXGroup
;
children
=
(
E0F83BA725F7085400D31672
/* NewPiCiCell.swift */
,
E0F83BA825F7085400D31672
/* NewPiCiCell.xib */
,
);
path
=
"批次库新Cell"
;
sourceTree
=
"<group>"
;
};
E0F97B05245161E6001BD600
/* 商品详情 */
=
{
E0F97B05245161E6001BD600
/* 商品详情 */
=
{
isa
=
PBXGroup
;
isa
=
PBXGroup
;
children
=
(
children
=
(
...
@@ -3816,6 +3830,7 @@
...
@@ -3816,6 +3830,7 @@
E00CBA0224820CF000701D9D
/* CRKSumCell.xib in Resources */
,
E00CBA0224820CF000701D9D
/* CRKSumCell.xib in Resources */
,
E0206335246CE45A007A40C4
/* HeaderOnlyTitleView.xib in Resources */
,
E0206335246CE45A007A40C4
/* HeaderOnlyTitleView.xib in Resources */
,
E0E5605425C1672E0004BA56
/* Print_Gprinter_View.xib in Resources */
,
E0E5605425C1672E0004BA56
/* Print_Gprinter_View.xib in Resources */
,
E0F83BAA25F7085400D31672
/* NewPiCiCell.xib in Resources */
,
E0B903CA259B11C20041EF62
/* FXSY_Detail_ViewController.xib in Resources */
,
E0B903CA259B11C20041EF62
/* FXSY_Detail_ViewController.xib in Resources */
,
E0A409D524640B8300CFF109
/* DZGLViewController.xib in Resources */
,
E0A409D524640B8300CFF109
/* DZGLViewController.xib in Resources */
,
F95567A82453DA86009674AB
/* WarehoseMangementListVC.xib in Resources */
,
F95567A82453DA86009674AB
/* WarehoseMangementListVC.xib in Resources */
,
...
@@ -4177,6 +4192,7 @@
...
@@ -4177,6 +4192,7 @@
F950FDA32451438A00C40530
/* AdminInfoModel.swift in Sources */
,
F950FDA32451438A00C40530
/* AdminInfoModel.swift in Sources */
,
E0D197D5244860B1002B080C
/* BlueToothCell.swift in Sources */
,
E0D197D5244860B1002B080C
/* BlueToothCell.swift in Sources */
,
F961D27724503F51007FBE70
/* OrderSelectMoreView.swift in Sources */
,
F961D27724503F51007FBE70
/* OrderSelectMoreView.swift in Sources */
,
E0F83BA925F7085400D31672
/* NewPiCiCell.swift in Sources */
,
E0DA8AAC25E8F3D800425099
/* SVProgressAnimatedView.m in Sources */
,
E0DA8AAC25E8F3D800425099
/* SVProgressAnimatedView.m in Sources */
,
F933F6C62452C68B00189561
/* PKHUDAssets.swift in Sources */
,
F933F6C62452C68B00189561
/* PKHUDAssets.swift in Sources */
,
F976255C2552B392001EC5B0
/* DistributorSettingAlertView.swift in Sources */
,
F976255C2552B392001EC5B0
/* DistributorSettingAlertView.swift in Sources */
,
...
...
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
33fe40c8
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.swift
View file @
33fe40c8
...
@@ -11,6 +11,7 @@ protocol DaiKeXiaDanGouWuCellDelegate {
...
@@ -11,6 +11,7 @@ protocol DaiKeXiaDanGouWuCellDelegate {
func
DaiKeXiaDanGouWuCellDelAction
(
cell
:
DaiKeXiaDanGouWuCell
)
func
DaiKeXiaDanGouWuCellDelAction
(
cell
:
DaiKeXiaDanGouWuCell
)
func
DaiKeXiaDanGouWuCellRemarkChange
(
cell
:
DaiKeXiaDanGouWuCell
)
func
DaiKeXiaDanGouWuCellRemarkChange
(
cell
:
DaiKeXiaDanGouWuCell
)
func
DaiKeXiaDanGouWuCell_check
(
cell
:
DaiKeXiaDanGouWuCell
)
func
DaiKeXiaDanGouWuCell_check
(
cell
:
DaiKeXiaDanGouWuCell
)
func
DaiKeXiaDanGouWuCell_select_pi_ci
(
cell
:
DaiKeXiaDanGouWuCell
)
}
}
class
DaiKeXiaDanGouWuCell
:
UITableViewCell
,
UITextViewDelegate
{
class
DaiKeXiaDanGouWuCell
:
UITableViewCell
,
UITextViewDelegate
{
@IBOutlet
weak
var
bottom_margin
:
NSLayoutConstraint
!
@IBOutlet
weak
var
bottom_margin
:
NSLayoutConstraint
!
...
@@ -41,7 +42,15 @@ class DaiKeXiaDanGouWuCell: UITableViewCell,UITextViewDelegate {
...
@@ -41,7 +42,15 @@ class DaiKeXiaDanGouWuCell: UITableViewCell,UITextViewDelegate {
@IBOutlet
weak
var
ding_jin_lbl
:
UILabel
!
@IBOutlet
weak
var
ding_jin_lbl
:
UILabel
!
@IBOutlet
weak
var
wei_kuan_lbl
:
UILabel
!
@IBOutlet
weak
var
wei_kuan_lbl
:
UILabel
!
@IBOutlet
weak
var
non_add_icon
:
UIImageView
!
@IBOutlet
weak
var
right_margin
:
NSLayoutConstraint
!
@IBOutlet
weak
var
status_text_lbl
:
UILabel
!
@IBOutlet
weak
var
already_add_icon
:
UIImageView
!
@IBOutlet
weak
var
text_line
:
UIView
!
@IBAction
func
select_pi_ci_action
(
_
sender
:
UIButton
)
{
delegate
?
.
DaiKeXiaDanGouWuCell_select_pi_ci
(
cell
:
self
)
}
override
func
layoutSubviews
()
{
override
func
layoutSubviews
()
{
super
.
layoutSubviews
()
super
.
layoutSubviews
()
if
isFx
{
if
isFx
{
...
...
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuCell.xib
View file @
33fe40c8
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/代客下单(购物)/DaiKeXiaDanGouWuViewController.swift
View file @
33fe40c8
...
@@ -10,6 +10,10 @@ import UIKit
...
@@ -10,6 +10,10 @@ import UIKit
import
IQKeyboardManagerSwift
import
IQKeyboardManagerSwift
class
DaiKeXiaDanGouWuViewController
:
BaseViewController
,
UITableViewDataSource
,
UITableViewDelegate
,
DaiKeXiaDanFooterViewDelegate
,
TitleAndBtnCellDelegate
,
GLAlertSelectViewDelegate
,
DZGLViewControllerDelegate
,
XuanZeShangPinViewControllerDelegate
,
DaiKeXiaDanGouWuCellDelegate
,
GuanLianKehuVCDelegate
,
XiuGaiYuShouJiaViewControllerDelegate
,
TitleAndTFCellDelegate
,
GeliAlertViewDelegate
,
UITextFieldDelegate
{
class
DaiKeXiaDanGouWuViewController
:
BaseViewController
,
UITableViewDataSource
,
UITableViewDelegate
,
DaiKeXiaDanFooterViewDelegate
,
TitleAndBtnCellDelegate
,
GLAlertSelectViewDelegate
,
DZGLViewControllerDelegate
,
XuanZeShangPinViewControllerDelegate
,
DaiKeXiaDanGouWuCellDelegate
,
GuanLianKehuVCDelegate
,
XiuGaiYuShouJiaViewControllerDelegate
,
TitleAndTFCellDelegate
,
GeliAlertViewDelegate
,
UITextFieldDelegate
{
func
DaiKeXiaDanGouWuCell_select_pi_ci
(
cell
:
DaiKeXiaDanGouWuCell
)
{
print
(
"选择批次"
)
}
func
DaiKeXiaDanGouWuCell_check
(
cell
:
DaiKeXiaDanGouWuCell
)
{
func
DaiKeXiaDanGouWuCell_check
(
cell
:
DaiKeXiaDanGouWuCell
)
{
//此处无用
//此处无用
}
}
...
...
GeliBusinessPlatform/ViewController/供应商管理/GYSGLCell.xib
View file @
33fe40c8
<?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=
"1
6097
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
7701
"
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=
"1
6087
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
7703
"
/>
<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=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
</dependencies>
<objects>
<objects>
...
@@ -71,7 +72,7 @@
...
@@ -71,7 +72,7 @@
<constraint
firstAttribute=
"width"
constant=
"5"
id=
"zBJ-dg-E4a"
/>
<constraint
firstAttribute=
"width"
constant=
"5"
id=
"zBJ-dg-E4a"
/>
</constraints>
</constraints>
</imageView>
</imageView>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
roundedRect
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Q4n-jx-b2i"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
system
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"Q4n-jx-b2i"
>
<rect
key=
"frame"
x=
"325"
y=
"0.0"
width=
"50"
height=
"99"
/>
<rect
key=
"frame"
x=
"325"
y=
"0.0"
width=
"50"
height=
"99"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"50"
id=
"Xmo-fD-fPw"
/>
<constraint
firstAttribute=
"width"
constant=
"50"
id=
"Xmo-fD-fPw"
/>
...
@@ -93,7 +94,7 @@
...
@@ -93,7 +94,7 @@
<state
key=
"selected"
image=
"yuxuan"
/>
<state
key=
"selected"
image=
"yuxuan"
/>
</button>
</button>
</subviews>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"q1A-kf-Vam"
secondAttribute=
"trailing"
constant=
"15"
id=
"7rf-NV-2qJ"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"q1A-kf-Vam"
secondAttribute=
"trailing"
constant=
"15"
id=
"7rf-NV-2qJ"
/>
<constraint
firstItem=
"q1A-kf-Vam"
firstAttribute=
"centerY"
secondItem=
"yTm-Gk-jr3"
secondAttribute=
"centerY"
id=
"Lfn-Bw-qKb"
/>
<constraint
firstItem=
"q1A-kf-Vam"
firstAttribute=
"centerY"
secondItem=
"yTm-Gk-jr3"
secondAttribute=
"centerY"
id=
"Lfn-Bw-qKb"
/>
...
@@ -152,5 +153,8 @@
...
@@ -152,5 +153,8 @@
<namedColor
name=
"灰色字体颜色"
>
<namedColor
name=
"灰色字体颜色"
>
<color
red=
"0.40000000000000002"
green=
"0.40000000000000002"
blue=
"0.40000000000000002"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.40000000000000002"
green=
"0.40000000000000002"
blue=
"0.40000000000000002"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</resources>
</document>
</document>
GeliBusinessPlatform/ViewController/入库/CRKSumCell.xib
View file @
33fe40c8
<?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=
"1
6097
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
7701
"
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>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"16087"
/>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<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=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
...
...
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeCell.xib
View file @
33fe40c8
<?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=
"1
6097
"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"1
7701
"
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=
"1
6087
"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"1
7703
"
/>
<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=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"opq-TL-L7q"
/>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"opq-TL-L7q"
/>
</constraints>
</constraints>
</view>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
roundedRect
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"I9V-jy-9tk"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
system
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"I9V-jy-9tk"
>
<rect
key=
"frame"
x=
"325"
y=
"0.0"
width=
"50"
height=
"49"
/>
<rect
key=
"frame"
x=
"325"
y=
"0.0"
width=
"50"
height=
"49"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"50"
id=
"mgm-qv-MsR"
/>
<constraint
firstAttribute=
"width"
constant=
"50"
id=
"mgm-qv-MsR"
/>
...
...
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.swift
View file @
33fe40c8
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/入库/PiCiXuanZeViewController.xib
View file @
33fe40c8
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/分销订单管理/RetailManageDetailViewController.swift
View file @
33fe40c8
...
@@ -9,6 +9,10 @@
...
@@ -9,6 +9,10 @@
import
UIKit
import
UIKit
class
RetailManageDetailViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
DaiKeXiaDanGouWuCellDelegate
,
S_Y_View_Delegate
{
class
RetailManageDetailViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
DaiKeXiaDanGouWuCellDelegate
,
S_Y_View_Delegate
{
func
DaiKeXiaDanGouWuCell_select_pi_ci
(
cell
:
DaiKeXiaDanGouWuCell
)
{
print
(
"选择批次"
)
}
func
S_Y_View_Check_Detail
(
data
:
OrderDetailGoodsSourceModel
)
{
func
S_Y_View_Check_Detail
(
data
:
OrderDetailGoodsSourceModel
)
{
print
(
"查看溯源"
)
print
(
"查看溯源"
)
let
browser
=
JXPhotoBrowser
()
let
browser
=
JXPhotoBrowser
()
...
...
GeliBusinessPlatform/ViewController/批次库新Cell/NewPiCiCell.swift
0 → 100644
View file @
33fe40c8
//
// NewPiCiCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2021/3/9.
// Copyright © 2021 junye lu. All rights reserved.
//
import
UIKit
protocol
NewPiCiCellDelegate
{
func
NewPiCiCellScrollAction
(
x
:
CGFloat
)
func
NewPiCiXuanZeCellBtnTextChange
(
sender
:
String
,
cell
:
NewPiCiCell
)
func
NewPiCiXuanZeCellBtnSelect
(
cell
:
NewPiCiCell
)
func
NewPiCiXuanZeCellRefreshCount
(
cell
:
NewPiCiCell
)
}
class
NewPiCiCell
:
UITableViewCell
,
UIScrollViewDelegate
,
UITextFieldDelegate
{
@IBAction
func
select_action
(
_
sender
:
UIButton
)
{
select_btn
.
isSelected
=
!
select_btn
.
isSelected
if
select_btn
.
isSelected
{
textTf
.
textColor
=
UIColor
(
named
:
"蓝色字体颜色"
)
textTf
.
layer
.
borderColor
=
UIColor
(
named
:
"蓝色字体颜色"
)?
.
cgColor
}
else
{
textTf
.
textColor
=
UIColor
(
named
:
"9A9A9A"
)
textTf
.
layer
.
borderColor
=
UIColor
(
named
:
"9A9A9A"
)?
.
cgColor
}
delegate
?
.
NewPiCiXuanZeCellBtnSelect
(
cell
:
self
)
}
@IBOutlet
weak
var
select_btn
:
UIButton
!
@IBOutlet
weak
var
bg_view
:
UIView
!
var
dateLbl
=
UILabel
()
var
nameLbl
=
UILabel
()
var
SLLbl
=
UILabel
()
var
textTf
=
UITextField
()
var
statusLbl
=
UILabel
()
var
scroll_view
=
UIScrollView
()
var
delegate
:
NewPiCiCellDelegate
?
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
scroll_view
.
bounces
=
false
bg_view
.
addSubview
(
scroll_view
)
scroll_view
.
snp
.
makeConstraints
{
(
make
)
in
make
.
top
.
left
.
right
.
bottom
.
equalToSuperview
()
}
scroll_view
.
contentSize
=
CGSize
(
width
:
448
,
height
:
49
)
scroll_view
.
showsHorizontalScrollIndicator
=
false
scroll_view
.
showsVerticalScrollIndicator
=
false
scroll_view
.
addSubview
(
nameLbl
)
scroll_view
.
addSubview
(
dateLbl
)
scroll_view
.
addSubview
(
SLLbl
)
scroll_view
.
addSubview
(
textTf
)
scroll_view
.
addSubview
(
statusLbl
)
scroll_view
.
delegate
=
self
setTextFrame
(
lbl
:
nameLbl
)
nameLbl
.
frame
=
CGRect
(
x
:
0
,
y
:
0
,
width
:
95
,
height
:
49
)
setTextFrame
(
lbl
:
SLLbl
)
SLLbl
.
frame
=
CGRect
(
x
:
95
,
y
:
0
,
width
:
92
,
height
:
49
)
textTf
.
frame
=
CGRect
(
x
:
SLLbl
.
frame
.
maxX
+
15
,
y
:
9.5
,
width
:
70
,
height
:
32
)
textTf
.
layer
.
borderWidth
=
1
textTf
.
textAlignment
=
.
center
textTf
.
layer
.
cornerRadius
=
3
textTf
.
layer
.
masksToBounds
=
true
textTf
.
textColor
=
UIColor
(
named
:
"9A9A9A"
)
textTf
.
layer
.
borderColor
=
UIColor
(
named
:
"9A9A9A"
)?
.
cgColor
setTextFrame
(
lbl
:
statusLbl
)
statusLbl
.
frame
=
CGRect
(
x
:
textTf
.
frame
.
maxX
+
15
,
y
:
0
,
width
:
66
,
height
:
49
)
setTextFrame
(
lbl
:
dateLbl
)
dateLbl
.
frame
=
CGRect
(
x
:
statusLbl
.
frame
.
maxX
,
y
:
0
,
width
:
95
,
height
:
49
)
// Initialization code
textTf
.
keyboardType
=
.
numberPad
textTf
.
delegate
=
self
textTf
.
addTarget
(
self
,
action
:
#selector(
textChange(sender:)
)
,
for
:
.
editingChanged
)
}
func
setTextFrame
(
lbl
:
UILabel
){
lbl
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
lbl
.
font
=
UIFont
.
systemFont
(
ofSize
:
13
)
lbl
.
textAlignment
=
.
center
lbl
.
text
=
"123"
}
func
scrollViewDidScroll
(
_
scrollView
:
UIScrollView
)
{
delegate
?
.
NewPiCiCellScrollAction
(
x
:
scrollView
.
contentOffset
.
x
)
}
func
textFieldDidEndEditing
(
_
textField
:
UITextField
)
{
if
isPurnInt
(
string
:
textTf
.
text
!
){
delegate
?
.
NewPiCiXuanZeCellRefreshCount
(
cell
:
self
)
}
}
@objc
func
textChange
(
sender
:
UITextField
){
if
isPurnInt
(
string
:
textTf
.
text
!
){
let
num1
=
textTf
.
text
as!
NSString
let
num2
=
SLLbl
.
text
as!
NSString
if
num1
.
integerValue
>
num2
.
integerValue
{
HUD
.
flash
(
.
label
(
"超出库存"
),
delay
:
1.2
)
textTf
.
text
=
SLLbl
.
text
}
if
num1
.
integerValue
==
0
{
HUD
.
flash
(
.
label
(
"出库数量不能为0"
),
delay
:
1.2
)
textTf
.
text
=
""
}
delegate
?
.
NewPiCiXuanZeCellBtnTextChange
(
sender
:
textTf
.
text
!
,
cell
:
self
)
}
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
// Configure the view for the selected state
}
}
GeliBusinessPlatform/ViewController/批次库新Cell/NewPiCiCell.xib
0 → 100644
View file @
33fe40c8
<?xml version="1.0" encoding="UTF-8"?>
<document
type=
"com.apple.InterfaceBuilder3.CocoaTouch.XIB"
version=
"3.0"
toolsVersion=
"17701"
targetRuntime=
"iOS.CocoaTouch"
propertyAccessControl=
"none"
useAutolayout=
"YES"
useTraitCollections=
"YES"
useSafeAreas=
"YES"
colorMatched=
"YES"
>
<device
id=
"retina6_1"
orientation=
"portrait"
appearance=
"light"
/>
<dependencies>
<deployment
identifier=
"iOS"
/>
<plugIn
identifier=
"com.apple.InterfaceBuilder.IBCocoaTouchPlugin"
version=
"17703"
/>
<capability
name=
"Named colors"
minToolsVersion=
"9.0"
/>
<capability
name=
"Safe area layout guides"
minToolsVersion=
"9.0"
/>
<capability
name=
"System colors in document resources"
minToolsVersion=
"11.0"
/>
<capability
name=
"documents saved in the Xcode 8 format"
minToolsVersion=
"8.0"
/>
</dependencies>
<objects>
<placeholder
placeholderIdentifier=
"IBFilesOwner"
id=
"-1"
userLabel=
"File's Owner"
/>
<placeholder
placeholderIdentifier=
"IBFirstResponder"
id=
"-2"
customClass=
"UIResponder"
/>
<tableViewCell
contentMode=
"scaleToFill"
selectionStyle=
"default"
indentationWidth=
"10"
id=
"KGk-i7-Jjw"
customClass=
"NewPiCiCell"
customModule=
"TestClass"
customModuleProvider=
"target"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
flexibleMaxX=
"YES"
flexibleMaxY=
"YES"
/>
<tableViewCellContentView
key=
"contentView"
opaque=
"NO"
clipsSubviews=
"YES"
multipleTouchEnabled=
"YES"
contentMode=
"center"
tableViewCell=
"KGk-i7-Jjw"
id=
"H2p-sc-9uM"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"320"
height=
"44"
/>
<autoresizingMask
key=
"autoresizingMask"
/>
<subviews>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"T4a-gd-2AQ"
>
<rect
key=
"frame"
x=
"270"
y=
"0.0"
width=
"50"
height=
"44"
/>
<subviews>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"5vc-KW-aaq"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"50"
height=
"44"
/>
<state
key=
"normal"
image=
"daixuan"
/>
<state
key=
"selected"
image=
"yuxuan"
/>
<connections>
<action
selector=
"select_action:"
destination=
"KGk-i7-Jjw"
eventType=
"touchUpInside"
id=
"HZY-or-Rou"
/>
</connections>
</button>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraint
firstAttribute=
"trailing"
secondItem=
"5vc-KW-aaq"
secondAttribute=
"trailing"
id=
"EFC-NO-hyf"
/>
<constraint
firstItem=
"5vc-KW-aaq"
firstAttribute=
"leading"
secondItem=
"T4a-gd-2AQ"
secondAttribute=
"leading"
id=
"faM-Ia-MEb"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"5vc-KW-aaq"
secondAttribute=
"bottom"
id=
"g5i-sh-Zt9"
/>
<constraint
firstItem=
"5vc-KW-aaq"
firstAttribute=
"top"
secondItem=
"T4a-gd-2AQ"
secondAttribute=
"top"
id=
"pDf-At-TIs"
/>
<constraint
firstAttribute=
"width"
constant=
"50"
id=
"zue-ML-y3T"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"0g9-tQ-8oz"
>
<rect
key=
"frame"
x=
"269"
y=
"3"
width=
"1"
height=
"38"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"width"
constant=
"1"
id=
"BLG-Td-uet"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"T9q-Q6-Swf"
>
<rect
key=
"frame"
x=
"15"
y=
"43"
width=
"305"
height=
"1"
/>
<color
key=
"backgroundColor"
name=
"灰色分界线"
/>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"x5z-3a-vP3"
/>
</constraints>
</view>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"p4S-yy-Epi"
>
<rect
key=
"frame"
x=
"0.0"
y=
"0.0"
width=
"269"
height=
"43"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
</view>
</subviews>
<constraints>
<constraint
firstItem=
"T9q-Q6-Swf"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
constant=
"15"
id=
"1uI-ZO-R75"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"T9q-Q6-Swf"
secondAttribute=
"bottom"
id=
"972-1k-ZJN"
/>
<constraint
firstItem=
"T4a-gd-2AQ"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"A4I-RW-oJp"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"0g9-tQ-8oz"
secondAttribute=
"bottom"
constant=
"3"
id=
"AEJ-AH-I1a"
/>
<constraint
firstItem=
"p4S-yy-Epi"
firstAttribute=
"leading"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"leading"
id=
"FOM-MG-ls5"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"T4a-gd-2AQ"
secondAttribute=
"bottom"
id=
"Jtq-QI-ihE"
/>
<constraint
firstItem=
"0g9-tQ-8oz"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
constant=
"3"
id=
"OPx-ut-GnL"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"T9q-Q6-Swf"
secondAttribute=
"trailing"
id=
"PES-ot-UVv"
/>
<constraint
firstItem=
"0g9-tQ-8oz"
firstAttribute=
"leading"
secondItem=
"p4S-yy-Epi"
secondAttribute=
"trailing"
id=
"Qjq-zi-lSw"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"T4a-gd-2AQ"
secondAttribute=
"trailing"
id=
"dKy-hX-nfS"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"p4S-yy-Epi"
secondAttribute=
"bottom"
constant=
"1"
id=
"gGQ-en-nOs"
/>
<constraint
firstItem=
"p4S-yy-Epi"
firstAttribute=
"top"
secondItem=
"H2p-sc-9uM"
secondAttribute=
"top"
id=
"hWY-Wy-Ix9"
/>
<constraint
firstItem=
"T4a-gd-2AQ"
firstAttribute=
"leading"
secondItem=
"0g9-tQ-8oz"
secondAttribute=
"trailing"
id=
"paO-59-uAc"
/>
</constraints>
</tableViewCellContentView>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<connections>
<outlet
property=
"bg_view"
destination=
"p4S-yy-Epi"
id=
"I0W-k2-nJM"
/>
<outlet
property=
"select_btn"
destination=
"5vc-KW-aaq"
id=
"c1Y-07-gIM"
/>
</connections>
<point
key=
"canvasLocation"
x=
"142"
y=
"71"
/>
</tableViewCell>
</objects>
<resources>
<image
name=
"daixuan"
width=
"19"
height=
"19"
/>
<image
name=
"yuxuan"
width=
"19"
height=
"19"
/>
<namedColor
name=
"灰色分界线"
>
<color
red=
"0.92941176470588238"
green=
"0.92941176470588238"
blue=
"0.92941176470588238"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
<systemColor
name=
"systemBackgroundColor"
>
<color
white=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
</systemColor>
</resources>
</document>
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
View file @
33fe40c8
...
@@ -101,9 +101,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -101,9 +101,7 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
self
.
tableV
?
.
mj_header
?
.
endRefreshing
()
self
.
tableV
?
.
mj_header
?
.
endRefreshing
()
self
.
page
=
2
self
.
page
=
2
self
.
tableV
.
performBatchUpdates
({
self
.
tableV
.
performBatchUpdates
({
UIView
.
animate
(
views
:
self
.
tableV
!.
visibleCells
,
UIView
.
animate
(
views
:
self
.
tableV
!.
visibleCells
,
animations
:
self
.
animations
,
completion
:
{
animations
:
self
.
animations
,
completion
:
{
})
})
},
completion
:
nil
)
},
completion
:
nil
)
if
dataM
.
data
?
.
count
==
0
{
if
dataM
.
data
?
.
count
==
0
{
...
@@ -113,16 +111,11 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -113,16 +111,11 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
}
}
})
{
(
error
)
in
})
{
(
error
)
in
self
.
tableV
?
.
mj_header
?
.
endRefreshing
()
self
.
tableV
?
.
mj_header
?
.
endRefreshing
()
}
}
}
}
//MARK:--加载更多数据
//MARK:--加载更多数据
@objc
func
loadMoreData
(){
@objc
func
loadMoreData
(){
print
(
"加载更多数据"
)
print
(
"加载更多数据"
)
var
dic
=
[
"user_token"
:
UserToken
as
Any
,
"keyword"
:
keyword
,
"page"
:
page
,
"order_status"
:
orderStatus
,
"pay_status"
:
payStatus
,
"order_source"
:
orderSource
,
"shipping_status"
:
shippingStatus
,
"start_time"
:
startTime
,
"end_time"
:
endTime
]
var
dic
=
[
"user_token"
:
UserToken
as
Any
,
"keyword"
:
keyword
,
"page"
:
page
,
"order_status"
:
orderStatus
,
"pay_status"
:
payStatus
,
"order_source"
:
orderSource
,
"shipping_status"
:
shippingStatus
,
"start_time"
:
startTime
,
"end_time"
:
endTime
]
if
endTime
==
0
{
if
endTime
==
0
{
dic
.
removeValue
(
forKey
:
"end_time"
)
dic
.
removeValue
(
forKey
:
"end_time"
)
...
@@ -139,10 +132,8 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -139,10 +132,8 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
self
.
tableV
.
reloadData
()
self
.
tableV
.
reloadData
()
self
.
tableV
?
.
mj_footer
?
.
endRefreshing
()
self
.
tableV
?
.
mj_footer
?
.
endRefreshing
()
}
}
})
{
(
error
)
in
})
{
(
error
)
in
self
.
tableV
?
.
mj_footer
?
.
endRefreshing
()
self
.
tableV
?
.
mj_footer
?
.
endRefreshing
()
}
}
}
}
...
@@ -176,10 +167,8 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -176,10 +167,8 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
footerMJ
.
setRefreshingTarget
(
self
,
refreshingAction
:
#selector(
loadMoreData
)
)
footerMJ
.
setRefreshingTarget
(
self
,
refreshingAction
:
#selector(
loadMoreData
)
)
self
.
tableV
!.
mj_footer
=
footerMJ
self
.
tableV
!.
mj_footer
=
footerMJ
self
.
tableV
?
.
mj_header
?
.
beginRefreshing
()
self
.
tableV
?
.
mj_header
?
.
beginRefreshing
()
}
}
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
func
tableView
(
_
tableView
:
UITableView
,
numberOfRowsInSection
section
:
Int
)
->
Int
{
return
dataArr
.
count
return
dataArr
.
count
}
}
...
@@ -187,7 +176,6 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -187,7 +176,6 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"CGDListCell"
)
as!
CGDListCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"CGDListCell"
)
as!
CGDListCell
let
rowModel
=
self
.
dataArr
[
indexPath
.
row
]
let
rowModel
=
self
.
dataArr
[
indexPath
.
row
]
cell
.
orderNumerLbl
.
text
=
rowModel
.
order_sn
!
cell
.
orderNumerLbl
.
text
=
rowModel
.
order_sn
!
if
rowModel
.
order_status
!=
nil
&&
rowModel
.
order_status_d
!=
nil
&&
rowModel
.
goods_before_pay
!=
nil
{
if
rowModel
.
order_status
!=
nil
&&
rowModel
.
order_status_d
!=
nil
&&
rowModel
.
goods_before_pay
!=
nil
{
...
...
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
33fe40c8
...
@@ -12,6 +12,10 @@ protocol OrderDViewControllerDelegate {
...
@@ -12,6 +12,10 @@ protocol OrderDViewControllerDelegate {
func
refishingOrderDchange
()
func
refishingOrderDchange
()
}
}
class
OrderDViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
TitleAndBtnCellDelegate
,
GuanLianKehuVCDelegate
,
OrderDViewFooterViewDelegate
,
TitleAndTFCellDelegate
,
GeliAlertViewDelegate
,
GLAlertSelectViewDelegate
,
XiuGaiYuShouJiaViewControllerDelegate
,
ChangeGoodsPriceVCDelegate
,
GeliAlertTextFiledDelegate
,
GeliAlertTextViewDelegate
,
UpBillDataTableViewCellDelegate
,
DaiKeXiaDanGouWuCellDelegate
,
S_Y_View_Delegate
{
class
OrderDViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
TitleAndBtnCellDelegate
,
GuanLianKehuVCDelegate
,
OrderDViewFooterViewDelegate
,
TitleAndTFCellDelegate
,
GeliAlertViewDelegate
,
GLAlertSelectViewDelegate
,
XiuGaiYuShouJiaViewControllerDelegate
,
ChangeGoodsPriceVCDelegate
,
GeliAlertTextFiledDelegate
,
GeliAlertTextViewDelegate
,
UpBillDataTableViewCellDelegate
,
DaiKeXiaDanGouWuCellDelegate
,
S_Y_View_Delegate
{
func
DaiKeXiaDanGouWuCell_select_pi_ci
(
cell
:
DaiKeXiaDanGouWuCell
)
{
print
(
"选择批次"
)
}
var
sufficient_code
=
-
1
var
sufficient_code
=
-
1
var
is_pay_own
=
0
var
is_pay_own
=
0
var
order_type
:
Int
?
{
var
order_type
:
Int
?
{
...
...
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