apCheck.html 38 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146
  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 class="down-purchase" style="margin-right: 0;min-width: 80px" ng-hide="showNotCheck">-->
  477. <!--<a class="text-simple append" style="min-width: 80px" ui-sref="fa_apCheckList" title="新增对账单">-->
  478. <!--<i class="fa fa-plus-square fa-fw"></i>新增对账单-->
  479. <!--</a>-->
  480. <!--</li>-->
  481. </ul>
  482. </div>
  483. <div class="com_tab tab_top" style="margin-bottom: 0px">
  484. <ul>
  485. <li ng-class="{'active': active=='all'}" ng-click="setActive('all')"><a> 未对账</a></li>
  486. <!--<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>-->
  487. <li ng-class="{'active': active=='done'}" ng-click="setActive('done')"><a>已对账</a></li>
  488. <!--(<em ng-class="{'color-black': !unread.cancelled }" ng-bind="unread.cancelled || 0"></em>)-->
  489. <li ng-class="{'active': active=='end'}" ng-click="setActive('end')"><a>已作废</a></li>
  490. <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>
  491. </ul>
  492. </div>
  493. <div class="screen check-filter" ng-show="!showNotCheck">
  494. <div class="radio-block date-radio" ng-show="active !== 'all'" style="width: 33%">
  495. 时间:
  496. <label class="com-check-radio">
  497. <input type="radio" id="oneMonth" name="date" ng-click="changeDateZone(1);condition.$open=false" ng-checked="condition.dateZone == '1'" ng-model="condition.dateZone">
  498. <label for="oneMonth"></label>
  499. 30天
  500. </label>
  501. <label class="com-check-radio">
  502. <input type="radio" id="threeMonth" name="date" ng-click="changeDateZone(3);condition.$open=false" ng-checked="condition.dateZone == '3'" ng-model="condition.dateZone">
  503. <label for="threeMonth"></label>
  504. 90天
  505. </label>
  506. <label class="com-check-radio">
  507. <input type="radio" id="sixMonth" name="date" ng-click="changeDateZone(6);condition.$open=false" ng-checked="condition.dateZone == '6'" ng-model="condition.dateZone">
  508. <label for="sixMonth"></label>
  509. 180天
  510. </label>
  511. <label class="com-check-radio">
  512. <input type="radio" id="autoMonth" name="date" ng-click="condition.$open=!condition.$open;changeDateZone(-1)">
  513. <label for="autoMonth"></label>
  514. 自定义
  515. </label>
  516. </div>
  517. <div class="fl" ng-show="active === 'all'" >
  518. <label class="control-label">请选择月份:</label>
  519. <span ng-click="addMouthOut(-1)" style=" display: inline-block;
  520. width: 32px;
  521. height: 32px;
  522. border: 1px solid #ddd;
  523. text-align: center;
  524. line-height: 32px;
  525. cursor: pointer;
  526. vertical-align: middle;">
  527. <img src="/static/img/vendor/images/arrow-left-d-l.png" width="24"/>
  528. </span>
  529. <span class="inputsIcon control-label" style="padding-right: 0px;display: inline-block">
  530. <wui-date
  531. format="yyyy-mm"
  532. placeholder="请选择或输入日期"
  533. id="date3"
  534. btns="{'ok':'确定','now':'此刻'}"
  535. ng-model="thisMouthOut"
  536. >
  537. </wui-date>
  538. </span>
  539. <span ng-click="addMouthOut(1)" ng-show="MouthOutShow" style="display: inline-block;
  540. width: 32px;
  541. height: 32px;
  542. border: 1px solid #ddd;
  543. text-align: center;
  544. line-height: 32px;
  545. cursor: pointer;
  546. vertical-align: middle;"><img src="/static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
  547. </div>
  548. <div class="sreach fr">
  549. <div ng-show="condition.$open" class="date fl">
  550. <div class="data-input">
  551. <input type="text" ng-model="condition.dateFrom"
  552. class="form-control select-adder" placeholder="起始时间"
  553. datepicker-popup="yyyy-MM-dd"
  554. is-open="condition.$fromOpened"
  555. max-date="condition.dateTo" current-text="今天" clear-text="清除" close-text="关闭"
  556. ng-focus="openFilterDatePicker($event, condition, '$fromOpened')"
  557. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  558. style="width: 130px"
  559. />
  560. <button class="open" ng-click="openFilterDatePicker($event, condition, '$fromOpened')"></button>
  561. </div>
  562. <em>–</em>
  563. <div class="data-input">
  564. <input type="text" ng-model="condition.dateTo"
  565. class="form-control select-adder" placeholder="结束时间"
  566. datepicker-popup="yyyy-MM-dd"
  567. is-open="condition.$toOpened"
  568. min-date="condition.dateFrom" current-text="今天" clear-text="清除" close-text="关闭"
  569. ng-focus="openFilterDatePicker($event, condition, '$toOpened')"
  570. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  571. style="width: 130px"
  572. />
  573. <button class="open" ng-click="openFilterDatePicker($event, condition, '$toOpened')"></button>
  574. </div>
  575. </div>
  576. <div class="sreach-input fr">
  577. <span ng-show="active !== 'all'">
  578. <input type="search" placeholder="单据编号/客户名称/物料名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
  579. <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)" >搜索</a>
  580. </span>
  581. <span ng-show="active === 'all' && !showNotCheck">
  582. <input type="search" placeholder="客户名称" class="form-control" ng-model="keyword" ng-search="onSearch(keyword)"/>
  583. <a class="seek" href="javascript:void(0)" ng-click="onSearch(keyword)">搜索</a>
  584. </span>
  585. </div>
  586. </div>
  587. </div>
  588. <div ng-hide="showNotCheck">
  589. <div >
  590. <table class="order-table block" ng-class="{'order-table2': active === 'all'}" ng-table="tableParams" ng-table="tableParams" width="100%" style="table-layout:fixed">
  591. <thead ng-show="active !== 'all'">
  592. <tr class="header">
  593. <th width="230">对账期间</th>
  594. <th width="180">对账总额</th>
  595. <th width="180">对账人</th>
  596. <!--<th width="100">商品总数</th>-->
  597. <th width="100">对账结果</th>
  598. <th width="100">操作</th>
  599. </tr>
  600. </thead>
  601. <tbody ng-show="active !== 'all'" ng-repeat="check in $data">
  602. <tr class="order-bd order-hdt">
  603. <td colspan="5" style="text-align: left">
  604. <a href="javascript:void(0)" ng-if="!isUnread(check.id)" class="circle-icon">
  605. 已读
  606. </a>
  607. <a href="javascript:void(0)" ng-if="isUnread(check.id)" class="no-circle-icon">
  608. 未读
  609. </a>
  610. <span class="text-num text-bold;" style="font-weight:bold" title="录单时间">日期:{{::check.recordDate | date:'MM月dd日 HH:mm'}}</span>
  611. &nbsp;&nbsp;&nbsp;
  612. <span>
  613. <!--<i class="fa fa-star" ng-class="{'text-default':check.status==201}"></i>-->
  614. <img src="static/img/user/images/shop_home.png" style="margin-right: 5px">{{::check.custName}}</span>
  615. <span style="margin-left: 100px;">单据编号:</span>
  616. <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>
  617. </td>
  618. </tr>
  619. <tr class="order-bd" style="padding: 15px 0 ">
  620. <td class="first info" colspan="1" style="text-align: left">
  621. <div class="static">
  622. <p><span class="f14 text-num">{{::check.beginDate | date:'yyyy/MM/dd'}} - {{::check.endDate | date:'yyyy/MM/dd'}}</span></p>
  623. </div>
  624. </td>
  625. <td>
  626. <p>
  627. <strong class="text-num">{{::(isUser?'-':(check.checkAmount | number:2))}}</strong>
  628. <span ng-if="!isUser" class="text-number">{{::check.currency}}</span>
  629. </p>
  630. </td>
  631. <td style="text-align: center">
  632. 对账人:{{::check.recorder}}
  633. </td>
  634. <!--<td>-->
  635. <!--<p>-->
  636. <!--<strong class="text-num">{{::check.items.length}}</strong> 条<br>-->
  637. <!--</p>-->
  638. <!--</td>-->
  639. <!--<td>-->
  640. <!--<p>-->
  641. <!--<strong class="text-num">{{getTotalProd(check) | number}}</strong> <i class="fa fa-cubes"></i>-->
  642. <!--</p>-->
  643. <!--</td>-->
  644. <td class="status">
  645. <!--<div ng-if="check.checkStatus == '未对账'" class="text-center text-muted f14"><br>未对账!</div>-->
  646. <div></div>
  647. <div ng-if="check.checkStatus == '已确认'" class="text-center text-muted f14">
  648. <br> <i class="fa fa-check-square-o"></i> 已确认
  649. </div>
  650. <div ng-if="check.checkStatus == '不同意'" class="text-center text-muted f14">
  651. <br> <i class="fa fa-check-square-o"></i> 不同意
  652. </div>
  653. <div ng-if="check.checkStatus == '已作废'" class="text-center text-muted f14">
  654. <br> <i class="fa fa-check-square-o"></i> 已作废
  655. </div>
  656. </td>
  657. <td>
  658. <div ng-hide="check.status" class="block">
  659. <span class="text-trans error">未提交</span>
  660. </div>
  661. <div ng-show="check.status" class="block">
  662. <span class="text-trans success">已提交</span>
  663. </div>
  664. <div class="" style="margin-top: 33px;margin-right: 20px;">
  665. <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>
  666. </div>
  667. <!-- <a ui-sref="fa.apCheck_detail({id:check.id})" class="operate operate-undo text-center"
  668. target="_blank">查看详情</a> -->
  669. </td>
  670. </tr>
  671. </tbody>
  672. <thead ng-show="active === 'all'">
  673. <tr class="header">
  674. <th width="313">客户名称</th>
  675. <th width="250">本月应收</th>
  676. <th width="250">应收总额</th>
  677. <th width="160">操作</th>
  678. </tr>
  679. </thead>
  680. <tbody ng-show="active === 'all'" ng-repeat="check in ALLList">
  681. <tr >
  682. <td style="color: #3f84f6">{{::check.myEnterprise.enName}}</td>
  683. <td ng-if="check.thisMonthCount.length > 0">
  684. <div ng-repeat="count in check.thisMonthCount">
  685. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  686. </div>
  687. </td>
  688. <td ng-if="check.thisMonthCount.length === 0">-</td>
  689. <td ng-if="check.totalCount.length > 0">
  690. <div ng-repeat="count in check.totalCount">
  691. <span ng-if="count.amount > 0">{{count.currency}}:{{count.amount | number:2}}</span>
  692. </div>
  693. </td>
  694. <td ng-if="check.totalCount.length === 0">-</td>
  695. <td style="color: #3f84f6;cursor: pointer" ng-click="goToMNs(check)">对账详情</td>
  696. </tr>
  697. </tbody>
  698. <tbody ng-if="active !== 'all' && tableParams.total() == 0">
  699. <tr>
  700. <td colspan="5">
  701. <div id="empty">
  702. <div class="left_img">
  703. <a><img src="static/img/all/empty-cart.png"></a>
  704. <a>B2B 商务</a>
  705. </div>
  706. <div class="right_link">
  707. <p ng-if="active != 'all'">暂无对账信息!</p>
  708. <!--<p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>-->
  709. <!--<a ng-if="active == 'all'" ui-sref="fa_apCheckList"><i class="fa fa-plus-square fa-fw"></i> 新增对账单</a>-->
  710. </div>
  711. </div>
  712. </td>
  713. </tr>
  714. </tbody>
  715. <tbody ng-if="active === 'all' && !ALLList || ALLList.length == 0">
  716. <tr>
  717. <td colspan="4">
  718. <div class="empty">
  719. <div class="left_img">
  720. <a><img src="static/img/all/empty-cart.png"></a>
  721. <a>B2B 商务</a>
  722. </div>
  723. <div class="right_link">
  724. <p ng-if="active != 'all'">暂无对账信息!</p>
  725. <!--<p ng-if="active == 'all'">您还未生成对账单,请立即新增对账!</p>-->
  726. <!--<a ng-if="active == 'all'" ui-sref="fa_apCheckList"><i class="fa fa-plus-square fa-fw"></i> 新增对账单</a>-->
  727. </div>
  728. </div>
  729. </td>
  730. </tr>
  731. </tbody>
  732. </table>
  733. </div>
  734. </div>
  735. <div ng-hide="!showNotCheck" class="infoms add-apCheckList" >
  736. <form class="form-horizontal"
  737. style="padding-top: 10px; padding-bottom: 20px;">
  738. <div class="form-group form-group-sm form-group-inline">
  739. <div class="col-sm-7 control-label">
  740. <div style="text-align: left">
  741. <label>应收客户:</label>
  742. <label style="text-align:left">
  743. {{suuorname}}
  744. </label>
  745. </div>
  746. <div style="text-align: left;margin-top: 20px">
  747. <label>本期间应收:</label>
  748. <label style="text-align:left;vertical-align: top;">
  749. <div ng-if="dataInfo.thisMonthCount.length > 0" ng-repeat="count in dataInfo.thisMonthCount">
  750. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  751. </div>
  752. <div ng-if="dataInfo.thisMonthCount.length === 0">
  753. 0
  754. </div>
  755. </label>
  756. </div>
  757. <div style="text-align: left;margin-top: 20px">
  758. <label>应收总额:</label>
  759. <label style="text-align:left;vertical-align: top;">
  760. <div ng-if="dataInfo.totalCount.length > 0" ng-repeat="count in dataInfo.totalCount">
  761. <span>{{count.currency}}:{{count.amount | number:2}}</span>
  762. </div>
  763. <div ng-if="dataInfo.totalCount.length === 0">
  764. 0
  765. </div>
  766. </label>
  767. </div>
  768. </div>
  769. <div class="col-sm-5 control-label">
  770. <div>
  771. <label class="control-label">请选择月份:</label>
  772. <span ng-click="addMouth(-1)" style=" display: inline-block;
  773. width: 32px;
  774. height: 32px;
  775. border: 1px solid #ddd;
  776. text-align: center;
  777. line-height: 32px;
  778. cursor: pointer;
  779. vertical-align: middle;">
  780. <img src="/static/img/vendor/images/arrow-left-d-l.png" width="24"/>
  781. </span>
  782. <span class="control-label" style="padding-right: 5px;display: inline-block;vertical-align: middle; padding-top: 0;" ng-click="apCheckCondition.$open = false">
  783. <wui-date
  784. format="yyyy-mm"
  785. placeholder="请选择或输入日期"
  786. id="date4"
  787. btns="{'ok':'确定','now':'此刻'}"
  788. ng-model="thisMouth"
  789. >
  790. </wui-date>
  791. </span><span ng-click="addMouth(1)" ng-show="MouthinShow" style="display: inline-block;
  792. width: 32px;
  793. height: 32px;
  794. border: 1px solid #ddd;
  795. text-align: center;
  796. line-height: 32px;
  797. cursor: pointer;
  798. vertical-align: middle;"><img src="/static/img/vendor/images/arrow-right-d-l.png" width="24"/></span>
  799. <label class="control-label com-check-radio" ng-click="apCheckCondition.$open = true">
  800. <input type="radio" name="psa" ng-checked="apCheckCondition.$open === true" ng-model="apCheckCondition.$open">
  801. <label for="autoMonth"></label>
  802. 自定义
  803. </label>
  804. </div>
  805. <div ng-hide="!apCheckCondition.$open" class="date fr apCheckCondition" style="margin-top: 14px;">
  806. <div class="data-input">
  807. <input type="text" ng-model="apCheckCondition.dateFrom"
  808. class="form-control select-adder" placeholder="起始时间"
  809. datepicker-popup="yyyy-MM-dd"
  810. is-open="apCheckCondition.$fromOpened"
  811. max-date="apCheckCondition.dateTo" current-text="今天" clear-text="清除" close-text="关闭"
  812. ng-focus="apCheckopenFilterDatePicker($event, apCheckCondition, '$fromOpened')"
  813. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  814. style="width: 130px;height: 32px"
  815. />
  816. <button class="open" ng-click="apCheckopenFilterDatePicker($event, apCheckCondition, '$fromOpened')"></button>
  817. </div>
  818. <em style="float:left;margin: 0 10px">–</em>
  819. <div class="data-input">
  820. <input type="text" ng-model="apCheckCondition.dateTo"
  821. class="form-control select-adder" placeholder="结束时间"
  822. datepicker-popup="yyyy-MM-dd"
  823. is-open="apCheckCondition.$toOpened"
  824. min-date="apCheckCondition.dateFrom" current-text="今天" clear-text="清除" close-text="关闭"
  825. ng-focus="apCheckopenFilterDatePicker($event, apCheckCondition, '$toOpened')"
  826. datepicker-options="{formatDayTitle: 'yyyy年M月', formatMonth: 'M月', showWeeks: false}"
  827. style="width: 130px;height: 32px"
  828. />
  829. <button class="open" ng-click="apCheckopenFilterDatePicker($event, apCheckCondition, '$toOpened')"></button>
  830. </div>
  831. </div>
  832. </div>
  833. </div>
  834. <div class="form-group form-group-sm form-group-inline">
  835. <div class="col-sm-12 text-right">
  836. <a ng-click="condition.$open=!condition.$open" class="text-simple"><span
  837. ng-bind="condition.$open ? '收起筛选条件' : '更多筛选条件'"></span><i
  838. class="fa fa-fw"
  839. ng-class="{'fa-angle-up': condition.$open, 'fa-angle-down': !condition.$open}"></i></a>
  840. <div class="btn-group btn-group-sm">
  841. <a class="btn btn-default" ng-click="searchOrder()" title="筛选"><i class="fa fa-search fa-fw btn-icon-left"></i>筛选</a>
  842. <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>
  843. <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>
  844. </div>
  845. </div>
  846. </div>
  847. <div class="form-group form-group-sm form-group-inline"
  848. ng-show="condition.$open">
  849. <!--<label class="col-sm-2 control-label">应付供应商:</label>-->
  850. <!--<div class="col-sm-4">-->
  851. <!--<div class="form-group form-group-sm has-feedback">-->
  852. <!--<input type="search" class="form-control input-sm"-->
  853. <!--ng-model="receiveName" placeholder="可用应付供应商名称筛选" /><span-->
  854. <!--class="form-control-feedback text-simple"><i-->
  855. <!--class="fa fa-search"></i></span>-->
  856. <!--</div>-->
  857. <!--</div>-->
  858. <!--ng-show="condition.$open">-->
  859. <label class="col-sm-2 control-label">税率:</label>
  860. <div class="col-sm-4">
  861. <div class="form-group form-group-sm has-feedback">
  862. <input type="search" class="form-control input-sm"
  863. ng-model="taxRate" placeholder="请输入税率" /><span
  864. class="form-control-feedback text-simple"><i
  865. class="fa fa-search"></i></span>
  866. </div>
  867. </div>
  868. <label class="col-sm-2 control-label">送货工厂:</label>
  869. <div class="col-sm-4">
  870. <div class="form-group form-group-sm has-feedback">
  871. <input type="search" class="form-control input-sm"
  872. ng-model="factory" placeholder="请输入送货工厂名称" /><span
  873. class="form-control-feedback text-simple"><i
  874. class="fa fa-search"></i></span>
  875. </div>
  876. </div>
  877. </div>
  878. <div class="form-group form-group-sm form-group-inline"
  879. ng-show="condition.$open">
  880. <label class="col-sm-2 control-label">物料名称:</label>
  881. <div class="col-sm-4">
  882. <div class="form-group form-group-sm has-feedback">
  883. <input type="search" class="form-control input-sm"
  884. ng-model="prodTitle" placeholder="请输入物料名称" /><span
  885. class="form-control-feedback text-simple"><i
  886. class="fa fa-search"></i></span>
  887. </div>
  888. </div>
  889. <label class="col-sm-2 control-label">规&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格:</label>
  890. <div class="col-sm-4">
  891. <div class="form-group form-group-sm has-feedback">
  892. <input type="search" class="form-control input-sm"
  893. ng-model="prodSpec" placeholder="请输入物料规格" /><span
  894. class="form-control-feedback text-simple"><i
  895. class="fa fa-search"></i></span>
  896. </div>
  897. </div>
  898. </div>
  899. <!--<div class="form-group form-group-sm form-group-inline"-->
  900. <!---->
  901. <!--</div>-->
  902. </form>
  903. <!-- 标签scroll-table用于表头滚动 -->
  904. <div class="table-wrap" id="order-detail-list" scroll-table>
  905. <div class="table-header-wrap">
  906. <table class="table table-bordered">
  907. <tr>
  908. <th width="36" style="vertical-align: middle;"><input type="checkbox" name="checkbox" ng-model="checkboxes.checked" ng-click="checkAll()"></th>
  909. <!--<th width="70">客户<br>名称</th>-->
  910. <th width="70">采购单</th>
  911. <th width="70">物料名称</th>
  912. <th width="70">规格型号</th>
  913. <th width="60">发货单</th>
  914. <th width="55">发货数量</th>
  915. <th width="60">验收单</th>
  916. <th width="100">验收数量</th>
  917. <th width="40">单价</th>
  918. <th width="40">税率</th>
  919. <th width="70">小计</th>
  920. <!--<th width="35">序号</th>-->
  921. <!--<th width="60">类型</th>-->
  922. <!--<th width="60">单据<br>日期</th>-->
  923. <!--<th width="90">应付<br>供应商</th>-->
  924. <!--<th width="65">客户<br>料号</th>-->
  925. <!--<th width="65">送货<br>工厂</th>-->
  926. <!--<th width="30">币别</th>-->
  927. <!--<th width="60">金额</th>-->
  928. </tr>
  929. </table>
  930. </div>
  931. <div class="table-body-wrap">
  932. <table class="table table-bordered">
  933. <tr ng-repeat="check in data" ng-click="checkOne(check);getTotalMoney()" class="thAlign" style="height: 40px;">
  934. <td width="36" style="text-align: center;vertical-align: middle;">
  935. <input ng-model="check.$selected" name="checkbox" type="checkbox" ng-checked="check.$selected" ng-click="stopPrevent($event)"></td>
  936. <td width="70">{{::check.ordercode}}</td>
  937. <td width="70" title="{{check.prodtitle}}">
  938. <div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.prodtitle}}</div>
  939. </td>
  940. <td width="70" title="{{check.prodspec}}">
  941. <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>
  942. <td width="60">{{::check.sendcode}}</td>
  943. <td width="55">{{::check.qty}}</td>
  944. <td width="60">{{::check.inoutno}}</td>
  945. <td width="100">{{::check.thischeckqty}}</td>
  946. <td width="40">{{::check.orderprice}}</td>
  947. <td width="40" align="center">{{::check.taxrate}}</td>
  948. <td width="70">{{::(check.orderprice || 0)*(check.thischeckqty || 0) | number:2}}</td>
  949. <!--<td width="70" title="{{check.custname}}"><div-->
  950. <!--style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.custname}}</div></td>-->
  951. <!--<td width="35" align="center">{{::check.detno}}</td>-->
  952. <!--<td width="60">{{::check.piclass}}</td>-->
  953. <!--<td width="60">{{::check.pidate | date:'yyyy-MM-dd' }}</td>-->
  954. <!--<td width="90" title="{{check.receivename}}">-->
  955. <!--<div style="display: -webkit-box; text-overflow: ellipsis; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 3; -webkit-box-orient: vertical;">{{::check.receivename}}</div>-->
  956. <!--</td>-->
  957. <!--<td width="65">{{::check.prodcode}}</td>-->
  958. <!--<td width="65">{{::check.factory}}</td>-->
  959. <!--<td width="30">{{::check.currency}}</td>-->
  960. <!--<td width="60">{{::(check.qty || 0)*(check.orderprice || 0) | number:2}}</td>-->
  961. </tr>
  962. <tr ng-if="!data || data.length==0">
  963. <td colspan="19">
  964. <div class="empty-block">
  965. <i class="fa fa-exclamation-circle"></i>
  966. <p class="text-muted">没有对账数据,请先筛选</p>
  967. </div>
  968. </td>
  969. </tr>
  970. </table>
  971. </div>
  972. <div style="padding: 10px 20px">总金额合计:{{totalMoney | number:2 || 0}}</div>
  973. </div>
  974. </div>
  975. <div ng-if="infoCommon.totalElement > 0 && !showNotCheck" class="text-mns text-right" ng-class="infoCommon.totalElement > 20 ? '': 'Boom18'">
  976. 显示&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;条
  977. </div>
  978. </div>
  979. <style>
  980. .order-table2 tbody td {
  981. text-align: center;
  982. padding: 20px 0
  983. }
  984. </style>
  985. <style>
  986. .wui-date-picker.left {
  987. margin-right : 0 !important;
  988. right: 0;
  989. left: auto
  990. }
  991. .wui-date-picker.left table tbody tr td {
  992. border: 0
  993. }
  994. .add-apCheckList {
  995. background: #fff
  996. }
  997. .add-apCheckList input[type="checkbox"] {
  998. /*width: 16px;
  999. height: 16px*/
  1000. }
  1001. .add-apCheckList .table-wrap {
  1002. overflow: hidden
  1003. }
  1004. .add-apCheckList .table-header-wrap {
  1005. background: #f9f9f9;
  1006. overflow-x: hidden;
  1007. overflow-y: scroll;
  1008. }
  1009. .add-apCheckList .table-header-wrap table,.add-apCheckList .table-body-wrap table
  1010. {
  1011. width: 100%;
  1012. table-layout: fixed;
  1013. border-collapse: collapse;
  1014. border-spacing: 0;
  1015. margin-bottom: 0
  1016. }
  1017. .add-apCheckList .table-header-wrap th {
  1018. text-align: center;
  1019. }
  1020. .add-apCheckList .table-body-wrap {
  1021. max-height: 600px;
  1022. overflow-x: auto;
  1023. overflow-y: scroll;
  1024. }
  1025. .add-apCheckList td {
  1026. word-break: break-all;
  1027. text-align: center;
  1028. }
  1029. .add-apCheckList tbody {
  1030. overflow: auto;
  1031. }
  1032. #order-detail-list .input-sm {
  1033. border: #ccc 1px solid;
  1034. }
  1035. .infoms .has-feedback input[type="search"] {
  1036. padding-right: 0 !important;
  1037. }
  1038. .infoms .table>tbody>tr>td{
  1039. vertical-align: middle;
  1040. }
  1041. .form-horizontal .form-group {
  1042. margin-right: 0px;
  1043. margin-left: 0px;
  1044. }
  1045. .infoms .form-horizontal .form-group-sm .control-label{
  1046. font-size: 14px;
  1047. }
  1048. .infoms .form-group .form-control{
  1049. font-size: 14px;
  1050. }
  1051. .wui-date.small .wui-date-picker {
  1052. width: 260px
  1053. }
  1054. .empty {
  1055. padding: 70px 0;
  1056. margin: 0 auto;
  1057. text-align: center;
  1058. background: #fff;
  1059. }
  1060. .empty .left_img {
  1061. display: inline-block;
  1062. color: #3f84f6;
  1063. }
  1064. .empty .left_img a {
  1065. font-size: 25px;
  1066. color: #3f84f6;
  1067. }
  1068. .empty .right_link p {
  1069. margin: 0;
  1070. font-size: 14px;
  1071. color: #666;
  1072. }
  1073. .inputsIcon .wui-date-editor .icon1{
  1074. top: 11px !important;
  1075. }
  1076. .wui-input {
  1077. border: 1px solid #3f84f6;
  1078. font-size: 14px;
  1079. color: #3f84f6;
  1080. font-weight: bold;
  1081. }
  1082. .wui-date-editor .iconfont {
  1083. color: #3f84f6
  1084. }
  1085. .apCheckCondition ul {
  1086. left: auto !important;
  1087. right: 0;
  1088. }
  1089. .wui-date.small .wui-date-picker .month_panel .wui-data-table td {
  1090. line-height: 20px;
  1091. }
  1092. </style>