Skip to content

Commit

Permalink
增加图片上传 进货历史
Browse files Browse the repository at this point in the history
  • Loading branch information
woaomo committed Sep 12, 2015
1 parent 33a6c04 commit 651716f
Show file tree
Hide file tree
Showing 14 changed files with 745 additions and 4 deletions.
26 changes: 26 additions & 0 deletions YHB_Prj/YHB_Prj.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,11 @@
ABAAFB6F1B996B250012D1C6 /* DJYDCXRows.m in Sources */ = {isa = PBXBuildFile; fileRef = ABAAFB6C1B996B250012D1C6 /* DJYDCXRows.m */; };
ABAE34A11BA0109C00221980 /* ScanVC.m in Sources */ = {isa = PBXBuildFile; fileRef = ABAE34A01BA0109C00221980 /* ScanVC.m */; };
ABDDB3711BA2CF4000DCD659 /* JHLSViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABDDB3701BA2CF4000DCD659 /* JHLSViewController.m */; };
ABDDB3751BA3B1ED00DCD659 /* JHLSTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = ABDDB3731BA3B1ED00DCD659 /* JHLSTableViewCell.m */; };
ABDDB3761BA3B1ED00DCD659 /* JHLSTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = ABDDB3741BA3B1ED00DCD659 /* JHLSTableViewCell.xib */; };
ABDDB3791BA3BCDA00DCD659 /* UploadImgViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABDDB3781BA3BCDA00DCD659 /* UploadImgViewController.m */; };
ABDDB3801BA3C2E300DCD659 /* XSLSTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = ABDDB37E1BA3C2E300DCD659 /* XSLSTableViewCell.m */; };
ABDDB3811BA3C2E300DCD659 /* XSLSTableViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = ABDDB37F1BA3C2E300DCD659 /* XSLSTableViewCell.xib */; };
ABE71E241B9C32E2000651A9 /* FBViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABE71E231B9C32E2000651A9 /* FBViewController.m */; };
ABEF1DA71B929D5400C1C2EA /* SupplierDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABEF1DA61B929D5400C1C2EA /* SupplierDetailViewController.m */; };
ABEF1DAB1B92A18E00C1C2EA /* ClerkDetailViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ABEF1DAA1B92A18E00C1C2EA /* ClerkDetailViewController.m */; };
Expand Down Expand Up @@ -422,6 +427,14 @@
ABAE34A01BA0109C00221980 /* ScanVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ScanVC.m; sourceTree = "<group>"; };
ABDDB36F1BA2CF4000DCD659 /* JHLSViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JHLSViewController.h; sourceTree = "<group>"; };
ABDDB3701BA2CF4000DCD659 /* JHLSViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JHLSViewController.m; sourceTree = "<group>"; };
ABDDB3721BA3B1ED00DCD659 /* JHLSTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JHLSTableViewCell.h; sourceTree = "<group>"; };
ABDDB3731BA3B1ED00DCD659 /* JHLSTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JHLSTableViewCell.m; sourceTree = "<group>"; };
ABDDB3741BA3B1ED00DCD659 /* JHLSTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = JHLSTableViewCell.xib; sourceTree = "<group>"; };
ABDDB3771BA3BCDA00DCD659 /* UploadImgViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UploadImgViewController.h; sourceTree = "<group>"; };
ABDDB3781BA3BCDA00DCD659 /* UploadImgViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UploadImgViewController.m; sourceTree = "<group>"; };
ABDDB37D1BA3C2E300DCD659 /* XSLSTableViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSLSTableViewCell.h; sourceTree = "<group>"; };
ABDDB37E1BA3C2E300DCD659 /* XSLSTableViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = XSLSTableViewCell.m; sourceTree = "<group>"; };
ABDDB37F1BA3C2E300DCD659 /* XSLSTableViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = XSLSTableViewCell.xib; sourceTree = "<group>"; };
ABE71E221B9C32E2000651A9 /* FBViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FBViewController.h; sourceTree = "<group>"; };
ABE71E231B9C32E2000651A9 /* FBViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FBViewController.m; sourceTree = "<group>"; };
ABEF1DA51B929D5400C1C2EA /* SupplierDetailViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SupplierDetailViewController.h; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1165,6 +1178,14 @@
ABFAB0EE1BA29CF9009D8654 /* SPManager.m */,
ABDDB36F1BA2CF4000DCD659 /* JHLSViewController.h */,
ABDDB3701BA2CF4000DCD659 /* JHLSViewController.m */,
ABDDB3721BA3B1ED00DCD659 /* JHLSTableViewCell.h */,
ABDDB3731BA3B1ED00DCD659 /* JHLSTableViewCell.m */,
ABDDB3741BA3B1ED00DCD659 /* JHLSTableViewCell.xib */,
ABDDB3771BA3BCDA00DCD659 /* UploadImgViewController.h */,
ABDDB3781BA3BCDA00DCD659 /* UploadImgViewController.m */,
ABDDB37D1BA3C2E300DCD659 /* XSLSTableViewCell.h */,
ABDDB37E1BA3C2E300DCD659 /* XSLSTableViewCell.m */,
ABDDB37F1BA3C2E300DCD659 /* XSLSTableViewCell.xib */,
);
path = EditSPVC;
sourceTree = "<group>";
Expand Down Expand Up @@ -1924,6 +1945,7 @@
FF5CC7031B93EE5300F55713 /* RuKushenpinVC.xib in Resources */,
FFD26CF01B8C3F940003F491 /* ZXBJCell.xib in Resources */,
FF012FAA1B8EB92C00AE563C /* HYXFJLListViewController.xib in Resources */,
ABDDB3811BA3C2E300DCD659 /* XSLSTableViewCell.xib in Resources */,
FF012FB41B8EB92C00AE563C /* HYCell.xib in Resources */,
FF5C872E1B83279600F79EC1 /* FirstViewController.xib in Resources */,
FF012FAE1B8EB92C00AE563C /* HYGLViewController.xib in Resources */,
Expand All @@ -1947,6 +1969,7 @@
FF5C87091B82FE5200F79EC1 /* LoginViewController.xib in Resources */,
FF012FAC1B8EB92C00AE563C /* HYLSXFCell.xib in Resources */,
FF357CAB1BA1974800DFCAC0 /* WYDHViewController.xib in Resources */,
ABDDB3761BA3B1ED00DCD659 /* JHLSTableViewCell.xib in Resources */,
FFD26CEB1B8C1B3B0003F491 /* KCYJViewController.xib in Resources */,
FF357CC01BA2C30900DFCAC0 /* WYJHDetailVC.xib in Resources */,
FF357C951BA052F500DFCAC0 /* SPGLSearchCell.xib in Resources */,
Expand Down Expand Up @@ -1994,6 +2017,7 @@
FF2A6C9C1A0F3D30001607AC /* FourthViewController.m in Sources */,
5B1F7F9C1B90A52300763059 /* DJProductCheckListVC.m in Sources */,
FF2A6C871A0F3B8A001607AC /* DataOC.mm in Sources */,
ABDDB3751BA3B1ED00DCD659 /* JHLSTableViewCell.m in Sources */,
FF2A6C861A0F3B8A001607AC /* DataCenterDeal.mm in Sources */,
5B1F7FA61B91C8A600763059 /* DJProductCheckManager.m in Sources */,
AB9F43EC1B92E58400914C85 /* SetTableViewCell.m in Sources */,
Expand Down Expand Up @@ -2092,6 +2116,7 @@
FFF3919E1B846F58007DC652 /* NetManager.m in Sources */,
FF357CA01BA1310300DFCAC0 /* SBPageFlowView.m in Sources */,
5B54BA3F1B92F9C0002098A4 /* DJCheckCartSubmitRequest.m in Sources */,
ABDDB3801BA3C2E300DCD659 /* XSLSTableViewCell.m in Sources */,
FF2A6C7A1A0F3B7B001607AC /* UIView+WebCacheOperation.m in Sources */,
AB25793E1B8F02010015039A /* IQTitleBarButtonItem.m in Sources */,
AB40EAC51B8C021800DE5ED7 /* SupplierTableViewCell.m in Sources */,
Expand All @@ -2116,6 +2141,7 @@
FF5C87241B83025600F79EC1 /* YTKKeyValueStore.m in Sources */,
FF2A6C3E1A0F3B66001607AC /* UIViewAdditions.m in Sources */,
5B54BA1D1B9213A9002098A4 /* DJProductSearchBar.m in Sources */,
ABDDB3791BA3BCDA00DCD659 /* UploadImgViewController.m in Sources */,
FF3C20011A2EE6D30081D3C7 /* LSNavigationController.m in Sources */,
5B54BA2B1B922676002098A4 /* DJCheckCartItemComponent.m in Sources */,
FF5C871B1B83024C00F79EC1 /* README.markdown in Sources */,
Expand Down
20 changes: 20 additions & 0 deletions YHB_Prj/YHB_Prj/shangpinguanli/EditSPVC/JHLSTableViewCell.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
//
// JHLSTableViewCell.h
// YHB_Prj
//
// Created by Johnny's on 15/9/12.
// Copyright (c) 2015年 striveliu. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JHLSTableViewCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UILabel *laTime;
@property (strong, nonatomic) IBOutlet UILabel *laName;
@property (strong, nonatomic) IBOutlet UILabel *laPrice;
@property (strong, nonatomic) IBOutlet UILabel *laNum;
@property (strong, nonatomic) IBOutlet UILabel *laSum;


+ (CGFloat)heightForCell;
@end
37 changes: 37 additions & 0 deletions YHB_Prj/YHB_Prj/shangpinguanli/EditSPVC/JHLSTableViewCell.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
//
// JHLSTableViewCell.m
// YHB_Prj
//
// Created by Johnny's on 15/9/12.
// Copyright (c) 2015年 striveliu. All rights reserved.
//

#import "JHLSTableViewCell.h"

@implementation JHLSTableViewCell

- (void)awakeFromNib {
// Initialization code
}

+ (CGFloat)heightForCell
{
return 108;
}

- (void)resetCell
{
_laName.text = @"";
_laNum.text = @"";
_laPrice.text = @"";
_laSum.text = @"";
_laTime.text = @"";
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
[super setSelected:selected animated:animated];

// Configure the view for the selected state
}

@end
99 changes: 99 additions & 0 deletions YHB_Prj/YHB_Prj/shangpinguanli/EditSPVC/JHLSTableViewCell.xib
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES">
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/>
</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" reuseIdentifier="JHLSCell" rowHeight="108" id="KGk-i7-Jjw" customClass="JHLSTableViewCell">
<rect key="frame" x="0.0" y="0.0" width="320" height="108"/>
<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="43"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="hvj-FT-TxT">
<rect key="frame" x="0.0" y="0.0" width="800" height="25"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="进货时间:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PBR-OB-KwH">
<rect key="frame" x="15" y="2" width="55" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="2015-08-17 18:09:15" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="t8g-1f-PyW">
<rect key="frame" x="70" y="2" width="180" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.86274509799999999" green="0.86274509799999999" blue="0.86274509799999999" alpha="1" colorSpace="calibratedRGB"/>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="供货商:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2yF-fH-03P">
<rect key="frame" x="15" y="30" width="40" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="南京母婴商贸有限公司" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5VD-WC-vRY">
<rect key="frame" x="55" y="30" width="180" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="单价:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Suc-ic-6xD">
<rect key="frame" x="15" y="56" width="35" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="小计:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ybx-PR-90V">
<rect key="frame" x="15" y="82" width="35" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="数量:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Js8-5H-f6I">
<rect key="frame" x="160" y="56" width="35" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="¥148.00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0f9-wd-2Iu">
<rect key="frame" x="50" y="56" width="100" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="50" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4wH-kD-QGa">
<rect key="frame" x="195" y="56" width="80" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="¥7400.00" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="w8M-V2-5TP">
<rect key="frame" x="50" y="82" width="160" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="12"/>
<color key="textColor" red="1" green="0.5" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="O4s-qt-XCO">
<rect key="frame" x="0.0" y="107.5" width="800" height="0.5"/>
<color key="backgroundColor" red="0.86274509799999999" green="0.86274509799999999" blue="0.86274509799999999" alpha="1" colorSpace="calibratedRGB"/>
</view>
</subviews>
</tableViewCellContentView>
<connections>
<outlet property="laName" destination="5VD-WC-vRY" id="Aip-Ul-eAT"/>
<outlet property="laNum" destination="4wH-kD-QGa" id="gUV-35-E4J"/>
<outlet property="laPrice" destination="0f9-wd-2Iu" id="hya-S4-WGJ"/>
<outlet property="laSum" destination="w8M-V2-5TP" id="Rfh-2n-lyo"/>
<outlet property="laTime" destination="t8g-1f-PyW" id="DQe-tU-7TF"/>
</connections>
<point key="canvasLocation" x="33" y="279"/>
</tableViewCell>
</objects>
</document>
2 changes: 2 additions & 0 deletions YHB_Prj/YHB_Prj/shangpinguanli/EditSPVC/JHLSViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@

@interface JHLSViewController : BaseViewController

- (instancetype)initWithProductId:(NSString *)aId;

@end
Loading

0 comments on commit 651716f

Please sign in to comment.