Commit c370e356 authored by lujunye's avatar lujunye

采购单列表CELL创建

parent aa04e9fa
......@@ -58,6 +58,8 @@
E0228BB1246FDA9A005812FA /* TitleAndLblCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0228BAF246FDA9A005812FA /* TitleAndLblCell.xib */; };
E0239202249069FD00C4C632 /* CGDXQVc.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0239200249069FD00C4C632 /* CGDXQVc.swift */; };
E0239203249069FD00C4C632 /* CGDXQVc.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0239201249069FD00C4C632 /* CGDXQVc.xib */; };
E02392062490819600C4C632 /* CGDListCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E02392042490819600C4C632 /* CGDListCell.swift */; };
E02392072490819600C4C632 /* CGDListCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = E02392052490819600C4C632 /* CGDListCell.xib */; };
E0273DD824551B4C00B3FCAE /* SendTimeSelectView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0273DD724551B4C00B3FCAE /* SendTimeSelectView.swift */; };
E0273DDA24551B6D00B3FCAE /* SendTimeSelectView.xib in Resources */ = {isa = PBXBuildFile; fileRef = E0273DD924551B6D00B3FCAE /* SendTimeSelectView.xib */; };
E0273DDD24551D4500B3FCAE /* OnlyLabelCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0273DDB24551D4500B3FCAE /* OnlyLabelCell.swift */; };
......@@ -592,6 +594,8 @@
E0228BAF246FDA9A005812FA /* TitleAndLblCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = TitleAndLblCell.xib; sourceTree = "<group>"; };
E0239200249069FD00C4C632 /* CGDXQVc.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CGDXQVc.swift; sourceTree = "<group>"; };
E0239201249069FD00C4C632 /* CGDXQVc.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CGDXQVc.xib; sourceTree = "<group>"; };
E02392042490819600C4C632 /* CGDListCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CGDListCell.swift; sourceTree = "<group>"; };
E02392052490819600C4C632 /* CGDListCell.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = CGDListCell.xib; sourceTree = "<group>"; };
E0273DD724551B4C00B3FCAE /* SendTimeSelectView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SendTimeSelectView.swift; sourceTree = "<group>"; };
E0273DD924551B6D00B3FCAE /* SendTimeSelectView.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = SendTimeSelectView.xib; sourceTree = "<group>"; };
E0273DDB24551D4500B3FCAE /* OnlyLabelCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = OnlyLabelCell.swift; sourceTree = "<group>"; };
......@@ -1484,6 +1488,8 @@
children = (
E0239200249069FD00C4C632 /* CGDXQVc.swift */,
E0239201249069FD00C4C632 /* CGDXQVc.xib */,
E02392042490819600C4C632 /* CGDListCell.swift */,
E02392052490819600C4C632 /* CGDListCell.xib */,
);
path = "采购单详情";
sourceTree = "<group>";
......@@ -2833,6 +2839,7 @@
E013D78D2484CAFC0092DE46 /* CRKBtnCell.xib in Resources */,
E0A2E82C24555D8600D6DB34 /* KuCunXiangQingCell.xib in Resources */,
E020632D246CDD3F007A40C4 /* OrderDViewFooterView.xib in Resources */,
E02392072490819600C4C632 /* CGDListCell.xib in Resources */,
E0F3C2CC24590C86006F0D1F /* XinZengAndBianJiKeHuViewController.xib in Resources */,
E02C88272456B24F00925766 /* WuLiuGenZongViewController.xib in Resources */,
E0C4F4A8244EC82A00CC7E2F /* TitleAndBtnCell.xib in Resources */,
......@@ -3115,6 +3122,7 @@
E07B1E6B245926330055BA3C /* GYSGLCell.swift in Sources */,
F956D5AC246A2D9C003FF510 /* LMNImageLine.m in Sources */,
E09B03C02445B96500211A51 /* FgPassViewController.swift in Sources */,
E02392062490819600C4C632 /* CGDListCell.swift in Sources */,
F950FDAB2451634B00C40530 /* LocationGeliPayModel.swift in Sources */,
E0CC84802482378D009B1FE9 /* IoGoodsDetailModel.swift in Sources */,
E0D197C6244845FD002B080C /* PersonCenterViewController.swift in Sources */,
......
......@@ -544,8 +544,8 @@ class WorkCViewController: BaseViewController, UITableViewDelegate, UITableViewD
self.navigationController?.pushViewController(vc, animated: true)
return
case 119: //新增采购单
let vc = CGDXQVc()
// let vc = XinCaiGouViewController()
// let vc = CGDXQVc()
let vc = XinCaiGouViewController()
self.navigationController?.pushViewController(vc, animated: true)
return
case 120: //商品毛利统计
......
//
// CGDListCell.swift
// GeliBusinessPlatform
//
// Created by junye lu on 2020/6/10.
// Copyright © 2020 junye lu. All rights reserved.
//
import UIKit
class CGDListCell: UITableViewCell {
@IBOutlet weak var listBgView: UIView!
@IBOutlet weak var btnBgView: UIView!
@IBOutlet weak var countLbl: UILabel!
@IBOutlet weak var priceLbl: UILabel!
@IBOutlet weak var statusLbl: UILabel!
@IBOutlet weak var nameLbl: UILabel!
override func awakeFromNib() {
super.awakeFromNib()
self.selectionStyle = .none
// Initialization code
}
override func setSelected(_ selected: Bool, animated: Bool) {
super.setSelected(selected, animated: animated)
// Configure the view for the selected state
}
}
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" 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="16087"/>
<capability name="Named colors" minToolsVersion="9.0"/>
<capability name="Safe area layout guides" minToolsVersion="9.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="CGDListCell" customModule="TestClass" customModuleProvider="target">
<rect key="frame" x="0.0" y="0.0" width="375" height="172"/>
<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="375" height="172"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="时间" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3yk-m6-Ebz">
<rect key="frame" x="0.0" y="157" width="375" height="15"/>
<constraints>
<constraint firstAttribute="height" constant="15" id="c2Y-cH-Ffb"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="11"/>
<color key="textColor" name="个人中心灰色字体"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xNb-6a-mWT">
<rect key="frame" x="15" y="15" width="345" height="137"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="kehu" translatesAutoresizingMaskIntoConstraints="NO" id="HVh-eU-WcT">
<rect key="frame" x="15" y="15" width="15" height="17.5"/>
<constraints>
<constraint firstAttribute="width" constant="15" id="crS-yy-uqC"/>
<constraint firstAttribute="height" constant="17.5" id="q0W-cG-7kX"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="标题" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CPQ-JB-dO9">
<rect key="frame" x="35" y="16" width="27" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="状态" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2ga-12-xdH">
<rect key="frame" x="303" y="16" width="27" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="#F57575"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7hI-Mv-St2">
<rect key="frame" x="0.0" y="47.5" width="345" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="oSf-C9-7Bu"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wn2-a8-osu">
<rect key="frame" x="0.0" y="48.5" width="345" height="88.5"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="af6-jB-Vui">
<rect key="frame" x="0.0" y="0.0" width="345" height="1"/>
<color key="backgroundColor" name="灰色分界线"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="f0l-Vm-Nba"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="金额" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gXv-WF-NRU">
<rect key="frame" x="303" y="11" width="27" height="18.5"/>
<constraints>
<constraint firstAttribute="height" constant="18.5" id="5rE-x3-Uxn"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="#F57575"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="件,金额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aXp-oN-Cl6">
<rect key="frame" x="236.5" y="12.5" width="66.5" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="件" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J1p-oh-7KC">
<rect key="frame" x="212.5" y="12.5" width="14" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="#F57575"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="共" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fv7-Qm-wPF">
<rect key="frame" x="188.5" y="12.5" width="14" height="16"/>
<fontDescription key="fontDescription" type="system" pointSize="13"/>
<color key="textColor" name="标题字颜色"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KO3-dv-aSL">
<rect key="frame" x="15" y="43.5" width="315" height="30"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstAttribute="height" constant="30" id="MiX-0n-brC"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="aXp-oN-Cl6" firstAttribute="leading" secondItem="J1p-oh-7KC" secondAttribute="trailing" constant="10" id="2ki-px-UcJ"/>
<constraint firstItem="Fv7-Qm-wPF" firstAttribute="centerY" secondItem="J1p-oh-7KC" secondAttribute="centerY" id="3db-dH-3ub"/>
<constraint firstAttribute="trailing" secondItem="af6-jB-Vui" secondAttribute="trailing" id="Cnv-3g-kB6"/>
<constraint firstItem="af6-jB-Vui" firstAttribute="leading" secondItem="wn2-a8-osu" secondAttribute="leading" id="DTm-bN-EPt"/>
<constraint firstItem="af6-jB-Vui" firstAttribute="top" secondItem="wn2-a8-osu" secondAttribute="top" id="Nmq-m0-EW7"/>
<constraint firstAttribute="trailing" secondItem="gXv-WF-NRU" secondAttribute="trailing" constant="15" id="Tdo-O5-wyT"/>
<constraint firstAttribute="height" constant="88.5" id="Ylm-gS-js9"/>
<constraint firstItem="J1p-oh-7KC" firstAttribute="leading" secondItem="Fv7-Qm-wPF" secondAttribute="trailing" constant="10" id="b43-p1-5Zg"/>
<constraint firstItem="KO3-dv-aSL" firstAttribute="top" secondItem="J1p-oh-7KC" secondAttribute="bottom" constant="15" id="dfn-NZ-e5n"/>
<constraint firstItem="J1p-oh-7KC" firstAttribute="centerY" secondItem="aXp-oN-Cl6" secondAttribute="centerY" id="iAf-xT-2J7"/>
<constraint firstAttribute="trailing" secondItem="KO3-dv-aSL" secondAttribute="trailing" constant="15" id="k9b-gf-KIS"/>
<constraint firstItem="gXv-WF-NRU" firstAttribute="top" secondItem="af6-jB-Vui" secondAttribute="bottom" constant="10" id="mPQ-UT-IsZ"/>
<constraint firstItem="aXp-oN-Cl6" firstAttribute="centerY" secondItem="gXv-WF-NRU" secondAttribute="centerY" id="nhU-dI-6vF"/>
<constraint firstItem="gXv-WF-NRU" firstAttribute="leading" secondItem="aXp-oN-Cl6" secondAttribute="trailing" id="ri8-3x-KS8"/>
<constraint firstItem="KO3-dv-aSL" firstAttribute="leading" secondItem="wn2-a8-osu" secondAttribute="leading" constant="15" id="w8g-dV-0Of"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZEQ-bR-jNZ">
<rect key="frame" x="0.0" y="48.5" width="345" height="0.0"/>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
</view>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
<constraints>
<constraint firstItem="ZEQ-bR-jNZ" firstAttribute="leading" secondItem="xNb-6a-mWT" secondAttribute="leading" id="3H6-Mf-efn"/>
<constraint firstItem="HVh-eU-WcT" firstAttribute="top" secondItem="xNb-6a-mWT" secondAttribute="top" constant="15" id="3vl-Na-tUS"/>
<constraint firstItem="wn2-a8-osu" firstAttribute="top" secondItem="ZEQ-bR-jNZ" secondAttribute="bottom" id="4nM-v6-4eY"/>
<constraint firstItem="CPQ-JB-dO9" firstAttribute="centerY" secondItem="HVh-eU-WcT" secondAttribute="centerY" id="6qc-GO-WUG"/>
<constraint firstItem="CPQ-JB-dO9" firstAttribute="leading" secondItem="HVh-eU-WcT" secondAttribute="trailing" constant="5" id="F2c-jm-aNc"/>
<constraint firstItem="HVh-eU-WcT" firstAttribute="leading" secondItem="xNb-6a-mWT" secondAttribute="leading" constant="15" id="I5S-Pm-VYW"/>
<constraint firstAttribute="trailing" secondItem="7hI-Mv-St2" secondAttribute="trailing" id="OFd-nP-Oac"/>
<constraint firstAttribute="bottom" secondItem="wn2-a8-osu" secondAttribute="bottom" id="RkH-CY-G70"/>
<constraint firstItem="wn2-a8-osu" firstAttribute="leading" secondItem="xNb-6a-mWT" secondAttribute="leading" id="WxW-JQ-CYI"/>
<constraint firstItem="2ga-12-xdH" firstAttribute="centerY" secondItem="CPQ-JB-dO9" secondAttribute="centerY" id="aRg-N2-bld"/>
<constraint firstAttribute="trailing" secondItem="2ga-12-xdH" secondAttribute="trailing" constant="15" id="ghl-EH-oVU"/>
<constraint firstAttribute="trailing" secondItem="ZEQ-bR-jNZ" secondAttribute="trailing" id="qLc-bo-y4p"/>
<constraint firstItem="ZEQ-bR-jNZ" firstAttribute="top" secondItem="7hI-Mv-St2" secondAttribute="bottom" id="tlx-vS-U17"/>
<constraint firstItem="7hI-Mv-St2" firstAttribute="top" secondItem="HVh-eU-WcT" secondAttribute="bottom" constant="15" id="tp0-bW-35O"/>
<constraint firstAttribute="trailing" secondItem="wn2-a8-osu" secondAttribute="trailing" id="vCW-9V-dfX"/>
<constraint firstItem="7hI-Mv-St2" firstAttribute="leading" secondItem="xNb-6a-mWT" secondAttribute="leading" id="zgN-X2-PS5"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<constraints>
<constraint firstItem="3yk-m6-Ebz" firstAttribute="top" secondItem="xNb-6a-mWT" secondAttribute="bottom" constant="5" id="IqZ-aY-RL3"/>
<constraint firstAttribute="trailing" secondItem="3yk-m6-Ebz" secondAttribute="trailing" id="R6B-k0-DTx"/>
<constraint firstAttribute="trailing" secondItem="xNb-6a-mWT" secondAttribute="trailing" constant="15" id="bCl-C9-R84"/>
<constraint firstItem="3yk-m6-Ebz" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="bnC-o8-hZN"/>
<constraint firstItem="xNb-6a-mWT" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="15" id="cvz-wH-Giy"/>
<constraint firstAttribute="bottom" secondItem="3yk-m6-Ebz" secondAttribute="bottom" id="gTq-FH-uqM"/>
<constraint firstItem="xNb-6a-mWT" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="hMZ-Hc-nFG"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" name="app底色"/>
<viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
<connections>
<outlet property="btnBgView" destination="KO3-dv-aSL" id="FKG-4d-9rD"/>
<outlet property="countLbl" destination="J1p-oh-7KC" id="brI-AH-qUH"/>
<outlet property="listBgView" destination="ZEQ-bR-jNZ" id="tlg-VJ-Qsv"/>
<outlet property="nameLbl" destination="CPQ-JB-dO9" id="iu0-NX-a71"/>
<outlet property="priceLbl" destination="gXv-WF-NRU" id="VRb-af-Nta"/>
<outlet property="statusLbl" destination="2ga-12-xdH" id="rf1-RB-YLe"/>
</connections>
<point key="canvasLocation" x="131.15942028985509" y="96.428571428571431"/>
</tableViewCell>
</objects>
<resources>
<image name="kehu" width="17" height="18.5"/>
<namedColor name="#F57575">
<color red="0.96100002527236938" green="0.45899999141693115" blue="0.45899999141693115" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="app底色">
<color red="0.94509803921568625" green="0.94509803921568625" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="个人中心灰色字体">
<color red="0.3919999897480011" green="0.3919999897480011" blue="0.3919999897480011" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="标题字颜色">
<color red="0.18000000715255737" green="0.18000000715255737" blue="0.18000000715255737" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
<namedColor name="灰色分界线">
<color red="0.92941176470588238" green="0.92941176470588238" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
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