apCheck.html 55 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439
  1. <style>
  2. body{
  3. font-family: "Microsoft YaHei", "微软雅黑" !important;
  4. }
  5. .text-num{
  6. }
  7. .append{
  8. color: #5078cb;font-size:12px; margin-left: 10px
  9. }
  10. .order-table td {
  11. padding-top: 10px;
  12. margin-bottom: 20px;
  13. border-bottom: solid 1px #ccc;
  14. border-top: solid 1px #e8e8e8;
  15. }
  16. .order-table td.first {
  17. padding-left: 20px;
  18. }
  19. .order-table td.last {
  20. padding-right: 20px;
  21. }
  22. .order-table td .static p {
  23. display: inline-block;
  24. line-height: 30px;
  25. padding-top: 5px;
  26. padding-bottom: 0px;
  27. width: 150px;
  28. font-size: 14px;
  29. color: #666;
  30. padding-left: 15px;
  31. border-left: solid 1px #e8e8e8;
  32. }
  33. .order-table td .static p:first-child{
  34. border-left: none;
  35. width: auto;
  36. padding-left: 0;
  37. }
  38. .order-table td .static p:last-child{
  39. /*margin-left: 22px;*/
  40. }
  41. .order-table td .static p:nth-of-type(3){
  42. margin-left: 20px;
  43. }
  44. .order-table td .main {
  45. margin-top: 5px;
  46. margin-bottom: 20px;
  47. color: #333;
  48. }
  49. .static{
  50. margin: 12px 0;
  51. }
  52. .order-table td .main strong {
  53. font-size: 14px;
  54. }
  55. .order-table td .static p strong {
  56. font-size: 14px;
  57. font-weight: bold;
  58. color: #888;
  59. }
  60. .order-table td.status {
  61. position: relative;
  62. border-left: solid 1px #e8e8e8;
  63. padding: 10px;
  64. vertical-align: top;
  65. }
  66. .order-table td.status .operate {
  67. position: absolute;
  68. display: block;
  69. bottom: 0;
  70. left: 0;
  71. right: 0;
  72. height: 0px;
  73. color: #ffffff;
  74. font-size: 14px;
  75. font-weight: bold;
  76. line-height: 40px;
  77. opacity: 0.8;
  78. transition: height ease-in-out 0.5s;
  79. text-decoration: none;
  80. }
  81. .order-table td.status .operate-undo {
  82. background: #428bca;
  83. }
  84. .order-table td.status .operate-done {
  85. background: #cccccc;
  86. }
  87. .order-table td.status:hover .operate {
  88. height: 40px;
  89. }
  90. .unPrinted {
  91. color: #56a022;
  92. }
  93. .order-table td .main strong{
  94. font-weight: normal;
  95. }
  96. .order-table td{
  97. font-size: 14px;
  98. }
  99. .order-table th{
  100. text-align: center;
  101. }
  102. .order-table .text-trans{
  103. margin-top: -13px;
  104. margin-right: 1px;
  105. }
  106. .menu .new-dot{
  107. width: 20px;
  108. height: 20px;
  109. line-height: 20px;
  110. font-size: 12px;
  111. color: #fff;
  112. font-weight: inherit;
  113. top: -2px;
  114. }
  115. .block {
  116. position: relative;
  117. }
  118. </style>
  119. <style>
  120. .com_tab {
  121. height: 40px;
  122. margin-bottom: 10px;
  123. }
  124. .com_tab ul {
  125. width: 100%;
  126. margin: 0 auto;
  127. height: 40px;
  128. line-height: 40px;
  129. background: #fff;
  130. }
  131. .com_tab ul li {
  132. height: 40px;
  133. text-align: center;
  134. float: left;
  135. position: relative;
  136. min-width: 110px;
  137. }
  138. .com_tab:nth-of-type(1) ul li.active > a {
  139. border-bottom: #fff;
  140. background: #5078cb;
  141. color: #fff !important;
  142. }
  143. .com_tab ul li a {
  144. min-width: 110px;
  145. }
  146. .com_tab ul li > a {
  147. font-size: 14px;
  148. height: 40px;
  149. padding: 0 20px;
  150. display: inline-block;
  151. }
  152. .com_tab:nth-of-type(1) ul li::after {
  153. background:url('static/img/vendor/images/downicon.png');
  154. width: 11px;
  155. height: 6px;
  156. position: absolute;
  157. bottom: 0px;
  158. left: 50%;
  159. content: ' ';
  160. margin-left: -5px;
  161. display: none;
  162. }
  163. .com_tab ul li::after {
  164. background:url('static/img/vendor/images/downicon.png');
  165. width: 11px;
  166. height: 6px;
  167. position: absolute;
  168. bottom: 0px;
  169. left: 50%;
  170. content: ' ';
  171. margin-left: -5px;
  172. display: none;
  173. }
  174. .com_tab ul li.active:after {
  175. display: block;
  176. }
  177. .oder01 ul li.active a{
  178. border-bottom: 1px solid #fff;
  179. color: #f15601;
  180. }
  181. .oder01 ul li.active a em {
  182. color: #f15601;
  183. }
  184. .oder01 ul li a em {
  185. color: #323232
  186. }
  187. .screen {
  188. background: #fff;
  189. padding-top: 10px;
  190. padding-right: 11px;
  191. line-height: 32px;
  192. padding-left: 22px;
  193. width: 100%;
  194. height: 50px;
  195. position: relative;
  196. }
  197. .screen .sreach input {
  198. border: #5078cb 1px solid;
  199. height: 32px;
  200. width: 280px;
  201. box-shadow: none;
  202. padding-left: 10px;
  203. background: #fff;
  204. float: left;
  205. vertical-align: middle;
  206. font-size: 14px;
  207. }
  208. .screen .sreach a.seek {
  209. width: 58px;
  210. height: 32px;
  211. background: #5078cb;
  212. color: #fff;
  213. line-height: 32px;
  214. float: none;
  215. border-radius: 2px;
  216. vertical-align: unset;
  217. }
  218. .order-table {
  219. background: #fff;
  220. width: 100%;
  221. }
  222. .order-table .header > th {
  223. height: 38px;
  224. text-align: center;
  225. background: #fff;
  226. border-top: 1px solid #e8e8e8;
  227. border-bottom: 1px solid #e8e8e8;
  228. font-size: 14px;
  229. }
  230. .order-table .sep-row {
  231. height: 10px;
  232. }
  233. .order-table .selector {
  234. vertical-align: middle;
  235. margin: 0 0 2px 0;
  236. }
  237. .toolbar label {
  238. margin-right: 10px;
  239. margin-bottom: 0;
  240. }
  241. .toolbar .select_all {
  242. margin: 0 6px 0 10px;
  243. line-height: 20px;
  244. }
  245. .toolbar .btn {
  246. -moz-border-radius: 2px;
  247. margin-right: 5px;
  248. border: 1px solid #dcdcdc;
  249. border-radius: 2px;
  250. -webkit-border-radius: 2px;
  251. }
  252. .order-table .order-hd {
  253. background: #f5f5f5;
  254. height: 40px;
  255. line-height: 40px;
  256. }
  257. .order-table .order-hd td.first {
  258. padding-left: 20px;
  259. }
  260. .order-table .order-hd .order-main span {
  261. margin-right: 8px;
  262. }
  263. .order-table .order-hd .order-code {
  264. font-style: normal;
  265. font-family: verdana;
  266. }
  267. .order-table .order-hd .order-sum {
  268. position: relative;
  269. padding: 0 5px;
  270. }
  271. .order-table .order-hd .dropdown-toggle {
  272. line-height: 40px;
  273. display: block;
  274. color: #5078cb;
  275. /*padding: 0 10px;*/
  276. }
  277. .order-table .operates {
  278. display: none;
  279. }
  280. .order-table > tbody:hover .operates {
  281. display: block;
  282. }
  283. .order-table .order-bd {
  284. border-bottom: 1px solid #e6e6e6;
  285. }
  286. .order-table .order-bd > td {
  287. padding: 10px 5px;
  288. text-align: center;
  289. }
  290. .order-table .order-bd .product {
  291. padding-left: 20px;
  292. }
  293. .input-xs, .input-group-xs > .form-control, .input-group-xs > .input-group-addon, .input-group-xs > .input-group-btn > .btn {
  294. height: 26px;
  295. padding: 0 5px;
  296. font-size: 12px;
  297. line-height: 1.5;
  298. border-radius: 3px;
  299. }
  300. .order-table .order-hd .dropdown-toggle:hover + .order-snapshot {
  301. display: block;
  302. }
  303. .order-table .order-hd .order-snapshot{
  304. padding: 10px 15px;
  305. display: none;
  306. width: 250px;
  307. position: absolute;
  308. top: 32px;
  309. left: 39px;
  310. border: 1px solid rgba(0,0,0,0.15);
  311. -webkit-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  312. -moz-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  313. -o-box-shadow: 0 0 5px rgba(0,0,0,0.3);
  314. box-shadow: 0 0 5px rgba(0,0,0,0.3);
  315. }
  316. .order-snapshot .title {
  317. border-top: 1px dashed #ddd;
  318. }
  319. .order-snapshot .dl-horizontal dt {
  320. width: 60px;
  321. text-align: left;
  322. font-weight: normal;
  323. color: #999;
  324. padding: 4px 0;
  325. }
  326. .order-snapshot .dl-horizontal dd {
  327. margin-left: 80px;
  328. padding: 4px 0;
  329. }
  330. /*arrow*/
  331. .order-send {
  332. position: relative;
  333. }
  334. .order-send.arrow-border:before, .arrow-border:after {
  335. content: '';
  336. position: absolute;
  337. top: 20px;
  338. width: 0;
  339. height: 0;
  340. border: 7px solid transparent;
  341. }
  342. .order-send.arrow-border.arrow-bottom-right:before {
  343. content: '';
  344. position: absolute;
  345. left: -13px;
  346. border-bottom-color: #fff;
  347. border-right-color: #fff;
  348. margin-top: -10px;
  349. }
  350. .menu .new-dot {
  351. width: 20px;
  352. height: 20px;
  353. line-height: 20px;
  354. font-size: 12px;
  355. color: #fff;
  356. font-weight: inherit;
  357. top: -2px;
  358. }
  359. .f14{
  360. font-size:14px;
  361. }
  362. .screen .sreach input {
  363. width: 288px
  364. }
  365. .modal {
  366. position: fixed;
  367. top: 0;
  368. right: 0;
  369. bottom: 0;
  370. left: 0;
  371. z-index: 1050;
  372. display: none;
  373. overflow: hidden;
  374. -webkit-overflow-scrolling: touch;
  375. outline: 0;
  376. margin: 0 !important;
  377. }
  378. .modal-open .modal {
  379. overflow-x: hidden;
  380. overflow-y: auto;
  381. }
  382. #empty {
  383. padding: 70px 0;
  384. margin: 0 auto;
  385. text-align: center;
  386. }
  387. #empty .left_img {
  388. display: inline-block;
  389. color: #3f84f6;
  390. }
  391. #empty .left_img a {
  392. font-size: 25px;
  393. color: #3f84f6;
  394. }
  395. #empty .right_link p {
  396. margin: 0;
  397. font-size: 14px;
  398. color: #666;
  399. }
  400. #empty_info .empty_title {
  401. color: #3f84f6;
  402. font-size: 18px;
  403. }
  404. #empty_info .empty_explain {
  405. font-size: 16px;
  406. color: #999;
  407. }
  408. #empty_info .empty_explain .info {
  409. text-indent: -22px;
  410. }
  411. .f16 {
  412. font-size: 16px !important;
  413. }
  414. .f14 {
  415. font-size: 14px !important;
  416. }
  417. #empty_info {
  418. padding-top:20px;
  419. padding-left: 60px;
  420. padding-bottom: 40px;
  421. }
  422. table tbody tr td {
  423. border-bottom: #e8e8e8 1px solid;
  424. border-right: #e8e8e8 1px solid;
  425. font-size: 14px;
  426. color: #666;
  427. }
  428. .ng-table-pager::after {
  429. clear: both;
  430. content: ' ';
  431. zoom: 1;
  432. display: block;
  433. visibility: hidden;
  434. }
  435. .ng-table-pager {
  436. padding-right: 20px;
  437. padding-top: 50px;
  438. margin-right: 0 !important;
  439. }
  440. .text-mns {
  441. padding-right: 15px;
  442. position: absolute;
  443. bottom: 64px;
  444. right: 20px;
  445. font-size: 12px;
  446. }
  447. .Boom18 {
  448. bottom: 18px;
  449. }
  450. .fixed {
  451. position: absolute;
  452. left: 0px;
  453. top: 0px;
  454. width: 40px;
  455. }
  456. .order-table tbody:hover {
  457. border: 2px solid #3c7cf5
  458. }
  459. .order-table tbody:hover .order-bd:nth-last-of-type(1) {
  460. background: #f8fafe
  461. }
  462. .order-table .order-hdt {
  463. background: #f5f5f5;
  464. }
  465. </style>
  466. <!--<link rel="stylesheet" href="static/css/public.css">-->
  467. <link rel="stylesheet" href="static/css/wui.min.css">
  468. <div class="user_right fr" style="position: relative">
  469. <div class="com_tab">
  470. <ul class="fl">
  471. <li class="active"><a href="javascript:void(0)">B2B</a></li>
  472. <li><a ui-sref="pay_center" href="javascript:void(0)">优软商城</a></li>
  473. <!--<li class="down-purchase" style="margin-right: 0;min-width: 80px" ng-hide="active === 'all'">-->
  474. <!--<a href="#" style="min-width: 80px" ng-click="exportXls()" target="_self" title="导出Excel表格" class="blue f14"><i class="fa fa-file-text fa-fw"></i>导出</a>-->
  475. <!--</li>-->
  476. <li style="float: right;font-size: 14px;cursor: pointer;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()"><img src="/static/img/vendor/images/backIcon.png" width="20"/>返回</li>
  477. <!--<li class="down-purchase" style="margin-right: 0;min-width: 80px" ng-hide="showNotCheck">-->
  478. <!--<a class="text-simple append" style="min-width: 80px" ui-sref="fa_apCheckList" title="新增对账单">-->
  479. <!--<i class="fa fa-plus-square fa-fw"></i>新增对账单-->
  480. <!--</a>-->
  481. <!--</li>-->
  482. <li style="float: right;font-size: 14px;cursor: pointer;" ng-show="active !== 'all'">
  483. <div class="btn-group btn-group-sm" style="float: right;font-size: 14px;cursor: pointer;text-align: right;height: 40px;line-height: 40px; margin-right: 20px;" ng-click="setActive('all')">
  484. <img src="static/img/vendor/images/backIcon.png" width="20"/>返回
  485. </div>
  486. </li>
  487. <li style="float: right;font-size: 14px;cursor: pointer;" ng-show="active === 'all'">
  488. <div class="btn-group btn-group-sm" style=" float: right;
  489. font-size: 14px;
  490. cursor: pointer;
  491. text-align: right;
  492. height: 28px;
  493. line-height: 27px;
  494. margin-right: 20px;
  495. color: #5078cb;
  496. border: 1px solid #5078cb;
  497. margin-top: 6px;
  498. padding: 0 5px;" ng-click="setActive();changeDateZone(1, true);condition.$open=false;showNotCheck=false">查看对账记录
  499. <!--<b class="new-dot" ng-if="unread.cancelled > 0">{{unread.cancelled > 99 ? '99+' : unread.cancelled}}</b>-->
  500. </div>
  501. </li>
  502. </ul>
  503. </div>
  504. <!--<div class="com_tab tab_top" style="margin-bottom: 0px">-->
  505. <!--<ul>-->
  506. <!--<li ng-class="{'active': active=='all'}" ng-click="setActive('all')"><a> 未对账</a></li>-->
  507. <!--<li ng-class="{'active': active=='todo'}" ng-click="setActive('todo')"><a>待确认(<em ng-class="{'color-black': !unread.replied }" ng-bind="unread.replied || 0"></em>)</a></li>-->
  508. <!--<li ng-class="{'active': active=='done'}" ng-click="setActive('done')"><a>已对账</a></li>-->
  509. <!--(<em ng-class="{'color-black': !unread.cancelled }" ng-bind="unread.cancelled || 0"></em>)-->
  510. <!--<li ng-class="{'active': active=='end'}" ng-click="setActive('end')"><a>已作废</a></li>-->
  511. <!--<li style="float: right;font-size: 14px;cursor: pointer;" ng-hide="!showNotCheck" ng-click="hideshowNotCheck()"><img src="/static/img/vendor/images/backIcon.png" width="20"/>返回</li>-->
  512. <!--</ul>-->
  513. <!--</div>-->
  514. <div class="screen check-filter" ng-show="!showNotCheck" style="padding-left: 10px">
  515. <div class="radio-block date-radio" ng-show="active !== 'all'" style="width: 33%">
  516. 时间:
  517. <label class="com-check-radio">
  518. <input type="radio" id="oneMonth" name="date" ng-click="changeDateZone(1);condition.$open=false" ng-checked="condition.dateZone == '1'" ng-model="condition.dateZone">
  519. <label for="oneMonth"></label>
  520. 30天
  521. </label>
  522. <label class="com-check-radio">
  523. <input type="radio" id="threeMonth" name="date" ng-click="changeDateZone(3);condition.$open=false" ng-checked="condition.dateZone == '3'" ng-model="condition.dateZone">
  524. <label for="threeMonth"></label>
  525. 90天
  526. </label>
  527. <label class="com-check-radio">
  528. <input type="radio" id="sixMonth" name="date" ng-click="changeDateZone(6);condition.$open=false" ng-checked="condition.dateZone == '6'" ng-model="condition.dateZone">
  529. <label for="sixMonth"></label>
  530. 180天
  531. </label>
  532. <label class="com-check-radio">
  533. <input type="radio" id="autoMonth" name="date" ng-click="condition.$open=!condition.$open;changeDateZone(-1)">
  534. <label for="autoMonth"></label>
  535. 自定义
  536. </label>
  537. </div>
  538. <div class="fl" ng-show="active === 'all'" >
  539. <div style="width: 298px;display: inline-block">
  540. <label class="control-label">请选择月份:</label>
  541. <span ng-click="addMouthOut(-1)" style=" display: inline-block;
  542. width: 32px;
  543. height: 32px;
  544. border: 1px solid #ddd;
  545. text-align: center;
  546. line-height: 32px;
  547. cursor: pointer;
  548. vertical-align: middle;">
  549. <img src="/static/img/vendor/images/arrow-left-d-l.png" width="24"/>
  550. </span>
  551. <span class="inputsIcon control-label" style="padding-right: 0px;display: inline-block">
  552. <wui-date
  553. format="yyyy-mm"
  554. placeholder="请选择或输入日期"
  555. id="date3"
  556. btns="{'ok':'确定','now':'此刻'}"
  557. ng-model="thisMouthOut"
  558. >
  559. </wui-date>
  560. </span>
  561. <span ng-click="addMouthOut(1)" ng-show="MouthOutShow" style="display: inline-block;
  562. width: 32px;
  563. height: 32px;
  564. border: 1px solid #ddd;
  565. text-align: center;
  566. line-height: 32px;
  567. cursor: pointer;
  568. vertical-align: middle;"><img src="/static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
  569. <!--<div class="radio-block date-radio" style="width: 33%">-->
  570. <!--<label class="com-check-radio">-->
  571. <!--<input type="radio" id="autoMonth_man" name="date" ng-click="condition.$open=!condition.$open;changeDateZone(-1)">-->
  572. <!--<label for="autoMonth_man"></label>-->
  573. </div>
  574. <a ng-click="resetHandle()" title="自定义" ng-class="{'active':condition.dateZone=='-1'}" style="display: inline-block;padding: 0px 12px;background: #3f84f6;color: #fff" >自定义</a>
  575. <!--</label>-->
  576. <!--</div>-->
  577. </div>
  578. <div class="sreach fr">
  579. <div ng-show="condition.$open" class="date fl">
  580. <div class="data-input">
  581. <input type="text" ng-model="condition.dateFrom"
  582. class="form-control select-adder" placeholder="起始时间"
  583. datepicker-popup="yyyy-MM-dd"
  584. is-open="condition.$fromOpened"
  585. max-date="condition.dateTo" current-text="今天" clear-text="清除" close-text="关闭"
  586. ng-focus="openFilterDatePicker($event, condition, '$fromOpened')"
  587. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  588. style="width: 130px"
  589. />
  590. <button class="open" ng-click="openFilterDatePicker($event, condition, '$fromOpened')"></button>
  591. </div>
  592. <em>–</em>
  593. <div class="data-input">
  594. <input type="text" ng-model="condition.dateTo"
  595. class="form-control select-adder" placeholder="结束时间"
  596. datepicker-popup="yyyy-MM-dd"
  597. is-open="condition.$toOpened"
  598. min-date="condition.dateFrom" current-text="今天" clear-text="清除" close-text="关闭"
  599. ng-focus="openFilterDatePicker($event, condition, '$toOpened')"
  600. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  601. style="width: 130px"
  602. />
  603. <button class="open" ng-click="openFilterDatePicker($event, condition, '$toOpened')"></button>
  604. </div>
  605. </div>
  606. <div class="sreach-input fr">
  607. <span ng-show="active !== 'all'">
  608. <input type="search" placeholder="单据编号/客户名称/物料名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
  609. <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)" >搜索</a>
  610. </span>
  611. <span ng-show="active === 'all' && !showNotCheck">
  612. <input type="search" placeholder="客户名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
  613. <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)">搜索</a>
  614. </span>
  615. </div>
  616. </div>
  617. </div>
  618. <div ng-hide="showNotCheck">
  619. <div >
  620. <table class="order-table block" ng-class="{'order-table2': active === 'all'}" ng-table="tableParams" ng-table="tableParams" width="100%" style="table-layout:fixed">
  621. <thead ng-show="active !== 'all'">
  622. <tr class="header">
  623. <th width="230">对账期间</th>
  624. <th width="180">对账总额</th>
  625. <th width="180">对账人</th>
  626. <!--<th width="100">商品总数</th>-->
  627. <th width="100">对账结果</th>
  628. <th width="100">操作</th>
  629. </tr>
  630. </thead>
  631. <tbody ng-show="active !== 'all'" ng-repeat="check in $data">
  632. <tr class="order-bd order-hdt">
  633. <td colspan="5" style="text-align: left">
  634. <a href="javascript:void(0)" ng-if="!isUnread(check.id)" class="circle-icon">
  635. 已读
  636. </a>
  637. <a href="javascript:void(0)" ng-if="isUnread(check.id)" class="no-circle-icon">
  638. 未读
  639. </a>
  640. <span class="text-num text-bold;" style="font-weight:bold" title="录单时间">日期:{{::check.recordDate | date:'MM月dd日 HH:mm'}}</span>
  641. &nbsp;&nbsp;&nbsp;
  642. <span>
  643. <!--<i class="fa fa-star" ng-class="{'text-default':check.status==201}"></i>-->
  644. <img src="static/img/user/images/shop_home.png" style="margin-right: 5px">{{::check.custName}}</span>
  645. <span style="margin-left: 100px;">单据编号:</span>
  646. <span class="text-num"><a ui-sref="fa_apCheck_detail({id:check.id})" title="点击查看详情" ng-click="setOrdersRead(check.id)" style="color: #5078cb">{{::check.code}}</a></span>
  647. </td>
  648. </tr>
  649. <tr class="order-bd" style="padding: 15px 0 ">
  650. <td class="first info" colspan="1" style="text-align: left">
  651. <div class="static">
  652. <p><span class="f14 text-num">{{::check.beginDate | date:'yyyy/MM/dd'}} - {{::check.endDate | date:'yyyy/MM/dd'}}</span></p>
  653. </div>
  654. </td>
  655. <td>
  656. <p>
  657. <strong class="text-num">{{::(isUser?'-':(check.checkAmount | number:2))}}</strong>
  658. <span ng-if="!isUser" class="text-number">{{::check.currency}}</span>
  659. </p>
  660. </td>
  661. <td style="text-align: center">
  662. 对账人:{{::check.recorder}}
  663. </td>
  664. <!--<td>-->
  665. <!--<p>-->
  666. <!--<strong class="text-num">{{::check.items.length}}</strong> 条<br>-->
  667. <!--</p>-->
  668. <!--</td>-->
  669. <!--<td>-->
  670. <!--<p>-->
  671. <!--<strong class="text-num">{{getTotalProd(check) | number}}</strong> <i class="fa fa-cubes"></i>-->
  672. <!--</p>-->
  673. <!--</td>-->
  674. <td class="status">
  675. <!--<div ng-if="check.checkStatus == '未对账'" class="text-center text-muted f14"><br>未对账!</div>-->
  676. <div></div>
  677. <div ng-if="check.checkStatus == '已确认'" class="text-center text-muted f14">
  678. <br> <i class="fa fa-check-square-o"></i> 已确认
  679. </div>
  680. <div ng-if="check.checkStatus == '不同意'" class="text-center text-muted f14">
  681. <br> <i class="fa fa-check-square-o"></i> 不同意
  682. </div>
  683. <div ng-if="check.checkStatus == '已作废'" class="text-center text-muted f14">
  684. <br> <i class="fa fa-check-square-o"></i> 已作废
  685. </div>
  686. </td>
  687. <td>
  688. <div ng-hide="check.status" class="block">
  689. <span class="text-trans error">未提交</span>
  690. </div>
  691. <div ng-show="check.status" class="block">
  692. <span class="text-trans success">已提交</span>
  693. </div>
  694. <div class="" style="margin-top: 33px;margin-right: 20px;">
  695. <a ng-click="print(check)" class="pull-right" title="打印{{check.print? '(已打印)':'(未打印)'}}" ng-class="{'unPrinted' : !check.print, 'text-muted': check.print}"><i class="fa fa-print fa-lg"></i>&nbsp;打印</a>
  696. </div>
  697. <!-- <a ui-sref="fa.apCheck_detail({id:check.id})" class="operate operate-undo text-center"
  698. target="_blank">查看详情</a> -->
  699. </td>
  700. </tr>
  701. </tbody>
  702. <thead ng-show="active === 'all'">
  703. <tr class="header">
  704. <th width="180">客户名称</th>
  705. <th width="90">币别</th>
  706. <th width="100">本期应收</th>
  707. <th width="100">本期发货</th>
  708. <th width="100">本期未对账</th>
  709. <th width="100">本期已对账</th>
  710. <th width="100">本期已收</th>
  711. <th width="120">应收总额</th>
  712. <th width="80">操作</th>
  713. </tr>
  714. </thead>
  715. <tbody ng-show="active === 'all'" ng-repeat="check in ALLList">
  716. <tr >
  717. <td style="color: #3f84f6">{{::check.myEnterprise.enName}}</td>
  718. <td colspan="7">
  719. <div class="table-colspan-list" ng-repeat="count in check.amountDetailList">
  720. <span>{{count.currency || '-'}}</span>
  721. <span>{{count.thisPeriodAmount >= 0 ? (count.thisPeriodAmount | number:2) : '-'}}</span>
  722. <span>{{count.thisPeriodSendQty >= 0 ? (count.thisPeriodSendQty | number:2) : '暂无数据'}}</span>
  723. <span>{{count.thisPeriodTodoAmount >= 0 ? (count.thisPeriodTodoAmount | number:2) : '-'}}</span>
  724. <span>{{count.thisPeriodDoneAmount >= 0 ? (count.thisPeriodDoneAmount | number:2) : '-'}}</span>
  725. <span>{{count.thisPeriodReceipt >= 0 ? (count.thisPeriodReceipt | number:2) : '暂无数据'}}</span>
  726. <span>{{count.totalAmount >= 0 ? (count.totalAmount | number:2) : '-'}}</span>
  727. </div>
  728. </td>
  729. <td style="color: #3f84f6;cursor: pointer" ng-click="goToMNs(check)">明细</td>
  730. </tr>
  731. </tbody>
  732. <tbody ng-if="active !== 'all' && tableParams.total() == 0">
  733. <tr>
  734. <td colspan="9">
  735. <div id="empty">
  736. <div class="left_img">
  737. <a><img src="static/img/all/empty-cart.png"></a>
  738. <a>B2B 商务</a>
  739. </div>
  740. <div class="right_link">
  741. <p ng-if="active != 'all'">暂无对账信息!</p>
  742. <!--<p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>-->
  743. <!--<a ng-if="active == 'all'" ui-sref="fa_apCheckList"><i class="fa fa-plus-square fa-fw"></i> 新增对账单</a>-->
  744. </div>
  745. </div>
  746. </td>
  747. </tr>
  748. </tbody>
  749. <tbody ng-if="active === 'all' && (ALLList === undefined || ALLList.length == 0)">
  750. <tr>
  751. <td colspan="6">
  752. <div class="empty">
  753. <div class="left_img">
  754. <a><img src="static/img/all/empty-cart.png"></a>
  755. <a>B2B 商务</a>
  756. </div>
  757. <div class="right_link">
  758. <p ng-if="active != 'all'">暂无对账信息!</p>
  759. <!--<p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>-->
  760. <!--<a ng-if="active == 'all'" ui-sref="fa_apCheckList"><i class="fa fa-plus-square fa-fw"></i> 新增对账单</a>-->
  761. </div>
  762. </div>
  763. </td>
  764. </tr>
  765. </tbody>
  766. </table>
  767. </div>
  768. </div>
  769. <div ng-hide="!showNotCheck" class="infoms add-apCheckList" >
  770. <form class="form-horizontal"
  771. style="padding-top: 10px; padding-bottom: 20px;">
  772. <div class="form-group form-group-sm form-group-inline">
  773. <div class="col-sm-7 control-label">
  774. <div style="text-align: left">
  775. <label>应收客户:</label>
  776. <label style="text-align:left">
  777. {{suuorname}}
  778. </label>
  779. </div>
  780. <!--<div style="text-align: left;margin-top: 20px">-->
  781. <!--<label>本期应收:</label>-->
  782. <!--<label style="text-align:left;vertical-align: top;">-->
  783. <!--<div ng-if="dataInfo.thisMonthCount.length > 0" ng-repeat="count in dataInfo.thisMonthCount">-->
  784. <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
  785. <!--</div>-->
  786. <!--<div ng-if="dataInfo.thisMonthCount.length === 0">-->
  787. <!--0-->
  788. <!--</div>-->
  789. <!--</label>-->
  790. <!--</div>-->
  791. <!--<div style="text-align: left;margin-top: 20px">-->
  792. <!--<label>本期未对账:</label>-->
  793. <!--<label style="text-align:left;vertical-align: top;">-->
  794. <!--<div ng-if="dataInfo.thisMonthTodoCount.length > 0" ng-repeat="count in dataInfo.thisMonthTodoCount">-->
  795. <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
  796. <!--</div>-->
  797. <!--<div ng-if="dataInfo.thisMonthTodoCount.length === 0">-->
  798. <!--0-->
  799. <!--</div>-->
  800. <!--</label>-->
  801. <!--</div>-->
  802. <!--<div style="text-align: left;margin-top: 20px">-->
  803. <!--<label>本期已收:</label>-->
  804. <!--<label style="text-align:left;vertical-align: top;">-->
  805. <!--<div ng-if="dataInfo.thisPeriodDoneAmount.length > 0" ng-repeat="count in dataInfo.thisPeriodDoneAmount">-->
  806. <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
  807. <!--</div>-->
  808. <!--<div ng-if="dataInfo.thisPeriodDoneAmount.length === 0">-->
  809. <!--0-->
  810. <!--</div>-->
  811. <!--</label>-->
  812. <!--</div>-->
  813. <!--<div style="text-align: left;margin-top: 20px">-->
  814. <!--<label>本期发货:</label>-->
  815. <!--<label style="text-align:left;vertical-align: top;">-->
  816. <!--<div ng-if="dataInfo.thisPeriodSendAmount.length > 0" ng-repeat="count in dataInfo.thisPeriodSendAmount">-->
  817. <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
  818. <!--</div>-->
  819. <!--<div ng-if="dataInfo.thisPeriodSendAmount.length === 0">-->
  820. <!--0-->
  821. <!--</div>-->
  822. <!--</label>-->
  823. <!--</div>-->
  824. <!--<div style="text-align: left;margin-top: 20px">-->
  825. <!--<label>本期已对账:</label>-->
  826. <!--<label style="text-align:left;vertical-align: top;">-->
  827. <!--<div ng-if="dataInfo.thisMonthDoneCount.length > 0" ng-repeat="count in dataInfo.thisMonthDoneCount">-->
  828. <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
  829. <!--</div>-->
  830. <!--<div ng-if="dataInfo.thisMonthDoneCount.length === 0">-->
  831. <!--0-->
  832. <!--</div>-->
  833. <!--</label>-->
  834. <!--</div>-->
  835. <!--<div style="text-align: left;margin-top: 20px">-->
  836. <!--<label>应收总额:</label>-->
  837. <!--<label style="text-align:left;vertical-align: top;">-->
  838. <!--<div ng-if="dataInfo.totalCount.length > 0" ng-repeat="count in dataInfo.totalCount">-->
  839. <!--<span>{{count.currency}}:{{count.amount | number:2}}</span>-->
  840. <!--</div>-->
  841. <!--<div ng-if="dataInfo.totalCount.length === 0">-->
  842. <!--0-->
  843. <!--</div>-->
  844. <!--</label>-->
  845. <!--</div>-->
  846. </div>
  847. <div class="col-sm-5 control-label">
  848. <div>
  849. <label class="control-label">请选择月份:</label>
  850. <span ng-click="addMouth(-1)" style=" display: inline-block;
  851. width: 32px;
  852. height: 32px;
  853. border: 1px solid #ddd;
  854. text-align: center;
  855. line-height: 32px;
  856. cursor: pointer;
  857. vertical-align: middle;">
  858. <img src="/static/img/vendor/images/arrow-left-d-l.png" width="24"/>
  859. </span>
  860. <span class="control-label" style="padding-right: 5px;display: inline-block;vertical-align: middle; padding-top: 0;" ng-click="apCheckCondition.$open = false">
  861. <wui-date
  862. format="yyyy-mm"
  863. placeholder="请选择或输入日期"
  864. id="date4"
  865. btns="{'ok':'确定','now':'此刻'}"
  866. ng-model="thisMouth"
  867. >
  868. </wui-date>
  869. </span><span ng-click="addMouth(1)" ng-show="MouthinShow" style="display: inline-block;
  870. width: 32px;
  871. height: 32px;
  872. border: 1px solid #ddd;
  873. text-align: center;
  874. line-height: 32px;
  875. cursor: pointer;
  876. vertical-align: middle;"><img src="/static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
  877. <label class="control-label com-check-radio" ng-click="apCheckCondition.$open = true">
  878. <input type="radio" name="psa" ng-checked="apCheckCondition.$open === true" ng-model="apCheckCondition.$open">
  879. <label for="autoMonth"></label>
  880. 自定义
  881. </label>
  882. </div>
  883. <div ng-hide="!apCheckCondition.$open" class="date fr apCheckCondition" style="margin-top: 14px;">
  884. <div class="data-input">
  885. <input type="text" ng-model="apCheckCondition.dateFrom"
  886. class="form-control select-adder" placeholder="起始时间"
  887. datepicker-popup="yyyy-MM-dd"
  888. is-open="apCheckCondition.$fromOpened"
  889. max-date="apCheckCondition.dateTo" current-text="今天" clear-text="清除" close-text="关闭"
  890. ng-focus="apCheckopenFilterDatePicker($event, apCheckCondition, '$fromOpened')"
  891. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  892. style="width: 130px;height: 32px"
  893. />
  894. <button class="open" ng-click="apCheckopenFilterDatePicker($event, apCheckCondition, '$fromOpened')"></button>
  895. </div>
  896. <em style="float:left;margin: 0 10px">–</em>
  897. <div class="data-input">
  898. <input type="text" ng-model="apCheckCondition.dateTo"
  899. class="form-control select-adder" placeholder="结束时间"
  900. datepicker-popup="yyyy-MM-dd"
  901. is-open="apCheckCondition.$toOpened"
  902. min-date="apCheckCondition.dateFrom" current-text="今天" clear-text="清除" close-text="关闭"
  903. ng-focus="apCheckopenFilterDatePicker($event, apCheckCondition, '$toOpened')"
  904. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  905. style="width: 130px;height: 32px"
  906. />
  907. <button class="open" ng-click="apCheckopenFilterDatePicker($event, apCheckCondition, '$toOpened')"></button>
  908. </div>
  909. </div>
  910. </div>
  911. </div>
  912. <div class="form-group form-group-sm form-group-inline">
  913. <div class="col-sm-12 control-label">
  914. <div style="display:inline-block;text-align: left;margin-top: 20px; width:32%;">
  915. <label>本期应收:</label>
  916. <label style="text-align:left;vertical-align: top;">
  917. <div ng-if="dataInfo.thisMonthCount.length > 0" ng-repeat="count in dataInfo.thisMonthCount">
  918. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  919. </div>
  920. <div ng-if="dataInfo.thisMonthCount.length === 0">
  921. 0
  922. </div>
  923. </label>
  924. </div>
  925. <div style="display:inline-block;text-align: left;margin-top: 20px; width:32%;">
  926. <label>本期未对账:</label>
  927. <label style="text-align:left;vertical-align: top;">
  928. <div ng-if="dataInfo.thisMonthTodoCount.length > 0" ng-repeat="count in dataInfo.thisMonthTodoCount">
  929. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  930. </div>
  931. <div ng-if="dataInfo.thisMonthTodoCount.length === 0">
  932. 0
  933. </div>
  934. </label>
  935. </div>
  936. <div style="display:inline-block;text-align: left;margin-top: 20px; width:32%;">
  937. <label>本期已收:</label>
  938. <label style="text-align:left;vertical-align: top;">
  939. <div ng-if="dataInfo.thisPeriodDoneAmount.length > 0" ng-repeat="count in dataInfo.thisPeriodDoneAmount">
  940. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  941. </div>
  942. <div ng-if="dataInfo.thisPeriodDoneAmount.length === 0">
  943. 暂无数据
  944. </div>
  945. </label>
  946. </div>
  947. <div style="display:inline-block;text-align: left;margin-top: 20px; width:32%;">
  948. <label>本期发货:</label>
  949. <label style="text-align:left;vertical-align: top;">
  950. <div ng-if="dataInfo.thisPeriodSendAmount.length > 0" ng-repeat="count in dataInfo.thisPeriodSendAmount">
  951. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  952. </div>
  953. <div ng-if="dataInfo.thisPeriodSendAmount.length === 0">
  954. 暂无数据
  955. </div>
  956. </label>
  957. </div>
  958. <div style="display:inline-block;text-align: left;margin-top: 20px; width:32%;">
  959. <label>本期已对账:</label>
  960. <label style="text-align:left;vertical-align: top;">
  961. <div ng-if="dataInfo.thisMonthDoneCount.length > 0" ng-repeat="count in dataInfo.thisMonthDoneCount">
  962. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  963. </div>
  964. <div ng-if="dataInfo.thisMonthDoneCount.length === 0">
  965. 0
  966. </div>
  967. </label>
  968. </div>
  969. <div style="display:inline-block;text-align: left;margin-top: 20px; width:32%;">
  970. <label>应收总额:</label>
  971. <label style="text-align:left;vertical-align: top;">
  972. <div ng-if="dataInfo.totalCount.length > 0" ng-repeat="count in dataInfo.totalCount">
  973. <span>{{count.currency }}:{{count.amount | number:2}}</span>
  974. </div>
  975. <div ng-if="dataInfo.totalCount.length === 0">
  976. 0
  977. </div>
  978. </label>
  979. </div>
  980. </div>
  981. </div>
  982. <div class="form-group form-group-sm form-group-inline">
  983. <div class="col-sm-12 text-right">
  984. <a ng-click="condition.$open2=!condition.$open2" class="text-simple"><span
  985. ng-bind="condition.$open2 ? '收起筛选条件' : '更多筛选条件'"></span><i
  986. class="fa fa-fw"
  987. ng-class="{'fa-angle-up': condition.$open2, 'fa-angle-down': !condition.$open2}"></i></a>
  988. <div class="btn-group btn-group-sm">
  989. <a class="btn btn-default" ng-click="searchOrder()" title="筛选"><i class="fa fa-search fa-fw btn-icon-left"></i>筛选</a>
  990. <a class="btn btn-default" ng-click="createApCheck(check.$selected)" ng-disabled="!data || data.length==0"><i class="fa fa-check-circle-o fa-fw btn-icon-left"></i>确认对账</a>
  991. <a class="btn btn-default" ng-click="exportApcheckList()" title="导出Excel" ng-disabled="!data || data.length==0"><i class="fa fa-file-text fa-fw btn-icon-left"></i>导出</a>
  992. </div>
  993. </div>
  994. </div>
  995. <div class="form-group form-group-sm form-group-inline"
  996. ng-show="condition.$open2">
  997. <!--<label class="col-sm-2 control-label">应付供应商:</label>-->
  998. <!--<div class="col-sm-4">-->
  999. <!--<div class="form-group form-group-sm has-feedback">-->
  1000. <!--<input type="search" class="form-control input-sm"-->
  1001. <!--ng-model="receiveName" placeholder="可用应付供应商名称筛选" /><span-->
  1002. <!--class="form-control-feedback text-simple"><i-->
  1003. <!--class="fa fa-search"></i></span>-->
  1004. <!--</div>-->
  1005. <!--</div>-->
  1006. <!--ng-show="condition.$open2">-->
  1007. <label class="col-sm-2 control-label">税&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;率:</label>
  1008. <div class="col-sm-4">
  1009. <div class="form-group form-group-sm has-feedback">
  1010. <input type="search" class="form-control input-sm"
  1011. ng-model="taxRate" placeholder="请输入税率" /><span
  1012. class="form-control-feedback text-simple"><i
  1013. class="fa fa-search"></i></span>
  1014. </div>
  1015. </div>
  1016. <label class="col-sm-2 control-label">送货工厂:</label>
  1017. <div class="col-sm-4">
  1018. <div class="form-group form-group-sm has-feedback">
  1019. <input type="search" class="form-control input-sm"
  1020. ng-model="factory" placeholder="请输入送货工厂名称" /><span
  1021. class="form-control-feedback text-simple"><i
  1022. class="fa fa-search"></i></span>
  1023. </div>
  1024. </div>
  1025. </div>
  1026. <div class="form-group form-group-sm form-group-inline"
  1027. ng-show="condition.$open2">
  1028. <label class="col-sm-2 control-label">物料名称:</label>
  1029. <div class="col-sm-4">
  1030. <div class="form-group form-group-sm has-feedback">
  1031. <input type="search" class="form-control input-sm"
  1032. ng-model="prodTitle" placeholder="请输入物料名称" /><span
  1033. class="form-control-feedback text-simple"><i
  1034. class="fa fa-search"></i></span>
  1035. </div>
  1036. </div>
  1037. <label class="col-sm-2 control-label">规&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格:</label>
  1038. <div class="col-sm-4">
  1039. <div class="form-group form-group-sm has-feedback">
  1040. <input type="search" class="form-control input-sm"
  1041. ng-model="prodSpec" placeholder="请输入物料规格" /><span
  1042. class="form-control-feedback text-simple"><i
  1043. class="fa fa-search"></i></span>
  1044. </div>
  1045. </div>
  1046. </div>
  1047. <!--<div class="form-group form-group-sm form-group-inline"-->
  1048. <!---->
  1049. <!--</div>-->
  1050. </form>
  1051. <!-- 标签scroll-table用于表头滚动 -->
  1052. <div class="table-wrap" id="order-detail-list" scroll-table>
  1053. <div class="table-header-wrap">
  1054. <table class="table table-bordered">
  1055. <tr>
  1056. <th width="60" style="vertical-align: middle;">
  1057. <input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll()">
  1058. </th>
  1059. <th width="70">订单号</th>
  1060. <th width="70">验收单</th>
  1061. <th width="70">发货单</th>
  1062. <th width="70">物料编号</th>
  1063. <th width="70">物料名称</th>
  1064. <th width="70">规格型号</th>
  1065. <th width="70">验收数量</th>
  1066. <th width="70">发货数量</th>
  1067. <th width="50">单价</th>
  1068. <th width="50">税率</th>
  1069. <th width="70">小计</th>
  1070. <th width="100">对账人</th>
  1071. <!--<th width="35">序号</th>-->
  1072. <!--<th width="60">类型</th>-->
  1073. <!--<th width="60">单据<br>日期</th>-->
  1074. <!--<th width="90">应付<br>供应商</th>-->
  1075. <!--<th width="65">客户<br>料号</th>-->
  1076. <!--<th width="65">送货<br>工厂</th>-->
  1077. <!--<th width="30">币别</th>-->
  1078. <!--<th width="60">金额</th>-->
  1079. </tr>
  1080. </table>
  1081. </div>
  1082. <div class="table-body-wrap">
  1083. <table class="table table-bordered">
  1084. <tr ng-repeat="check in data" ng-click="getTotalMoney()" class="thAlign" style="height: 40px;">
  1085. <td style="padding:0;">
  1086. <table class="table table-bordered child-table">
  1087. <tr style="height:10px;"><td colspan="13"></td></tr>
  1088. <tr>
  1089. <th width="60">
  1090. <input ng-model="check.$selected" name="checkbox" type="checkbox" ng-checked="check.$selected" ng-click="checkOneAll($event, check)" ng-if="check.allChecked !== 1">
  1091. <span ng-if="childs.allChecked === 1">已对账</span>
  1092. </th>
  1093. <th width="70" ng-bind="check.orderCode"></th>
  1094. <th colspan="11">
  1095. <div class="order-count">
  1096. <span>合计:</span>
  1097. 验收数量:<span>{{'-'}}</span>
  1098. 发货数量:<span>{{check.sendQty ? (check.sendQty | number:2) : '-'}}</span>
  1099. 应收金额:<span>{{check.checkAmountList ? (check.checkAmountList | number: 2) : '-'}}</span>
  1100. 发货金额:<span>{{check.sendAmountList ? (check.sendAmountList | number: 2) : '-'}}</span>
  1101. </div>
  1102. <a ng-show="check.showDetail" class="order-count-click" ng-click="check.showDetail = !check.showDetail">收起 <i class="fa fa-angle-up"></i></a>
  1103. <a ng-show="!check.showDetail" class="order-count-click" ng-click="check.showDetail = !check.showDetail">展开 <i class="fa fa-angle-down"></i></a>
  1104. </th>
  1105. </tr>
  1106. <tr ng-repeat="(index, childs) in check.details" ng-show="check.showDetail">
  1107. <td width="60">
  1108. <input ng-model="childs.$selected" name="checkbox" type="checkbox" ng-checked="childs.$selected" ng-click="stopPrevent($event)" ng-if="childs.haveChecked !== 1">
  1109. <span ng-if="childs.haveChecked === 1">已对账</span>
  1110. </td>
  1111. <td width="70" rowspan="{{index}}" ng-if="index === 0"></td>
  1112. <td width="70">{{::childs.inoutno}}</td>
  1113. <td width="70">{{::childs.sendcode}}</td>
  1114. <td width="70">{{::childs.prodcode}}</td>
  1115. <td width="70" title="{{childs.prodtitle}}">
  1116. <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::childs.prodtitle}}</div>
  1117. </td>
  1118. <td width="70" title="{{childs.prodspec}}">
  1119. <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::childs.prodspec}}</div>
  1120. </td>
  1121. <td width="70">{{::childs.thischeckqty}}</td>
  1122. <td width="70">{{::childs.qty}}</td>
  1123. <td width="50">{{::childs.orderprice}}</td>
  1124. <td width="50" align="center">{{::childs.taxrate}}</td>
  1125. <td width="70">{{::(childs.orderprice || 0)*(childs.thischeckqty || 0) | number:2}}</td>
  1126. <td width="100" ng-if="childs.haveChecked === 1">
  1127. <div>{{::childs.recorder || '-'}}</div>
  1128. <div>{{::childs.apCheckDate | date:'yyyy年MM月dd日' || '-'}}</div>
  1129. </td>
  1130. <td width="100" ng-if="childs.haveChecked !== 1">
  1131. 未对账
  1132. </td>
  1133. </tr>
  1134. </table>
  1135. </td>
  1136. </tr>
  1137. </table>
  1138. <table ng-if="false" class="table table-bordered">
  1139. <tr ng-repeat="check in data" ng-click="checkOne(check);getTotalMoney()" class="thAlign" style="height: 40px;">
  1140. <td width="55" style="text-align: center;vertical-align: middle;">
  1141. <input ng-model="check.$selected" name="checkbox" type="checkbox" ng-checked="check.$selected" ng-click="stopPrevent($event)" ng-if="check.haveChecked !== 1">
  1142. <span ng-if="check.haveChecked === 1">已对账</span>
  1143. </td>
  1144. <td width="70">{{::check.ordercode}}</td>
  1145. <td width="60">{{::check.sendcode}}</td>
  1146. <td width="90">{{::check.pidate | date:'yyyy年MM月dd日' || '-'}}</td>
  1147. <td width="60">{{::check.inoutno}}</td>
  1148. <td width="70">{{::check.prodcode}}</td>
  1149. <td width="70" title="{{check.prodtitle}}">
  1150. <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodtitle}}</div>
  1151. </td>
  1152. <td width="70" title="{{check.prodspec}}">
  1153. <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodspec}}</div></td>
  1154. <td width="55">{{::check.qty}}</td>
  1155. <td width="100">{{::check.thischeckqty}}</td>
  1156. <td width="40">{{::check.orderprice}}</td>
  1157. <td width="40" align="center">{{::check.taxrate}}</td>
  1158. <td width="70">{{::(check.orderprice || 0)*(check.thischeckqty || 0) | number:2}}</td>
  1159. <td width="110" ng-if="check.haveChecked === 1">
  1160. <div>{{::check.recorder || '-'}}</div>
  1161. <div>{{::check.apCheckDate | date:'yyyy年MM月dd日' || '-'}}</div>
  1162. </td>
  1163. <td width="110" ng-if="check.haveChecked !== 1">
  1164. 未对账
  1165. </td>
  1166. <!--<td width="70" title="{{check.custname}}"><div-->
  1167. <!--style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.custname}}</div></td>-->
  1168. <!--<td width="35" align="center">{{::check.detno}}</td>-->
  1169. <!--<td width="60">{{::check.piclass}}</td>-->
  1170. <!--<td width="60">{{::check.pidate | date:'yyyy-MM-dd' }}</td>-->
  1171. <!--<td width="90" title="{{check.receivename}}">-->
  1172. <!--<div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.receivename}}</div>-->
  1173. <!--</td>-->
  1174. <!--<td width="65">{{::check.prodcode}}</td>-->
  1175. <!--<td width="65">{{::check.factory}}</td>-->
  1176. <!--<td width="30">{{::check.currency}}</td>-->
  1177. <!--<td width="60">{{::(check.qty || 0)*(check.orderprice || 0) | number:2}}</td>-->
  1178. </tr>
  1179. <tr ng-if="!data || data.length==0">
  1180. <td colspan="11">
  1181. <div class="empty-block">
  1182. <i class="fa fa-exclamation-circle"></i>
  1183. <p class="text-muted">没有对账数据,请先筛选</p>
  1184. </div>
  1185. </td>
  1186. </tr>
  1187. </table>
  1188. </div>
  1189. <div style="padding: 10px 20px">本期应收:{{totalMoney | number:2 || 0}}</div>
  1190. </div>
  1191. </div>
  1192. <div ng-if="infoCommon.totalElement > 0 && !showNotCheck" class="text-mns text-right" ng-class="infoCommon.totalElement > 20 ? '': 'Boom18'">
  1193. 显示&nbsp;{{(infoCommon .page - 1 ) * infoCommon.size + 1}}-{{infoCommon.all >= 20 ? infoCommon.page * infoCommon.size: (infoCommon.page - 1 ) * infoCommon.size + infoCommon.all}}&nbsp;条,共&nbsp;{{infoCommon.totalElement}}&nbsp;条
  1194. </div>
  1195. </div>
  1196. <style>
  1197. .order-table2 tbody td {
  1198. text-align: center;
  1199. padding: 20px 0
  1200. }
  1201. a.active {
  1202. background: #5078cb;
  1203. padding: 0 5px;
  1204. color: #fff;
  1205. }
  1206. </style>
  1207. <style>
  1208. .wui-date-picker.left {
  1209. margin-right : 0 !important;
  1210. right: 0;
  1211. left: auto
  1212. }
  1213. .wui-date-picker.left table tbody tr td {
  1214. border: 0
  1215. }
  1216. .add-apCheckList {
  1217. background: #fff
  1218. }
  1219. .add-apCheckList input[type="checkbox"] {
  1220. /*width: 16px;
  1221. height: 16px*/
  1222. }
  1223. .add-apCheckList .table-wrap {
  1224. overflow: hidden
  1225. }
  1226. .add-apCheckList .table-header-wrap {
  1227. background: #f9f9f9;
  1228. overflow-x: hidden;
  1229. overflow-y: scroll;
  1230. }
  1231. .add-apCheckList .table-header-wrap table,.add-apCheckList .table-body-wrap table
  1232. {
  1233. width: 100%;
  1234. table-layout: fixed;
  1235. border-collapse: collapse;
  1236. border-spacing: 0;
  1237. margin-bottom: 0
  1238. }
  1239. .add-apCheckList .table-header-wrap th {
  1240. text-align: center;
  1241. }
  1242. .add-apCheckList .table-body-wrap {
  1243. max-height: 600px;
  1244. overflow-x: auto;
  1245. overflow-y: scroll;
  1246. }
  1247. .add-apCheckList td {
  1248. word-break: break-all;
  1249. text-align: center;
  1250. }
  1251. .add-apCheckList tbody {
  1252. overflow: auto;
  1253. }
  1254. #order-detail-list .input-sm {
  1255. border: #ccc 1px solid;
  1256. }
  1257. .infoms .has-feedback input[type="search"] {
  1258. padding-right: 0 !important;
  1259. }
  1260. .infoms .table>tbody>tr>td{
  1261. vertical-align: middle;
  1262. }
  1263. .form-horizontal .form-group {
  1264. margin-right: 0px;
  1265. margin-left: 0px;
  1266. }
  1267. .infoms .form-horizontal .form-group-sm .control-label{
  1268. font-size: 14px;
  1269. }
  1270. .infoms .form-group .form-control{
  1271. font-size: 14px;
  1272. }
  1273. .wui-date.small .wui-date-picker {
  1274. width: 260px
  1275. }
  1276. .empty {
  1277. padding: 70px 0;
  1278. margin: 0 auto;
  1279. text-align: center;
  1280. background: #fff;
  1281. }
  1282. .empty .left_img {
  1283. display: inline-block;
  1284. color: #3f84f6;
  1285. }
  1286. .empty .left_img a {
  1287. font-size: 25px;
  1288. color: #3f84f6;
  1289. }
  1290. .empty .right_link p {
  1291. margin: 0;
  1292. font-size: 14px;
  1293. color: #666;
  1294. }
  1295. .inputsIcon .wui-date-editor .icon1{
  1296. top: 11px !important;
  1297. }
  1298. .wui-input {
  1299. border: 1px solid #3f84f6;
  1300. font-size: 14px;
  1301. color: #3f84f6;
  1302. font-weight: bold;
  1303. width: 150px
  1304. }
  1305. .wui-date-editor .iconfont {
  1306. color: #3f84f6
  1307. }
  1308. .apCheckCondition ul {
  1309. left: auto !important;
  1310. right: 0;
  1311. }
  1312. .wui-date.small .wui-date-picker .month_panel .wui-data-table td {
  1313. line-height: 20px;
  1314. }
  1315. </style>
  1316. <style>
  1317. .order-table2 tbody td {
  1318. text-align: center;
  1319. padding: 20px 0
  1320. }
  1321. .order-table2 tbody td .table-colspan-list span {
  1322. display:inline-block;
  1323. vertical-align: top;
  1324. width:95px;
  1325. margin:0 auto;
  1326. }
  1327. .order-table2 tbody td .table-colspan-list span:first-child {
  1328. width:90px;
  1329. }
  1330. .order-table2 tbody td .table-colspan-list span:last-child {
  1331. width:120px;
  1332. }
  1333. #order-detail-list .child-table{
  1334. table-layout: auto;
  1335. }
  1336. #order-detail-list .child-table tr th{
  1337. position:relative;
  1338. background: #d3eafc;
  1339. font-weight: bold;
  1340. font-size:14px;
  1341. padding:0 2px;
  1342. vertical-align: middle;
  1343. }
  1344. #order-detail-list .child-table tr th:first-child{
  1345. text-align: center;
  1346. }
  1347. #order-detail-list .child-table tr th .order-count{
  1348. background: #d3eafc;
  1349. font-weight:normal;
  1350. }
  1351. #order-detail-list .child-table tr th .order-count span{
  1352. background: #d3eafc;
  1353. font-weight:bold;
  1354. margin-right:20px;
  1355. }
  1356. #order-detail-list .child-table tr th .order-count-click{
  1357. position:absolute;
  1358. top:10px;
  1359. right:20px;
  1360. display:inline-block;
  1361. padding: 0 5px;
  1362. line-height: 20px;
  1363. background: #fff;
  1364. color:#333;
  1365. border:1px solid #333;
  1366. border-radius:5px;
  1367. text-decoration: none;
  1368. }
  1369. #order-detail-list .child-table tr td{
  1370. padding:0 2px;
  1371. vertical-align: middle;
  1372. }
  1373. </style>