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
ebb2bf19
Commit
ebb2bf19
authored
Mar 05, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充入库新增内容
parent
ea297a11
Changes
27
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
136 additions
and
63 deletions
+136
-63
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/Model/LalamoveInterface/LalamoveModel.swift
...inessPlatform/Model/LalamoveInterface/LalamoveModel.swift
+3
-1
GeliBusinessPlatform/Model/Logistics/LogisticsModel.swift
GeliBusinessPlatform/Model/Logistics/LogisticsModel.swift
+3
-1
GeliBusinessPlatform/Model/OrderManageModel/OrderDetailModel.swift
...essPlatform/Model/OrderManageModel/OrderDetailModel.swift
+2
-2
GeliBusinessPlatform/Model/WarehouseManageModel/GetGoodBatchModel.swift
...atform/Model/WarehouseManageModel/GetGoodBatchModel.swift
+1
-1
GeliBusinessPlatform/Model/WarehouseManageModel/InputInitInfoModel.swift
...tform/Model/WarehouseManageModel/InputInitInfoModel.swift
+20
-0
GeliBusinessPlatform/Model/WarehouseManageModel/IoGoodsDetailModel.swift
...tform/Model/WarehouseManageModel/IoGoodsDetailModel.swift
+6
-2
GeliBusinessPlatform/Other/SDK/HLPrinter/HLBluetooth/HLBLEManager.m
...ssPlatform/Other/SDK/HLPrinter/HLBluetooth/HLBLEManager.m
+3
-0
GeliBusinessPlatform/View/Cell/TitleAndTFAndBtnCell.swift
GeliBusinessPlatform/View/Cell/TitleAndTFAndBtnCell.swift
+6
-1
GeliBusinessPlatform/View/Cell/TitleAndTFAndBtnCell.xib
GeliBusinessPlatform/View/Cell/TitleAndTFAndBtnCell.xib
+3
-3
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
+1
-1
GeliBusinessPlatform/ViewController/1.1入库&出库/NewSelectItemVc.swift
...essPlatform/ViewController/1.1入库&出库/NewSelectItemVc.swift
+14
-2
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.swift
...ssPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.swift
+9
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.xib
...nessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.xib
+0
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
+0
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/CKGmCell.swift
...usinessPlatform/ViewController/1.1入库&出库/出库/CKGmCell.swift
+1
-1
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
+3
-2
GeliBusinessPlatform/ViewController/代客下单(货运)/运单详情/YunDanXiangQingViewController.swift
...troller/代客下单(货运)/运单详情/YunDanXiangQingViewController.swift
+3
-2
GeliBusinessPlatform/ViewController/供应商管理/GYSGLViewController.swift
...ssPlatform/ViewController/供应商管理/GYSGLViewController.swift
+6
-3
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
+3
-7
GeliBusinessPlatform/ViewController/新增采购单/CGDCell1.xib
GeliBusinessPlatform/ViewController/新增采购单/CGDCell1.xib
+5
-5
GeliBusinessPlatform/ViewController/溯源/cell/S_Y_View_Cell.swift
...sinessPlatform/ViewController/溯源/cell/S_Y_View_Cell.swift
+1
-1
GeliBusinessPlatform/ViewController/蓝牙连接/BtViewController.m
GeliBusinessPlatform/ViewController/蓝牙连接/BtViewController.m
+1
-14
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
...ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
+17
-5
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.xib
...m/ViewController/货拉拉/运单详情/WaybillDetailViewController.xib
+14
-5
GeliBusinessPlatform/ViewController/采购单列表/CGDListVC.swift
GeliBusinessPlatform/ViewController/采购单列表/CGDListVC.swift
+4
-0
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
+7
-4
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
ebb2bf19
No preview for this file type
GeliBusinessPlatform/Model/LalamoveInterface/LalamoveModel.swift
View file @
ebb2bf19
...
@@ -555,11 +555,13 @@ class getHllOrderDetailsSalePlatDataModel: Mappable {
...
@@ -555,11 +555,13 @@ class getHllOrderDetailsSalePlatDataModel: Mappable {
var
wb_no
:
String
?
var
wb_no
:
String
?
var
bill_price_arr
:
Float
?
var
bill_price_arr
:
Float
?
var
pay_status
:
Int
?
var
pay_status
:
Int
?
var
pay_time
:
String
?
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
}
}
func
mapping
(
map
:
Map
)
{
func
mapping
(
map
:
Map
)
{
pay_time
<-
map
[
"pay_time"
]
sale_plat
<-
map
[
"sale_plat"
]
sale_plat
<-
map
[
"sale_plat"
]
order_sn
<-
map
[
"order_sn"
]
order_sn
<-
map
[
"order_sn"
]
hll_pay_status_two
<-
map
[
"hll_pay_status_two"
]
hll_pay_status_two
<-
map
[
"hll_pay_status_two"
]
...
...
GeliBusinessPlatform/Model/Logistics/LogisticsModel.swift
View file @
ebb2bf19
...
@@ -364,11 +364,13 @@ class logisticsOrderDetailsDataModel: Mappable {
...
@@ -364,11 +364,13 @@ class logisticsOrderDetailsDataModel: Mappable {
var
fc_flag_cn
:
String
?
//运费结算方式-中文
var
fc_flag_cn
:
String
?
//运费结算方式-中文
var
zcservice
:
Int
?
//装货服务
var
zcservice
:
Int
?
//装货服务
var
xcservice
:
Int
?
//卸货服务
var
xcservice
:
Int
?
//卸货服务
var
pay_time
:
String
?
//支付时间
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
}
}
func
mapping
(
map
:
Map
)
{
func
mapping
(
map
:
Map
)
{
pay_time
<-
map
[
"pay_time"
]
id
<-
map
[
"id"
]
id
<-
map
[
"id"
]
user_id
<-
map
[
"user_id"
]
user_id
<-
map
[
"user_id"
]
wb_no
<-
map
[
"wb_no"
]
wb_no
<-
map
[
"wb_no"
]
...
...
GeliBusinessPlatform/Model/OrderManageModel/OrderDetailModel.swift
View file @
ebb2bf19
...
@@ -276,7 +276,7 @@ class OrderDetailSaleResModel: Mappable {
...
@@ -276,7 +276,7 @@ class OrderDetailSaleResModel: Mappable {
}
}
class
OrderDetailGoodsSourceModel
:
Mappable
{
class
OrderDetailGoodsSourceModel
:
Mappable
{
var
ven_id
:
Int
?
//供应商的ven_id
var
ven_id
:
Int
?
//供应商的ven_id
var
batch_
id
:
Int
?
//产品批次号
var
batch_
sn
:
String
?
//产品批次号
var
add_time
:
String
?
//入库时间
var
add_time
:
String
?
//入库时间
var
production_data
:
String
?
//生产日期
var
production_data
:
String
?
//生产日期
var
valid_date
:
String
?
//有效日期
var
valid_date
:
String
?
//有效日期
...
@@ -292,7 +292,7 @@ class OrderDetailGoodsSourceModel: Mappable {
...
@@ -292,7 +292,7 @@ class OrderDetailGoodsSourceModel: Mappable {
}
}
func
mapping
(
map
:
Map
)
{
func
mapping
(
map
:
Map
)
{
ven_id
<-
map
[
"ven_id"
]
ven_id
<-
map
[
"ven_id"
]
batch_
id
<-
map
[
"batch_id
"
]
batch_
sn
<-
map
[
"batch_sn
"
]
add_time
<-
map
[
"add_time"
]
add_time
<-
map
[
"add_time"
]
production_data
<-
map
[
"production_data"
]
production_data
<-
map
[
"production_data"
]
valid_date
<-
map
[
"valid_date"
]
valid_date
<-
map
[
"valid_date"
]
...
...
GeliBusinessPlatform/Model/WarehouseManageModel/GetGoodBatchModel.swift
View file @
ebb2bf19
...
@@ -26,7 +26,7 @@ class GetGoodBatchModel: Mappable {
...
@@ -26,7 +26,7 @@ class GetGoodBatchModel: Mappable {
class
GetGoodBatchDataModel
:
Mappable
{
class
GetGoodBatchDataModel
:
Mappable
{
var
batch_id
:
Int
?
//批次id
var
batch_id
:
Int
?
//批次id
var
batch_sn
:
Int
?
//批次号
var
batch_sn
:
String
?
//批次号
var
w_id
:
Int
?
//仓储id
var
w_id
:
Int
?
//仓储id
var
p_id
:
Int
?
//库位id
var
p_id
:
Int
?
//库位id
...
...
GeliBusinessPlatform/Model/WarehouseManageModel/InputInitInfoModel.swift
View file @
ebb2bf19
...
@@ -131,11 +131,19 @@ class InputInitInfoGoodsInfoModel: Mappable { //商品信息
...
@@ -131,11 +131,19 @@ class InputInitInfoGoodsInfoModel: Mappable { //商品信息
var
no_push_num
:
Int
?
var
no_push_num
:
Int
?
var
report_id
:
String
?
var
report_id
:
String
?
var
ven_list
:
Array
<
InputInitInfoGoodsVenInfoModel
>
?
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
}
}
func
mapping
(
map
:
Map
)
{
func
mapping
(
map
:
Map
)
{
sku_id
<-
map
[
"sku_id"
]
sku_id
<-
map
[
"sku_id"
]
ven_list
<-
map
[
"ven_list"
]
goods_id
<-
map
[
"goods_id"
]
goods_id
<-
map
[
"goods_id"
]
goods_name
<-
map
[
"goods_name"
]
goods_name
<-
map
[
"goods_name"
]
goods_thumb
<-
map
[
"goods_thumb"
]
goods_thumb
<-
map
[
"goods_thumb"
]
...
@@ -154,6 +162,18 @@ class InputInitInfoGoodsInfoModel: Mappable { //商品信息
...
@@ -154,6 +162,18 @@ class InputInitInfoGoodsInfoModel: Mappable { //商品信息
report_id
<-
map
[
"report_id"
]
report_id
<-
map
[
"report_id"
]
}
}
}
}
class
InputInitInfoGoodsVenInfoModel
:
Mappable
{
var
ven_id
:
Int
?
var
ven_name
:
String
?
required
init
?(
map
:
Map
)
{
}
func
mapping
(
map
:
Map
)
{
ven_id
<-
map
[
"ven_id"
]
ven_name
<-
map
[
"ven_name"
]
}
}
class
GoodsReportAddModel
:
Mappable
{
class
GoodsReportAddModel
:
Mappable
{
var
code
:
Int
?
var
code
:
Int
?
...
...
GeliBusinessPlatform/Model/WarehouseManageModel/IoGoodsDetailModel.swift
View file @
ebb2bf19
...
@@ -42,7 +42,7 @@ class IoGoodsDetailDataIoResModel: Mappable {
...
@@ -42,7 +42,7 @@ class IoGoodsDetailDataIoResModel: Mappable {
var
apply_remark
:
String
?
var
apply_remark
:
String
?
//审核备注
//审核备注
var
audit_remark
:
String
?
var
audit_remark
:
String
?
var
auditor
:
String
?
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
...
@@ -50,6 +50,7 @@ class IoGoodsDetailDataIoResModel: Mappable {
...
@@ -50,6 +50,7 @@ class IoGoodsDetailDataIoResModel: Mappable {
func
mapping
(
map
:
Map
)
{
func
mapping
(
map
:
Map
)
{
apply_remark
<-
map
[
"apply_remark"
]
apply_remark
<-
map
[
"apply_remark"
]
audit_remark
<-
map
[
"audit_remark"
]
audit_remark
<-
map
[
"audit_remark"
]
auditor
<-
map
[
"auditor"
]
}
}
}
}
...
@@ -73,8 +74,10 @@ class IoGoodsDetailDataGoodsResModel: Mappable {
...
@@ -73,8 +74,10 @@ class IoGoodsDetailDataGoodsResModel: Mappable {
var
w_name
:
String
?
//仓库
var
w_name
:
String
?
//仓库
var
p_name
:
String
?
//库位
var
p_name
:
String
?
//库位
var
ven_id
:
Int
?
var
ven_name
:
String
?
//供货供应商名称
var
ven_name
:
String
?
//供货供应商名称
var
batch_id
:
Int
?
//商品批次号
var
batch_id
:
Int
?
//商品批次号
var
batch_sn
:
String
?
var
bar_code
:
Int
?
//商品条码
var
bar_code
:
Int
?
//商品条码
required
init
?(
map
:
Map
)
{
required
init
?(
map
:
Map
)
{
...
@@ -98,9 +101,10 @@ class IoGoodsDetailDataGoodsResModel: Mappable {
...
@@ -98,9 +101,10 @@ class IoGoodsDetailDataGoodsResModel: Mappable {
file_url
<-
map
[
"file_url"
]
file_url
<-
map
[
"file_url"
]
w_name
<-
map
[
"w_name"
]
w_name
<-
map
[
"w_name"
]
p_name
<-
map
[
"p_name"
]
p_name
<-
map
[
"p_name"
]
ven_id
<-
map
[
"ven_id"
]
ven_name
<-
map
[
"ven_name"
]
ven_name
<-
map
[
"ven_name"
]
batch_id
<-
map
[
"batch_id"
]
batch_id
<-
map
[
"batch_id"
]
batch_sn
<-
map
[
"batch_sn"
]
bar_code
<-
map
[
"bar_code"
]
bar_code
<-
map
[
"bar_code"
]
}
}
}
}
GeliBusinessPlatform/Other/SDK/HLPrinter/HLBluetooth/HLBLEManager.m
View file @
ebb2bf19
...
@@ -321,6 +321,9 @@ static HLBLEManager *instance = nil;
...
@@ -321,6 +321,9 @@ static HLBLEManager *instance = nil;
// 读取特性中的值
// 读取特性中的值
-
(
void
)
peripheral
:(
CBPeripheral
*
)
peripheral
didUpdateValueForCharacteristic
:(
CBCharacteristic
*
)
characteristic
error
:(
NSError
*
)
error
-
(
void
)
peripheral
:(
CBPeripheral
*
)
peripheral
didUpdateValueForCharacteristic
:(
CBCharacteristic
*
)
characteristic
error
:(
NSError
*
)
error
{
{
if
(
error
)
{
if
(
error
)
{
if
(
_valueForCharacteristicBlock
)
{
if
(
_valueForCharacteristicBlock
)
{
_valueForCharacteristicBlock
(
characteristic
,
nil
,
error
);
_valueForCharacteristicBlock
(
characteristic
,
nil
,
error
);
...
...
GeliBusinessPlatform/View/Cell/TitleAndTFAndBtnCell.swift
View file @
ebb2bf19
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
import
UIKit
import
UIKit
@objc
protocol
TitleAndTFAndBtnCellDelegate
{
@objc
protocol
TitleAndTFAndBtnCellDelegate
{
@objc
optional
func
TitleAndTFAndBtnCellBtnClick
()
@objc
optional
func
TitleAndTFAndBtnCellBtnClick
()
@objc
optional
func
TitleAndTFAndBtnCelltextFieldContent
(
str
:
String
)
}
}
class
TitleAndTFAndBtnCell
:
UITableViewCell
{
class
TitleAndTFAndBtnCell
:
UITableViewCell
{
var
delegate
:
TitleAndTFAndBtnCellDelegate
?
var
delegate
:
TitleAndTFAndBtnCellDelegate
?
...
@@ -21,9 +22,13 @@ class TitleAndTFAndBtnCell: UITableViewCell {
...
@@ -21,9 +22,13 @@ class TitleAndTFAndBtnCell: UITableViewCell {
override
func
awakeFromNib
()
{
override
func
awakeFromNib
()
{
super
.
awakeFromNib
()
super
.
awakeFromNib
()
self
.
selectionStyle
=
.
none
self
.
selectionStyle
=
.
none
textTF
.
addTarget
(
self
,
action
:
#selector(
textChange(textField:)
)
,
for
:
.
editingChanged
)
// Initialization code
// Initialization code
}
}
@objc
func
textChange
(
textField
:
UITextField
){
delegate
?
.
TitleAndTFAndBtnCelltextFieldContent
?(
str
:
textField
.
text
!
)
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
super
.
setSelected
(
selected
,
animated
:
animated
)
...
...
GeliBusinessPlatform/View/Cell/TitleAndTFAndBtnCell.xib
View file @
ebb2bf19
<?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.2
"
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"
/>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<constraint
firstAttribute=
"width"
constant=
"14"
id=
"Kai-ig-cv8"
/>
<constraint
firstAttribute=
"width"
constant=
"14"
id=
"Kai-ig-cv8"
/>
</constraints>
</constraints>
</imageView>
</imageView>
<button
opaque=
"NO"
alpha=
"0.5"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
roundedRect
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bwc-Q5-ss2"
>
<button
opaque=
"NO"
alpha=
"0.5"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
system
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"bwc-Q5-ss2"
>
<rect
key=
"frame"
x=
"343"
y=
"0.0"
width=
"32"
height=
"49"
/>
<rect
key=
"frame"
x=
"343"
y=
"0.0"
width=
"32"
height=
"49"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<color
key=
"backgroundColor"
white=
"0.0"
alpha=
"0.0"
colorSpace=
"custom"
customColorSpace=
"genericGamma22GrayColorSpace"
/>
<connections>
<connections>
...
...
GeliBusinessPlatform/View/Cell/TitleAndTFCell.swift
View file @
ebb2bf19
...
@@ -24,7 +24,7 @@ class TitleAndTFCell: UITableViewCell {
...
@@ -24,7 +24,7 @@ class TitleAndTFCell: UITableViewCell {
@objc
func
textChange
(
textField
:
UITextField
){
@objc
func
textChange
(
textField
:
UITextField
){
print
(
"te == "
,
textField
.
text
)
delegate
?
.
textFieldContent
?(
content
:
textField
.
text
!
,
cell
:
self
)
delegate
?
.
textFieldContent
?(
content
:
textField
.
text
!
,
cell
:
self
)
}
}
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/NewSelectItemVc.swift
View file @
ebb2bf19
...
@@ -8,12 +8,14 @@
...
@@ -8,12 +8,14 @@
import
UIKit
import
UIKit
protocol
NewSelectItemVcDelegate
{
protocol
NewSelectItemVcDelegate
{
func
NewSelectItemVcSelect
(
datas
:
Array
<
InputInitInfoGoodsInfoModel
>
,
pici
:
Array
<
Array
<
GetGoodBatchDataModel
>>
)
func
NewSelectItemVcSelect
(
datas
:
Array
<
InputInitInfoGoodsInfoModel
>
,
pici
:
Array
<
Array
<
GetGoodBatchDataModel
>>
,
select
:
Array
<
Int
>
,
str
:
Array
<
String
>
)
}
}
class
NewSelectItemVc
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
class
NewSelectItemVc
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
var
isRuKu
=
false
var
isRuKu
=
false
var
rkDatas
:
Array
<
InputInitInfoGoodsInfoModel
>
=
[]
var
rkDatas
:
Array
<
InputInitInfoGoodsInfoModel
>
=
[]
var
rkSelectArr
:
Array
<
InputInitInfoGoodsInfoModel
>
=
[]
var
rkSelectArr
:
Array
<
InputInitInfoGoodsInfoModel
>
=
[]
var
select_ven_list
:
Array
<
Int
>
=
[]
var
report_sn_arr
:
Array
<
String
>
=
[]
var
tempRecord
:
Array
<
Int
>
=
[]
var
tempRecord
:
Array
<
Int
>
=
[]
var
recordArr
:
Array
<
Array
<
GetGoodBatchDataModel
>>
=
[]{
var
recordArr
:
Array
<
Array
<
GetGoodBatchDataModel
>>
=
[]{
didSet
{
didSet
{
...
@@ -36,7 +38,7 @@ class NewSelectItemVc: BaseViewController,UITableViewDelegate,UITableViewDataSou
...
@@ -36,7 +38,7 @@ class NewSelectItemVc: BaseViewController,UITableViewDelegate,UITableViewDataSou
}
}
}
}
}
}
delegate
?
.
NewSelectItemVcSelect
(
datas
:
rkSelectArr
,
pici
:
recordArr
)
delegate
?
.
NewSelectItemVcSelect
(
datas
:
rkSelectArr
,
pici
:
recordArr
,
select
:
select_ven_list
,
str
:
report_sn_arr
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
@IBOutlet
weak
var
listView
:
UITableView
!
@IBOutlet
weak
var
listView
:
UITableView
!
...
@@ -89,12 +91,22 @@ class NewSelectItemVc: BaseViewController,UITableViewDelegate,UITableViewDataSou
...
@@ -89,12 +91,22 @@ class NewSelectItemVc: BaseViewController,UITableViewDelegate,UITableViewDataSou
}
}
if
idx
!=
nil
{
if
idx
!=
nil
{
rkSelectArr
.
remove
(
at
:
idx
!
)
rkSelectArr
.
remove
(
at
:
idx
!
)
if
select_ven_list
.
count
>
0
{
select_ven_list
.
remove
(
at
:
idx
!
)
report_sn_arr
.
remove
(
at
:
idx
!
)
}
if
!
isRuKu
{
if
!
isRuKu
{
tempRecord
.
insert
(
10086
,
at
:
idx
!
)
tempRecord
.
insert
(
10086
,
at
:
idx
!
)
tempRecord
.
remove
(
at
:
idx
!+
1
)
tempRecord
.
remove
(
at
:
idx
!+
1
)
}
}
}
else
{
}
else
{
rkSelectArr
.
append
(
data
)
rkSelectArr
.
append
(
data
)
report_sn_arr
.
append
(
""
)
if
data
.
ven_list
?
.
count
==
1
{
select_ven_list
.
append
(
0
)
}
else
{
select_ven_list
.
append
(
-
1
)
}
}
}
listView
.
reloadData
()
listView
.
reloadData
()
}
}
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.swift
View file @
ebb2bf19
...
@@ -13,14 +13,23 @@ protocol NewOnlyRKCellDelegate {
...
@@ -13,14 +13,23 @@ protocol NewOnlyRKCellDelegate {
func
NewOnlyRKCellAddRepord
(
cell
:
NewOnlyRKCell
)
//添加检测报告
func
NewOnlyRKCellAddRepord
(
cell
:
NewOnlyRKCell
)
//添加检测报告
func
NewOnlyRKCellDel
(
cell
:
NewOnlyRKCell
)
//删除
func
NewOnlyRKCellDel
(
cell
:
NewOnlyRKCell
)
//删除
func
NewOnlyRKCellTFinput
(
text
:
String
,
inputType
:
Int
,
cell
:
NewOnlyRKCell
)
func
NewOnlyRKCellTFinput
(
text
:
String
,
inputType
:
Int
,
cell
:
NewOnlyRKCell
)
func
NewOnlyRKCell_gys_select
(
cell
:
NewOnlyRKCell
)
}
}
class
NewOnlyRKCell
:
UITableViewCell
,
UITextFieldDelegate
{
class
NewOnlyRKCell
:
UITableViewCell
,
UITextFieldDelegate
{
@IBAction
func
select_gys_action
(
_
sender
:
UIButton
)
{
delegate
?
.
NewOnlyRKCell_gys_select
(
cell
:
self
)
}
@IBOutlet
weak
var
btn_title_lbl
:
UILabel
!
@IBOutlet
weak
var
btn_title_lbl
:
UILabel
!
var
delegate
:
NewOnlyRKCellDelegate
?
var
delegate
:
NewOnlyRKCellDelegate
?
@IBAction
func
add_report_action
(
_
sender
:
UIButton
)
{
@IBAction
func
add_report_action
(
_
sender
:
UIButton
)
{
delegate
?
.
NewOnlyRKCellAddRepord
(
cell
:
self
)
delegate
?
.
NewOnlyRKCellAddRepord
(
cell
:
self
)
}
}
@IBOutlet
weak
var
gys_right_margin
:
NSLayoutConstraint
!
@IBOutlet
weak
var
gys_arrow
:
UIImageView
!
@IBOutlet
weak
var
gys_name_lbl
:
UILabel
!
@IBOutlet
weak
var
titLbl
:
UILabel
!
@IBOutlet
weak
var
titLbl
:
UILabel
!
@IBOutlet
weak
var
delBtn
:
UIButton
!
@IBOutlet
weak
var
delBtn
:
UIButton
!
@IBOutlet
weak
var
rightBtn
:
UIButton
!
@IBOutlet
weak
var
rightBtn
:
UIButton
!
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewOnlyRKCell.xib
View file @
ebb2bf19
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/1.1入库&出库/入库/NewRKVc.swift
View file @
ebb2bf19
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/CKGmCell.swift
View file @
ebb2bf19
...
@@ -98,7 +98,7 @@ class CKGmCell: UITableViewCell {
...
@@ -98,7 +98,7 @@ class CKGmCell: UITableViewCell {
make
.
centerY
.
equalTo
(
view
.
snp_centerY
)
make
.
centerY
.
equalTo
(
view
.
snp_centerY
)
make
.
width
.
equalTo
(
100
)
make
.
width
.
equalTo
(
100
)
}
}
leftL
.
text
=
"
\(
model
.
batch_id
!
)
"
leftL
.
text
=
model
.
batch_sn
let
middleL
=
UILabel
()
let
middleL
=
UILabel
()
bottomView
.
addSubview
(
middleL
)
bottomView
.
addSubview
(
middleL
)
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
View file @
ebb2bf19
...
@@ -10,7 +10,7 @@ import UIKit
...
@@ -10,7 +10,7 @@ import UIKit
import
LGButton
import
LGButton
class
NewCKVc
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
CKNonGmCellDelegate
,
CKGmCellDelegate
,
PiCiXuanZeViewControllerDelegate
,
GLAlertSelectViewDelegate
,
NewSelectItemVcDelegate
,
GeliAlertTextViewDelegate
,
Print_Gprinter_View_Delegate
{
class
NewCKVc
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
CKNonGmCellDelegate
,
CKGmCellDelegate
,
PiCiXuanZeViewControllerDelegate
,
GLAlertSelectViewDelegate
,
NewSelectItemVcDelegate
,
GeliAlertTextViewDelegate
,
Print_Gprinter_View_Delegate
{
func
NewSelectItemVcSelect
(
datas
:
Array
<
InputInitInfoGoodsInfoModel
>
,
pici
:
Array
<
Array
<
GetGoodBatchDataModel
>>
)
{
func
NewSelectItemVcSelect
(
datas
:
Array
<
InputInitInfoGoodsInfoModel
>
,
pici
:
Array
<
Array
<
GetGoodBatchDataModel
>>
,
select
:
Array
<
Int
>
,
str
:
Array
<
String
>
)
{
rkSelectArr
.
removeAll
()
rkSelectArr
.
removeAll
()
datas
.
forEach
{
(
item
)
in
datas
.
forEach
{
(
item
)
in
rkSelectArr
.
append
(
item
)
rkSelectArr
.
append
(
item
)
...
@@ -25,7 +25,7 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
...
@@ -25,7 +25,7 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
func
Print_Gprinter_View_Print
(
data
:
Array
<
Dictionary
<
String
,
Any
>>
)
{
func
Print_Gprinter_View_Print
(
data
:
Array
<
Dictionary
<
String
,
Any
>>
)
{
print
(
"打印"
)
print
(
"打印"
)
...
@@ -546,6 +546,7 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
...
@@ -546,6 +546,7 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
vc
.
rkDatas
=
rkDatas
vc
.
rkDatas
=
rkDatas
vc
.
rkSelectArr
=
rkSelectArr
vc
.
rkSelectArr
=
rkSelectArr
vc
.
recordArr
=
piCiArr
!
vc
.
recordArr
=
piCiArr
!
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
...
...
GeliBusinessPlatform/ViewController/代客下单(货运)/运单详情/YunDanXiangQingViewController.swift
View file @
ebb2bf19
...
@@ -187,7 +187,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -187,7 +187,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
fullScreenWidth
,
height
:
36
))
let
view
=
UIView
(
frame
:
CGRect
(
x
:
0
,
y
:
0
,
width
:
fullScreenWidth
,
height
:
36
))
view
.
backgroundColor
=
UIColor
.
white
view
.
backgroundColor
=
UIColor
.
white
let
lbl
=
UILabel
()
let
lbl
=
UILabel
()
lbl
.
text
=
"
货物
信息"
lbl
.
text
=
"
快递
信息"
lbl
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
lbl
.
textColor
=
UIColor
(
named
:
"标题字颜色"
)
lbl
.
font
=
UIFont
.
boldSystemFont
(
ofSize
:
15
)
lbl
.
font
=
UIFont
.
boldSystemFont
(
ofSize
:
15
)
view
.
addSubview
(
lbl
)
view
.
addSubview
(
lbl
)
...
@@ -275,7 +275,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -275,7 +275,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
return
30
return
30
}
}
let
p2Arr
=
[
"关联平台:"
,
"关联订单号:"
,
"运单号:"
,
"运费:"
,
"运费支付方式:"
]
let
p2Arr
=
[
"关联平台:"
,
"关联订单号:"
,
"运单号:"
,
"运费:"
,
"运费支付方式:"
]
let
p3Arr
=
[
"寄托物"
,
"寄托物包装"
,
"温类"
,
"总重量"
,
"件数"
,
"体积"
,
"寄件方式"
,
"派件方式"
,
"付款方式"
]
let
p3Arr
=
[
"寄托物"
,
"寄托物包装"
,
"温类"
,
"总重量"
,
"件数"
,
"体积"
,
"寄件方式"
,
"派件方式"
,
"付款方式"
,
"支付时间"
]
let
p4Arr
=
[
"额外服务"
,
"声明价值"
,
"保费"
,
"备注"
]
let
p4Arr
=
[
"额外服务"
,
"声明价值"
,
"保费"
,
"备注"
]
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
if
indexPath
.
section
==
0
{
if
indexPath
.
section
==
0
{
...
@@ -333,6 +333,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -333,6 +333,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
arrStr
.
append
((
dataModel
?
.
home_delivery_on_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
home_delivery_on_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
site_delivery_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
site_delivery_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
fc_flag_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
fc_flag_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
pay_time
)
!
)
var
str
=
arrStr
[
indexPath
.
row
]
var
str
=
arrStr
[
indexPath
.
row
]
if
str
==
""
{
if
str
==
""
{
str
=
"-"
str
=
"-"
...
...
GeliBusinessPlatform/ViewController/供应商管理/GYSGLViewController.swift
View file @
ebb2bf19
...
@@ -14,15 +14,16 @@ protocol GYSGLViewControllerDelegate {
...
@@ -14,15 +14,16 @@ protocol GYSGLViewControllerDelegate {
func
GYSGLViewControllerFinish
()
func
GYSGLViewControllerFinish
()
}
}
class
GYSGLViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
TitleAndTFAndBtnCellDelegate
,
TitleAndOnlyBtnCellDelegate
,
SJMapViewControllerDelegate
,
UIPickerViewDelegate
,
UIPickerViewDataSource
,
GeliAlertViewDelegate
,
UITextFieldDelegate
,
TitleAndTFCellDelegate
{
class
GYSGLViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
TitleAndTFAndBtnCellDelegate
,
TitleAndOnlyBtnCellDelegate
,
SJMapViewControllerDelegate
,
UIPickerViewDelegate
,
UIPickerViewDataSource
,
GeliAlertViewDelegate
,
UITextFieldDelegate
,
TitleAndTFCellDelegate
{
func
TitleAndTFAndBtnCelltextFieldContent
(
str
:
String
)
{
detailDzStr
=
str
// listView.reloadData()
}
func
textFieldContent
(
content
:
String
,
cell
:
TitleAndTFCell
)
{
func
textFieldContent
(
content
:
String
,
cell
:
TitleAndTFCell
)
{
switch
cell
.
textTF
.
tag
{
switch
cell
.
textTF
.
tag
{
case
0
:
case
0
:
gysName
=
content
gysName
=
content
break
break
case
2
:
detailDzStr
=
content
break
case
99
:
case
99
:
create_number
=
content
create_number
=
content
break
break
...
@@ -246,6 +247,7 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -246,6 +247,7 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
let
sec2Arr
=
[
"姓名:"
,
"手机:"
,
"电话:"
]
let
sec2Arr
=
[
"姓名:"
,
"手机:"
,
"电话:"
]
let
hold2Arr
=
[
"请输入联系人姓名"
,
"请输入联系人手机号码"
,
"请输入联系电话"
]
let
hold2Arr
=
[
"请输入联系人姓名"
,
"请输入联系人手机号码"
,
"请输入联系电话"
]
let
sec3Arr
=
[
"单位统一社会信用代码:"
,
"营业资格证:"
,
"食品流通许可证:"
]
let
sec3Arr
=
[
"单位统一社会信用代码:"
,
"营业资格证:"
,
"食品流通许可证:"
]
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
func
tableView
(
_
tableView
:
UITableView
,
cellForRowAt
indexPath
:
IndexPath
)
->
UITableViewCell
{
switch
indexPath
.
section
{
switch
indexPath
.
section
{
case
0
:
case
0
:
...
@@ -762,6 +764,7 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
...
@@ -762,6 +764,7 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
HUD
.
flash
(
.
label
(
"请选择地址"
),
delay
:
1.2
)
HUD
.
flash
(
.
label
(
"请选择地址"
),
delay
:
1.2
)
return
return
}
}
print
(
"abc == "
,
detailDzStr
)
if
detailDzStr
.
count
==
0
{
if
detailDzStr
.
count
==
0
{
HUD
.
flash
(
.
label
(
"请填写详细地址"
),
delay
:
1.2
)
HUD
.
flash
(
.
label
(
"请填写详细地址"
),
delay
:
1.2
)
return
return
...
...
GeliBusinessPlatform/ViewController/出入库记录/CRKXiangQVC.swift
View file @
ebb2bf19
...
@@ -18,12 +18,8 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
...
@@ -18,12 +18,8 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
//MARK: - 出入库列表 iog_id
//MARK: - 出入库列表 iog_id
var
goodInfoArr
:
Array
<
Any
>
=
[]
var
goodInfoArr
:
Array
<
Any
>
=
[]
inGoodsModels
?
.
forEach
({
(
item
)
in
inGoodsModels
?
.
forEach
({
(
item
)
in
let
goods
=
[
let
goods
=
[
...
@@ -110,7 +106,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
...
@@ -110,7 +106,7 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
btmColor
.
isHidden
=
true
btmColor
.
isHidden
=
true
btmViewH
.
constant
=
0
btmViewH
.
constant
=
0
}
}
print
(
"st = "
,
model
?
.
status
,
model
?
.
io_type
)
if
model
?
.
status
==
2
{
//通过审核
if
model
?
.
status
==
2
{
//通过审核
IoGoodsDetail
(
dict
,
success
:
{
(
data
)
in
IoGoodsDetail
(
dict
,
success
:
{
(
data
)
in
let
model
=
data
as!
IoGoodsDetailModel
let
model
=
data
as!
IoGoodsDetailModel
...
@@ -519,8 +515,8 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
...
@@ -519,8 +515,8 @@ class CRKXiangQVC: BaseViewController,UITableViewDelegate,UITableViewDataSource,
}
}
cell
.
pi_ci_lbl
.
text
=
"商品批次:无"
cell
.
pi_ci_lbl
.
text
=
"商品批次:无"
if
data
.
batch_
id
!=
nil
{
if
data
.
batch_
sn
!=
nil
{
cell
.
pi_ci_lbl
.
text
=
"商品批次:"
+
"
\(
data
.
batch_id
!
)
"
cell
.
pi_ci_lbl
.
text
=
"商品批次:"
+
data
.
batch_sn
!
}
}
cell
.
gys_lbl
.
text
=
"供应商:无"
cell
.
gys_lbl
.
text
=
"供应商:无"
...
...
GeliBusinessPlatform/ViewController/新增采购单/CGDCell1.xib
View file @
ebb2bf19
<?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"
/>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"tYk-77-cq1"
/>
<constraint
firstAttribute=
"height"
constant=
"1"
id=
"tYk-77-cq1"
/>
</constraints>
</constraints>
</view>
</view>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
roundedRect
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"zUM-gk-TDF"
>
<button
opaque=
"NO"
contentMode=
"scaleToFill"
contentHorizontalAlignment=
"center"
contentVerticalAlignment=
"center"
buttonType=
"
system
"
lineBreakMode=
"middleTruncation"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"zUM-gk-TDF"
>
<rect
key=
"frame"
x=
"326.5"
y=
"0.0"
width=
"48.5"
height=
"48.5"
/>
<rect
key=
"frame"
x=
"326.5"
y=
"0.0"
width=
"48.5"
height=
"48.5"
/>
<constraints>
<constraints>
<constraint
firstAttribute=
"height"
constant=
"48.5"
id=
"5oN-gR-Ld8"
/>
<constraint
firstAttribute=
"height"
constant=
"48.5"
id=
"5oN-gR-Ld8"
/>
...
@@ -157,8 +157,8 @@
...
@@ -157,8 +157,8 @@
<constraint
firstAttribute=
"bottom"
secondItem=
"c2P-6b-lpC"
secondAttribute=
"bottom"
id=
"xqy-z2-fqO"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"c2P-6b-lpC"
secondAttribute=
"bottom"
id=
"xqy-z2-fqO"
/>
</constraints>
</constraints>
</tableViewCellContentView>
</tableViewCellContentView>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"njF-e1-oar"
/>
<color
key=
"backgroundColor"
name=
"白色背景色"
/>
<connections>
<connections>
<outlet
property=
"btnWidth"
destination=
"IJP-pf-u5R"
id=
"64D-9I-XmJ"
/>
<outlet
property=
"btnWidth"
destination=
"IJP-pf-u5R"
id=
"64D-9I-XmJ"
/>
<outlet
property=
"cgCount"
destination=
"HF8-ja-1Mp"
id=
"GRT-MI-GPA"
/>
<outlet
property=
"cgCount"
destination=
"HF8-ja-1Mp"
id=
"GRT-MI-GPA"
/>
...
@@ -180,7 +180,7 @@
...
@@ -180,7 +180,7 @@
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</namedColor>
<namedColor
name=
"个人中心灰色字体"
>
<namedColor
name=
"个人中心灰色字体"
>
<color
red=
"0.3
919999897480011"
green=
"0.3919999897480011"
blue=
"0.3919999897480011
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.3
8823529411764707"
green=
"0.38823529411764707"
blue=
"0.38823529411764707
"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
</namedColor>
</namedColor>
<namedColor
name=
"标题字颜色"
>
<namedColor
name=
"标题字颜色"
>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.18000000715255737"
green=
"0.18000000715255737"
blue=
"0.18000000715255737"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
...
GeliBusinessPlatform/ViewController/溯源/cell/S_Y_View_Cell.swift
View file @
ebb2bf19
...
@@ -32,7 +32,7 @@ class S_Y_View_Cell: UITableViewCell {
...
@@ -32,7 +32,7 @@ class S_Y_View_Cell: UITableViewCell {
sheng_chan_ri_qi_lbl
.
text
=
data
?
.
production_data
sheng_chan_ri_qi_lbl
.
text
=
data
?
.
production_data
chan_di_lbl
.
text
=
data
?
.
product_origin
chan_di_lbl
.
text
=
data
?
.
product_origin
ru_ku_time_lbl
.
text
=
data
?
.
add_time
ru_ku_time_lbl
.
text
=
data
?
.
add_time
pi_ci_number_lbl
.
text
=
StringByInt
(
number
:(
data
?
.
batch_id
)
!
)
pi_ci_number_lbl
.
text
=
data
?
.
batch_sn
gys_name_lbl
.
text
=
data
?
.
ven_name
gys_name_lbl
.
text
=
data
?
.
ven_name
img
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
((
data
?
.
report_picture
?
.
first
)
!
)
!
))
img
.
sd_setImage
(
with
:
URL
(
string
:
SERVERCE_ImageHost
+
((
data
?
.
report_picture
?
.
first
)
!
)
!
))
...
...
GeliBusinessPlatform/ViewController/蓝牙连接/BtViewController.m
View file @
ebb2bf19
...
@@ -28,20 +28,7 @@
...
@@ -28,20 +28,7 @@
[
self
.
navigationController
popViewControllerAnimated
:
YES
];
[
self
.
navigationController
popViewControllerAnimated
:
YES
];
}
}
/** 接收到数据回调 */
-
(
void
)
peripheral
:(
CBPeripheral
*
)
peripheral
didUpdateValueForCharacteristic
:(
CBCharacteristic
*
)
characteristic
error
:(
NSError
*
)
error
{
NSData
*
data
=
characteristic
.
value
;
//获取到的数据
NSLog
(
@"bbb-----%@----"
,
data
);
//打印出来应该是<01a5>这样的数据,可以通过下面的方式去判断一些自己想要的逻辑
Byte
*
resultByte
=
(
Byte
*
)[
data
bytes
];
if
(
data
.
length
>=
1
){
if
(
resultByte
[
0
]
==
16
){
//16代表前两位的值
NSLog
(
@"---打印机打开---"
);
}
else
if
(
resultByte
[
0
]
==
1
){
//01
NSLog
(
@"----打印机缺纸-----"
);
}
}
//下面的处理方式我没处理过,大家可以试试
}
-
(
void
)
viewDidLoad
{
-
(
void
)
viewDidLoad
{
[
super
viewDidLoad
];
[
super
viewDidLoad
];
// Do any additional setup after loading the view from its nib.
// Do any additional setup after loading the view from its nib.
...
...
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
View file @
ebb2bf19
...
@@ -204,8 +204,10 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
...
@@ -204,8 +204,10 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
}
}
return
0
return
0
}
}
if
section
==
6
{
if
section
==
5
||
section
==
6
{
return
3
}
if
section
==
5
{
return
2
return
2
}
}
if
section
==
4
{
if
section
==
4
{
...
@@ -228,6 +230,9 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
...
@@ -228,6 +230,9 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
let
distance
=
CGFloat
((
dataModel
?
.
order_detail_item
?
.
exceed_distance
)
!
)
/
1000.0
let
distance
=
CGFloat
((
dataModel
?
.
order_detail_item
?
.
exceed_distance
)
!
)
/
1000.0
orderPriceArrName
.
append
(
"超里程价"
+
"("
+
String
(
format
:
"%.2f"
,
distance
)
+
"公里"
+
")"
)
orderPriceArrName
.
append
(
"超里程价"
+
"("
+
String
(
format
:
"%.2f"
,
distance
)
+
"公里"
+
")"
)
orderPriceArrStr
.
append
(
"¥"
+
String
(
format
:
"%.2f"
,
(
rowModel
.
price_fen
!/
100.0
)))
orderPriceArrStr
.
append
(
"¥"
+
String
(
format
:
"%.2f"
,
(
rowModel
.
price_fen
!/
100.0
)))
case
17
:
orderPriceArrName
.
append
(
"其他费用"
)
orderPriceArrStr
.
append
(
"¥"
+
String
(
format
:
"%.2f"
,
(
rowModel
.
price_fen
!/
100.0
)))
case
4
:
case
4
:
dataModel
?
.
order_detail_item
?
.
spec_req_price_arr
?
.
forEach
({
(
specModel
)
in
dataModel
?
.
order_detail_item
?
.
spec_req_price_arr
?
.
forEach
({
(
specModel
)
in
if
specModel
.
price_fen
!
!=
0
{
if
specModel
.
price_fen
!
!=
0
{
...
@@ -288,7 +293,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
...
@@ -288,7 +293,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
return
35
return
35
}
}
if
indexPath
.
section
==
6
{
if
indexPath
.
section
==
6
{
if
indexPath
.
row
==
1
{
if
indexPath
.
row
==
2
{
return
UITableView
.
automaticDimension
return
UITableView
.
automaticDimension
}
}
...
@@ -429,9 +434,16 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
...
@@ -429,9 +434,16 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
}
else
if
indexPath
.
section
==
6
{
}
else
if
indexPath
.
section
==
6
{
cell
.
nameLbl
.
textColor
=
UIColor
.
init
(
named
:
"标题字颜色"
)
cell
.
nameLbl
.
textColor
=
UIColor
.
init
(
named
:
"标题字颜色"
)
cell
.
textTF
.
textColor
=
UIColor
.
init
(
named
:
"灰色字体颜色"
)
cell
.
textTF
.
textColor
=
UIColor
.
init
(
named
:
"灰色字体颜色"
)
cell
.
nameLbl
.
text
=
"货物保障"
cell
.
textTF
.
text
=
"-"
if
indexPath
.
row
==
0
{
cell
.
nameLbl
.
text
=
"支付时间"
cell
.
textTF
.
text
=
dataModel
?
.
delivery
?
.
pay_time
}
if
indexPath
.
row
==
1
{
if
indexPath
.
row
==
1
{
cell
.
nameLbl
.
text
=
"货物保障"
cell
.
textTF
.
text
=
"-"
}
if
indexPath
.
row
==
2
{
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
let
cell1
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"TitleAndLblCell"
)
as!
TitleAndLblCell
cell1
.
nameLbl
.
text
=
"备注"
cell1
.
nameLbl
.
text
=
"备注"
cell1
.
contentLbl
.
text
=
dataModel
?
.
order_detail_item
?
.
order_item
?
.
remark
cell1
.
contentLbl
.
text
=
dataModel
?
.
order_detail_item
?
.
order_item
?
.
remark
...
...
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.xib
View file @
ebb2bf19
<?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.2
"
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>
...
@@ -33,7 +34,7 @@
...
@@ -33,7 +34,7 @@
</tableView>
</tableView>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"LNV-ad-a6k"
customClass=
"LGButton"
customModule=
"LGButton"
>
<view
contentMode=
"scaleToFill"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"LNV-ad-a6k"
customClass=
"LGButton"
customModule=
"LGButton"
>
<rect
key=
"frame"
x=
"0.0"
y=
"813"
width=
"414"
height=
"83"
/>
<rect
key=
"frame"
x=
"0.0"
y=
"813"
width=
"414"
height=
"83"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<userDefinedRuntimeAttribute
type=
"color"
keyPath=
"gradientStartColor"
>
<color
key=
"value"
name=
"按钮渐变色上"
/>
<color
key=
"value"
name=
"按钮渐变色上"
/>
...
@@ -57,7 +58,8 @@
...
@@ -57,7 +58,8 @@
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
</label>
</label>
</subviews>
</subviews>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
cocoaTouchSystemColor=
"whiteColor"
/>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<color
key=
"backgroundColor"
systemColor=
"systemBackgroundColor"
/>
<constraints>
<constraints>
<constraint
firstItem=
"t9e-fZ-mil"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"1yK-Aa-n27"
/>
<constraint
firstItem=
"t9e-fZ-mil"
firstAttribute=
"top"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"top"
id=
"1yK-Aa-n27"
/>
<constraint
firstItem=
"LNV-ad-a6k"
firstAttribute=
"top"
secondItem=
"t9e-fZ-mil"
secondAttribute=
"bottom"
id=
"A7F-HJ-emZ"
/>
<constraint
firstItem=
"LNV-ad-a6k"
firstAttribute=
"top"
secondItem=
"t9e-fZ-mil"
secondAttribute=
"bottom"
id=
"A7F-HJ-emZ"
/>
...
@@ -71,10 +73,14 @@
...
@@ -71,10 +73,14 @@
<constraint
firstItem=
"tOa-jF-wGg"
firstAttribute=
"bottom"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"bottom"
id=
"sZS-id-ZNc"
/>
<constraint
firstItem=
"tOa-jF-wGg"
firstAttribute=
"bottom"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"bottom"
id=
"sZS-id-ZNc"
/>
<constraint
firstItem=
"tOa-jF-wGg"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"x9b-qn-W90"
/>
<constraint
firstItem=
"tOa-jF-wGg"
firstAttribute=
"leading"
secondItem=
"fnl-2z-Ty3"
secondAttribute=
"leading"
id=
"x9b-qn-W90"
/>
</constraints>
</constraints>
<viewLayoutGuide
key=
"safeArea"
id=
"fnl-2z-Ty3"
/>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"124.55357142857142"
/>
<point
key=
"canvasLocation"
x=
"131.8840579710145"
y=
"124.55357142857142"
/>
</view>
</view>
</objects>
</objects>
<designables>
<designable
name=
"LNV-ad-a6k"
>
<size
key=
"intrinsicContentSize"
width=
"10"
height=
"10"
/>
</designable>
</designables>
<resources>
<resources>
<namedColor
name=
"app底色"
>
<namedColor
name=
"app底色"
>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"0.94509803921568625"
green=
"0.94509803921568625"
blue=
"0.94509803921568625"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
...
@@ -88,5 +94,8 @@
...
@@ -88,5 +94,8 @@
<namedColor
name=
"白色背景色"
>
<namedColor
name=
"白色背景色"
>
<color
red=
"1"
green=
"1"
blue=
"1"
alpha=
"1"
colorSpace=
"custom"
customColorSpace=
"sRGB"
/>
<color
red=
"1"
green=
"1"
blue=
"1"
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/采购单列表/CGDListVC.swift
View file @
ebb2bf19
...
@@ -260,6 +260,8 @@ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource
...
@@ -260,6 +260,8 @@ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource
"chuKuLiang"
:
""
as
Any
,
"chuKuLiang"
:
""
as
Any
,
"pog_id"
:
item
.
pog_id
as
Any
,
"pog_id"
:
item
.
pog_id
as
Any
,
"no_push_num"
:
item
.
no_push_num
as
Any
"no_push_num"
:
item
.
no_push_num
as
Any
// "ven_list":item.ven_list as Any
]
]
let
mo
=
InputInitInfoGoodsInfoModel
(
JSON
:
dict
)
let
mo
=
InputInitInfoGoodsInfoModel
(
JSON
:
dict
)
rkDatas
.
append
(
mo
!
)
rkDatas
.
append
(
mo
!
)
...
@@ -269,6 +271,8 @@ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource
...
@@ -269,6 +271,8 @@ class CGDListVC: BaseViewController , UITableViewDelegate, UITableViewDataSource
vc
.
isCaiGou
=
true
vc
.
isCaiGou
=
true
vc
.
rkSelectArr
=
rkDatas
vc
.
rkSelectArr
=
rkDatas
vc
.
po_id
=
model
.
po_id
!
vc
.
po_id
=
model
.
po_id
!
vc
.
isCaiGou_GYS_name
=
model
.
ven_name
!
vc
.
isCaiGou_GYS_ven_id
=
model
.
ven_id
!
vc
.
delegate
=
self
vc
.
delegate
=
self
vc
.
orderNumStr
=
model
.
po_no
!
as!
String
vc
.
orderNumStr
=
model
.
po_no
!
as!
String
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
...
...
GeliBusinessPlatform/ViewController/采购单详情/CGDXQVc.swift
View file @
ebb2bf19
...
@@ -87,7 +87,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
...
@@ -87,7 +87,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
var
po_id
:
Int
?
var
po_id
:
Int
?
let
tArr
=
[
"制单信息"
,
"商品信息"
]
let
tArr
=
[
"制单信息"
,
"商品信息"
]
var
glSelectView
:
GLAlertSelectView
?
var
glSelectView
:
GLAlertSelectView
?
var
modelD
:
PurchaseOrderDetailNewModel
?
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
//MARK: - cell delegate
//MARK: - cell delegate
...
@@ -190,6 +190,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
...
@@ -190,6 +190,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
break
break
case
"入库"
,
"补录入库"
:
case
"入库"
,
"补录入库"
:
var
rkDatas
:
Array
<
InputInitInfoGoodsInfoModel
>
=
[]
var
rkDatas
:
Array
<
InputInitInfoGoodsInfoModel
>
=
[]
model
!.
goods_res
?
.
forEach
({
(
item
)
in
model
!.
goods_res
?
.
forEach
({
(
item
)
in
if
item
.
no_push_num
!=
0
{
if
item
.
no_push_num
!=
0
{
let
dict
=
[
let
dict
=
[
...
@@ -210,15 +211,17 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
...
@@ -210,15 +211,17 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
"createDayStr"
:
""
as
Any
,
"createDayStr"
:
""
as
Any
,
"chuKuLiang"
:
""
as
Any
,
"chuKuLiang"
:
""
as
Any
,
"pog_id"
:
item
.
pog_id
as
Any
,
"pog_id"
:
item
.
pog_id
as
Any
,
"no_push_num"
:
item
.
no_push_num
as
Any
"no_push_num"
:
item
.
no_push_num
as
Any
,
]
]
let
mo
=
InputInitInfoGoodsInfoModel
(
JSON
:
dict
)
let
mo
=
InputInitInfoGoodsInfoModel
(
JSON
:
dict
)
rkDatas
.
append
(
mo
!
)
rkDatas
.
append
(
mo
!
)
}
}
})
})
let
vc
=
NewRKVc
()
let
vc
=
NewRKVc
()
vc
.
isCaiGou
=
true
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
.
rkSelectArr
=
rkDatas
vc
.
po_id
=
model
?
.
po_id
!
as!
Int
vc
.
po_id
=
model
?
.
po_id
!
as!
Int
vc
.
delegate
=
self
vc
.
delegate
=
self
...
@@ -258,7 +261,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
...
@@ -258,7 +261,7 @@ class CGDXQVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,GLAl
purchaseOrderDetail
(
dict
,
success
:
{
(
data
)
in
purchaseOrderDetail
(
dict
,
success
:
{
(
data
)
in
let
item
=
data
as!
PurchaseOrderDetailModel
let
item
=
data
as!
PurchaseOrderDetailModel
let
mo
=
item
.
data
let
mo
=
item
.
data
self
.
modelD
=
item
.
data
self
.
holderArr
.
insert
(
mo
!.
purchase_order
!.
po_no
!
,
at
:
0
)
self
.
holderArr
.
insert
(
mo
!.
purchase_order
!.
po_no
!
,
at
:
0
)
self
.
holderArr
.
remove
(
at
:
1
)
self
.
holderArr
.
remove
(
at
:
1
)
...
...
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