payprint1.html 82 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <link rel="stylesheet" href="../cdn/element-ui/2.13.2/theme-chalk/index.css">
  6. <title></title>
  7. <style>
  8. .autograph {
  9. margin-top: 10px;
  10. margin-right: 120px;
  11. }
  12. table tr td {
  13. border: 2px solid #333333;
  14. padding: 5px 0;
  15. }
  16. #app {
  17. height: 88vh;
  18. position: relative;
  19. }
  20. .simple {
  21. /* height: 120vh !important; */
  22. }
  23. .simple2 {
  24. /* height: 99vh !important; */
  25. }
  26. .content {
  27. width: 1000px;
  28. margin: auto;
  29. }
  30. table {
  31. width: 100%;
  32. text-align: center;
  33. border-collapse: collapse;
  34. }
  35. .col-bgc {
  36. background: #f6f7fb;
  37. }
  38. .bottom-row1 {
  39. display: flex;
  40. justify-content: space-around;
  41. margin: 20px 0;
  42. }
  43. .bottom-row2 {
  44. display: flex;
  45. margin: 10px 0;
  46. }
  47. img {
  48. width: 80px;
  49. height: 80px;
  50. /* margin-right: 118px; */
  51. }
  52. .leftimg {
  53. width: 80px;
  54. height: 80px;
  55. position: absolute;
  56. right: 20px;
  57. top: 3px;
  58. }
  59. .config {
  60. margin-right: 240px;
  61. }
  62. .bottom-row3 {
  63. margin: 10px 0;
  64. }
  65. .title {
  66. text-align: center;
  67. font-size: 24px;
  68. }
  69. .number {
  70. text-align: right;
  71. margin-bottom: 10px;
  72. }
  73. .number1 {
  74. text-align: right;
  75. margin-bottom: 10px;
  76. margin-top: 60px;
  77. }
  78. .small-row {
  79. display: flex;
  80. }
  81. .small-content {
  82. width: 400px;
  83. margin: 0 auto;
  84. border: 1px solid #ccc;
  85. padding: 20px 20px 160px 20px;
  86. position: absolute;
  87. top: 0;
  88. bottom: 0;
  89. left: 0;
  90. right: 0;
  91. margin: auto;
  92. height: 650px;
  93. }
  94. .small-title {
  95. text-align: center;
  96. font-size: 18px;
  97. display: flex;
  98. justify-content: space-between;
  99. align-items: center;
  100. }
  101. .small-row {
  102. display: flex;
  103. justify-content: space-between;
  104. margin: 10px;
  105. }
  106. .small-img {
  107. margin-right: 0;
  108. }
  109. .sign {
  110. margin-right: 100px;
  111. }
  112. .header {
  113. display: flex;
  114. justify-content: space-between;
  115. font-size: 16px;
  116. margin: 10px 0;
  117. }
  118. .header1 {
  119. font-size: 24px;
  120. /* margin: 30px 60px 10px 60px; */
  121. display: flex;
  122. justify-content: center;
  123. }
  124. .line {
  125. height: 2px;
  126. width: 410px;
  127. margin: 3px auto;
  128. background: black;
  129. }
  130. .line:nth-of-type(3) {
  131. margin-bottom: 30px;
  132. }
  133. .header-top {
  134. display: flex;
  135. justify-content: space-between;
  136. }
  137. .sfcard {
  138. background: red;
  139. }
  140. .sfcard-content {
  141. /* display: flex;
  142. align-items: center;
  143. justify-content: space-evenly; */
  144. }
  145. .sfcard-content img {
  146. width: 100%;
  147. height: 80vh;
  148. }
  149. .sfcard-title {
  150. font-size: 28px;
  151. text-align: center;
  152. }
  153. .center {
  154. page-break-after: always
  155. }
  156. .part2 {
  157. page-break-after: always
  158. /* background: red; */
  159. }
  160. .part1 {
  161. page-break-after: always
  162. /* background: red; */
  163. }
  164. .bankcard {
  165. page-break-after: always
  166. /* background: red; */
  167. }
  168. .part5 {
  169. width: 100%
  170. }
  171. .paymentScreenshot {
  172. width: 100%;
  173. height: 130vh
  174. }
  175. /* .onlypz-center{
  176. height: 130vh;
  177. } */
  178. </style>
  179. </head>
  180. <body>
  181. <div id="app" v-cloak>
  182. <div v-if="selectPrint">
  183. <div v-for="(item,index) in printData1" :key="index">
  184. <div class="content">
  185. <!-- <div class="part5" v-if="isShowPrintType5">
  186. <div class="header1">
  187. 付款回执单
  188. </div>
  189. <img :src="printData1[index].codeUrl" class="paymentScreenshot" />
  190. </div> -->
  191. <div class="center" v-if="isShowPrintType3">
  192. <div class="header1">{{ printData1[index].compName}}粮食收购检斤结算单</div>
  193. <div class="line"></div>
  194. <div class="line"></div>
  195. <div class="header">
  196. <div>单位名称:{{ printData1[index].compName}}</div>
  197. <!-- <div>税务登记编号:91230230MA1BNL7Q93</div> -->
  198. </div>
  199. <div class="header-top">
  200. <div>单位:公斤/元</div>
  201. <div>No.</div>
  202. </div>
  203. <div class="header-top">
  204. <div>开票日期:{{printData1[index].createDate}}</div>
  205. <!-- <div>开票日期:{{new Date(yyyy,mm,dd)}}</div> -->
  206. <div class="number">
  207. {{dealNo(printData1[index].paymentNo)}}
  208. </div>
  209. </div>
  210. <table class="table">
  211. <tr class="row">
  212. <td rowspan="4" class="col col-bgc">买方</td>
  213. <td class="col col-bgc">单位名称</td>
  214. <td class="col" colspan="3">
  215. {{ printData1[index].compName}}
  216. </td>
  217. <td rowspan="4" class="col col-bgc">卖方</td>
  218. <td class="col col-bgc">姓名</td>
  219. <td class="col" colspan="4">
  220. {{ printData1[index].customerName}}
  221. </td>
  222. </tr>
  223. <tr class="row">
  224. <td class="col col-bgc">税务登记号</td>
  225. <td class="col" colspan="3">
  226. {{ printData1[index].taxRegistrationNo}}
  227. </td>
  228. <td class="col col-bgc">身份证号</td>
  229. <td class="col" colspan="4">
  230. {{ printData1[index].identityAuthenticationInfo.customerNumberCard}}
  231. </td>
  232. </tr>
  233. <tr class="row">
  234. <td class="col col-bgc">业务编号</td>
  235. <td class="col" colspan="3">
  236. {{ printData1[index].paymentNo}}
  237. </td>
  238. <td class="col col-bgc">卡号</td>
  239. <td class="col" colspan="4">
  240. {{printData1[index].identityAuthenticationInfo.bankDeposit}}{{printData1[index].identityAuthenticationInfo.bankCard}}
  241. </td>
  242. </tr>
  243. <tr class="row">
  244. <td class="col col-bgc">收货仓库</td>
  245. <td v-if="pengyuPrint" class="col" colspan="3">北京天维康油脂调销中心有限公司</td>
  246. <td v-if="!pengyuPrint" class="col" colspan="3">{{printData1[index].warehouseName}}</td>
  247. <td class="col col-bgc">地址</td>
  248. <td class="col" colspan="4">
  249. {{printData1[index].identityAuthenticationInfo.compAddress}}
  250. </td>
  251. </tr>
  252. <tr class="row">
  253. <td class="col col-bgc">货名</td>
  254. <td class="col col-bgc">类型</td>
  255. <td class="col col-bgc">等级</td>
  256. <td class="col col-bgc">水分%</td>
  257. <td class="col col-bgc">杂质%</td>
  258. <td class="col col-bgc">{{printData1[index].goodsName != '大豆'?'容重':'蛋白'}}</td>
  259. <td class="col col-bgc">毛重</td>
  260. <td class="col col-bgc">皮重</td>
  261. <td class="col col-bgc">扣重</td>
  262. <td class="col col-bgc">净重</td>
  263. </tr>
  264. <tr class="row">
  265. <td class="col">{{ printData1[index].goodsName}}</td>
  266. <td class="col">{{ printData1[index].type}}</td>
  267. <td class="col">
  268. {{ printData1[index].qualityInspectionManagement.grade}}
  269. </td>
  270. <td class="col">
  271. {{ printData1[index].qualityInspectionManagement.waterContent}}
  272. </td>
  273. <td class="col">
  274. {{ printData1[index].qualityInspectionManagement.impurity}}
  275. </td>
  276. <td class="col">
  277. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.bulkDensity:''}}
  278. </td>
  279. <td class="col">{{ printData1[index].grossWeight}}</td>
  280. <td class="col">{{ printData1[index].tare}}</td>
  281. <td class="col" v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'
  282. || printData1[index].netWeight == null
  283. || printData1[index].pureWeight == null">
  284. {{printData1[index].weighingManagement?printData1[index].weighingManagement.buckleMiscellaneous:''}}
  285. </td>
  286. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'
  287. && printData1[index].netWeight != null
  288. && printData1[index].pureWeight != null ">
  289. {{printData1[index].netWeight-printData1[index].pureWeight}}</td>
  290. <td class="col">{{ printData1[index].netWeight}}</td>
  291. </tr>
  292. <tr class="row">
  293. <td class="col col-bgc">折干净重</td>
  294. <td class="col col-bgc">
  295. 单价
  296. </td>
  297. <td class="col col-bgc">扣单价</td>
  298. <td class="col col-bgc">粮款</td>
  299. <td class="col col-bgc">霉变粒</td>
  300. <td class="col col-bgc">热损伤</td>
  301. <td class="col col-bgc">不完善粒</td>
  302. <td v-if="printData1[index].type=='潮粮'" class="col col-bgc">扣重比</td>
  303. <td class="col col-bgc">扣量%</td>
  304. <td :colspan="printData1[index].type == '潮粮'?1:2" class="col col-bgc">仓位号</td>
  305. </tr>
  306. <tr class="row">
  307. <td class="col">{{ printData1[index].pureWeight}}</td>
  308. <td class="col " v-if="printData1[index].type == '潮粮' && !pengyuPrint">
  309. {{printData1[index].tidalGrainPrice}}
  310. </td>
  311. <td class="col " v-if="printData1[index].type == '干粮' && !pengyuPrint">
  312. {{printData1[index].qualityInspectionManagement.dryGrainPrice}}
  313. </td>
  314. <td class="col " v-if="pengyuPrint">
  315. {{Number(printData1[index].unitContractPrice/1000).toFixed(3)}}
  316. </td>
  317. <td class="col ">{{ printData1[index].unitDeduction}}</td>
  318. <td class="col " v-if="pengyuPrint">
  319. {{Number(printData1[index].unitContractPrice/1000*printData1[index].pureWeight).toFixed(2)}}
  320. </td>
  321. <td class="col " v-if="!pengyuPrint">
  322. {{printData1[index].grainMoney}}
  323. </td>
  324. <td class="col ">
  325. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.mildewGrain:''}}
  326. </td>
  327. <td class="col ">
  328. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.jiaorenli:''}}
  329. </td>
  330. <td class="col ">
  331. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.imperfectGrain:''}}
  332. </td>
  333. <td class="col ">
  334. {{compId=='6a713699e08c4cbc97a87f7648a95e3d'?'1.25':printData1[index].buckleWeightRatio}}
  335. </td>
  336. <td class="col "
  337. v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'&&printData1[index].type=='潮粮'">{{
  338. (printData1[index].qualityInspectionManagement.waterContent-14.5)*1.25}}</td>
  339. <td class="col "
  340. v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'&&printData1[index].type=='潮粮'">
  341. </td>
  342. <td :colspan="printData1[index].type == '潮粮'?1:2" class="col ">
  343. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.binNumber:''}}
  344. </td>
  345. <!-- <td class="col ">{{ printData1[index].unloadDeduction}}</td> -->
  346. </tr>
  347. <tr class="row">
  348. <td class="col col-bgc">卸车扣款</td>
  349. <td class="col col-bgc">质量扣款</td>
  350. <td class="col col-bgc">其他扣款</td>
  351. <!-- <td class="col col-bgc" v-if="printData.type == '潮粮'">
  352. 纯重单价
  353. </td> -->
  354. <td class="col col-bgc">合计应付</td>
  355. <td class="col col-bgc">购粮性质</td>
  356. <td class="col col-bgc">车牌号</td>
  357. <td class="col col-bgc" colspan="4">记事</td>
  358. </tr>
  359. <tr class="row">
  360. <td class="col ">{{ printData1[index].unloadDeduction}}</td>
  361. <td class="col ">{{ printData1[index].qualityDeduction}}</td>
  362. <td class="col ">{{ printData1[index].otherDeduction}}</td>
  363. <!-- <td class="col " v-if="printData1[index].type == '潮粮'">
  364. {{ printData1[index].solidGrainPrice}}
  365. </td> -->
  366. <td class="col " v-if="pengyuPrint&&printData1[index].type=='潮粮'">
  367. {{Number(printData1[index].unitContractPrice/1000*printData1[index].pureWeight).toFixed(2)}}
  368. </td>
  369. <td class="col " v-if="pengyuPrint&&printData1[index].type!='潮粮'">
  370. {{Number(printData1[index].unitContractPrice/1000*printData1[index].weighingManagement.netWeight).toFixed(2)}}
  371. </td>
  372. <td class="col " v-if="!pengyuPrint">
  373. {{printData1[index].calculationPayable}}
  374. </td>
  375. <td class="col ">
  376. {{ printData1[index].qualityInspectionManagement.natureOfGrainPurchase}}
  377. </td>
  378. <td class="col ">{{ printData1[index].carNo}}</td>
  379. <td class="col " colspan="4">
  380. 质权所有人: 吉林银行
  381. </td>
  382. </tr>
  383. <tr class="row">
  384. <td class="col col-bgc">实付金额</td>
  385. <td class="col " colspan="2">
  386. </td>
  387. <td class="col col-bgc" colspan="3">人民币(大写)</td>
  388. <td class="col " v-if="!pengyuPrint" colspan="4">
  389. {{printData1[index].capitalize}}
  390. </td>
  391. <td class="col " v-if="pengyuPrint" colspan="4">
  392. </td>
  393. </tr>
  394. </table>
  395. <div class="bottom">
  396. <div class="bottom-row1">
  397. <div>
  398. 质检:{{ printData1[index].qualityInspectionManagement.qualityInspector}}
  399. </div>
  400. <div>
  401. 毛检:{{ printData1[index].weighingManagement.secretaryWeigher}}
  402. </div>
  403. <div>
  404. 皮检:{{ printData1[index].weighingManagement.skinInspector}}
  405. </div>
  406. <div>结算:{{ printData1[index].settlementClerk}}</div>
  407. <div>付款:{{ printData1[index].cashier}}</div>
  408. <div>复点:{{ }}</div>
  409. <div></div>
  410. </div>
  411. <div class="bottom-row2">
  412. <!-- <div class="left">
  413. <img src="../../../../public/img/add.png" alt="" />
  414. </div> -->
  415. <div class="config">收货单位签名或盖章</div>
  416. <div class="">客户签名</div>
  417. </div>
  418. <!-- <div class="bottom-row3">扫一扫</div> -->
  419. <!-- <div class="bottom-row4">
  420. <el-button type="primary">关闭</el-button>
  421. <el-button type="primary" @click="printSmall">打印小票</el-button>
  422. <el-button type="primary" @click="printBig">打印单据</el-button>
  423. </div> -->
  424. </div>
  425. </div>
  426. <div v-if="isShowPrintType4" class="part2">
  427. <div style="height: 120px;">
  428. <div class="title">入库检斤单</div>
  429. <!-- <div class="leftimg">
  430. <img :src="printData1[index].weighingManagement.codeUrl" alt="">
  431. </div> -->
  432. <div class="number1">{{printData1[index].weighingManagement.number}}</div>
  433. </div>
  434. <table class="table">
  435. <tr class="row">
  436. <td class="col col-bgc">客户姓名</td>
  437. <td class="col" colspan="2">{{printData1[index].weighingManagement.customer}}</td>
  438. <td class="col col-bgc">客户电话</td>
  439. <td class="col">{{printData1[index].weighingManagement.customerPhone}}</td>
  440. <td class="col col-bgc">车牌号</td>
  441. <td class="col" colspan="2">{{printData1[index].weighingManagement.carNumber}}</td>
  442. </tr>
  443. <tr class="row">
  444. <td class="col col-bgc">收货单位</td>
  445. <td class="col" colspan="2">{{printData1[index].weighingManagement.compName}}</td>
  446. <td class="col col-bgc">联系人</td>
  447. <td class="col">{{printData1[index].weighingManagement.person}}</td>
  448. <td class="col col-bgc">联系电话</td>
  449. <td class="col" colspan="2">{{printData1[index].weighingManagement.personPhone}}</td>
  450. </tr>
  451. <tr class="row">
  452. <td class="col col-bgc">货名</td>
  453. <td class="col">{{printData1[index].weighingManagement.goodsName}}</td>
  454. <td class="col col-bgc">类型</td>
  455. <td class="col">{{printData1[index].weighingManagement.type}}</td>
  456. <td class="col col-bgc">{{printData1[index].weighingManagement.goodsName ==
  457. '大豆'?'蛋白':'容量(克/升)'}}</td>
  458. <td class="col">
  459. {{printData1[index].weighingManagement.goodsName ==
  460. '大豆'?printData1[index].qualityInspectionManagement.protein:printData1[index].qualityInspectionManagement.bulkDensity}}
  461. </td>
  462. <td class="col col-bgc">{{printData1[index].weighingManagement.goodsName ==
  463. '大豆'?'完整粒率(%)':'不完善粒(%)'}}</td>
  464. <td class="col">
  465. {{printData1[index].weighingManagement.goodsName ==
  466. '大豆'?printData1[index].qualityInspectionManagement.completeGrain:printData1[index].qualityInspectionManagement.imperfectGrain}}
  467. </td>
  468. </tr>
  469. <tr class="row">
  470. <td class="col col-bgc">等级</td>
  471. <td class="col">
  472. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.grade:''}}
  473. </td>
  474. <td class="col col-bgc">水分(%)</td>
  475. <td class="col">
  476. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.waterContent:''}}
  477. </td>
  478. <td class="col col-bgc">热损伤(%)</td>
  479. <td class="col">
  480. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.jiaorenli:''}}
  481. </td>
  482. <td class="col col-bgc">质检时间</td>
  483. <td class="col">
  484. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.qualityDate:''}}
  485. </td>
  486. </tr>
  487. <tr class="row">
  488. <td class="col col-bgc">杂质(%)</td>
  489. <td class="col">
  490. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.impurity:''}}
  491. </td>
  492. <td class="col col-bgc">霉变粒(%)</td>
  493. <td class="col">
  494. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.mildewGrain:''}}
  495. </td>
  496. <td class="col col-bgc">扣杂</td>
  497. <td class="col">
  498. {{printData1[index].qualityInspectionManagement?printData1[index].qualityInspectionManagement.buckleMiscellaneous:''}}
  499. </td>
  500. <td class="col " colspan="2"></td>
  501. </tr>
  502. <tr class="row">
  503. <td class="col col-bgc">毛重(公斤)</td>
  504. <td class="col">{{printData1[index].weighingManagement.grossWeight}}</td>
  505. <td class="col col-bgc">皮重(公斤)</td>
  506. <td class="col">{{printData1[index].weighingManagement.tare}}</td>
  507. <td class="col col-bgc">扣重(公斤)</td>
  508. <td class="col" v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'
  509. || printData1[index].netWeight == null
  510. || printData1[index].pureWeight == null">
  511. {{printData1[index].weighingManagement?printData1[index].weighingManagement.buckleMiscellaneous:''}}
  512. </td>
  513. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'
  514. && printData1[index].netWeight != null
  515. && printData1[index].pureWeight != null ">
  516. {{printData1[index].netWeight-printData1[index].pureWeight}}</td>
  517. <!-- <td class="col">{{printData1[index].weighingManagement.buckleMiscellaneous}}</td> -->
  518. <td class="col col-bgc">净重(公斤)</td>
  519. <td class="col">{{printData1[index].weighingManagement.netWeight}}</td>
  520. </tr>
  521. <tr class="row">
  522. <td class="col col-bgc" colspan="2">毛重检斤时间</td>
  523. <td class="col" colspan="2">{{printData1[index].weighingManagement.grossDate}}</td>
  524. <td class="col col-bgc" colspan="2">皮重检斤时间</td>
  525. <td class="col" colspan="2">{{printData1[index].weighingManagement.tareDate}}</td>
  526. </tr>
  527. </table>
  528. <div class="bottom">
  529. <div class="bottom-row1">
  530. <div>毛检:{{printData1[index].weighingManagement.secretaryWeigher}}</div>
  531. <div style="margin-left:60px">
  532. 皮检:{{printData1[index].weighingManagement.skinInspector}}
  533. </div>
  534. <!-- <div>{{tableData.qualityDate}}</div> -->
  535. </div>
  536. <div class="bottom-row2">
  537. <!-- <div class="leftimg">
  538. <img src="../img/add.png" alt="">
  539. </div> -->
  540. <div class="config">收货单位签名或盖章:</div>
  541. <div class="autograph">客户签名:</div>
  542. </div>
  543. <!-- <div class="bottom-row3">扫一扫</div> -->
  544. </div>
  545. </div>
  546. <div class="part1" v-if="isShowPrintType1">
  547. <div class="sfcard-content">
  548. <div class="sfcard-title">
  549. {{
  550. printData1[index].customerName}}{{printData1[index].identityAuthenticationInfo.customerNumberCard}}
  551. </div>
  552. <img :src="customerList1[index].imgURl.imageUrl1" class="avatar" />
  553. </div>
  554. <!-- <div class="sfcard-content">
  555. <div class="sfcard-title">
  556. {{
  557. printData1[index].customerName}}{{printData1[index].identityAuthenticationInfo.customerNumberCard}}
  558. </div>
  559. <img :src="customerList1[index].imgURl.imageUrl2" class="avatar" />
  560. </div> -->
  561. </div>
  562. <div class="bankcard" v-if="isShowPrintType2">
  563. <div class="sfcard-content part2">
  564. <div class="sfcard-title">
  565. {{printData1[index].bankDeposit}}{{printData1[index].bankCard}}
  566. </div>
  567. <!-- <img :src="customerList1[index].imgURl.imageUrl3" class="avatar" /> -->
  568. <img v-if="printData1[index].imgURl" :src="printData1[index].imgURl.imageUrl3"
  569. class="avatar" />
  570. <img v-else class="avatar" />
  571. <!-- <img v-if="printData1[index].imgURl" :src="printData1[index].imgURl.imageUrl4" class="avatar" />
  572. <img v-else class="avatar" /> -->
  573. </div>
  574. <!-- <div class="sfcard-content part2">
  575. <div class="sfcard-title">
  576. {{printData1[index].identityAuthenticationInfo.bankDeposit}}{{printData1[index].identityAuthenticationInfo.bankCard}}
  577. </div>
  578. <img :src="customerList1[index].imgURl.imageUrl4" class="avatar" />
  579. </div> -->
  580. </div>
  581. <div class="bankcard" v-if="isShowPrintType7&&printData1[index].selfCertificateURL">
  582. <div class="sfcard-content part2">
  583. <img v-if="printData1[index].selfCertificateURL" :src="printData1[index].selfCertificateURL"
  584. class="avatar" />
  585. </div>
  586. </div>
  587. </div>
  588. </div>
  589. </div>
  590. <div class="content" v-else>
  591. <!-- <div class="part5" v-if="isShowPrintType5">
  592. <div class="header1">
  593. 付款回执单
  594. </div>
  595. <img :src="printData.paymentScreenshot" class="paymentScreenshot" />
  596. </div> -->
  597. <div class="center part1" v-if="isShowPrintType3&&!isShowPrintType6"
  598. :class="printData.extra2? 'simple2':!selectPrint? 'simple':''">
  599. <div class="header1">{{ printData.compName}}({{printData.warehouseName}})检斤结算单</div>
  600. <div class="line"></div>
  601. <div class="line"></div>
  602. <div class="header">
  603. <div>单位名称:{{ printData.compName}}</div>
  604. <!-- <div>税务登记编号:91230230MA1BNL7Q93</div> -->
  605. </div>
  606. <div class="header-top">
  607. <div>单位:公斤/元</div>
  608. <div>No.</div>
  609. </div>
  610. <div class="header-top">
  611. <div>开票日期:{{printData.createDate}}</div>
  612. <!-- <div>开票日期:{{new Date(yyyy,mm,dd)}}</div> -->
  613. <div class="number">{{dealNo(printData.paymentNo)}}</div>
  614. </div>
  615. <table class="table">
  616. <tr class="row">
  617. <td rowspan="4" class="col col-bgc">买方</td>
  618. <td class="col col-bgc">单位名称</td>
  619. <td class="col" colspan="3">{{ printData.compName}}</td>
  620. <td rowspan="4" class="col col-bgc">卖方</td>
  621. <td class="col col-bgc" v-if="!printData.extra1">姓名</td>
  622. <td class="col col-bgc" v-else>单位名称</td>
  623. <td class="col" colspan="4" v-if="!printData.extra1">{{ printData.customerName}}</td>
  624. <td class="col" colspan="4" v-else>{{ printData.contractManagement.seller}}</td>
  625. </tr>
  626. <tr class="row">
  627. <td class="col col-bgc">联系人</td>
  628. <td class="col" colspan="3">{{ printData.person}}</td>
  629. <td v-if="!printData.extra1" class="col col-bgc">身份证号</td>
  630. <td v-else class="col col-bgc">联系人</td>
  631. <td v-if="!printData.extra1" class="col" colspan="4">
  632. {{ printData.identityAuthenticationInfo.customerNumberCard}}
  633. </td>
  634. <td v-else-if="printData.contractManagement.seller == '富裕县人和晟粮食商贸有限公司'" class="col" colspan="4">
  635. 郭传亮
  636. </td>
  637. <td v-else class="col" colspan="4">
  638. {{ printData.customerName}}
  639. </td>
  640. </tr>
  641. <tr class="row">
  642. <td class="col col-bgc">联系电话</td>
  643. <td class="col" colspan="3">{{ printData.personPhone}}</td>
  644. <td v-if="!printData.extra1" class="col col-bgc">卡号</td>
  645. <td v-else class="col col-bgc">联系电话</td>
  646. <td v-if="!printData.extra1" class="col" colspan="4">
  647. {{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}
  648. </td>
  649. <td v-else-if="printData.contractManagement.seller == '富裕县人和晟粮食商贸有限公司'" class="col" colspan="4">
  650. 15174590000
  651. </td>
  652. <td v-else class="col" colspan="4">
  653. {{printData.customerPhone}}
  654. </td>
  655. </tr>
  656. <tr class="row">
  657. <td class="col col-bgc">收货仓库</td>
  658. <td v-if="!printData.extra1" class="col" colspan="3">{{printData.warehouseName}}</td>
  659. <td v-else class="col" colspan="3">依安县先锋粮库有限公司新屯分公司</td>
  660. <td v-if="!printData.extra1" class="col col-bgc">地址</td>
  661. <td v-else class="col col-bgc"></td>
  662. <td v-if="!printData.extra1" class="col" colspan="4">
  663. {{printData.identityAuthenticationInfo.compAddress}}
  664. </td>
  665. <td v-else class="col" colspan="4"></td>
  666. </tr>
  667. <tr class="row">
  668. <td class="col col-bgc">货名</td>
  669. <td class="col col-bgc">类型</td>
  670. <td class="col col-bgc">等级</td>
  671. <td class="col col-bgc">水分%</td>
  672. <td class="col col-bgc">杂质%</td>
  673. <td class="col col-bgc">{{printData.goodsName!= '大豆'?'容重':'蛋白'}}</td>
  674. <td class="col col-bgc">毛重</td>
  675. <td class="col col-bgc">皮重</td>
  676. <td class="col col-bgc">扣重</td>
  677. <td class="col col-bgc">净重</td>
  678. <!-- <td class="col col-bgc">出库净重</td> -->
  679. <!-- <td class="col col-bgc">纯重</td> -->
  680. </tr>
  681. <tr class="row">
  682. <td class="col">{{ printData.goodsName}}</td>
  683. <td class="col">{{ printData.type}}</td>
  684. <td class="col">
  685. {{ printData.qualityInspectionManagement.grade}}
  686. </td>
  687. <td class="col">
  688. {{ printData.qualityInspectionManagement.waterContent}}
  689. </td>
  690. <td class="col">
  691. {{ printData.qualityInspectionManagement.impurity}}
  692. </td>
  693. <td class="col">{{printData.goodsName==
  694. '大豆'?printData.qualityInspectionManagement.protein:printData.qualityInspectionManagement.bulkDensity}}
  695. </td>
  696. <td class="col">{{ printData.grossWeight}}</td>
  697. <td class="col">{{ printData.tare}}</td>
  698. <td class="col" v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'
  699. || printData.netWeight == null
  700. || printData.pureWeight == null">
  701. {{printData.weighingManagement?printData.weighingManagement.buckleMiscellaneous:''}}
  702. </td>
  703. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'
  704. && printData.netWeight != null
  705. && printData.pureWeight != null ">{{printData.netWeight-printData.pureWeight}}</td>
  706. <!-- <td class="col">
  707. {{ printData.weighingManagement.buckleMiscellaneous}}
  708. </td> -->
  709. <td class="col">{{ printData.netWeight}}</td>
  710. <!-- <td class="col">{{ printData.pureWeight}}</td> -->
  711. </tr>
  712. <tr class="row">
  713. <td class="col col-bgc">折干净重</td>
  714. <td class="col col-bgc">单价</td>
  715. <td class="col col-bgc">扣单价</td>
  716. <td class="col col-bgc">粮款</td>
  717. <td class="col col-bgc">霉变粒</td>
  718. <td class="col col-bgc">热损伤</td>
  719. <td class="col col-bgc">{{printData.goodsName== '大豆'?'完整粒率(%)':"不完善粒"}}</td>
  720. <td class="col col-bgc">扣重比</td>
  721. <td v-if="printData.type == '潮粮'" class="col col-bgc">扣量%</td>
  722. <td :colspan="printData.type == '潮粮'?1:2" class="col col-bgc">仓位号</td>
  723. <!-- <td class="col col-bgc">1卸车扣款</td> -->
  724. </tr>
  725. <tr class="row">
  726. <td class="col">{{ printData.pureWeight}}</td>
  727. <td class="col " v-if="printData.type == '潮粮' && !printData.extra1">
  728. {{printData.tidalGrainPrice}}
  729. </td>
  730. <td class="col " v-if="printData.type == '干粮' && !printData.extra1">
  731. {{printData.qualityInspectionManagement.dryGrainPrice}}
  732. </td>
  733. <td class="col " v-if="printData.extra1">
  734. 0
  735. </td>
  736. <td class="col " v-if="!printData.extra1">{{ printData.unitDeduction}}</td>
  737. <td class="col " v-else>0</td>
  738. <td class="col " v-if="!printData.extra1">
  739. {{printData.grainMoney}}
  740. </td>
  741. <td class="col " v-else>0</td>
  742. <td class="col "> {{printData.qualityInspectionManagement.mildewGrain}}</td>
  743. <td class="col "> {{printData.qualityInspectionManagement.jiaorenli}}</td>
  744. <td class="col "> {{printData.goodsName==
  745. '大豆'?printData.qualityInspectionManagement.completeGrain:printData.qualityInspectionManagement.imperfectGrain}}
  746. </td>
  747. <td class="col ">
  748. {{compId=='6a713699e08c4cbc97a87f7648a95e3d'?'1.25':printData.buckleWeightRatio}}</td>
  749. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type == '潮粮'">{{
  750. (printData.qualityInspectionManagement.waterContent-14.5)*1.25}}</td>
  751. <td class="col " v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type == '潮粮'"></td>
  752. <td :colspan="printData.type == '潮粮'?1:2" class="col ">
  753. {{printData.qualityInspectionManagement.binNumber}}</td>
  754. <!-- <td class="col ">{{ printData.unloadDeduction}}</td> -->
  755. </tr>
  756. <tr class="row">
  757. <td class="col col-bgc">卸车扣款</td>
  758. <td class="col col-bgc">质量扣款</td>
  759. <td class="col col-bgc">其他扣款</td>
  760. <!-- <td class="col col-bgc" v-if="printData.type == '潮粮'">
  761. 纯重单价
  762. </td> -->
  763. <td class="col col-bgc">合计应付</td>
  764. <td class="col col-bgc">购粮性质</td>
  765. <td class="col col-bgc">车牌号</td>
  766. <td class="col col-bgc" colspan="4">记事</td>
  767. </tr>
  768. <tr class="row">
  769. <td class="col ">{{ printData.unloadDeduction}}</td>
  770. <td class="col ">{{ printData.qualityDeduction}}</td>
  771. <td class="col ">{{ printData.otherDeduction}}</td>
  772. <!-- <td class="col " v-if="printData.type == '潮粮'">
  773. {{ printData.solidGrainPrice}}
  774. </td> -->
  775. <td class="col " v-if="!printData.extra1">
  776. {{printData.calculationPayable}}
  777. </td>
  778. <td class="col " v-else>
  779. 0
  780. </td>
  781. <td class="col ">
  782. {{ printData.qualityInspectionManagement.natureOfGrainPurchase}}
  783. </td>
  784. <td class="col ">{{ printData.carNo}}</td>
  785. <td class="col " v-if="printData.extra1" colspan="4">货权所有人: {{ printData.compName}}</td>
  786. <td class="col " v-else colspan="4">质权所有人: 吉林银行</td>
  787. </tr>
  788. <tr class="row">
  789. <td class="col col-bgc">实付金额</td>
  790. <td class="col " colspan="2"></td>
  791. <td class="col col-bgc" colspan="3">人民币(大写)</td>
  792. <td class="col " v-if="!printData.extra1" colspan="4">
  793. {{printData.capitalize}}
  794. </td>
  795. <td class="col " v-else colspan="4">
  796. </td>
  797. </tr>
  798. </table>
  799. <div class="bottom">
  800. <div class="bottom-row1">
  801. <div class="autograph">质检员:</div>
  802. <div class="autograph">检斤员:</div>
  803. <div class="autograph">买方:</div>
  804. <div class="autograph">卖方:</div>
  805. <div class="autograph">司机:</div>
  806. </div>
  807. </div>
  808. </div>
  809. <div class="center part1" v-if="isShowPrintType3&&printData.extra2||isShowPrintType6"
  810. :class="printData.extra2? 'simple2':!selectPrint? 'simple':''">
  811. <div class="header1">{{ print_company_name_ew}}粮食收购检斤结算单</div>
  812. <div class="line"></div>
  813. <div class="line"></div>
  814. <div class="header">
  815. <div>单位名称:{{ print_company_name_ew}}</div>
  816. <!-- <div>税务登记编号:91230230MA1BNL7Q93</div> -->
  817. </div>
  818. <div class="header-top">
  819. <div>单位:公斤/元</div>
  820. <div>No.</div>
  821. </div>
  822. <div class="header-top">
  823. <div>开票日期:{{printData.createDate}}</div>
  824. <!-- <div>开票日期:{{new Date(yyyy,mm,dd)}}</div> -->
  825. <div class="number">{{dealNo(printData.paymentNo)}}</div>
  826. </div>
  827. <table class="table">
  828. <td rowspan="2" class="col col-bgc">买方</td>
  829. <td class="col col-bgc">单位名称</td>
  830. <td class="col" colspan="3">{{ print_company_name_ew}}</td>
  831. <td rowspan="4" class="col col-bgc">客户</td>
  832. <td class="col col-bgc">姓名</td>
  833. <td class="col" colspan="4">{{printData.customerName}}</td>
  834. </tr>
  835. <tr class="row">
  836. <td class="col col-bgc">收货仓库</td>
  837. <td v-if="pengyuPrint" class="col" colspan="3">北京天维康油脂调销中心有限公司</td>
  838. <td v-if="!pengyuPrint" class="col" colspan="3">
  839. {{printData.warehouseName=='洮南新友谊兴旺库'?'建发农产品-洮南安定自管仓':printData.warehouseName}}</td>
  840. <td class="col col-bgc">身份证号</td>
  841. <td class="col" colspan="4">
  842. {{ printData.identityAuthenticationInfo.customerNumberCard}}
  843. </td>
  844. </tr>
  845. <tr class="row">
  846. <td rowspan="2" class="col col-bgc">卖方</td>
  847. <td class="col col-bgc">单位名称</td>
  848. <td class="col" colspan="3">{{ print_customer_name_ew}}</td>
  849. <td class="col col-bgc">卡号</td>
  850. <td class="col" colspan="4">
  851. {{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}
  852. </td>
  853. </tr>
  854. <tr class="row">
  855. <td class="col col-bgc">联系人</td>
  856. <td class="col" colspan="1">{{printData.warehouseName=='洮南新友谊兴旺库'?'程冬冬':''}}</td>
  857. <td class="col col-bgc">联系电话</td>
  858. <td class="col" colspan="1">{{printData.warehouseName=='洮南新友谊兴旺库'?'13946256986':''}}</td>
  859. <td class="col col-bgc">地址</td>
  860. <td class="col" colspan="4">{{printData.identityAuthenticationInfo.compAddress}}</td>
  861. </tr>
  862. <tr class="row">
  863. <td class="col col-bgc">货名</td>
  864. <td class="col col-bgc">类型</td>
  865. <td class="col col-bgc">等级</td>
  866. <td class="col col-bgc">水分%</td>
  867. <td class="col col-bgc">杂质%</td>
  868. <td class="col col-bgc">{{printData.goodsName== '大豆'?'蛋白':'容重'}}</td>
  869. <td class="col col-bgc">毛重</td>
  870. <td class="col col-bgc">皮重</td>
  871. <td class="col col-bgc">扣重</td>
  872. <td class="col col-bgc">净重</td>
  873. <!-- <td class="col col-bgc">出库净重</td> -->
  874. <!-- <td class="col col-bgc">纯重</td> -->
  875. </tr>
  876. <tr class="row">
  877. <td class="col">{{ printData.goodsName}}</td>
  878. <td class="col">{{ printData.type}}</td>
  879. <td class="col">
  880. {{ printData.qualityInspectionManagement.grade}}
  881. </td>
  882. <td class="col">
  883. {{ printData.qualityInspectionManagement.waterContent}}
  884. </td>
  885. <td class="col">
  886. {{ printData.qualityInspectionManagement.impurity}}
  887. </td>
  888. <td class="col">{{printData.goodsName==
  889. '大豆'?printData.qualityInspectionManagement.protein:printData.qualityInspectionManagement.bulkDensity}}
  890. </td>
  891. <td class="col">{{ printData.grossWeight}}</td>
  892. <td class="col">{{ printData.tare}}</td>
  893. <td class="col" v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'
  894. || printData.netWeight == null
  895. || printData.pureWeight == null">
  896. {{printData.weighingManagement?printData.weighingManagement.buckleMiscellaneous:''}}
  897. </td>
  898. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'
  899. && printData.netWeight != null
  900. && printData.pureWeight != null ">{{printData.netWeight-printData.pureWeight}}</td>
  901. <!-- <td class="col">
  902. {{ printData.weighingManagement.buckleMiscellaneous}}
  903. </td> -->
  904. <td class="col">{{ printData.netWeight}}</td>
  905. <!-- <td class="col">{{ printData.pureWeight}}</td> -->
  906. </tr>
  907. <tr class="row">
  908. <td class="col col-bgc">折干净重</td>
  909. <td class="col col-bgc">单价</td>
  910. <td class="col col-bgc">扣单价</td>
  911. <td class="col col-bgc">粮款</td>
  912. <td class="col col-bgc">霉变粒</td>
  913. <td class="col col-bgc">热损伤</td>
  914. <td class="col col-bgc">{{printData.goodsName== '大豆'?'完整粒率(%)':'不完善粒'}}</td>
  915. <td class="col col-bgc">扣重比</td>
  916. <td v-if="printData.type == '潮粮'" class="col col-bgc">扣量%</td>
  917. <td :colspan="printData.type == '潮粮'?1:2" class="col col-bgc">仓位号</td>
  918. <!-- <td class="col col-bgc">1卸车扣款</td> -->
  919. </tr>
  920. <tr class="row">
  921. <td class="col">{{ printData.pureWeight}}</td>
  922. <td class="col " v-if="printData.type == '潮粮' && !pengyuPrint">
  923. {{printData.tidalGrainPrice}}
  924. </td>
  925. <td class="col " v-if="printData.type == '干粮' && !pengyuPrint">
  926. {{printData.qualityInspectionManagement.dryGrainPrice}}
  927. </td>
  928. <td class="col " v-if="pengyuPrint">
  929. {{Number(printData.unitContractPrice/1000).toFixed(3)}}
  930. </td>
  931. <td class="col ">{{ printData.unitDeduction}}</td>
  932. <td class="col " v-if="pengyuPrint">
  933. {{Number(printData.unitContractPrice/1000*printData.pureWeight).toFixed(2)}}
  934. </td>
  935. <td class="col " v-if="!pengyuPrint">
  936. {{printData.grainMoney}}
  937. </td>
  938. <td class="col "> {{printData.qualityInspectionManagement.mildewGrain}}</td>
  939. <td class="col "> {{printData.qualityInspectionManagement.jiaorenli}}</td>
  940. <td class="col "> {{printData.goodsName==
  941. '大豆'?printData.qualityInspectionManagement.completeGrain:printData.qualityInspectionManagement.imperfectGrain}}
  942. </td>
  943. <td class="col ">
  944. {{compId=='6a713699e08c4cbc97a87f7648a95e3d'?'1.25':printData.buckleWeightRatio}}</td>
  945. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type != '潮粮'">{{
  946. (printData.qualityInspectionManagement.waterContent-14.5)*1.25}}</td>
  947. <td class="col " v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type != '潮粮'"></td>
  948. <td :colspan="printData.type == '潮粮'?1:2" class="col ">
  949. {{printData.qualityInspectionManagement.binNumber}}</td>
  950. <!-- <td class="col ">{{ printData.unloadDeduction}}</td> -->
  951. </tr>
  952. <tr class="row">
  953. <td class="col col-bgc">卸车扣款</td>
  954. <td class="col col-bgc">质量扣款</td>
  955. <td class="col col-bgc">其他扣款</td>
  956. <!-- <td class="col col-bgc" v-if="printData.type == '潮粮'">
  957. 纯重单价
  958. </td> -->
  959. <td class="col col-bgc">合计应付</td>
  960. <td class="col col-bgc">购粮性质</td>
  961. <td class="col col-bgc">车牌号</td>
  962. <td class="col col-bgc" colspan="4">记事</td>
  963. </tr>
  964. <tr class="row">
  965. <td class="col ">{{ printData.unloadDeduction}}</td>
  966. <td class="col ">{{ printData.qualityDeduction}}</td>
  967. <td class="col ">{{ printData.otherDeduction}}</td>
  968. <!-- <td class="col " v-if="printData.type == '潮粮'">
  969. {{ printData.solidGrainPrice}}
  970. </td> -->
  971. <td class="col " v-if="pengyuPrint&&printData.type != '潮粮'">
  972. {{Number(printData.unitContractPrice/1000*printData.pureWeight).toFixed(2)}}
  973. </td>
  974. <td class="col " v-if="pengyuPrint&&printData.type != '潮粮'">
  975. {{Number(printData.unitContractPrice/1000*printData.weighingManagement.netWeight).toFixed(2)}}
  976. </td>
  977. <td class="col " v-if="!pengyuPrint">
  978. {{printData.calculationPayable}}
  979. </td>
  980. <td class="col ">
  981. {{ printData.qualityInspectionManagement.natureOfGrainPurchase}}
  982. </td>
  983. <td class="col ">{{ printData.carNo}}</td>
  984. <td class="col " colspan="4">质权所有人: 吉林银行</td>
  985. </tr>
  986. <tr class="row">
  987. <td class="col col-bgc">实付金额</td>
  988. <td class="col " colspan="2"></td>
  989. <td class="col col-bgc" colspan="3">人民币(大写)</td>
  990. <td class="col " v-if="!pengyuPrint" colspan="4">
  991. {{printData.capitalize}}
  992. </td>
  993. <td class="col " v-if="pengyuPrint" colspan="4">
  994. </td>
  995. </tr>
  996. </table>
  997. <div class="bottom">
  998. <div class="bottom-row1">
  999. <div>
  1000. 质检:{{ printData.qualityInspectionManagement.qualityInspector}}
  1001. </div>
  1002. <div>
  1003. 毛检:{{ printData.weighingManagement.secretaryWeigher}}
  1004. </div>
  1005. <div>皮检:{{ printData.weighingManagement.skinInspector}}</div>
  1006. <div>结算:{{ printData.settlementClerk}}</div>
  1007. <div>付款:{{ printData.cashier}}</div>
  1008. <div>复点:{{ }}</div>
  1009. <div></div>
  1010. </div>
  1011. <div class="bottom-row2">
  1012. <!-- <div class="left">
  1013. <img src="../../../../public/img/add.png" alt="" />
  1014. </div> -->
  1015. <div class="config">收货单位签名或盖章</div>
  1016. <div class="config">客户签名</div>
  1017. <div class="">司机签名</div>
  1018. </div>
  1019. <!-- <div class="bottom-row3">扫一扫</div> -->
  1020. <!-- <div class="bottom-row4">
  1021. <el-button type="primary">关闭</el-button>
  1022. <el-button type="primary" @click="printSmall">打印小票</el-button>
  1023. <el-button type="primary" @click="printBig">打印单据</el-button>
  1024. </div> -->
  1025. </div>
  1026. </div>
  1027. <div v-if="isShowPrintType4" class="part2">
  1028. <div>
  1029. <div class="title">入库检斤单</div>
  1030. <!-- <div class="leftimg">
  1031. <img :src="tableData.codeUrl" alt="">
  1032. </div> -->
  1033. <div class="number1">{{tableData.number}}</div>
  1034. </div>
  1035. <table class="table">
  1036. <tr class="row">
  1037. <td class="col col-bgc">客户姓名</td>
  1038. <td class="col" colspan="2">{{tableData.customer}}</td>
  1039. <td class="col col-bgc">客户电话</td>
  1040. <td class="col">{{tableData.customerPhone}}</td>
  1041. <td class="col col-bgc">车牌号</td>
  1042. <td class="col" colspan="2">{{tableData.carNumber}}</td>
  1043. </tr>
  1044. <tr class="row">
  1045. <td class="col col-bgc">收货单位</td>
  1046. <td class="col" colspan="2">{{tableData.compName}}</td>
  1047. <td class="col col-bgc">联系人</td>
  1048. <td class="col">{{tableData.person}}</td>
  1049. <td class="col col-bgc">联系电话</td>
  1050. <td class="col" colspan="2">{{tableData.personPhone}}</td>
  1051. </tr>
  1052. <tr class="row">
  1053. <td class="col col-bgc">货名</td>
  1054. <td class="col">{{tableData.goodsName}}</td>
  1055. <td class="col col-bgc">类型</td>
  1056. <td class="col">{{tableData.type}}</td>
  1057. <td class="col col-bgc">{{tableData.goodsName == '大豆'?'蛋白':'容量(克/升)'}}</td>
  1058. <td class="col">
  1059. {{tableData.goodsName ==
  1060. '大豆'?tableData.qualityInspectionManagement.protein:tableData.qualityInspectionManagement.bulkDensity}}
  1061. </td>
  1062. <td class="col col-bgc">{{tableData.goodsName == '大豆'?'完整粒率(%)':'不完善粒(%)'}}</td>
  1063. <td class="col">
  1064. {{tableData.goodsName ==
  1065. '大豆'?tableData.qualityInspectionManagement.completeGrain:tableData.qualityInspectionManagement.imperfectGrain}}
  1066. </td>
  1067. </tr>
  1068. <tr class="row">
  1069. <td class="col col-bgc">等级</td>
  1070. <td class="col">
  1071. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.grade:''}}
  1072. </td>
  1073. <td class="col col-bgc">水分(%)</td>
  1074. <td class="col">
  1075. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.waterContent:''}}
  1076. </td>
  1077. <td class="col col-bgc">热损伤(%)</td>
  1078. <td class="col">
  1079. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.jiaorenli:''}}
  1080. </td>
  1081. <td class="col col-bgc">质检时间</td>
  1082. <td class="col">
  1083. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.qualityDate:''}}
  1084. </td>
  1085. </tr>
  1086. <tr class="row">
  1087. <td class="col col-bgc">杂质(%)</td>
  1088. <td class="col">
  1089. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.impurity:''}}
  1090. </td>
  1091. <td class="col col-bgc">霉变粒(%)</td>
  1092. <td class="col">
  1093. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.mildewGrain:''}}
  1094. </td>
  1095. <td class="col col-bgc">扣杂</td>
  1096. <td class="col">
  1097. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.buckleMiscellaneous:''}}
  1098. </td>
  1099. <td class="col " colspan="2"></td>
  1100. </tr>
  1101. <tr class="row">
  1102. <td class="col col-bgc">毛重(公斤)</td>
  1103. <td class="col">{{tableData.grossWeight}}</td>
  1104. <td class="col col-bgc">皮重(公斤)</td>
  1105. <td class="col">{{tableData.tare}}</td>
  1106. <td class="col col-bgc">扣重(公斤)</td>
  1107. <td class="col">{{tableData.buckleMiscellaneous}}</td>
  1108. <td class="col col-bgc">净重(公斤)</td>
  1109. <td class="col">{{tableData.netWeight}}</td>
  1110. </tr>
  1111. <tr class="row">
  1112. <td class="col col-bgc" colspan="2">毛重检斤时间</td>
  1113. <td class="col" colspan="2">{{tableData.grossDate}}</td>
  1114. <td class="col col-bgc" colspan="2">皮重检斤时间</td>
  1115. <td class="col" colspan="2">{{tableData.tareDate}}</td>
  1116. </tr>
  1117. </table>
  1118. <div class="bottom">
  1119. <div class="bottom-row1">
  1120. <div>毛检:{{tableData.secretaryWeigher}}</div>
  1121. <div style="margin-left:60px">
  1122. 皮检:{{tableData.skinInspector}}
  1123. </div>
  1124. <!-- <div>{{tableData.qualityDate}}</div> -->
  1125. </div>
  1126. <div class="bottom-row2">
  1127. <!-- <div class="left">
  1128. <img src="../img/add.png" alt="">
  1129. </div> -->
  1130. <div class="config">收货单位签名或盖章:</div>
  1131. <div class="autograph">客户签名:</div>
  1132. </div>
  1133. <!-- <div class="bottom-row3">扫一扫</div> -->
  1134. </div>
  1135. </div>
  1136. <div class="sfcard part3" v-if="isShowPrintType1">
  1137. <div class="sfcard-content">
  1138. <div class="sfcard-title">
  1139. {{ printData.customerName}}{{ printData.identityAuthenticationInfo.customerNumberCard}}
  1140. </div>
  1141. <img :src="imageUrl1" class="avatar" />
  1142. </div>
  1143. <!-- <div class="sfcard-content">
  1144. <div class="sfcard-title">
  1145. {{ printData.customerName}}{{ printData.identityAuthenticationInfo.customerNumberCard}}
  1146. </div>
  1147. <img :src="imageUrl2" class="avatar" />
  1148. </div> -->
  1149. </div>
  1150. <div class="bankcard part4" v-if="isShowPrintType2">
  1151. <div class="sfcard-content">
  1152. <div class="sfcard-title">
  1153. {{printData.bankDeposit}}{{printData.bankCard}}
  1154. </div>
  1155. <img :src="imageUrl3" class="avatar" />
  1156. </div>
  1157. <!-- <div class="sfcard-content">
  1158. <div class="sfcard-title">
  1159. {{printData.bankDeposit}}{{printData.bankCard}}
  1160. </div>
  1161. <img :src="imageUrl4" class="avatar" />
  1162. </div> -->
  1163. </div>
  1164. </div>
  1165. <div class="small-content" v-if="smallContent">
  1166. <div class="small-title">
  1167. <div>
  1168. {{printData.compName}}粮食收购检斤结算单
  1169. </div>
  1170. <img class="small-img" src="../img/add.png" alt="" />
  1171. </div>
  1172. <div class="small-row">
  1173. <div>开票日期</div>
  1174. <div>{{printData.createDate}}</div>
  1175. </div>
  1176. <div class="small-row">
  1177. <div>买方单位名称</div>
  1178. <div>{{printData.compName}}</div>
  1179. </div>
  1180. <div class="small-row">
  1181. <div>买方姓名</div>
  1182. <div>{{printData.customerName}}</div>
  1183. </div>
  1184. <div class="small-row">
  1185. <div>税务登记号</div>
  1186. <div>{{printData.taxRegistrationNo}}</div>
  1187. </div>
  1188. <div class="small-row">
  1189. <div>身份证号</div>
  1190. <div>{{printData.customerNumberCard}}</div>
  1191. </div>
  1192. <div class="small-row">
  1193. <div>化验单号</div>
  1194. <div>{{printData.paymentNo}}</div>
  1195. </div>
  1196. <div class="small-row">
  1197. <div>卡号</div>
  1198. <div>{{printData.bankCard}}</div>
  1199. </div>
  1200. <div class="small-row">
  1201. <div>收货仓库</div>
  1202. <div>{{printData.warehouseName}}</div>
  1203. </div>
  1204. <div class="small-row">
  1205. <div>货名</div>
  1206. <div>{{printData.goodsName}}</div>
  1207. </div>
  1208. <div class="small-row">
  1209. <div>类型</div>
  1210. <div>{{printData.type}}</div>
  1211. </div>
  1212. <div class="small-row">
  1213. <div>等级</div>
  1214. <div>{{printData.grade}}</div>
  1215. </div>
  1216. <div class="small-row">
  1217. <div>水分%</div>
  1218. <div>{{printData.waterContent}}</div>
  1219. </div>
  1220. <div class="small-row">
  1221. <div>杂质%</div>
  1222. <div>{{printData.impurity}}</div>
  1223. </div>
  1224. <div class="small-row">
  1225. <div>毛重</div>
  1226. <div>{{printData.grossWeight}}</div>
  1227. </div>
  1228. <div class="small-row">
  1229. <div>皮重</div>
  1230. <div>{{printData.tare}}</div>
  1231. </div>
  1232. <div class="small-row">
  1233. <div>扣杂重</div>
  1234. <div>{{printData.weighingManagement.buckleMiscellaneous}}</div>
  1235. </div>
  1236. <div class="small-row">
  1237. <div>净重</div>
  1238. <div>{{printData.netWeight}}</div>
  1239. </div>
  1240. <div class="small-row">
  1241. <div>折干净重</div>
  1242. <div>{{printData.pureWeight}}</div>
  1243. </div>
  1244. <div class="small-row">
  1245. <div>净重单价</div>
  1246. <div>{{printData.tidalGrainPrice}}</div>
  1247. </div>
  1248. <div class="small-row">
  1249. <div>粮款</div>
  1250. <div>{{printData.grainMoney}}</div>
  1251. </div>
  1252. <div class="small-row">
  1253. <div>称重补助</div>
  1254. <div>{{printData.weighingSubsidy}}</div>
  1255. </div>
  1256. <div class="small-row">
  1257. <div>运费补助</div>
  1258. <div>{{printData.freightSubsidy}}</div>
  1259. </div>
  1260. <div class="small-row">
  1261. <div>卸车补助</div>
  1262. <div>{{printData.unloadSubsidy}}</div>
  1263. </div>
  1264. <div class="small-row">
  1265. <div>其他补助</div>
  1266. <div>{{printData.otherSubsidy}}</div>
  1267. </div>
  1268. <div class="small-row">
  1269. <div>称重扣款</div>
  1270. <div>{{printData.weighingDeduction}}</div>
  1271. </div>
  1272. <div class="small-row">
  1273. <div>运费扣款</div>
  1274. <div>{{printData.freightDeduction}}</div>
  1275. </div>
  1276. <div class="small-row">
  1277. <div>卸车扣款</div>
  1278. <div>{{printData.unloadDeduction}}</div>
  1279. </div>
  1280. <div class="small-row">
  1281. <div>质量扣款</div>
  1282. <div>{{printData.qualityDeduction}}</div>
  1283. </div>
  1284. <div class="small-row">
  1285. <div>其他扣款</div>
  1286. <div>{{printData.otherDeduction}}</div>
  1287. </div>
  1288. <div class="small-row">
  1289. <div>纯重单价</div>
  1290. <div>{{printData.solidGrainPrice}}</div>
  1291. </div>
  1292. <div class="small-row">
  1293. <div>合计应付</div>
  1294. <div>{{printData.calculationPayable}}</div>
  1295. </div>
  1296. <div class="small-row">
  1297. <div>购粮性质</div>
  1298. <div>{{printData.natureOfGrainPurchase}}</div>
  1299. </div>
  1300. <div class="small-row">
  1301. <div>车牌号</div>
  1302. <div>{{printData.carNo}}</div>
  1303. </div>
  1304. <div class="small-row">
  1305. <div>记事</div>
  1306. <div>{{printData.remarks}}</div>
  1307. </div>
  1308. <div class="small-row">
  1309. <div>实付金额</div>
  1310. <div>{{printData.actualPayment}}</div>
  1311. </div>
  1312. <div class="small-row">
  1313. <div>人民币(大写)</div>
  1314. <div>{{printData.capitalize}}</div>
  1315. </div>
  1316. <div class="small-row">
  1317. <div>质检</div>
  1318. <div>{{printData.qualityInspector}}</div>
  1319. </div>
  1320. <div class="small-row">
  1321. <div>毛检</div>
  1322. <div>{{printData.secretaryWeigher}}</div>
  1323. </div>
  1324. <div class="small-row">
  1325. <div>皮检</div>
  1326. <div>{{printData.skinInspector}}</div>
  1327. </div>
  1328. <div class="small-row">
  1329. <div>结算</div>
  1330. <div>{{printData.settlementClerk}}</div>
  1331. </div>
  1332. <div class="small-row">
  1333. <div>付款</div>
  1334. <div>{{printData.actualPayment}}</div>
  1335. </div>
  1336. <div class="small-row">
  1337. <div>复点</div>
  1338. <div>&nbsp;&nbsp;&nbsp;</div>
  1339. </div>
  1340. </div>
  1341. </div>
  1342. </body>
  1343. <script src="../cdn/vue/2.6.10/vue.min.js"></script>
  1344. <script src="../cdn/element-ui/2.13.2/index.js"></script>
  1345. <script type="text/javascript">
  1346. new Vue({
  1347. el: '#app',
  1348. data: {
  1349. isShowPrintType1: false,
  1350. isShowPrintType2: false,
  1351. isShowPrintType3: false,
  1352. isShowPrintType4: false,
  1353. isShowPrintType5: false,
  1354. isShowPrintType6: false,
  1355. isShowPrintType7: false,
  1356. showType: [],
  1357. printData: {},
  1358. printData1: [],
  1359. customerList: {},
  1360. customerList1: [],
  1361. name: '',
  1362. bigContent: false,
  1363. smallContent: false,
  1364. date: '',
  1365. imageUrl1: '',
  1366. imageUrl2: '',
  1367. imageUrl3: '',
  1368. imageUrl4: '',
  1369. identity: [],
  1370. bank: [],
  1371. selectPrint: false,
  1372. onlyShowPz: false,
  1373. tableData: [],
  1374. compId: '',
  1375. print_company_name: '',
  1376. print_company_name_ew: '',
  1377. print_customer_name_ew: '',
  1378. pengyuPrint: 'false'
  1379. },
  1380. computed: {},
  1381. methods: {
  1382. dealNo(str) {
  1383. return str.slice(4)
  1384. },
  1385. tableRowClassName({
  1386. row,
  1387. rowIndex
  1388. }) {
  1389. if (rowIndex === 1) {
  1390. return 'warning-row'
  1391. } else if (rowIndex === 3) {
  1392. return 'success-row'
  1393. }
  1394. return ''
  1395. },
  1396. getQueryVariable(variable) {
  1397. var query = window.location.search.substring(1)
  1398. var vars = query.split('&')
  1399. for (var i = 0; i < vars.length; i++) {
  1400. var pair = vars[i].split('=')
  1401. if (pair[0] == variable) {
  1402. return pair[1]
  1403. }
  1404. }
  1405. return false
  1406. },
  1407. printSmall() { },
  1408. printBig() { }
  1409. },
  1410. mounted() {
  1411. this.pengyuPrint = localStorage.getItem('pengyuPrint')
  1412. if (localStorage.getItem('print_company_name')) {
  1413. this.print_company_name = localStorage.getItem('print_company_name')
  1414. }
  1415. if (localStorage.getItem('print_company_name_ew')) {
  1416. this.print_company_name_ew = localStorage.getItem('print_company_name_ew')
  1417. }
  1418. if (localStorage.getItem('print_customer_name_ew')) {
  1419. this.print_customer_name_ew = localStorage.getItem('print_customer_name_ew')
  1420. }
  1421. if (this.pengyuPrint == 'true') {
  1422. this.pengyuPrint = true
  1423. } else {
  1424. this.pengyuPrint = false
  1425. }
  1426. //公司id
  1427. this.compId = localStorage.getItem('ws-pf_compId')
  1428. if (this.compId == '5d164edcef03476dba6630f86dc96496') {
  1429. this.compId = '6a713699e08c4cbc97a87f7648a95e3d'
  1430. }
  1431. this.date = new Date().toLocaleString()
  1432. // let _data = decodeURIComponent(this.getQueryVariable('dataList'))
  1433. let _data = {}
  1434. if (localStorage.getItem('print_pay_data')) {
  1435. _data = localStorage.getItem('print_pay_data')
  1436. } else {
  1437. _data = decodeURIComponent(this.getQueryVariable("dataList"))
  1438. }
  1439. if (!_data || _data == 'false') {
  1440. this.selectPrint = true
  1441. this.printData1 = JSON.parse(
  1442. localStorage.getItem('selectPrint_selectPrintList')
  1443. )
  1444. console.log("对象", this.printData1)
  1445. console.log("对象", this.printData)
  1446. for (let i = 0; i < this.printData1.length; i++) {
  1447. if (!this.printData1[i].identityAuthenticationInfo.compAddress) this.printData1[i]
  1448. .identityAuthenticationInfo.compAddress = ''
  1449. if (this.printData1[i].identityAuthenticationInfo.compAddress.length > 24) {
  1450. this.printData1[i].identityAuthenticationInfo.compAddress = this.printData1[i]
  1451. .identityAuthenticationInfo
  1452. .compAddress.substring(0, 24)
  1453. }
  1454. }
  1455. } else {
  1456. this.printData = JSON.parse(_data)
  1457. //地址过长截取
  1458. if (this.printData.identityAuthenticationInfo && this.printData.identityAuthenticationInfo.compAddress.length > 24) {
  1459. this.printData.identityAuthenticationInfo.compAddress = this.printData.identityAuthenticationInfo
  1460. .compAddress.substring(0, 24)
  1461. }
  1462. this.selectPrint = false
  1463. }
  1464. let _type = decodeURIComponent(this.getQueryVariable('type'))
  1465. this.showType = decodeURIComponent(
  1466. this.getQueryVariable('printTypeList')
  1467. )
  1468. // this.pzList = this.showType.split(',')
  1469. // if((this.showType.indexOf('打印结算凭证')>-1)&&this.pzList.length==1){
  1470. // this.onlyShowPz = true
  1471. // }
  1472. // this.pageType = decodeURIComponent(this.getQueryVariable('printTypeList'))
  1473. let _data1 = decodeURIComponent(this.getQueryVariable('customerList'))
  1474. var cwprint = localStorage.getItem('cwprint')
  1475. if (!_data1) {
  1476. this.customerList1 = JSON.parse(
  1477. localStorage.getItem('selectPrint_selectCustomerList')
  1478. )
  1479. } else {
  1480. if (cwprint == 'true') {
  1481. this.customerList = JSON.parse(localStorage.getItem('printData1'))
  1482. }
  1483. }
  1484. console.log(this.customerList)
  1485. console.log('cwprint', localStorage.getItem('cwprint'))
  1486. console.log(this.selectPrint)
  1487. if (cwprint == 'true') {
  1488. if (this.selectPrint) {
  1489. for (let i = 0; i < this.customerList1.length; i++) {
  1490. let _url1 = this.customerList1[i].identityAuthenticationInfo.cardAddressUrl.split(',')
  1491. // let _url2 = this.customerList1[i].payeeAddressUrl.split(',')
  1492. this.customerList1[i].imgURl = {
  1493. imageUrl1: _url1[0],
  1494. imageUrl2: _url1[1],
  1495. // imageUrl3: _url2[0],
  1496. // imageUrl4: _url2[0]
  1497. }
  1498. }
  1499. for (let i = 0; i < this.printData1.length; i++) {
  1500. if (this.printData1[i].identityAuthenticationInfo.payeeAddressUrl) {
  1501. let _url2 = this.printData1[i].identityAuthenticationInfo.payeeAddressUrl.split(',')
  1502. this.printData1[i].imgURl = {
  1503. imageUrl3: _url2[0],
  1504. imageUrl4: _url2[1]
  1505. }
  1506. }
  1507. }
  1508. } else {
  1509. if (this.customerList.identityAuthenticationInfo.cardAddressUrl) {
  1510. this.identity = this.customerList.identityAuthenticationInfo.cardAddressUrl.split(',')
  1511. this.imageUrl1 = this.identity[0]
  1512. this.imageUrl2 = this.identity[1]
  1513. }
  1514. if (this.customerList.payeeAddressUrl) {
  1515. this.bank = this.customerList.payeeAddressUrl.split(',')
  1516. this.imageUrl3 = this.bank[0]
  1517. this.imageUrl4 = this.bank[1]
  1518. }
  1519. if (this.printData.payeeAddressUrl) {
  1520. this.bank = this.printData.payeeAddressUrl.split(',')
  1521. this.imageUrl3 = this.bank[0]
  1522. this.imageUrl4 = this.bank[1]
  1523. }
  1524. this.tableData = this.printData.weighingManagement
  1525. }
  1526. let _lsit = this.showType.split(',')
  1527. for (let i = 0; i < _lsit.length; i++) {
  1528. switch (_lsit[i]) {
  1529. case '打印身份证':
  1530. this.isShowPrintType1 = !this.isShowPrintType1
  1531. break
  1532. case '打印银行卡':
  1533. this.isShowPrintType2 = !this.isShowPrintType2
  1534. break
  1535. case '打印结算凭证':
  1536. this.isShowPrintType3 = !this.isShowPrintType3
  1537. break
  1538. case '打印检斤单':
  1539. this.isShowPrintType4 = !this.isShowPrintType4
  1540. break
  1541. case '打印回执单':
  1542. this.isShowPrintType5 = !this.isShowPrintType5
  1543. break
  1544. case '打印自产证明':
  1545. this.isShowPrintType7 = !this.isShowPrintType7
  1546. break
  1547. }
  1548. }
  1549. } else {
  1550. this.isShowPrintType3 = true
  1551. }
  1552. if (localStorage.getItem('print_alone_extra') == 'true') {
  1553. this.isShowPrintType6 = true
  1554. }
  1555. if (_type == 2) {
  1556. this.bigContent = true
  1557. this.smallContent = false
  1558. } else {
  1559. this.smallContent = true
  1560. this.bigContent = false
  1561. }
  1562. if (this.printData.compName == undefined) this.printData.compName = ''
  1563. document.title = this.printData.compName + "(" + this.printData.warehouseName + ")" + '检斤结算单'
  1564. window.print()
  1565. // sessionStorage.removeItem('selectPrint_selectPrintList');
  1566. // sessionStorage.removeItem('selectPrint_selectCustomerList');
  1567. window.onafterprint = function (event) {
  1568. window.history.back(-1)
  1569. }
  1570. },
  1571. watch: {}
  1572. })
  1573. </script>
  1574. </html>