Commit 83f06ec4 authored by 刘俊宏's avatar 刘俊宏

分销商分账设置

parent e7837bf6
......@@ -598,6 +598,8 @@
F9B9FAC424DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9B9FAC224DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib */; };
F9B9FAC724DE409300ACDC8F /* UpBillDataTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9B9FAC524DE409300ACDC8F /* UpBillDataTableViewCell.swift */; };
F9B9FAC824DE409300ACDC8F /* UpBillDataTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9B9FAC624DE409300ACDC8F /* UpBillDataTableViewCell.xib */; };
F9C2F6F8254FE14900516E00 /* DistributorSettingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9C2F6F6254FE14900516E00 /* DistributorSettingViewController.swift */; };
F9C2F6F9254FE14900516E00 /* DistributorSettingViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9C2F6F7254FE14900516E00 /* DistributorSettingViewController.xib */; };
F9D44E8324CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */; };
F9D44E8424CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */; };
F9D44E8824CBC6A400FBD8DB /* ToAndFormSelectViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */; };
......@@ -1290,6 +1292,8 @@
F9B9FAC224DE3BA200ACDC8F /* LalamoveBillTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = LalamoveBillTableViewCell.xib; sourceTree = "<group>"; };
F9B9FAC524DE409300ACDC8F /* UpBillDataTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UpBillDataTableViewCell.swift; sourceTree = "<group>"; };
F9B9FAC624DE409300ACDC8F /* UpBillDataTableViewCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = UpBillDataTableViewCell.xib; sourceTree = "<group>"; };
F9C2F6F6254FE14900516E00 /* DistributorSettingViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DistributorSettingViewController.swift; sourceTree = "<group>"; };
F9C2F6F7254FE14900516E00 /* DistributorSettingViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = DistributorSettingViewController.xib; sourceTree = "<group>"; };
F9D44E8124CBC50700FBD8DB /* WayBillAddressCanDelItemCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WayBillAddressCanDelItemCell.swift; sourceTree = "<group>"; };
F9D44E8224CBC50700FBD8DB /* WayBillAddressCanDelItemCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = WayBillAddressCanDelItemCell.xib; sourceTree = "<group>"; };
F9D44E8624CBC6A400FBD8DB /* ToAndFormSelectViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ToAndFormSelectViewController.swift; sourceTree = "<group>"; };
......@@ -1961,6 +1965,7 @@
E09B03AD2445B0BA00211A51 /* ViewController */ = {
isa = PBXGroup;
children = (
F9C2F6EF254FDEAC00516E00 /* 分销商分账设置 */,
F9A4AB6A24C9220C00094BD1 /* 货拉拉 */,
F90F881B24C822750050EF02 /* 城市列表 */,
F9956B1F24640865001A617D /* 商品分类 */,
......@@ -3079,6 +3084,15 @@
path = cell;
sourceTree = "<group>";
};
F9C2F6EF254FDEAC00516E00 /* 分销商分账设置 */ = {
isa = PBXGroup;
children = (
F9C2F6F6254FE14900516E00 /* DistributorSettingViewController.swift */,
F9C2F6F7254FE14900516E00 /* DistributorSettingViewController.xib */,
);
path = "分销商分账设置";
sourceTree = "<group>";
};
F9D44E8524CBC66900FBD8DB /* 收发货地址 */ = {
isa = PBXGroup;
children = (
......@@ -3409,6 +3423,7 @@
F9D44E8924CBC6A400FBD8DB /* ToAndFormSelectViewController.xib in Resources */,
E0C4F4A8244EC82A00CC7E2F /* TitleAndBtnCell.xib in Resources */,
E02FD9F72455790800E10E27 /* DiZhiGuanLiCell.xib in Resources */,
F9C2F6F9254FE14900516E00 /* DistributorSettingViewController.xib in Resources */,
E0BE8AA5245AA31400E80134 /* YingFuZhangKuanXQViewController.xib in Resources */,
E0F97B1B2451951D001BD600 /* ShangPinGguiGeCell.xib in Resources */,
E07B1E70245929060055BA3C /* GYSGLViewController.xib in Resources */,
......@@ -3751,6 +3766,7 @@
F95A9ED8245520E500867849 /* OrderListVC.swift in Sources */,
F995CEA62547CAC000202BA8 /* InvoiceInfoModel.swift in Sources */,
E03549A8245820C2008BD021 /* PiCiXuanZeCell.swift in Sources */,
F9C2F6F8254FE14900516E00 /* DistributorSettingViewController.swift in Sources */,
F9217E012485E6E800C4CF67 /* MessageListModel.swift in Sources */,
F956D59E246A2D9C003FF510 /* LMNTextStorage+Export.m in Sources */,
E0337EF12464F69000952EF4 /* YingFuZKListViewController.swift in Sources */,
......
//
// DistributorSettingViewController.swift
// GeliBusinessPlatform
//
// Created by 刘俊宏 on 2020/11/2.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class DistributorSettingViewController: BaseViewController {
@IBOutlet weak var topLbl: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
navbar.title = "分销商分账设置"
self.view.addSubview(navbar)
self.view.backgroundColor = .white
// Do any additional setup after loading the view.
topLbl.snp.makeConstraints { (make) in
make.top.equalTo(NavCGRect.height+20)
make.left.equalTo(15)
}
}
@IBOutlet weak var typeBtn1: UIButton!
@IBOutlet weak var typeBtn2: UIButton!
@IBAction func typeAction(_ sender: UIButton) {
if typeBtn1 == sender {
typeBtn1 .setImage(UIImage.init(named: "yuxuan"), for: .normal)
typeBtn2 .setImage(UIImage.init(named: "daixuan"), for: .normal)
}else if typeBtn2 == sender{
typeBtn1 .setImage(UIImage.init(named: "daixuan"), for: .normal)
typeBtn2 .setImage(UIImage.init(named: "yuxuan"), for: .normal)
}
}
@IBOutlet weak var sharetypeBtn1: UIButton!
@IBOutlet weak var sharetypeBtn2: UIButton!
@IBAction func sharetypeAction(_ sender: UIButton) {
if sharetypeBtn1 == sender {
sharetypeBtn1 .setImage(UIImage.init(named: "yuxuan"), for: .normal)
sharetypeBtn2 .setImage(UIImage.init(named: "daixuan"), for: .normal)
}else if sharetypeBtn2 == sender{
sharetypeBtn1 .setImage(UIImage.init(named: "daixuan"), for: .normal)
sharetypeBtn2 .setImage(UIImage.init(named: "yuxuan"), for: .normal)
}
}
@IBAction func submitAction(_ sender: Any) {
//保存
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment