Commit cd2eb4ae authored by Sandy's avatar Sandy

对账

parent ee92fd8c
......@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.2</string>
<string>1.0.4</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
......@@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0.2</string>
<string>1.0.4</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>wechat</string>
......
......@@ -812,7 +812,7 @@
TargetAttributes = {
8F97C2B71E0CC4BE00D8A57D = {
CreatedOnToolsVersion = 8.1;
DevelopmentTeam = W54V2VB863;
DevelopmentTeam = 3KJ9G3LC6T;
ProvisioningStyle = Automatic;
SystemCapabilities = {
com.apple.BackgroundModes = {
......@@ -836,7 +836,7 @@
TestTargetID = 8F97C2B71E0CC4BE00D8A57D;
};
8FFE3DDA1E14AC6700BEB6A6 = {
DevelopmentTeam = W54V2VB863;
DevelopmentTeam = 3KJ9G3LC6T;
};
};
};
......@@ -1264,7 +1264,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Car/Car.entitlements;
DEVELOPMENT_TEAM = W54V2VB863;
DEVELOPMENT_TEAM = 3KJ9G3LC6T;
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SRCROOT)/Car/PrefixHeader.pch";
......@@ -1276,7 +1276,7 @@
INFOPLIST_FILE = Car/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gomore.car;
PRODUCT_BUNDLE_IDENTIFIER = com.czt.car;
PRODUCT_NAME = "$(TARGET_NAME)";
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/**";
};
......@@ -1288,7 +1288,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Car/Car.entitlements;
DEVELOPMENT_TEAM = W54V2VB863;
DEVELOPMENT_TEAM = 3KJ9G3LC6T;
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SRCROOT)/Car/PrefixHeader.pch";
......@@ -1300,7 +1300,7 @@
INFOPLIST_FILE = Car/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gomore.car;
PRODUCT_BUNDLE_IDENTIFIER = com.czt.car;
PRODUCT_NAME = "$(TARGET_NAME)";
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/**";
};
......@@ -1376,7 +1376,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Car/Car.entitlements;
DEVELOPMENT_TEAM = W54V2VB863;
DEVELOPMENT_TEAM = 3KJ9G3LC6T;
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SRCROOT)/Car/PrefixHeader.pch";
......@@ -1387,7 +1387,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Car Release.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gomore.car;
PRODUCT_BUNDLE_IDENTIFIER = com.czt.car;
PRODUCT_NAME = "$(TARGET_NAME)";
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/**";
};
......@@ -1399,7 +1399,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_ENTITLEMENTS = Car/Car.entitlements;
DEVELOPMENT_TEAM = W54V2VB863;
DEVELOPMENT_TEAM = 3KJ9G3LC6T;
ENABLE_BITCODE = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "$(SRCROOT)/Car/PrefixHeader.pch";
......@@ -1410,7 +1410,7 @@
INFOPLIST_FILE = "$(SRCROOT)/Car Release.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.gomore.car;
PRODUCT_BUNDLE_IDENTIFIER = com.czt.car;
PRODUCT_NAME = "$(TARGET_NAME)";
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/**";
};
......
{
"images" : [
{
"idiom" : "universal",
"filename" : "radious_select.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "radious_select@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "radious_select@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
{
"images" : [
{
"idiom" : "universal",
"filename" : "radious_unselect.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "radious_unselect@2x.png",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "radious_unselect@3x.png",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
\ No newline at end of file
......@@ -113,8 +113,8 @@
<constraint firstAttribute="height" constant="30" id="Nvw-nI-6cM"/>
</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="fJu-eo-Y8d">
<rect key="frame" x="76" y="16" width="37" height="22"/>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="工分提现" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fJu-eo-Y8d">
<rect key="frame" x="76" y="16" width="74" height="22"/>
<fontDescription key="fontDescription" type="system" pointSize="18"/>
<color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<nil key="highlightedColor"/>
......@@ -738,7 +738,7 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="166" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="fte-kF-PCY">
<rect key="frame" x="0.0" y="0.0" width="375" height="603"/>
<rect key="frame" x="0.0" y="44" width="375" height="475"/>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<prototypes>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="OrderListTableViewCell" rowHeight="166" id="tpV-M9-l1S" customClass="OrderListTableViewCell">
......@@ -749,25 +749,25 @@
<autoresizingMask key="autoresizingMask"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2016-04-23 12:21" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PI0-yO-xgv">
<rect key="frame" x="16" y="16" width="154" height="23"/>
<rect key="frame" x="50" y="16" width="154" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<nil key="textColor"/>
<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="1pn-6m-cer">
<rect key="frame" x="341.5" y="17.5" width="17.5" height="20.5"/>
<rect key="frame" x="341" y="17" width="18" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<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="G9f-Lv-F9O">
<rect key="frame" x="16" y="47" width="106" height="23"/>
<rect key="frame" x="50" y="47" width="106" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" red="0.39995324611663818" green="0.40002685785293579" blue="0.39994865655899048" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<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="roe-Vr-AS8">
<rect key="frame" x="16" y="74" width="86" height="23"/>
<rect key="frame" x="50" y="74" width="86" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<color key="textColor" red="0.39995324609999999" green="0.40002685789999998" blue="0.39994865660000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
......@@ -791,7 +791,7 @@
<nil key="highlightedColor"/>
</label>
<button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="C7n-Ft-15k">
<rect key="frame" x="297" y="125.5" width="62" height="22"/>
<rect key="frame" x="297" y="125" width="62" height="22"/>
<constraints>
<constraint firstAttribute="height" constant="22.5" id="VEh-ic-B9A"/>
<constraint firstAttribute="width" constant="62" id="clM-k3-hFc"/>
......@@ -833,17 +833,30 @@
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="199" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M6y-YA-WBW">
<rect key="frame" x="303.5" y="14" width="34" height="24"/>
<rect key="frame" x="303" y="14" width="34" height="24"/>
<fontDescription key="fontDescription" type="system" pointSize="20"/>
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" enabled="NO" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="G0Z-or-Mw8">
<rect key="frame" x="16" y="14.5" width="25" height="25"/>
<constraints>
<constraint firstAttribute="height" constant="25" id="DPS-Jr-lRv"/>
<constraint firstAttribute="width" constant="25" id="eZ3-fE-nyu"/>
</constraints>
<state key="normal" backgroundImage="radious_unselect"/>
<state key="disabled" backgroundImage="radious_select"/>
<state key="selected" backgroundImage="radious_select"/>
<connections>
<action selector="actionCheck:" destination="tpV-M9-l1S" eventType="touchUpInside" id="z5n-j4-kon"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstItem="Mdj-mP-15I" firstAttribute="leading" secondItem="hzT-UH-DPk" secondAttribute="leading" constant="16" id="3jX-Oi-TBY"/>
<constraint firstItem="roe-Vr-AS8" firstAttribute="top" secondItem="G9f-Lv-F9O" secondAttribute="bottom" constant="4" id="44O-1K-Qly"/>
<constraint firstItem="G9f-Lv-F9O" firstAttribute="leading" secondItem="PI0-yO-xgv" secondAttribute="leading" id="4xb-ht-mIE"/>
<constraint firstItem="PI0-yO-xgv" firstAttribute="leading" secondItem="hzT-UH-DPk" secondAttribute="leading" constant="16" id="5zf-od-CeG"/>
<constraint firstItem="PI0-yO-xgv" firstAttribute="leading" secondItem="hzT-UH-DPk" secondAttribute="leading" constant="50" id="5zf-od-CeG"/>
<constraint firstItem="Xdf-p8-5An" firstAttribute="top" secondItem="kGS-C0-cNE" secondAttribute="bottom" id="COz-g8-1hy"/>
<constraint firstAttribute="trailing" secondItem="C7n-Ft-15k" secondAttribute="trailing" constant="16" id="Dwe-zG-dax"/>
<constraint firstItem="m7p-3S-SOZ" firstAttribute="height" secondItem="kGS-C0-cNE" secondAttribute="height" id="FuE-xr-O73"/>
......@@ -855,9 +868,11 @@
<constraint firstItem="Xdf-p8-5An" firstAttribute="leading" secondItem="hzT-UH-DPk" secondAttribute="leading" id="cl6-IX-PnS"/>
<constraint firstAttribute="bottom" secondItem="Xdf-p8-5An" secondAttribute="bottom" id="csy-AE-1fa"/>
<constraint firstItem="m7p-3S-SOZ" firstAttribute="top" secondItem="Mdj-mP-15I" secondAttribute="bottom" id="dcZ-H6-mrD"/>
<constraint firstItem="G0Z-or-Mw8" firstAttribute="leading" secondItem="hzT-UH-DPk" secondAttribute="leading" constant="16" id="drS-LW-E3E"/>
<constraint firstItem="roe-Vr-AS8" firstAttribute="leading" secondItem="G9f-Lv-F9O" secondAttribute="leading" id="epS-Hm-gw7"/>
<constraint firstItem="kGS-C0-cNE" firstAttribute="leading" secondItem="hzT-UH-DPk" secondAttribute="leading" constant="16" id="fuD-Bk-D0Q"/>
<constraint firstAttribute="trailing" secondItem="Mdj-mP-15I" secondAttribute="trailing" constant="16" id="gkS-fp-Kpu"/>
<constraint firstItem="G0Z-or-Mw8" firstAttribute="centerY" secondItem="PI0-yO-xgv" secondAttribute="centerY" id="jBv-9V-kct"/>
<constraint firstItem="1pn-6m-cer" firstAttribute="leading" secondItem="M6y-YA-WBW" secondAttribute="trailing" constant="4" id="nEa-Nb-LeI"/>
<constraint firstItem="kGS-C0-cNE" firstAttribute="top" secondItem="Mdj-mP-15I" secondAttribute="bottom" id="s4w-SJ-q21"/>
<constraint firstItem="m7p-3S-SOZ" firstAttribute="leading" secondItem="kGS-C0-cNE" secondAttribute="trailing" constant="-1" id="tAF-92-N0O"/>
......@@ -867,6 +882,7 @@
</constraints>
</tableViewCellContentView>
<connections>
<outlet property="btnIsChecked" destination="G0Z-or-Mw8" id="1n3-Rn-Z58"/>
<outlet property="labelBillNumber" destination="m7p-3S-SOZ" id="qtj-m8-kor"/>
<outlet property="labelOil" destination="roe-Vr-AS8" id="sWe-2m-pNR"/>
<outlet property="labelPrice" destination="M6y-YA-WBW" id="Nfg-Dq-GhG"/>
......@@ -876,13 +892,160 @@
</tableViewCell>
</prototypes>
</tableView>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SUp-3O-J8h">
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bmf-kc-sf9">
<rect key="frame" x="16" y="9.5" width="25" height="25"/>
<constraints>
<constraint firstAttribute="width" constant="25" id="7Tj-EY-Uiq"/>
<constraint firstAttribute="height" constant="25" id="Ptz-Th-dte"/>
</constraints>
<state key="normal" backgroundImage="radious_unselect"/>
<state key="selected" backgroundImage="radious_select"/>
<connections>
<action selector="actionSelectAll:" destination="NvU-gI-aPJ" eventType="touchUpInside" id="pfq-Sm-G68"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全选" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xfE-b7-Fwg">
<rect key="frame" x="57" y="11" width="39" height="23"/>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oaq-2p-fUb">
<rect key="frame" x="279" y="0.0" width="80" height="44"/>
<constraints>
<constraint firstAttribute="width" constant="80" id="kr4-H4-dLx"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="19"/>
<state key="normal" title="取消对账">
<color key="titleColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
</state>
<connections>
<action selector="actionCancelCheck:" destination="NvU-gI-aPJ" eventType="touchUpInside" id="TRX-wb-6eH"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="oaq-2p-fUb" secondAttribute="trailing" constant="16" id="GLt-Mi-pph"/>
<constraint firstItem="bmf-kc-sf9" firstAttribute="leading" secondItem="SUp-3O-J8h" secondAttribute="leading" constant="16" id="LnV-xB-fif"/>
<constraint firstItem="oaq-2p-fUb" firstAttribute="top" secondItem="SUp-3O-J8h" secondAttribute="top" id="NmC-5Y-Yin"/>
<constraint firstItem="bmf-kc-sf9" firstAttribute="centerY" secondItem="SUp-3O-J8h" secondAttribute="centerY" id="OCo-t8-4uQ"/>
<constraint firstAttribute="height" constant="44" id="Ogv-fa-3jp"/>
<constraint firstItem="xfE-b7-Fwg" firstAttribute="leading" secondItem="bmf-kc-sf9" secondAttribute="trailing" constant="16" id="Q9f-cQ-WeM"/>
<constraint firstAttribute="bottom" secondItem="oaq-2p-fUb" secondAttribute="bottom" id="i8N-iK-x8i"/>
<constraint firstItem="xfE-b7-Fwg" firstAttribute="centerY" secondItem="SUp-3O-J8h" secondAttribute="centerY" id="ohL-wU-pej"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="60m-IE-dYi">
<rect key="frame" x="0.0" y="519" width="375" height="84"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pkB-KR-wBr">
<rect key="frame" x="255" y="0.0" width="120" height="84"/>
<color key="backgroundColor" red="0.89847332239151001" green="0.44295623898506165" blue="0.19516775012016296" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="width" constant="120" id="EA1-qT-XUN"/>
</constraints>
<state key="normal" title="开始对账">
<color key="titleColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
</state>
<state key="selected" title="完成对账"/>
<connections>
<action selector="actionCheck:" destination="NvU-gI-aPJ" eventType="touchUpInside" id="FYc-Af-f7j"/>
</connections>
</button>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6w7-So-BEq">
<rect key="frame" x="0.0" y="0.0" width="255" height="41.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="单数:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bOO-oe-d7A">
<rect key="frame" x="45" y="0.0" width="70" height="41.5"/>
<constraints>
<constraint firstAttribute="width" constant="70" id="eV7-sw-omz"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XBX-Hu-kI5">
<rect key="frame" x="115" y="0.0" width="140" height="41.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="XBX-Hu-kI5" firstAttribute="leading" secondItem="bOO-oe-d7A" secondAttribute="trailing" id="2Q1-VE-dfh"/>
<constraint firstItem="bOO-oe-d7A" firstAttribute="top" secondItem="6w7-So-BEq" secondAttribute="top" id="AjN-EL-DHu"/>
<constraint firstItem="XBX-Hu-kI5" firstAttribute="top" secondItem="6w7-So-BEq" secondAttribute="top" id="HKj-6U-J5P"/>
<constraint firstAttribute="trailing" secondItem="XBX-Hu-kI5" secondAttribute="trailing" id="LX1-Jr-k24"/>
<constraint firstAttribute="bottom" secondItem="bOO-oe-d7A" secondAttribute="bottom" id="Wdc-Lu-wXJ"/>
<constraint firstItem="bOO-oe-d7A" firstAttribute="leading" secondItem="6w7-So-BEq" secondAttribute="leading" constant="45" id="mQO-7g-wCn"/>
<constraint firstAttribute="bottom" secondItem="XBX-Hu-kI5" secondAttribute="bottom" id="sLS-cN-X8b"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oFG-hd-AiT">
<rect key="frame" x="0.0" y="42.5" width="255" height="41.5"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="金额:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MLq-ta-08m">
<rect key="frame" x="45" y="-0.5" width="70" height="41.5"/>
<constraints>
<constraint firstAttribute="width" constant="70" id="NiW-ti-sKm"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="¥0.001" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="H0A-lS-G4G">
<rect key="frame" x="115" y="0.0" width="140" height="41.5"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="H0A-lS-G4G" firstAttribute="leading" secondItem="MLq-ta-08m" secondAttribute="trailing" id="0FN-t7-0D9"/>
<constraint firstItem="MLq-ta-08m" firstAttribute="top" secondItem="oFG-hd-AiT" secondAttribute="top" id="IXv-09-rOR"/>
<constraint firstAttribute="trailing" secondItem="H0A-lS-G4G" secondAttribute="trailing" id="MNl-2o-Zny"/>
<constraint firstItem="MLq-ta-08m" firstAttribute="leading" secondItem="oFG-hd-AiT" secondAttribute="leading" constant="45" id="aMa-ca-95K"/>
<constraint firstAttribute="bottom" secondItem="H0A-lS-G4G" secondAttribute="bottom" id="cOS-k0-TXJ"/>
<constraint firstAttribute="bottom" secondItem="MLq-ta-08m" secondAttribute="bottom" id="es5-81-OhB"/>
<constraint firstItem="H0A-lS-G4G" firstAttribute="top" secondItem="oFG-hd-AiT" secondAttribute="top" id="kph-it-Dph"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="pkB-KR-wBr" secondAttribute="bottom" id="9JY-88-UIg"/>
<constraint firstItem="pkB-KR-wBr" firstAttribute="top" secondItem="60m-IE-dYi" secondAttribute="top" id="9hb-06-Rre"/>
<constraint firstItem="pkB-KR-wBr" firstAttribute="leading" secondItem="6w7-So-BEq" secondAttribute="trailing" id="9iG-00-w7h"/>
<constraint firstItem="oFG-hd-AiT" firstAttribute="leading" secondItem="60m-IE-dYi" secondAttribute="leading" id="Baz-ad-Z9G"/>
<constraint firstAttribute="trailing" secondItem="pkB-KR-wBr" secondAttribute="trailing" id="EAa-GR-QDP"/>
<constraint firstAttribute="bottom" secondItem="oFG-hd-AiT" secondAttribute="bottom" id="M8i-8u-5td"/>
<constraint firstItem="6w7-So-BEq" firstAttribute="leading" secondItem="60m-IE-dYi" secondAttribute="leading" id="RXM-mY-Up3"/>
<constraint firstItem="oFG-hd-AiT" firstAttribute="top" secondItem="6w7-So-BEq" secondAttribute="bottom" constant="1" id="Ryj-0l-YaA"/>
<constraint firstItem="pkB-KR-wBr" firstAttribute="leading" secondItem="oFG-hd-AiT" secondAttribute="trailing" id="iqv-Ut-Pc9"/>
<constraint firstItem="6w7-So-BEq" firstAttribute="top" secondItem="60m-IE-dYi" secondAttribute="top" id="nf0-8n-TvA"/>
<constraint firstItem="oFG-hd-AiT" firstAttribute="height" secondItem="6w7-So-BEq" secondAttribute="height" id="sgH-tR-hDq"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="60m-IE-dYi" firstAttribute="top" secondItem="fte-kF-PCY" secondAttribute="bottom" id="8Or-2D-DIl"/>
<constraint firstAttribute="trailing" secondItem="SUp-3O-J8h" secondAttribute="trailing" id="9Mf-nI-Xj5"/>
<constraint firstAttribute="bottom" secondItem="60m-IE-dYi" secondAttribute="bottom" id="DGb-f0-AvT"/>
<constraint firstItem="SUp-3O-J8h" firstAttribute="top" secondItem="0NC-52-uCb" secondAttribute="bottom" id="F2r-oa-Pqj"/>
<constraint firstAttribute="trailing" secondItem="fte-kF-PCY" secondAttribute="trailing" id="GNL-GK-87X"/>
<constraint firstItem="fte-kF-PCY" firstAttribute="top" secondItem="0NC-52-uCb" secondAttribute="bottom" id="QIb-Oi-b2i"/>
<constraint firstItem="Yec-wN-vhX" firstAttribute="top" secondItem="fte-kF-PCY" secondAttribute="bottom" id="Tms-Gt-OBB"/>
<constraint firstItem="Yec-wN-vhX" firstAttribute="top" secondItem="fte-kF-PCY" secondAttribute="bottom" constant="84" id="Tms-Gt-OBB"/>
<constraint firstItem="SUp-3O-J8h" firstAttribute="leading" secondItem="jeU-3b-5wY" secondAttribute="leading" id="dc4-D3-aMT"/>
<constraint firstAttribute="trailing" secondItem="60m-IE-dYi" secondAttribute="trailing" id="nhz-IR-CNY"/>
<constraint firstItem="fte-kF-PCY" firstAttribute="leading" secondItem="jeU-3b-5wY" secondAttribute="leading" id="qRR-QM-gHV"/>
<constraint firstItem="60m-IE-dYi" firstAttribute="leading" secondItem="jeU-3b-5wY" secondAttribute="leading" id="rWy-JU-r8A"/>
<constraint firstItem="fte-kF-PCY" firstAttribute="top" secondItem="SUp-3O-J8h" secondAttribute="bottom" id="wJI-nx-8O7"/>
</constraints>
</view>
<navigationItem key="navigationItem" title="加油单" id="PTc-Wg-bhw">
......@@ -900,12 +1063,17 @@
</barButtonItem>
</navigationItem>
<connections>
<outlet property="btnCheck" destination="pkB-KR-wBr" id="iuK-wQ-xGq"/>
<outlet property="btnSelectAll" destination="bmf-kc-sf9" id="2Uw-gN-QDj"/>
<outlet property="constraintTop" destination="Ogv-fa-3jp" id="Pko-jE-pfh"/>
<outlet property="labelAmount" destination="H0A-lS-G4G" id="O8P-M3-RT7"/>
<outlet property="labelCount" destination="XBX-Hu-kI5" id="PRk-3O-Iug"/>
<outlet property="tableView" destination="fte-kF-PCY" id="Thm-5H-Lu4"/>
</connections>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="1XD-Cb-6hj" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="486" y="1415"/>
<point key="canvasLocation" x="485.60000000000002" y="1414.5427286356824"/>
</scene>
<!--Order List Filter View Controller-->
<scene sceneID="m3N-VX-LqN">
......@@ -920,22 +1088,61 @@
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lAH-tC-jlD">
<rect key="frame" x="0.0" y="20" width="375" height="20"/>
<rect key="frame" x="0.0" y="20" width="375" height="320"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ged-0k-OzE">
<rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="加油单号:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5vl-v1-juQ">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="是否对账:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5vl-v1-juQ">
<rect key="frame" x="16" y="15" width="87" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="0HS-Kl-JSm">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7aY-Ll-xGX">
<rect key="frame" x="111" y="5" width="248" height="40"/>
<color key="backgroundColor" red="0.90196079019999997" green="0.90196079019999997" blue="0.90196079019999997" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="xkV-9B-iJ9"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<state key="normal" title="全部">
<color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="5"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="actionChooseIsChecked:" destination="DJ0-jV-4Ff" eventType="touchUpInside" id="M6L-jo-hd6"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="7aY-Ll-xGX" firstAttribute="leading" secondItem="5vl-v1-juQ" secondAttribute="trailing" constant="8" id="Fgj-7Y-1hS"/>
<constraint firstAttribute="height" constant="50" id="Ru9-ja-JLP"/>
<constraint firstItem="7aY-Ll-xGX" firstAttribute="centerY" secondItem="ged-0k-OzE" secondAttribute="centerY" id="sUf-t2-EV4"/>
<constraint firstAttribute="trailing" secondItem="7aY-Ll-xGX" secondAttribute="trailing" constant="16" id="uWv-xz-INz"/>
<constraint firstItem="5vl-v1-juQ" firstAttribute="leading" secondItem="ged-0k-OzE" secondAttribute="leading" constant="16" id="v60-0w-wNk"/>
<constraint firstItem="5vl-v1-juQ" firstAttribute="centerY" secondItem="ged-0k-OzE" secondAttribute="centerY" id="yx7-gN-O9O"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kvi-vx-bzY">
<rect key="frame" x="0.0" y="50" width="375" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="加油单号:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Zfj-LU-gpy">
<rect key="frame" x="16" y="15" width="87" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Tyc-ZF-j7b">
<rect key="frame" x="110" y="5" width="249" height="40"/>
<color key="backgroundColor" red="0.93323183059692383" green="0.9333917498588562" blue="0.93322181701660156" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color key="backgroundColor" red="0.93333333333333335" green="0.93333333333333335" blue="0.93333333333333335" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="uKa-fO-sUm"/>
<constraint firstAttribute="height" constant="40" id="6xk-ea-7BU"/>
</constraints>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
......@@ -944,18 +1151,18 @@
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="0HS-Kl-JSm" firstAttribute="leading" secondItem="ged-0k-OzE" secondAttribute="leading" constant="110" id="PY0-Co-9aM"/>
<constraint firstAttribute="height" constant="50" id="Ru9-ja-JLP"/>
<constraint firstItem="0HS-Kl-JSm" firstAttribute="centerY" secondItem="ged-0k-OzE" secondAttribute="centerY" id="YzS-mi-Uwh"/>
<constraint firstItem="5vl-v1-juQ" firstAttribute="leading" secondItem="ged-0k-OzE" secondAttribute="leading" constant="16" id="v60-0w-wNk"/>
<constraint firstAttribute="trailing" secondItem="0HS-Kl-JSm" secondAttribute="trailing" constant="16" id="xGI-vW-23f"/>
<constraint firstItem="5vl-v1-juQ" firstAttribute="centerY" secondItem="ged-0k-OzE" secondAttribute="centerY" id="yx7-gN-O9O"/>
<constraint firstAttribute="height" constant="50" id="6Jp-sn-yNg"/>
<constraint firstAttribute="trailing" secondItem="Tyc-ZF-j7b" secondAttribute="trailing" constant="16" id="6Ur-z9-qNH"/>
<constraint firstItem="Zfj-LU-gpy" firstAttribute="centerY" secondItem="kvi-vx-bzY" secondAttribute="centerY" id="HrN-2e-Z1G"/>
<constraint firstItem="Zfj-LU-gpy" firstAttribute="leading" secondItem="kvi-vx-bzY" secondAttribute="leading" constant="16" id="SQD-Hq-Tb5"/>
<constraint firstItem="Tyc-ZF-j7b" firstAttribute="leading" secondItem="kvi-vx-bzY" secondAttribute="leading" constant="110" id="YdA-1g-Zww"/>
<constraint firstItem="Tyc-ZF-j7b" firstAttribute="centerY" secondItem="kvi-vx-bzY" secondAttribute="centerY" id="fae-v6-poR"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6PD-JU-six">
<rect key="frame" x="0.0" y="50" width="375" height="50"/>
<rect key="frame" x="0.0" y="100" width="375" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="加油时间:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rgO-Mt-cU5">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="开始时间:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rgO-Mt-cU5">
<rect key="frame" x="16" y="15" width="87" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
......@@ -982,8 +1189,38 @@
<constraint firstItem="Wcq-oX-Vzb" firstAttribute="leading" secondItem="6PD-JU-six" secondAttribute="leading" constant="110" id="yq6-9k-pVV"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0V-Ps-aaS">
<rect key="frame" x="0.0" y="150" width="375" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="结束时间:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cLn-Yp-sQy">
<rect key="frame" x="16" y="15" width="87" height="21"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="w8b-63-OjZ" customClass="DateTextField">
<rect key="frame" x="110" y="5" width="249" height="40"/>
<color key="backgroundColor" red="0.93323183060000003" green="0.93339174989999996" blue="0.93322181699999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<constraints>
<constraint firstAttribute="height" constant="40" id="I77-WC-1oM"/>
</constraints>
<nil key="textColor"/>
<fontDescription key="fontDescription" type="system" pointSize="14"/>
<textInputTraits key="textInputTraits"/>
</textField>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="w8b-63-OjZ" firstAttribute="leading" secondItem="f0V-Ps-aaS" secondAttribute="leading" constant="110" id="Lsr-uD-FNk"/>
<constraint firstAttribute="trailing" secondItem="w8b-63-OjZ" secondAttribute="trailing" constant="16" id="b2s-q3-spO"/>
<constraint firstItem="cLn-Yp-sQy" firstAttribute="leading" secondItem="f0V-Ps-aaS" secondAttribute="leading" constant="16" id="bra-va-J27"/>
<constraint firstAttribute="height" constant="50" id="cvg-L6-TVU"/>
<constraint firstItem="cLn-Yp-sQy" firstAttribute="centerY" secondItem="f0V-Ps-aaS" secondAttribute="centerY" id="eJq-Om-mzZ"/>
<constraint firstItem="w8b-63-OjZ" firstAttribute="centerY" secondItem="f0V-Ps-aaS" secondAttribute="centerY" id="rES-3g-lgM"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="BPU-oD-DwI">
<rect key="frame" x="0.0" y="100" width="375" height="50"/>
<rect key="frame" x="0.0" y="200" width="375" height="50"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="加油员:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8mT-ZO-pVl">
<rect key="frame" x="16" y="15" width="70" height="21"/>
......@@ -1013,7 +1250,7 @@
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="dzD-bu-N4P">
<rect key="frame" x="0.0" y="150" width="375" height="70"/>
<rect key="frame" x="0.0" y="250" width="375" height="70"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="K9Z-iZ-JBi">
<rect key="frame" x="16" y="19" width="163.5" height="32"/>
......@@ -1060,22 +1297,30 @@
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
<constraints>
<constraint firstItem="ged-0k-OzE" firstAttribute="top" secondItem="lAH-tC-jlD" secondAttribute="top" id="3gF-k9-Ciw"/>
<constraint firstItem="6PD-JU-six" firstAttribute="top" secondItem="kvi-vx-bzY" secondAttribute="bottom" id="4NK-Au-vVX"/>
<constraint firstItem="6PD-JU-six" firstAttribute="leading" secondItem="lAH-tC-jlD" secondAttribute="leading" id="6TY-Gy-5br"/>
<constraint firstItem="kvi-vx-bzY" firstAttribute="leading" secondItem="lAH-tC-jlD" secondAttribute="leading" id="9yR-Ua-rzh"/>
<constraint firstAttribute="trailing" secondItem="ged-0k-OzE" secondAttribute="trailing" id="AdS-XF-2sw"/>
<constraint firstItem="BPU-oD-DwI" firstAttribute="top" secondItem="6PD-JU-six" secondAttribute="bottom" id="FJe-yg-V0j"/>
<constraint firstItem="BPU-oD-DwI" firstAttribute="top" secondItem="f0V-Ps-aaS" secondAttribute="bottom" id="BJd-9v-RLl"/>
<constraint firstItem="f0V-Ps-aaS" firstAttribute="leading" secondItem="lAH-tC-jlD" secondAttribute="leading" id="I2D-MO-33V"/>
<constraint firstItem="6PD-JU-six" firstAttribute="top" secondItem="kvi-vx-bzY" secondAttribute="bottom" id="KzD-6k-eGc"/>
<constraint firstAttribute="trailing" secondItem="f0V-Ps-aaS" secondAttribute="trailing" id="R1g-os-gHC"/>
<constraint firstItem="dzD-bu-N4P" firstAttribute="top" secondItem="BPU-oD-DwI" secondAttribute="bottom" id="U68-Pu-anq"/>
<constraint firstAttribute="trailing" secondItem="BPU-oD-DwI" secondAttribute="trailing" id="VHR-nN-4mz"/>
<constraint firstItem="ged-0k-OzE" firstAttribute="leading" secondItem="lAH-tC-jlD" secondAttribute="leading" id="YPF-ms-r5a"/>
<constraint firstItem="BPU-oD-DwI" firstAttribute="top" secondItem="f0V-Ps-aaS" secondAttribute="bottom" id="YRB-WU-GoJ"/>
<constraint firstItem="dzD-bu-N4P" firstAttribute="leading" secondItem="lAH-tC-jlD" secondAttribute="leading" id="atm-5P-9NJ"/>
<constraint firstAttribute="trailing" secondItem="kvi-vx-bzY" secondAttribute="trailing" id="drA-oo-Uwx"/>
<constraint firstAttribute="trailing" secondItem="6PD-JU-six" secondAttribute="trailing" id="fdZ-0D-tbA"/>
<constraint firstItem="kvi-vx-bzY" firstAttribute="top" secondItem="ged-0k-OzE" secondAttribute="bottom" id="nrq-Se-dTu"/>
<constraint firstAttribute="trailing" secondItem="dzD-bu-N4P" secondAttribute="trailing" id="s25-WP-2uI"/>
<constraint firstAttribute="height" constant="20" id="uYs-JL-rMh"/>
<constraint firstItem="6PD-JU-six" firstAttribute="top" secondItem="ged-0k-OzE" secondAttribute="bottom" id="umR-Ba-Z9S"/>
<constraint firstItem="f0V-Ps-aaS" firstAttribute="top" secondItem="6PD-JU-six" secondAttribute="bottom" id="tTw-13-E9v"/>
<constraint firstAttribute="height" constant="320" id="uYs-JL-rMh"/>
<constraint firstItem="BPU-oD-DwI" firstAttribute="leading" secondItem="lAH-tC-jlD" secondAttribute="leading" id="wjM-e8-HRK"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xux-8l-yBw">
<rect key="frame" x="0.0" y="40" width="375" height="627"/>
<rect key="frame" x="0.0" y="340" width="375" height="327"/>
<color key="backgroundColor" white="0.33333333333333331" alpha="0.23191352739726026" colorSpace="calibratedWhite"/>
<gestureRecognizers/>
<connections>
......@@ -1098,8 +1343,9 @@
<outlet property="board" destination="lAH-tC-jlD" id="vAl-Dt-Pzc"/>
<outlet property="constraintHeight" destination="uYs-JL-rMh" id="BGm-Bu-h82"/>
<outlet property="shadow" destination="xux-8l-yBw" id="OIe-us-hwX"/>
<outlet property="textFieldBillNumber" destination="0HS-Kl-JSm" id="phR-w3-QwS"/>
<outlet property="textFieldBillNumber" destination="Tyc-ZF-j7b" id="gHO-Dg-N6B"/>
<outlet property="textFieldDate" destination="Wcq-oX-Vzb" id="cid-3S-Omf"/>
<outlet property="textFieldEndDate" destination="w8b-63-OjZ" id="FuU-8A-NEG"/>
<outlet property="textFieldStationUser" destination="PuF-Hr-KGB" id="N7h-Xp-Rof"/>
</connections>
</viewController>
......@@ -1110,7 +1356,7 @@
</connections>
</tapGestureRecognizer>
</objects>
<point key="canvasLocation" x="486" y="2118"/>
<point key="canvasLocation" x="485.60000000000002" y="2117.9910044977514"/>
</scene>
<!--Bill List View Controller-->
<scene sceneID="cPU-nz-qim">
......@@ -2000,23 +2246,6 @@
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2t0-vQ-Pt1">
<rect key="frame" x="20" y="417" width="335" height="50"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="cCO-mS-dji"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="20"/>
<state key="normal" title="立即绑定" backgroundImage="btn_abled"/>
<state key="disabled" backgroundImage="btn_disabled"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="5"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="actionBottom:" destination="wJQ-XJ-kfS" eventType="touchUpInside" id="ueX-aS-BMr"/>
</connections>
</button>
<imageView opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleAspectFill" image="login_bg" translatesAutoresizingMaskIntoConstraints="NO" id="Mtt-an-81f">
<rect key="frame" x="0.0" y="554" width="375" height="113"/>
</imageView>
......@@ -2035,7 +2264,7 @@
<color key="textColor" red="0.63179747495554428" green="0.63179747495554428" blue="0.63179747495554428" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="shc-Fb-T6n">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="shc-Fb-T6n">
<rect key="frame" x="156" y="0.0" width="203" height="50"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.63179747500000005" green="0.63179747500000005" blue="0.63179747500000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......@@ -2066,7 +2295,7 @@
<color key="textColor" red="0.63179747500000005" green="0.63179747500000005" blue="0.63179747500000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1000" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gcf-Tq-L2E">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gcf-Tq-L2E">
<rect key="frame" x="172" y="0.0" width="187" height="50"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<color key="textColor" red="0.63179747500000005" green="0.63179747500000005" blue="0.63179747500000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
......@@ -2181,6 +2410,23 @@
<constraint firstItem="kzF-jP-QSk" firstAttribute="leading" secondItem="ZDM-M0-XVm" secondAttribute="leading" id="xO3-y7-WDt"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="2t0-vQ-Pt1">
<rect key="frame" x="20" y="417" width="335" height="50"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="cCO-mS-dji"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="20"/>
<state key="normal" title="立即绑定" backgroundImage="btn_abled"/>
<state key="disabled" backgroundImage="btn_disabled"/>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="5"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
<connections>
<action selector="actionBottom:" destination="wJQ-XJ-kfS" eventType="touchUpInside" id="ueX-aS-BMr"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" cocoaTouchSystemColor="groupTableViewBackgroundColor"/>
<constraints>
......@@ -2512,6 +2758,8 @@
<image name="oil_detail_station" width="24" height="24"/>
<image name="oil_detail_top" width="360" height="57"/>
<image name="orange_card_bg" width="116" height="101"/>
<image name="radious_select" width="13" height="14"/>
<image name="radious_unselect" width="13" height="13"/>
<image name="right_arrow" width="32" height="32"/>
<image name="scan_icon" width="25" height="23"/>
<image name="state_audit" width="50" height="47"/>
......
......@@ -24,6 +24,7 @@
- (void)httpRequest {
WS(weakSelf);
[MBProgressHUD j_loading];
[kHttp POST:kUserCashRecord parameters:[self.param toDictionary] complete:^(id _Nullable response, NSError * _Nullable error) {
[MBProgressHUD j_hideLoadingView];
if (kRsSuccess(response)) {
......@@ -59,7 +60,9 @@
order.direction = @"desc";
_param.orders = (NSArray<QueryOrder> *)@[order];
_param.userId = kUser.fid;
_param.pageSize = self.pageSize;
}
_param.pageNumber = self.page;
return _param;
}
......
......@@ -122,6 +122,12 @@
} break;
case AccountViewControllerTypeBinding: {
WS(weakSelf);
kCanNotBeNil(self.textFieldScore.text, @"请输入提现工分!");
if ([self.textFieldScore.text doubleValue] > [self.labelValidScore.text doubleValue]) {
[MBProgressHUD j_error:@"可用工分不足!" complete:nil];
break;
}
[self alertTitle:@"确认提交?"
msg:nil
okAction:^(UIAlertAction *_Nullable action) {
......@@ -176,9 +182,10 @@
@"unionId":uid};
WS(weakSelf);
[kHttp POST:kModifyUserWxUid parameters:param complete:^(id _Nullable response, NSError * _Nullable error) {
if (kRsMsg(response)) {
if (kRsSuccess(response)) {
[MBProgressHUD j_success:@"绑定成功!" complete:^{
kUser.wxOpenId = response[@"data"];
weakSelf.type = AccountViewControllerTypeBinding;
[weakSelf isBinding];
}];
}else{
......@@ -190,7 +197,6 @@
- (void)httpSubmit {
[MBProgressHUD j_loading];
WS(weakSelf);
kCanNotBeNil(self.textFieldScore.text, @"请输入要兑换的工分数!");
[kHttp POST:kCashApply
parameters:[self.param toDictionary]
complete:^(id _Nullable response, NSError *_Nullable error) {
......@@ -214,7 +220,7 @@
if (kRsSuccess(response)) {
StationUserAcctEntity *acc = [[StationUserAcctEntity alloc] initWithDictionary:response[@"data"] error:nil];
weakSelf.labelTotalScore.text = [NSString stringWithFormat:@"%@", acc.balance];
weakSelf.labelValidScore.text = [NSString stringWithFormat:@"%@", acc.drawBalance];
weakSelf.labelValidScore.text = [NSString stringWithFormat:@"%@", acc.drawBalance ? acc.drawBalance : @"0"];
}
}];
}
......
......@@ -14,6 +14,7 @@
@property (weak, nonatomic) IBOutlet UILabel *labelOil;
@property (weak, nonatomic) IBOutlet UILabel *labelBillNumber;
@property (weak, nonatomic) IBOutlet UILabel *labelPrice;
@property (weak, nonatomic) IBOutlet UIButton *btnIsChecked;
- (void)configCellArray:(NSMutableArray *)array indexPath:(NSIndexPath *)indexPath;
- (void)configCellArray:(NSMutableArray *)array indexPath:(NSIndexPath *)indexPath isShow:(BOOL)isShow isAll:(BOOL)isAll;
@end
......@@ -8,20 +8,42 @@
#import "OrderListTableViewCell.h"
#import "OrderListModel.h"
@interface OrderListTableViewCell ()
@property (strong, nonatomic) OrderListModel *model;
@end
@implementation OrderListTableViewCell
- (void)awakeFromNib {
[super awakeFromNib];
[self.btnIsChecked setBackgroundImage:[UIImage imageNamed:@"radious_select"] forState:UIControlStateDisabled | UIControlStateSelected];
// Initialization code
}
- (void)configCellArray:(NSMutableArray *)array indexPath:(NSIndexPath *)indexPath {
OrderListModel *model = array[indexPath.row];
self.labelTime.text = model.payTime;
self.labelStation.text = [NSString stringWithFormat:@"%@ - %@",model.stationName, model.stationUserName];
self.labelOil.text = [NSString stringWithFormat:@"%@ - %@",model.gasItemName, model.oilGunName];
self.labelBillNumber.text = model.billNumber;
self.labelPrice.text = [CalculateHelper getMoneyStringFrom:model.realPayTotal];
- (void)configCellArray:(NSMutableArray *)array indexPath:(NSIndexPath *)indexPath isShow:(BOOL)isShow isAll:(BOOL)isAll{
OrderListModel *model = array[indexPath.row];
self.model = model;
self.labelTime.text = model.payTime;
self.labelStation.text = [NSString stringWithFormat:@"%@ - %@", model.stationName, model.stationUserName];
self.labelOil.text = [NSString stringWithFormat:@"%@ - %@", model.gasItemName, model.oilGunName];
self.labelBillNumber.text = model.billNumber;
self.labelPrice.text = [CalculateHelper getMoneyStringFrom:model.realPayTotal];
self.btnIsChecked.selected = model.isSelected;
if ([model.checkState isEqualToString:@"checked"]) {
self.btnIsChecked.enabled = NO;
} else {
self.btnIsChecked.enabled = YES;
}
self.btnIsChecked.hidden = !isShow;
}
- (IBAction)actionCheck:(UIButton *)sender {
sender.selected = !sender.isSelected;
self.model.isSelected = sender.isSelected;
[[NSNotificationCenter defaultCenter] postNotificationName:kNotiSelectBill object:self.model];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
......
......@@ -27,4 +27,6 @@
@property (strong, nonatomic) NSString *printStateString;
@property (nonatomic, assign) BOOL isSelected;
@end
......@@ -11,6 +11,18 @@
@implementation OrderListModel
- (instancetype)initWithDictionary:(NSDictionary *)dict error:(NSError *__autoreleasing *)err {
self = [super initWithDictionary:dict error:err];
if (self) {
if ([self.checkState isEqualToString:@"checked"]) {
self.isSelected = YES;
}else{
self.isSelected = NO;
}
}
return self;
}
- (NSString *)paymentString {
if (!_paymentString) {
if ([self.payMethod isEqualToString:@"weixin_pub"]) {
......
......@@ -15,136 +15,266 @@
@interface MainViewController ()
@property (strong, nonatomic) OrderListFilterViewController *filterVC;
@property (strong, nonatomic) OrderQueryDefintion *param;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintTop;
@property (weak, nonatomic) IBOutlet UIButton *btnSelectAll;
@property (weak, nonatomic) IBOutlet UIButton *btnCheck;
@property (strong, nonatomic) NSMutableArray *arrBillIdToCheck;
@property (weak, nonatomic) IBOutlet UILabel *labelCount;
@property (weak, nonatomic) IBOutlet UILabel *labelAmount;
@property (strong, nonatomic) TradeStatisticsResult *total;
@end
@implementation MainViewController
- (void)viewDidLoad {
[super viewDidLoad];
[self httpRequest];
[super viewDidLoad];
[self httpRequest];
self.constraintTop.constant = 0;
[self.view layoutIfNeeded];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(actionNoti:) name:kNotiSelectBill object:nil];
}
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
kGlobal.mainVC = self;
[super viewWillAppear:animated];
kGlobal.mainVC = self;
}
- (void)httpRequest {
self.param.pageSize = self.pageSize;
self.param.pageNumber = self.page;
NSDictionary *param = [self.param toDictionary];
[MBProgressHUD j_loading:@"加载中…"];
WS(weakSelf);
[kHttp POST:kOrderQueryUrl parameters:param complete:^(id _Nullable response, NSError * _Nullable error) {
[MBProgressHUD j_hideLoadingView];
if (kRsSuccess(response)) {
for (NSDictionary *dict in response[@"data"][@"records"]) {
OrderListModel *model = [[OrderListModel alloc] initWithDictionary:dict error:nil];
[weakSelf.arrData addObject:model];
}
[weakSelf listTableViewReloadData];
}else{
kShowRsMsg(response);
[weakSelf.tableView j_endRefresh];
if (self.page > 0) {
self.page--;
}
}
}];
self.param.pageSize = self.pageSize;
self.param.pageNumber = self.page;
NSDictionary *param = [self.param toDictionary];
[MBProgressHUD j_loading:@"加载中…"];
WS(weakSelf);
[kHttp POST:kOrderQueryUrl
parameters:param
complete:^(id _Nullable response, NSError *_Nullable error) {
[MBProgressHUD j_hideLoadingView];
if (kRsSuccess(response)) {
weakSelf.total = [[TradeStatisticsResult alloc] initWithDictionary:response[@"data"][@"total"] error:nil];
for (NSDictionary *dict in response[@"data"][@"records"]) {
OrderListModel *model = [[OrderListModel alloc] initWithDictionary:dict error:nil];
if (weakSelf.btnSelectAll.isSelected) {
model.isSelected = YES;
}
[weakSelf.arrData addObject:model];
}
[weakSelf listTableViewReloadData];
} else {
kShowRsMsg(response);
[weakSelf.tableView j_endRefresh];
if (self.page > 0) {
self.page--;
}
}
}];
}
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
return 166;
return 166;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
return self.arrData.count;
return self.arrData.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
OrderListTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"OrderListTableViewCell" forIndexPath:indexPath];
[cell configCellArray:self.arrData indexPath:indexPath];
return cell;
OrderListTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"OrderListTableViewCell" forIndexPath:indexPath];
[cell configCellArray:self.arrData indexPath:indexPath isShow:self.btnCheck.isSelected isAll:self.btnSelectAll.selected];
return cell;
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
[super tableView:tableView didSelectRowAtIndexPath:indexPath];
kDebugIndex(indexPath);
[super tableView:tableView didSelectRowAtIndexPath:indexPath];
kDebugIndex(indexPath);
}
- (void)listDidSelect:(id)model {
OrderDetailViewController *detailVC = [OrderDetailViewController viewControllerWithStoryBoardType:STORYBOARD_TYPE_MAIN];
detailVC.model = model;
[self.navigationController pushViewController:detailVC animated:YES];
if (self.btnCheck.isSelected) {
return;
}
OrderDetailViewController *detailVC = [OrderDetailViewController viewControllerWithStoryBoardType:STORYBOARD_TYPE_MAIN];
detailVC.model = model;
[self.navigationController pushViewController:detailVC animated:YES];
}
#pragma mark - actions
- (IBAction)actionLeft:(UIBarButtonItem *)sender {
if (kGlobal.sideSlipVC.isShowLeft) {
[kGlobal.sideSlipVC showMainView];
}else{
[kGlobal.sideSlipVC showLeftView];
}
if (kGlobal.sideSlipVC.isShowLeft) {
[kGlobal.sideSlipVC showMainView];
} else {
[kGlobal.sideSlipVC showLeftView];
}
}
- (IBAction)actionRight:(id)sender {
if (self.filterVC.isOpen) {
[self.filterVC hideFilterView];
}else{
self.filterVC.view.frame = self.view.bounds;
[self.view addSubview:self.filterVC.view];
[self.filterVC showFilterView];
}
if (self.filterVC.isOpen) {
[self.filterVC hideFilterView];
} else {
self.filterVC.view.frame = self.view.bounds;
[self.view addSubview:self.filterVC.view];
[self.filterVC showFilterView];
}
}
- (IBAction)actionCheck:(UIButton *)sender {
if (!sender.isSelected) {
sender.selected = YES;
[self.tableView reloadData];
self.constraintTop.constant = 44;
[UIView animateWithDuration:0.3
animations:^{
[self.view layoutIfNeeded];
}];
}else{
if (self.arrBillIdToCheck.count == 0) {
[MBProgressHUD j_error:@"请选择对账的单据!" complete:nil];
return;
}
[self httpCheckBill];
}
}
/**
全选操作
@param isAll 是否全选
*/
- (void)configSelectData:(BOOL)isAll {
for (OrderListModel *model in self.arrData) {
if (![model.checkState isEqualToString:@"checked"]) {
model.isSelected = isAll;
}
}
[self.tableView reloadData];
}
- (void)setTotal:(TradeStatisticsResult *)total {
_total = total;
self.labelCount.text = [NSString stringWithFormat:@"%lld",total.orderCount];
self.labelAmount.text = [NSString stringWithFormat:@"¥ %.2f", total.totalAmount ? total.totalAmount : 0];
}
- (IBAction)actionSelectAll:(UIButton *)sender {
sender.selected = !sender.isSelected;
[self configSelectData:sender.isSelected];
}
- (IBAction)actionCancelCheck:(id)sender {
self.constraintTop.constant = 0;
[UIView animateWithDuration:0.3
animations:^{
[self.view layoutIfNeeded];
}];
self.btnCheck.selected = NO;
[self.tableView reloadData];
}
- (void)actionNoti:(NSNotification *)noti {
NSLog(@"%@",noti);
OrderListModel *model = noti.object;
if (model.isSelected) {
[self.arrBillIdToCheck addObject:model.fid];
}else{
[self.arrBillIdToCheck removeObject:model.fid];
}
self.btnSelectAll.selected = [self configIsAll];
}
- (BOOL)configIsAll {
for (OrderListModel *model in self.arrData) {
if (![model.checkState isEqualToString:@"checked"]) {
if (!model.isSelected) {
return NO;
}
}
}
return YES;
}
- (void)showShadow {
self.shadow.hidden = NO;
self.shadow.hidden = NO;
}
- (void)hideShadow {
self.shadow.hidden = YES;
self.shadow.hidden = YES;
}
#pragma mark - lazy
- (OrderListFilterViewController *)filterVC {
if (!_filterVC) {
_filterVC = [OrderListFilterViewController viewControllerWithStoryBoardType:STORYBOARD_TYPE_MAIN];
_filterVC.param = self.param;
- (void)httpCheckBill {
CheckOrderRequest *request = [[CheckOrderRequest alloc] init];
request.userId = kUser.fid;
request.orderIds = self.arrBillIdToCheck;
WS(weakSelf);
[_filterVC setBlockSubmit:^{
[weakSelf.tableView.mj_header beginRefreshing];
[kHttp POST:kUrlCheck parameters:request.toDictionary complete:^(id _Nullable response, NSError * _Nullable error) {
if (kRsSuccess(response)) {
[MBProgressHUD j_success:@"对账成功!" complete:nil];
[weakSelf actionCancelCheck:nil];
[weakSelf.arrBillIdToCheck removeAllObjects];
} else {
kShowRsMsg(response);
}
}];
[self addChildViewController:_filterVC];
}
return _filterVC;
}
#pragma mark - lazy
- (OrderListFilterViewController *)filterVC {
if (!_filterVC) {
_filterVC = [OrderListFilterViewController viewControllerWithStoryBoardType:STORYBOARD_TYPE_MAIN];
_filterVC.param = self.param;
WS(weakSelf);
[_filterVC setBlockSubmit:^{
[weakSelf.tableView.mj_header beginRefreshing];
}];
[self addChildViewController:_filterVC];
}
return _filterVC;
}
- (OrderQueryDefintion *)param {
if (!_param) {
_param = [[OrderQueryDefintion alloc] init];
QueryOrder *order = [[QueryOrder alloc] init];
order.field = @"payTime";
order.direction = @"desc";
_param.orders = (NSArray<QueryOrder> *)@[order];
_param.userId = kUser.fid;
_param.state = @"paid";
}
return _param;
if (!_param) {
_param = [[OrderQueryDefintion alloc] init];
QueryOrder *order = [[QueryOrder alloc] init];
order.field = @"payTime";
order.direction = @"desc";
_param.orders = (NSArray<QueryOrder> *) @[ order ];
_param.userId = kUser.fid;
_param.state = @"paid, invalid";
_param.beginDate = [[[NSDate date] yearMonthDayString] stringByAppendingString:@" 00:00:00"];
_param.endDate = [[[NSDate date] yearMonthDayString] stringByAppendingString:@" 23:59:59"];
}
return _param;
}
- (NSMutableArray *)arrBillIdToCheck {
if (!_arrBillIdToCheck) {
_arrBillIdToCheck = [NSMutableArray array];
}
return _arrBillIdToCheck;
}
- (UIView *)shadow {
if (!_shadow) {
_shadow = [[UIView alloc] initWithFrame:self.view.bounds];
_shadow.backgroundColor = [UIColor colorWithWhite:0.3 alpha:0.3];
[self.view addSubview:_shadow];
_shadow.hidden = YES;
_shadow.tag = 11112222;
}
return _shadow;
if (!_shadow) {
_shadow = [[UIView alloc] initWithFrame:self.view.bounds];
_shadow.backgroundColor = [UIColor colorWithWhite:0.3 alpha:0.3];
[self.view addSubview:_shadow];
_shadow.hidden = YES;
_shadow.tag = 11112222;
}
return _shadow;
}
- (void)didReceiveMemoryWarning {
......
......@@ -9,7 +9,7 @@
#import "OrderListFilterViewController.h"
@interface OrderListFilterViewController ()
@property(weak, nonatomic) IBOutlet NSLayoutConstraint *constraintHeight;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintHeight;
/**
阴影
......@@ -27,36 +27,37 @@
@property (weak, nonatomic) IBOutlet UITextField *textFieldBillNumber;
/**
日期
日期开始时间
*/
@property (weak, nonatomic) IBOutlet DateTextField *textFieldDate;
@property (weak, nonatomic) IBOutlet DateTextField *textFieldEndDate;
/**
加油员
*/
@property (weak, nonatomic) IBOutlet UITextField *textFieldStationUser;
@end
@implementation OrderListFilterViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.view.backgroundColor = [UIColor clearColor];
// Do any additional setup after loading the view.
self.textFieldDate.type = DateTextFieldYearMonthDay;
[super viewDidLoad];
self.view.backgroundColor = [UIColor clearColor];
// Do any additional setup after loading the view.
self.textFieldDate.type = DateTextFieldYearMonthDay;
self.textFieldEndDate.type = DateTextFieldYearMonthDay;
}
- (IBAction)actionBac:(id)sender {
[self hideFilterView];
[self hideFilterView];
}
- (void)configParam {
self.param.billNumberLike = self.textFieldBillNumber.text;
self.param.userNameLike = self.textFieldStationUser.text;
self.param.endDate = kIf(self.textFieldDate.text.length > 0, [self.textFieldDate.text stringByAppendingString:@" 23:59:59"], nil);
self.param.billNumberLike = self.textFieldBillNumber.text;
self.param.userNameLike = self.textFieldStationUser.text;
self.param.beginDate = kIf(self.textFieldDate.text.length > 0, [self.textFieldDate.text stringByAppendingString:@" 00:00:00"], nil);
self.param.endDate = kIf(self.textFieldEndDate.text.length > 0, [self.textFieldEndDate.text stringByAppendingString:@" 23:59:59"], nil);
}
#pragma mark - actions
......@@ -65,61 +66,95 @@
重置
*/
- (IBAction)actionReset:(id)sender {
self.param.billNumberLike = nil;
self.param.userNameLike = nil;
self.param.endDate = nil;
self.textFieldDate.text = nil;
self.textFieldStationUser.text = nil;
self.textFieldBillNumber.text = nil;
self.param.billNumberLike = nil;
self.param.userNameLike = nil;
self.param.endDate = nil;
self.textFieldDate.text = nil;
self.textFieldStationUser.text = nil;
self.textFieldBillNumber.text = nil;
}
/**
提交
*/
- (IBAction)actionSubmit:(id)sender {
[self configParam];
[self hideFilterView];
if (self.blockSubmit) {
self.blockSubmit();
}
[self configParam];
[self hideFilterView];
if (self.blockSubmit) {
self.blockSubmit();
}
}
- (IBAction)actionChooseIsChecked:(UIButton *)sender {
UIAlertController *alert = [UIAlertController alertControllerWithTitle:@"请选择" message:nil preferredStyle:UIAlertControllerStyleAlert];
WS(weakSelf);
UIAlertAction *actionAll = [UIAlertAction actionWithTitle:@"全部"
style:(UIAlertActionStyleDefault)
handler:^(UIAlertAction *_Nonnull action) {
[sender setTitle:@"全部" forState:UIControlStateNormal];
weakSelf.param.checkState = nil;
}];
[alert addAction:actionAll];
UIAlertAction *actionChecked = [UIAlertAction actionWithTitle:@"已对账"
style:(UIAlertActionStyleDefault)
handler:^(UIAlertAction *_Nonnull action) {
[sender setTitle:@"已对账" forState:UIControlStateNormal];
weakSelf.param.checkState = @"checked";
}];
[alert addAction:actionChecked];
UIAlertAction *actionUnchecked = [UIAlertAction actionWithTitle:@"未对账"
style:(UIAlertActionStyleDefault)
handler:^(UIAlertAction *_Nonnull action) {
[sender setTitle:@"未对账" forState:UIControlStateNormal];
weakSelf.param.checkState = @"unchecked";
}];
[alert addAction:actionUnchecked];
UIAlertAction *actionCancel = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleDestructive handler:nil];
[alert addAction:actionCancel];
[self presentViewController:alert animated:YES completion:nil];
}
- (void)hideFilterView {
HIDE_KEYBOARD;
self.isOpen = NO;
self.constraintHeight.constant = 0;
[UIView animateWithDuration:0.7
delay:0
usingSpringWithDamping:0.9
HIDE_KEYBOARD;
self.isOpen = NO;
self.constraintHeight.constant = 0;
[UIView animateWithDuration:0.7
delay:0
usingSpringWithDamping:0.9
initialSpringVelocity:1.0
options:UIViewAnimationOptionCurveLinear
animations:^{
self.shadow.backgroundColor = [UIColor clearColor];
[self.view layoutIfNeeded];
}
completion:^(BOOL finished) {
[self.view removeFromSuperview];
}];
options:UIViewAnimationOptionCurveLinear
animations:^{
self.shadow.backgroundColor = [UIColor clearColor];
[self.view layoutIfNeeded];
}
completion:^(BOOL finished) {
[self.view removeFromSuperview];
}];
}
- (void)showFilterView {
self.isOpen = YES;
self.constraintHeight.constant = 220;
[UIView animateWithDuration:0.7
delay:0
usingSpringWithDamping:0.9
initialSpringVelocity:1.0
options:UIViewAnimationOptionCurveLinear
animations:^{
self.shadow.backgroundColor = [UIColor colorWithWhite:0.3 alpha:0.3];
[self.view layoutIfNeeded];
}
completion:nil];
self.isOpen = YES;
self.constraintHeight.constant = 320;
[UIView animateWithDuration:0.7
delay:0
usingSpringWithDamping:0.9
initialSpringVelocity:1.0
options:UIViewAnimationOptionCurveLinear
animations:^{
self.shadow.backgroundColor = [UIColor colorWithWhite:0.3 alpha:0.3];
[self.view layoutIfNeeded];
}
completion:nil];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
/*
......
......@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>1.0.3</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
......@@ -30,7 +30,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1.0.0</string>
<string>1.0.3</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>wechat</string>
......
......@@ -17,7 +17,7 @@
//主题色
#define kMainColor kMainOrangeColor
static NSString *const kNotiSelectBill = @"kNotiSelectBill";
#ifdef DEBUG
#define CLog(format, ...) \
......
......@@ -11,7 +11,7 @@
#ifdef test
static NSString *const VersionName = @"车族通测试版";
static NSString *const BASE_IP = @"http://test.gomoretech.com";
static NSString *const BASE_IP = @"http://cartest.gomoretech.com";
#else
static NSString *const VersionName = @"车族通正式版";
static NSString *const BASE_IP = @"http://whcar.gomoretech.com";
......@@ -42,5 +42,6 @@ static NSString *const kUserCashRecord = @"cash/query";
static NSString *const kCashApply = @"cash/apply";
//绑定用户微信unionId
static NSString *const kModifyUserWxUid = @"stationUser/save/openId";
static NSString *const kUrlCheck = @"order/check";
#endif /* URL_h */
......@@ -27,11 +27,13 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
@class RsQueryResult;
@class LoginRequest;
@class ModifyPasswordRequest;
@class CheckOrderRequest;
@class ResetPasswordRequest;
@class CheckTicketRequest;
@class StationUserAcctHisEntity;
@class DelegateCardBalanceEntity;
@class CommentEntity;
@class CouponStockEntity;
@class GasItemEntity;
@class MemberEntity;
@class RechargeBillEntity;
......@@ -58,21 +60,23 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
@class OtherTicketEntity;
@class InvoiceEntity;
@class DelegateCardEntity;
@class CouponEntity;
@class DrawCashBillEntity;
@class TOAppversionEntity;
@class StationUserAcctEntity;
@class TradeStatisticsResult;
@class LoginResult;
@class RsResponse;
@class ExceptionCode;
@class AlipayGzuserinfo;
@class OrderQueryResult;
@class WithdrawQueryResult;
@class JeecgDemo;
@class TSDepart;
@class TSBaseUser;
@class TSDepart;
@class WithdrawQueryResult;
@class TSUserOrg;
@class OrderQueryDefintion;
@class WxMassBillEntity;
@class OrderQueryDefintion;
@class WithdrawQueryDefintion;
@class AccountHistoryQueryResult;
@class AccountHistoryQueryDefintion;
......@@ -86,11 +90,13 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
@protocol RsQueryResult @end
@protocol LoginRequest @end
@protocol ModifyPasswordRequest @end
@protocol CheckOrderRequest @end
@protocol ResetPasswordRequest @end
@protocol CheckTicketRequest @end
@protocol StationUserAcctHisEntity @end
@protocol DelegateCardBalanceEntity @end
@protocol CommentEntity @end
@protocol CouponStockEntity @end
@protocol GasItemEntity @end
@protocol MemberEntity @end
@protocol RechargeBillEntity @end
......@@ -117,21 +123,23 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
@protocol OtherTicketEntity @end
@protocol InvoiceEntity @end
@protocol DelegateCardEntity @end
@protocol CouponEntity @end
@protocol DrawCashBillEntity @end
@protocol TOAppversionEntity @end
@protocol StationUserAcctEntity @end
@protocol TradeStatisticsResult @end
@protocol LoginResult @end
@protocol RsResponse @end
@protocol ExceptionCode @end
@protocol AlipayGzuserinfo @end
@protocol OrderQueryResult @end
@protocol WithdrawQueryResult @end
@protocol JeecgDemo @end
@protocol TSDepart @end
@protocol TSBaseUser @end
@protocol TSDepart @end
@protocol WithdrawQueryResult @end
@protocol TSUserOrg @end
@protocol OrderQueryDefintion @end
@protocol WxMassBillEntity @end
@protocol OrderQueryDefintion @end
@protocol WithdrawQueryDefintion @end
@protocol AccountHistoryQueryResult @end
@protocol AccountHistoryQueryDefintion @end
......@@ -344,6 +352,30 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
* 加油员对账请求。
@author liyang
@since 0.1
*/
@interface CheckOrderRequest : JSONModel
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *userId;
/**
* (no documentation provided)
* @see NSString
*
*/
@property (nonatomic, strong) NSArray<NSString *> *orderIds;
@end /* interface CheckOrderRequest */
/**
* 重置密码请求。
......@@ -627,7 +659,7 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
*/
@property (nonatomic, strong) NSNumber *balanceAmount;
/**
* 代管卡��
* 代管卡
*
*
*/
......@@ -794,6 +826,141 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
*
@Title: Entity
@Description: 券库存
@author onlineGenerator
@date 2017-03-01 11:17:30
@version V1.0
*/
@interface CouponStockEntity : JSONModel
/**
* 主键
*
*
*/
@property (nonatomic, copy) NSString *fid;
/**
* 创建人名称
*
*
*/
@property (nonatomic, copy) NSString *createName;
/**
* 创建人登录名称
*
*
*/
@property (nonatomic, copy) NSString *createBy;
/**
* 创建日期
*
*
*/
@property (nonatomic, copy) NSString *createDate;
/**
* 更新人名称
*
*
*/
@property (nonatomic, copy) NSString *updateName;
/**
* 更新人登录名称
*
*
*/
@property (nonatomic, copy) NSString *updateBy;
/**
* 更新日期
*
*
*/
@property (nonatomic, copy) NSString *updateDate;
/**
* 所属部门
*
*
*/
@property (nonatomic, copy) NSString *sysOrgCode;
/**
* 所属公司
*
*
*/
@property (nonatomic, copy) NSString *sysCompanyCode;
/**
* 券号
*
*
*/
@property (nonatomic, assign) NSInteger couponNumber;
/**
* 名称
*
*
*/
@property (nonatomic, copy) NSString *name;
/**
* 类型
*
*
*/
@property (nonatomic, copy) NSString *type;
/**
* 面额
*
*
*/
@property (nonatomic, strong) NSNumber *total;
/**
* 抵扣金额
*
*
*/
@property (nonatomic, strong) NSNumber *realToal;
/**
* 状态
*
*
*/
@property (nonatomic, copy) NSString *state;
/**
* 所属会员id
*
*
*/
@property (nonatomic, copy) NSString *memberId;
/**
* 所属会员名称
*
*
*/
@property (nonatomic, copy) NSString *memberName;
/**
* 关联订单
*
*
*/
@property (nonatomic, copy) NSString *orderNumber;
/**
* 有效期始
*
*
*/
@property (nonatomic, copy) NSString *validBeginDate;
/**
* 有效期止
*
*
*/
@property (nonatomic, copy) NSString *validEndDate;
@end /* interface CouponStockEntity */
/**
* @Title: Entity
@Description: 油品
......@@ -1015,8 +1182,7 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
*
@Title: Entity
* @Title: Entity
@Description: 代管卡充值单
@author onlineGenerator
@date 2017-01-06 10:17:23
......@@ -1298,7 +1464,7 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
*/
@property (nonatomic, copy) NSString *payTime;
/**
* 方法: 取得支付方
* 方法: 取得支付方���
*
*
*/
......@@ -1387,6 +1553,12 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
*
*/
@property (nonatomic, copy) NSString *alipaybuyerLogonId;
/**
* 对账状态
*
*
*/
@property (nonatomic, copy) NSString *checkState;
@end /* interface OrderEntity */
......@@ -2662,13 +2834,13 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
*
*
*/
@property (nonatomic, strong) NSString *attributes;
@property (nonatomic, copy) NSString *msg;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, strong) NSObject *obj;
@property (nonatomic, strong) NSString *attributes;
/**
* (no documentation provided)
*
......@@ -2680,7 +2852,7 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
*
*
*/
@property (nonatomic, copy) NSString *msg;
@property (nonatomic, strong) NSObject *obj;
@end /* interface AjaxJson */
......@@ -3352,8 +3524,7 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
*
@Title: Entity
* @Title: Entity
@Description: 代管卡
@author onlineGenerator
@date 2017-01-05 14:29:16
......@@ -3450,6 +3621,116 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
* @Title: Entity
@Description: 优惠券
@author onlineGenerator
@date 2017-03-01 10:09:59
@version V1.0
*/
@interface CouponEntity : JSONModel
/**
* 主键
*
*
*/
@property (nonatomic, copy) NSString *fid;
/**
* 创建人名称
*
*
*/
@property (nonatomic, copy) NSString *createName;
/**
* 创建人登录名称
*
*
*/
@property (nonatomic, copy) NSString *createBy;
/**
* 创建日期
*
*
*/
@property (nonatomic, copy) NSString *createDate;
/**
* 更新人名称
*
*
*/
@property (nonatomic, copy) NSString *updateName;
/**
* 更新人登录名称
*
*
*/
@property (nonatomic, copy) NSString *updateBy;
/**
* 更新日期
*
*
*/
@property (nonatomic, copy) NSString *updateDate;
/**
* 所属部门
*
*
*/
@property (nonatomic, copy) NSString *sysOrgCode;
/**
* 所属公司
*
*
*/
@property (nonatomic, copy) NSString *sysCompanyCode;
/**
* 名称
*
*
*/
@property (nonatomic, copy) NSString *name;
/**
* 类型
*
*
*/
@property (nonatomic, copy) NSString *type;
/**
* 面额
*
*
*/
@property (nonatomic, copy) NSString *total;
/**
* 抵扣金额
*
*
*/
@property (nonatomic, copy) NSString *realTotal;
/**
* 状态
*
*
*/
@property (nonatomic, copy) NSString *state;
/**
* 概率
*
*
*/
@property (nonatomic, strong) NSNumber *probability;
/**
* 概率
*
*
*/
@property (nonatomic, assign) NSInteger validateDays;
@end /* interface CouponEntity */
/**
* @Title: Entity
@Description: 提现申请单
......@@ -3738,6 +4019,30 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
* 交易信息汇总。
@author liyang
@since 0.1
*/
@interface TradeStatisticsResult : JSONModel
/**
*
*
*
*/
@property (nonatomic, assign) long long orderCount;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, assign) double totalAmount;
@end /* interface TradeStatisticsResult */
/**
* 登录结果。
......@@ -3973,25 +4278,13 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
*
*/
@property (nonatomic, strong) NSArray<OrderEntity> *records;
@end /* interface OrderQueryResult */
/**
* 订单查询结果。
@author liyang
@since 0.1
*/
@interface WithdrawQueryResult : RsQueryResult
/**
* 查询结果集合
* @see DrawCashBillEntity
*
*
*
*/
@property (nonatomic, strong) NSArray<DrawCashBillEntity> *records;
@end /* interface WithdrawQueryResult */
@property (nonatomic, strong) TradeStatisticsResult *total;
@end /* interface OrderQueryResult */
......@@ -4078,156 +4371,174 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
* 部门机构
* 系统用户父类
@author 张代浩
*/
@interface TSDepart : IdEntity
@interface TSBaseUser : IdEntity
/**
* (no documentation provided)
*
*
*
*/
@property (nonatomic, strong) TSDepart *TSPDepart;
@property (nonatomic, copy) NSString *userType;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *departname;
@property (nonatomic, copy) NSString *departid;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *fdescription;
@property (nonatomic, strong) NSData *signature;
/**
* (no documentation provided)
* @see TSDepart
*
*
*/
@property (nonatomic, strong) NSArray<TSDepart> *TSDeparts;
@property (nonatomic, copy) NSString *browser;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *orgCode;
@property (nonatomic, copy) NSString *userKey;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *orgType;
@property (nonatomic, assign) short status;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *mobile;
@property (nonatomic, assign) short activitiSync;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *fax;
@property (nonatomic, copy) NSString *password;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *address;
@end /* interface TSDepart */
/**
* 系统用户父类表
@author 张代浩
*/
@interface TSBaseUser : IdEntity
@property (nonatomic, copy) NSString *userName;
/**
*
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *userType;
@property (nonatomic, copy) NSString *realName;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *departid;
@property (nonatomic, strong) TSDepart *currentDepart;
/**
* (no documentation provided)
*
* @see TSUserOrg
*
*/
@property (nonatomic, strong) NSData *signature;
@property (nonatomic, strong) NSArray<TSUserOrg> *userOrgList;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *browser;
@property (nonatomic, assign) short deleteFlag;
@end /* interface TSBaseUser */
/**
* 部门机构表
@author 张代浩
*/
@interface TSDepart : IdEntity
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *userKey;
@property (nonatomic, strong) TSDepart *TSPDepart;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, assign) short status;
@property (nonatomic, copy) NSString *departname;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, assign) short activitiSync;
@property (nonatomic, copy) NSString *fdescription;
/**
* (no documentation provided)
*
* @see TSDepart
*
*/
@property (nonatomic, copy) NSString *password;
@property (nonatomic, strong) NSArray<TSDepart> *TSDeparts;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, copy) NSString *orgCode;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, copy) NSString *realName;
@property (nonatomic, copy) NSString *orgType;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, strong) TSDepart *currentDepart;
@property (nonatomic, copy) NSString *mobile;
/**
* (no documentation provided)
* @see TSUserOrg
*
*
*/
@property (nonatomic, strong) NSArray<TSUserOrg> *userOrgList;
@property (nonatomic, copy) NSString *fax;
/**
* (no documentation provided)
*
*
*/
@property (nonatomic, assign) short deleteFlag;
@end /* interface TSBaseUser */
@property (nonatomic, copy) NSString *address;
@end /* interface TSDepart */
/**
* 订单查询结果。
@author liyang
@since 0.1
*/
@interface WithdrawQueryResult : RsQueryResult
/**
* 查询结果集合
* @see DrawCashBillEntity
*
*/
@property (nonatomic, strong) NSArray<DrawCashBillEntity> *records;
@end /* interface WithdrawQueryResult */
......@@ -4262,48 +4573,6 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
* 账户流水查询。
@author liyang
@since 0.1
*/
@interface OrderQueryDefintion : QueryDefinition
/**
* 加油员Id
*
*
*/
@property (nonatomic, copy) NSString *userId;
/**
* 用户名称类似于
*
*
*/
@property (nonatomic, copy) NSString *userNameLike;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *billNumberLike;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *endDate;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *state;
@end /* interface OrderQueryDefintion */
/**
* @Title: Entity
@Description: 微信群发消息
......@@ -4504,6 +4773,60 @@ extern NSString * const QUERYORDERDIRECTION_DESC;
/**
* 账户流水查询。
@author liyang
@since 0.1
*/
@interface OrderQueryDefintion : QueryDefinition
/**
* 加油员Id
*
*
*/
@property (nonatomic, copy) NSString *userId;
/**
* 用户名称类似于
*
*
*/
@property (nonatomic, copy) NSString *userNameLike;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *billNumberLike;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *endDate;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *state;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *beginDate;
/**
*
*
*
*/
@property (nonatomic, copy) NSString *checkState;
@end /* interface OrderQueryDefintion */
/**
* 账户流水查询。
......
......@@ -92,6 +92,18 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation CheckOrderRequest
@synthesize userId;
@synthesize orderIds;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation ResetPasswordRequest
......@@ -239,6 +251,44 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation CouponStockEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize couponNumber;
@synthesize name;
@synthesize type;
@synthesize total;
@synthesize realToal;
@synthesize state;
@synthesize memberId;
@synthesize memberName;
@synthesize orderNumber;
@synthesize validBeginDate;
@synthesize validEndDate;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation GasItemEntity
......@@ -386,6 +436,7 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
@synthesize invoiceId;
@synthesize alipayBuyerId;
@synthesize alipaybuyerLogonId;
@synthesize checkState;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
......@@ -791,10 +842,10 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
@end
@implementation AjaxJson
@synthesize msg;
@synthesize attributes;
@synthesize obj;
@synthesize success;
@synthesize msg;
@synthesize obj;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
......@@ -1049,6 +1100,40 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation CouponEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name;
@synthesize type;
@synthesize total;
@synthesize realTotal;
@synthesize state;
@synthesize probability;
@synthesize validateDays;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation DrawCashBillEntity
......@@ -1144,6 +1229,18 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation TradeStatisticsResult
@synthesize orderCount;
@synthesize totalAmount;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation LoginResult
......@@ -1224,17 +1321,7 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
@implementation OrderQueryResult
@synthesize records;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation WithdrawQueryResult
@synthesize records;
@synthesize total;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
......@@ -1264,6 +1351,29 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation TSBaseUser
@synthesize userType;
@synthesize departid;
@synthesize signature;
@synthesize browser;
@synthesize userKey;
@synthesize status;
@synthesize activitiSync;
@synthesize password;
@synthesize userName;
@synthesize realName;
@synthesize currentDepart;
@synthesize userOrgList;
@synthesize deleteFlag;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation TSDepart
......@@ -1293,20 +1403,8 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
@end
@implementation TSBaseUser
@synthesize userType;
@synthesize departid;
@synthesize signature;
@synthesize browser;
@synthesize userKey;
@synthesize status;
@synthesize activitiSync;
@synthesize password;
@synthesize userName;
@synthesize realName;
@synthesize currentDepart;
@synthesize userOrgList;
@synthesize deleteFlag;
@implementation WithdrawQueryResult
@synthesize records;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
......@@ -1326,21 +1424,6 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation OrderQueryDefintion
@synthesize userId;
@synthesize userNameLike;
@synthesize billNumberLike;
@synthesize endDate;
@synthesize state;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation WxMassBillEntity
......@@ -1382,6 +1465,23 @@ NSString * const QUERYORDERDIRECTION_DESC = @"desc";
}
@end
@implementation OrderQueryDefintion
@synthesize userId;
@synthesize userNameLike;
@synthesize billNumberLike;
@synthesize endDate;
@synthesize state;
@synthesize beginDate;
@synthesize checkState;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation WithdrawQueryDefintion
......
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