payprint1.html 82 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644
  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 == '富裕县人和晟粮食商贸有限公司'||printData.contractManagement.seller == '依安县亿廷农业发展有限责任公司'"
  635. class="col" colspan="4">
  636. 郭传亮
  637. </td>
  638. <td v-else class="col" colspan="4">
  639. {{ printData.customerName}}
  640. </td>
  641. </tr>
  642. <tr class="row">
  643. <td class="col col-bgc">联系电话</td>
  644. <td class="col" colspan="3">{{ printData.personPhone}}</td>
  645. <td v-if="!printData.extra1" class="col col-bgc">卡号</td>
  646. <td v-else class="col col-bgc">联系电话</td>
  647. <td v-if="!printData.extra1" class="col" colspan="4">
  648. {{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}
  649. </td>
  650. <td v-else-if="printData.contractManagement.seller == '富裕县人和晟粮食商贸有限公司'||printData.contractManagement.seller == '依安县亿廷农业发展有限责任公司'"
  651. class="col" colspan="4">
  652. 15174590000
  653. </td>
  654. <td v-else class="col" colspan="4">
  655. {{printData.customerPhone}}
  656. </td>
  657. </tr>
  658. <tr class="row">
  659. <td class="col col-bgc">收货仓库</td>
  660. <td v-if="!printData.extra1" class="col" colspan="3">{{printData.warehouseName}}</td>
  661. <td v-else class="col" colspan="3">依安县先锋粮库有限公司新屯分公司</td>
  662. <td v-if="!printData.extra1" class="col col-bgc">地址</td>
  663. <td v-else class="col col-bgc"></td>
  664. <td v-if="!printData.extra1" class="col" colspan="4">
  665. {{printData.identityAuthenticationInfo.compAddress}}
  666. </td>
  667. <td v-else class="col" colspan="4"></td>
  668. </tr>
  669. <tr class="row">
  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">水分%</td>
  674. <td class="col col-bgc">杂质%</td>
  675. <td class="col col-bgc">{{printData.goodsName!= '大豆'?'容重':'蛋白'}}</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. <!-- <td class="col col-bgc">出库净重</td> -->
  681. <!-- <td class="col col-bgc">纯重</td> -->
  682. </tr>
  683. <tr class="row">
  684. <td class="col">{{ printData.goodsName}}</td>
  685. <td class="col">{{ printData.type}}</td>
  686. <td class="col">
  687. {{ printData.qualityInspectionManagement.grade}}
  688. </td>
  689. <td class="col">
  690. {{ printData.qualityInspectionManagement.waterContent}}
  691. </td>
  692. <td class="col">
  693. {{ printData.qualityInspectionManagement.impurity}}
  694. </td>
  695. <td class="col">{{printData.goodsName==
  696. '大豆'?printData.qualityInspectionManagement.protein:printData.qualityInspectionManagement.bulkDensity}}
  697. </td>
  698. <td class="col">{{ printData.grossWeight}}</td>
  699. <td class="col">{{ printData.tare}}</td>
  700. <td class="col" v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'
  701. || printData.netWeight == null
  702. || printData.pureWeight == null">
  703. {{printData.weighingManagement?printData.weighingManagement.buckleMiscellaneous:''}}
  704. </td>
  705. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'
  706. && printData.netWeight != null
  707. && printData.pureWeight != null ">{{printData.netWeight-printData.pureWeight}}</td>
  708. <!-- <td class="col">
  709. {{ printData.weighingManagement.buckleMiscellaneous}}
  710. </td> -->
  711. <td class="col">{{ printData.netWeight}}</td>
  712. <!-- <td class="col">{{ printData.pureWeight}}</td> -->
  713. </tr>
  714. <tr class="row">
  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">霉变粒</td>
  720. <td class="col col-bgc">热损伤</td>
  721. <td class="col col-bgc">{{printData.goodsName== '大豆'?'完整粒率(%)':"不完善粒"}}</td>
  722. <td class="col col-bgc">扣重比</td>
  723. <td v-if="printData.type == '潮粮'" class="col col-bgc">扣量%</td>
  724. <td :colspan="printData.type == '潮粮'?1:2" class="col col-bgc">仓位号</td>
  725. <!-- <td class="col col-bgc">1卸车扣款</td> -->
  726. </tr>
  727. <tr class="row">
  728. <td class="col">{{ printData.pureWeight}}</td>
  729. <td class="col " v-if="printData.type == '潮粮' && !printData.extra1">
  730. {{printData.tidalGrainPrice}}
  731. </td>
  732. <td class="col " v-if="printData.type == '干粮' && !printData.extra1">
  733. {{printData.qualityInspectionManagement.dryGrainPrice}}
  734. </td>
  735. <td class="col " v-if="printData.extra1">
  736. 0
  737. </td>
  738. <td class="col " v-if="!printData.extra1">{{ printData.unitDeduction}}</td>
  739. <td class="col " v-else>0</td>
  740. <td class="col " v-if="!printData.extra1">
  741. {{printData.grainMoney}}
  742. </td>
  743. <td class="col " v-else>0</td>
  744. <td class="col "> {{printData.qualityInspectionManagement.mildewGrain}}</td>
  745. <td class="col "> {{printData.qualityInspectionManagement.jiaorenli}}</td>
  746. <td class="col "> {{printData.goodsName==
  747. '大豆'?printData.qualityInspectionManagement.completeGrain:printData.qualityInspectionManagement.imperfectGrain}}
  748. </td>
  749. <td class="col ">
  750. {{compId=='6a713699e08c4cbc97a87f7648a95e3d'?'1.25':printData.buckleWeightRatio}}</td>
  751. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type == '潮粮'">{{
  752. (printData.qualityInspectionManagement.waterContent-14.5)*1.25}}</td>
  753. <td class="col " v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type == '潮粮'"></td>
  754. <td :colspan="printData.type == '潮粮'?1:2" class="col ">
  755. {{printData.qualityInspectionManagement.binNumber}}</td>
  756. <!-- <td class="col ">{{ printData.unloadDeduction}}</td> -->
  757. </tr>
  758. <tr class="row">
  759. <td class="col col-bgc">卸车扣款</td>
  760. <td class="col col-bgc">质量扣款</td>
  761. <td class="col col-bgc">其他扣款</td>
  762. <!-- <td class="col col-bgc" v-if="printData.type == '潮粮'">
  763. 纯重单价
  764. </td> -->
  765. <td class="col col-bgc">合计应付</td>
  766. <td class="col col-bgc">购粮性质</td>
  767. <td class="col col-bgc">车牌号</td>
  768. <td class="col col-bgc" colspan="4">记事</td>
  769. </tr>
  770. <tr class="row">
  771. <td class="col ">{{ printData.unloadDeduction}}</td>
  772. <td class="col ">{{ printData.qualityDeduction}}</td>
  773. <td class="col ">{{ printData.otherDeduction}}</td>
  774. <!-- <td class="col " v-if="printData.type == '潮粮'">
  775. {{ printData.solidGrainPrice}}
  776. </td> -->
  777. <td class="col " v-if="!printData.extra1">
  778. {{printData.calculationPayable}}
  779. </td>
  780. <td class="col " v-else>
  781. 0
  782. </td>
  783. <td class="col ">
  784. {{ printData.qualityInspectionManagement.natureOfGrainPurchase}}
  785. </td>
  786. <td class="col ">{{ printData.carNo}}</td>
  787. <td class="col " v-if="printData.extra1" colspan="4">货权所有人: {{ printData.compName}}</td>
  788. <td class="col " v-else colspan="4">质权所有人: 吉林银行</td>
  789. </tr>
  790. <tr class="row">
  791. <td class="col col-bgc">实付金额</td>
  792. <td class="col " colspan="2"></td>
  793. <td class="col col-bgc" colspan="3">人民币(大写)</td>
  794. <td class="col " v-if="!printData.extra1" colspan="4">
  795. {{printData.capitalize}}
  796. </td>
  797. <td class="col " v-else colspan="4">
  798. </td>
  799. </tr>
  800. </table>
  801. <div class="bottom">
  802. <div class="bottom-row1">
  803. <div class="autograph">质检员:</div>
  804. <div class="autograph">检斤员:</div>
  805. <div class="autograph">买方:</div>
  806. <div class="autograph">卖方:</div>
  807. <div class="autograph">司机:</div>
  808. </div>
  809. </div>
  810. </div>
  811. <div class="center part1" v-if="isShowPrintType3&&printData.extra2||isShowPrintType6"
  812. :class="printData.extra2? 'simple2':!selectPrint? 'simple':''">
  813. <div class="header1">{{ print_company_name_ew}}粮食收购检斤结算单</div>
  814. <div class="line"></div>
  815. <div class="line"></div>
  816. <div class="header">
  817. <div>单位名称:{{ print_company_name_ew}}</div>
  818. <!-- <div>税务登记编号:91230230MA1BNL7Q93</div> -->
  819. </div>
  820. <div class="header-top">
  821. <div>单位:公斤/元</div>
  822. <div>No.</div>
  823. </div>
  824. <div class="header-top">
  825. <div>开票日期:{{printData.createDate}}</div>
  826. <!-- <div>开票日期:{{new Date(yyyy,mm,dd)}}</div> -->
  827. <div class="number">{{dealNo(printData.paymentNo)}}</div>
  828. </div>
  829. <table class="table">
  830. <td rowspan="2" class="col col-bgc">买方</td>
  831. <td class="col col-bgc">单位名称</td>
  832. <td class="col" colspan="3">{{ print_company_name_ew}}</td>
  833. <td rowspan="4" class="col col-bgc">客户</td>
  834. <td class="col col-bgc">姓名</td>
  835. <td class="col" colspan="4">{{printData.customerName}}</td>
  836. </tr>
  837. <tr class="row">
  838. <td class="col col-bgc">收货仓库</td>
  839. <td v-if="pengyuPrint" class="col" colspan="3">北京天维康油脂调销中心有限公司</td>
  840. <td v-if="!pengyuPrint" class="col" colspan="3">
  841. {{printData.warehouseName=='洮南新友谊兴旺库'?'建发农产品-洮南安定自管仓':printData.warehouseName}}</td>
  842. <td class="col col-bgc">身份证号</td>
  843. <td class="col" colspan="4">
  844. {{ printData.identityAuthenticationInfo.customerNumberCard}}
  845. </td>
  846. </tr>
  847. <tr class="row">
  848. <td rowspan="2" class="col col-bgc">卖方</td>
  849. <td class="col col-bgc">单位名称</td>
  850. <td class="col" colspan="3">{{ print_customer_name_ew}}</td>
  851. <td class="col col-bgc">卡号</td>
  852. <td class="col" colspan="4">
  853. {{printData.identityAuthenticationInfo.bankDeposit}}{{printData.identityAuthenticationInfo.bankCard}}
  854. </td>
  855. </tr>
  856. <tr class="row">
  857. <td class="col col-bgc">联系人</td>
  858. <td class="col" colspan="1">{{printData.warehouseName=='洮南新友谊兴旺库'?'程冬冬':''}}</td>
  859. <td class="col col-bgc">联系电话</td>
  860. <td class="col" colspan="1">{{printData.warehouseName=='洮南新友谊兴旺库'?'13946256986':''}}</td>
  861. <td class="col col-bgc">地址</td>
  862. <td class="col" colspan="4">{{printData.identityAuthenticationInfo.compAddress}}</td>
  863. </tr>
  864. <tr class="row">
  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">水分%</td>
  869. <td class="col col-bgc">杂质%</td>
  870. <td class="col col-bgc">{{printData.goodsName== '大豆'?'蛋白':'容重'}}</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. <!-- <td class="col col-bgc">出库净重</td> -->
  876. <!-- <td class="col col-bgc">纯重</td> -->
  877. </tr>
  878. <tr class="row">
  879. <td class="col">{{ printData.goodsName}}</td>
  880. <td class="col">{{ printData.type}}</td>
  881. <td class="col">
  882. {{ printData.qualityInspectionManagement.grade}}
  883. </td>
  884. <td class="col">
  885. {{ printData.qualityInspectionManagement.waterContent}}
  886. </td>
  887. <td class="col">
  888. {{ printData.qualityInspectionManagement.impurity}}
  889. </td>
  890. <td class="col">{{printData.goodsName==
  891. '大豆'?printData.qualityInspectionManagement.protein:printData.qualityInspectionManagement.bulkDensity}}
  892. </td>
  893. <td class="col">{{ printData.grossWeight}}</td>
  894. <td class="col">{{ printData.tare}}</td>
  895. <td class="col" v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'
  896. || printData.netWeight == null
  897. || printData.pureWeight == null">
  898. {{printData.weighingManagement?printData.weighingManagement.buckleMiscellaneous:''}}
  899. </td>
  900. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'
  901. && printData.netWeight != null
  902. && printData.pureWeight != null ">{{printData.netWeight-printData.pureWeight}}</td>
  903. <!-- <td class="col">
  904. {{ printData.weighingManagement.buckleMiscellaneous}}
  905. </td> -->
  906. <td class="col">{{ printData.netWeight}}</td>
  907. <!-- <td class="col">{{ printData.pureWeight}}</td> -->
  908. </tr>
  909. <tr class="row">
  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">霉变粒</td>
  915. <td class="col col-bgc">热损伤</td>
  916. <td class="col col-bgc">{{printData.goodsName== '大豆'?'完整粒率(%)':'不完善粒'}}</td>
  917. <td class="col col-bgc">扣重比</td>
  918. <td v-if="printData.type == '潮粮'" class="col col-bgc">扣量%</td>
  919. <td :colspan="printData.type == '潮粮'?1:2" class="col col-bgc">仓位号</td>
  920. <!-- <td class="col col-bgc">1卸车扣款</td> -->
  921. </tr>
  922. <tr class="row">
  923. <td class="col">{{ printData.pureWeight}}</td>
  924. <td class="col " v-if="printData.type == '潮粮' && !pengyuPrint">
  925. {{printData.tidalGrainPrice}}
  926. </td>
  927. <td class="col " v-if="printData.type == '干粮' && !pengyuPrint">
  928. {{printData.qualityInspectionManagement.dryGrainPrice}}
  929. </td>
  930. <td class="col " v-if="pengyuPrint">
  931. {{Number(printData.unitContractPrice/1000).toFixed(3)}}
  932. </td>
  933. <td class="col ">{{ printData.unitDeduction}}</td>
  934. <td class="col " v-if="pengyuPrint">
  935. {{Number(printData.unitContractPrice/1000*printData.pureWeight).toFixed(2)}}
  936. </td>
  937. <td class="col " v-if="!pengyuPrint">
  938. {{printData.grainMoney}}
  939. </td>
  940. <td class="col "> {{printData.qualityInspectionManagement.mildewGrain}}</td>
  941. <td class="col "> {{printData.qualityInspectionManagement.jiaorenli}}</td>
  942. <td class="col "> {{printData.goodsName==
  943. '大豆'?printData.qualityInspectionManagement.completeGrain:printData.qualityInspectionManagement.imperfectGrain}}
  944. </td>
  945. <td class="col ">
  946. {{compId=='6a713699e08c4cbc97a87f7648a95e3d'?'1.25':printData.buckleWeightRatio}}</td>
  947. <td class="col " v-if="compId=='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type != '潮粮'">{{
  948. (printData.qualityInspectionManagement.waterContent-14.5)*1.25}}</td>
  949. <td class="col " v-if="compId!='6a713699e08c4cbc97a87f7648a95e3d'&&printData.type != '潮粮'"></td>
  950. <td :colspan="printData.type == '潮粮'?1:2" class="col ">
  951. {{printData.qualityInspectionManagement.binNumber}}</td>
  952. <!-- <td class="col ">{{ printData.unloadDeduction}}</td> -->
  953. </tr>
  954. <tr class="row">
  955. <td class="col col-bgc">卸车扣款</td>
  956. <td class="col col-bgc">质量扣款</td>
  957. <td class="col col-bgc">其他扣款</td>
  958. <!-- <td class="col col-bgc" v-if="printData.type == '潮粮'">
  959. 纯重单价
  960. </td> -->
  961. <td class="col col-bgc">合计应付</td>
  962. <td class="col col-bgc">购粮性质</td>
  963. <td class="col col-bgc">车牌号</td>
  964. <td class="col col-bgc" colspan="4">记事</td>
  965. </tr>
  966. <tr class="row">
  967. <td class="col ">{{ printData.unloadDeduction}}</td>
  968. <td class="col ">{{ printData.qualityDeduction}}</td>
  969. <td class="col ">{{ printData.otherDeduction}}</td>
  970. <!-- <td class="col " v-if="printData.type == '潮粮'">
  971. {{ printData.solidGrainPrice}}
  972. </td> -->
  973. <td class="col " v-if="pengyuPrint&&printData.type != '潮粮'">
  974. {{Number(printData.unitContractPrice/1000*printData.pureWeight).toFixed(2)}}
  975. </td>
  976. <td class="col " v-if="pengyuPrint&&printData.type != '潮粮'">
  977. {{Number(printData.unitContractPrice/1000*printData.weighingManagement.netWeight).toFixed(2)}}
  978. </td>
  979. <td class="col " v-if="!pengyuPrint">
  980. {{printData.calculationPayable}}
  981. </td>
  982. <td class="col ">
  983. {{ printData.qualityInspectionManagement.natureOfGrainPurchase}}
  984. </td>
  985. <td class="col ">{{ printData.carNo}}</td>
  986. <td class="col " colspan="4">质权所有人: 吉林银行</td>
  987. </tr>
  988. <tr class="row">
  989. <td class="col col-bgc">实付金额</td>
  990. <td class="col " colspan="2"></td>
  991. <td class="col col-bgc" colspan="3">人民币(大写)</td>
  992. <td class="col " v-if="!pengyuPrint" colspan="4">
  993. {{printData.capitalize}}
  994. </td>
  995. <td class="col " v-if="pengyuPrint" colspan="4">
  996. </td>
  997. </tr>
  998. </table>
  999. <div class="bottom">
  1000. <div class="bottom-row1">
  1001. <div>
  1002. 质检:{{ printData.qualityInspectionManagement.qualityInspector}}
  1003. </div>
  1004. <div>
  1005. 毛检:{{ printData.weighingManagement.secretaryWeigher}}
  1006. </div>
  1007. <div>皮检:{{ printData.weighingManagement.skinInspector}}</div>
  1008. <div>结算:{{ printData.settlementClerk}}</div>
  1009. <div>付款:{{ printData.cashier}}</div>
  1010. <div>复点:{{ }}</div>
  1011. <div></div>
  1012. </div>
  1013. <div class="bottom-row2">
  1014. <!-- <div class="left">
  1015. <img src="../../../../public/img/add.png" alt="" />
  1016. </div> -->
  1017. <div class="config">收货单位签名或盖章</div>
  1018. <div class="config">客户签名</div>
  1019. <div class="">司机签名</div>
  1020. </div>
  1021. <!-- <div class="bottom-row3">扫一扫</div> -->
  1022. <!-- <div class="bottom-row4">
  1023. <el-button type="primary">关闭</el-button>
  1024. <el-button type="primary" @click="printSmall">打印小票</el-button>
  1025. <el-button type="primary" @click="printBig">打印单据</el-button>
  1026. </div> -->
  1027. </div>
  1028. </div>
  1029. <div v-if="isShowPrintType4" class="part2">
  1030. <div>
  1031. <div class="title">入库检斤单</div>
  1032. <!-- <div class="leftimg">
  1033. <img :src="tableData.codeUrl" alt="">
  1034. </div> -->
  1035. <div class="number1">{{tableData.number}}</div>
  1036. </div>
  1037. <table class="table">
  1038. <tr class="row">
  1039. <td class="col col-bgc">客户姓名</td>
  1040. <td class="col" colspan="2">{{tableData.customer}}</td>
  1041. <td class="col col-bgc">客户电话</td>
  1042. <td class="col">{{tableData.customerPhone}}</td>
  1043. <td class="col col-bgc">车牌号</td>
  1044. <td class="col" colspan="2">{{tableData.carNumber}}</td>
  1045. </tr>
  1046. <tr class="row">
  1047. <td class="col col-bgc">收货单位</td>
  1048. <td class="col" colspan="2">{{tableData.compName}}</td>
  1049. <td class="col col-bgc">联系人</td>
  1050. <td class="col">{{tableData.person}}</td>
  1051. <td class="col col-bgc">联系电话</td>
  1052. <td class="col" colspan="2">{{tableData.personPhone}}</td>
  1053. </tr>
  1054. <tr class="row">
  1055. <td class="col col-bgc">货名</td>
  1056. <td class="col">{{tableData.goodsName}}</td>
  1057. <td class="col col-bgc">类型</td>
  1058. <td class="col">{{tableData.type}}</td>
  1059. <td class="col col-bgc">{{tableData.goodsName == '大豆'?'蛋白':'容量(克/升)'}}</td>
  1060. <td class="col">
  1061. {{tableData.goodsName ==
  1062. '大豆'?tableData.qualityInspectionManagement.protein:tableData.qualityInspectionManagement.bulkDensity}}
  1063. </td>
  1064. <td class="col col-bgc">{{tableData.goodsName == '大豆'?'完整粒率(%)':'不完善粒(%)'}}</td>
  1065. <td class="col">
  1066. {{tableData.goodsName ==
  1067. '大豆'?tableData.qualityInspectionManagement.completeGrain:tableData.qualityInspectionManagement.imperfectGrain}}
  1068. </td>
  1069. </tr>
  1070. <tr class="row">
  1071. <td class="col col-bgc">等级</td>
  1072. <td class="col">
  1073. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.grade:''}}
  1074. </td>
  1075. <td class="col col-bgc">水分(%)</td>
  1076. <td class="col">
  1077. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.waterContent:''}}
  1078. </td>
  1079. <td class="col col-bgc">热损伤(%)</td>
  1080. <td class="col">
  1081. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.jiaorenli:''}}
  1082. </td>
  1083. <td class="col col-bgc">质检时间</td>
  1084. <td class="col">
  1085. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.qualityDate:''}}
  1086. </td>
  1087. </tr>
  1088. <tr class="row">
  1089. <td class="col col-bgc">杂质(%)</td>
  1090. <td class="col">
  1091. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.impurity:''}}
  1092. </td>
  1093. <td class="col col-bgc">霉变粒(%)</td>
  1094. <td class="col">
  1095. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.mildewGrain:''}}
  1096. </td>
  1097. <td class="col col-bgc">扣杂</td>
  1098. <td class="col">
  1099. {{tableData.qualityInspectionManagement?tableData.qualityInspectionManagement.buckleMiscellaneous:''}}
  1100. </td>
  1101. <td class="col " colspan="2"></td>
  1102. </tr>
  1103. <tr class="row">
  1104. <td class="col col-bgc">毛重(公斤)</td>
  1105. <td class="col">{{tableData.grossWeight}}</td>
  1106. <td class="col col-bgc">皮重(公斤)</td>
  1107. <td class="col">{{tableData.tare}}</td>
  1108. <td class="col col-bgc">扣重(公斤)</td>
  1109. <td class="col">{{tableData.buckleMiscellaneous}}</td>
  1110. <td class="col col-bgc">净重(公斤)</td>
  1111. <td class="col">{{tableData.netWeight}}</td>
  1112. </tr>
  1113. <tr class="row">
  1114. <td class="col col-bgc" colspan="2">毛重检斤时间</td>
  1115. <td class="col" colspan="2">{{tableData.grossDate}}</td>
  1116. <td class="col col-bgc" colspan="2">皮重检斤时间</td>
  1117. <td class="col" colspan="2">{{tableData.tareDate}}</td>
  1118. </tr>
  1119. </table>
  1120. <div class="bottom">
  1121. <div class="bottom-row1">
  1122. <div>毛检:{{tableData.secretaryWeigher}}</div>
  1123. <div style="margin-left:60px">
  1124. 皮检:{{tableData.skinInspector}}
  1125. </div>
  1126. <!-- <div>{{tableData.qualityDate}}</div> -->
  1127. </div>
  1128. <div class="bottom-row2">
  1129. <!-- <div class="left">
  1130. <img src="../img/add.png" alt="">
  1131. </div> -->
  1132. <div class="config">收货单位签名或盖章:</div>
  1133. <div class="autograph">客户签名:</div>
  1134. </div>
  1135. <!-- <div class="bottom-row3">扫一扫</div> -->
  1136. </div>
  1137. </div>
  1138. <div class="sfcard part3" v-if="isShowPrintType1">
  1139. <div class="sfcard-content">
  1140. <div class="sfcard-title">
  1141. {{ printData.customerName}}{{ printData.identityAuthenticationInfo.customerNumberCard}}
  1142. </div>
  1143. <img :src="imageUrl1" class="avatar" />
  1144. </div>
  1145. <!-- <div class="sfcard-content">
  1146. <div class="sfcard-title">
  1147. {{ printData.customerName}}{{ printData.identityAuthenticationInfo.customerNumberCard}}
  1148. </div>
  1149. <img :src="imageUrl2" class="avatar" />
  1150. </div> -->
  1151. </div>
  1152. <div class="bankcard part4" v-if="isShowPrintType2">
  1153. <div class="sfcard-content">
  1154. <div class="sfcard-title">
  1155. {{printData.bankDeposit}}{{printData.bankCard}}
  1156. </div>
  1157. <img :src="imageUrl3" class="avatar" />
  1158. </div>
  1159. <!-- <div class="sfcard-content">
  1160. <div class="sfcard-title">
  1161. {{printData.bankDeposit}}{{printData.bankCard}}
  1162. </div>
  1163. <img :src="imageUrl4" class="avatar" />
  1164. </div> -->
  1165. </div>
  1166. </div>
  1167. <div class="small-content" v-if="smallContent">
  1168. <div class="small-title">
  1169. <div>
  1170. {{printData.compName}}粮食收购检斤结算单
  1171. </div>
  1172. <img class="small-img" src="../img/add.png" alt="" />
  1173. </div>
  1174. <div class="small-row">
  1175. <div>开票日期</div>
  1176. <div>{{printData.createDate}}</div>
  1177. </div>
  1178. <div class="small-row">
  1179. <div>买方单位名称</div>
  1180. <div>{{printData.compName}}</div>
  1181. </div>
  1182. <div class="small-row">
  1183. <div>买方姓名</div>
  1184. <div>{{printData.customerName}}</div>
  1185. </div>
  1186. <div class="small-row">
  1187. <div>税务登记号</div>
  1188. <div>{{printData.taxRegistrationNo}}</div>
  1189. </div>
  1190. <div class="small-row">
  1191. <div>身份证号</div>
  1192. <div>{{printData.customerNumberCard}}</div>
  1193. </div>
  1194. <div class="small-row">
  1195. <div>化验单号</div>
  1196. <div>{{printData.paymentNo}}</div>
  1197. </div>
  1198. <div class="small-row">
  1199. <div>卡号</div>
  1200. <div>{{printData.bankCard}}</div>
  1201. </div>
  1202. <div class="small-row">
  1203. <div>收货仓库</div>
  1204. <div>{{printData.warehouseName}}</div>
  1205. </div>
  1206. <div class="small-row">
  1207. <div>货名</div>
  1208. <div>{{printData.goodsName}}</div>
  1209. </div>
  1210. <div class="small-row">
  1211. <div>类型</div>
  1212. <div>{{printData.type}}</div>
  1213. </div>
  1214. <div class="small-row">
  1215. <div>等级</div>
  1216. <div>{{printData.grade}}</div>
  1217. </div>
  1218. <div class="small-row">
  1219. <div>水分%</div>
  1220. <div>{{printData.waterContent}}</div>
  1221. </div>
  1222. <div class="small-row">
  1223. <div>杂质%</div>
  1224. <div>{{printData.impurity}}</div>
  1225. </div>
  1226. <div class="small-row">
  1227. <div>毛重</div>
  1228. <div>{{printData.grossWeight}}</div>
  1229. </div>
  1230. <div class="small-row">
  1231. <div>皮重</div>
  1232. <div>{{printData.tare}}</div>
  1233. </div>
  1234. <div class="small-row">
  1235. <div>扣杂重</div>
  1236. <div>{{printData.weighingManagement.buckleMiscellaneous}}</div>
  1237. </div>
  1238. <div class="small-row">
  1239. <div>净重</div>
  1240. <div>{{printData.netWeight}}</div>
  1241. </div>
  1242. <div class="small-row">
  1243. <div>折干净重</div>
  1244. <div>{{printData.pureWeight}}</div>
  1245. </div>
  1246. <div class="small-row">
  1247. <div>净重单价</div>
  1248. <div>{{printData.tidalGrainPrice}}</div>
  1249. </div>
  1250. <div class="small-row">
  1251. <div>粮款</div>
  1252. <div>{{printData.grainMoney}}</div>
  1253. </div>
  1254. <div class="small-row">
  1255. <div>称重补助</div>
  1256. <div>{{printData.weighingSubsidy}}</div>
  1257. </div>
  1258. <div class="small-row">
  1259. <div>运费补助</div>
  1260. <div>{{printData.freightSubsidy}}</div>
  1261. </div>
  1262. <div class="small-row">
  1263. <div>卸车补助</div>
  1264. <div>{{printData.unloadSubsidy}}</div>
  1265. </div>
  1266. <div class="small-row">
  1267. <div>其他补助</div>
  1268. <div>{{printData.otherSubsidy}}</div>
  1269. </div>
  1270. <div class="small-row">
  1271. <div>称重扣款</div>
  1272. <div>{{printData.weighingDeduction}}</div>
  1273. </div>
  1274. <div class="small-row">
  1275. <div>运费扣款</div>
  1276. <div>{{printData.freightDeduction}}</div>
  1277. </div>
  1278. <div class="small-row">
  1279. <div>卸车扣款</div>
  1280. <div>{{printData.unloadDeduction}}</div>
  1281. </div>
  1282. <div class="small-row">
  1283. <div>质量扣款</div>
  1284. <div>{{printData.qualityDeduction}}</div>
  1285. </div>
  1286. <div class="small-row">
  1287. <div>其他扣款</div>
  1288. <div>{{printData.otherDeduction}}</div>
  1289. </div>
  1290. <div class="small-row">
  1291. <div>纯重单价</div>
  1292. <div>{{printData.solidGrainPrice}}</div>
  1293. </div>
  1294. <div class="small-row">
  1295. <div>合计应付</div>
  1296. <div>{{printData.calculationPayable}}</div>
  1297. </div>
  1298. <div class="small-row">
  1299. <div>购粮性质</div>
  1300. <div>{{printData.natureOfGrainPurchase}}</div>
  1301. </div>
  1302. <div class="small-row">
  1303. <div>车牌号</div>
  1304. <div>{{printData.carNo}}</div>
  1305. </div>
  1306. <div class="small-row">
  1307. <div>记事</div>
  1308. <div>{{printData.remarks}}</div>
  1309. </div>
  1310. <div class="small-row">
  1311. <div>实付金额</div>
  1312. <div>{{printData.actualPayment}}</div>
  1313. </div>
  1314. <div class="small-row">
  1315. <div>人民币(大写)</div>
  1316. <div>{{printData.capitalize}}</div>
  1317. </div>
  1318. <div class="small-row">
  1319. <div>质检</div>
  1320. <div>{{printData.qualityInspector}}</div>
  1321. </div>
  1322. <div class="small-row">
  1323. <div>毛检</div>
  1324. <div>{{printData.secretaryWeigher}}</div>
  1325. </div>
  1326. <div class="small-row">
  1327. <div>皮检</div>
  1328. <div>{{printData.skinInspector}}</div>
  1329. </div>
  1330. <div class="small-row">
  1331. <div>结算</div>
  1332. <div>{{printData.settlementClerk}}</div>
  1333. </div>
  1334. <div class="small-row">
  1335. <div>付款</div>
  1336. <div>{{printData.actualPayment}}</div>
  1337. </div>
  1338. <div class="small-row">
  1339. <div>复点</div>
  1340. <div>&nbsp;&nbsp;&nbsp;</div>
  1341. </div>
  1342. </div>
  1343. </div>
  1344. </body>
  1345. <script src="../cdn/vue/2.6.10/vue.min.js"></script>
  1346. <script src="../cdn/element-ui/2.13.2/index.js"></script>
  1347. <script type="text/javascript">
  1348. new Vue({
  1349. el: '#app',
  1350. data: {
  1351. isShowPrintType1: false,
  1352. isShowPrintType2: false,
  1353. isShowPrintType3: false,
  1354. isShowPrintType4: false,
  1355. isShowPrintType5: false,
  1356. isShowPrintType6: false,
  1357. isShowPrintType7: false,
  1358. showType: [],
  1359. printData: {},
  1360. printData1: [],
  1361. customerList: {},
  1362. customerList1: [],
  1363. name: '',
  1364. bigContent: false,
  1365. smallContent: false,
  1366. date: '',
  1367. imageUrl1: '',
  1368. imageUrl2: '',
  1369. imageUrl3: '',
  1370. imageUrl4: '',
  1371. identity: [],
  1372. bank: [],
  1373. selectPrint: false,
  1374. onlyShowPz: false,
  1375. tableData: [],
  1376. compId: '',
  1377. print_company_name: '',
  1378. print_company_name_ew: '',
  1379. print_customer_name_ew: '',
  1380. pengyuPrint: 'false'
  1381. },
  1382. computed: {},
  1383. methods: {
  1384. dealNo(str) {
  1385. return str.slice(4)
  1386. },
  1387. tableRowClassName({
  1388. row,
  1389. rowIndex
  1390. }) {
  1391. if (rowIndex === 1) {
  1392. return 'warning-row'
  1393. } else if (rowIndex === 3) {
  1394. return 'success-row'
  1395. }
  1396. return ''
  1397. },
  1398. getQueryVariable(variable) {
  1399. var query = window.location.search.substring(1)
  1400. var vars = query.split('&')
  1401. for (var i = 0; i < vars.length; i++) {
  1402. var pair = vars[i].split('=')
  1403. if (pair[0] == variable) {
  1404. return pair[1]
  1405. }
  1406. }
  1407. return false
  1408. },
  1409. printSmall() { },
  1410. printBig() { }
  1411. },
  1412. mounted() {
  1413. this.pengyuPrint = localStorage.getItem('pengyuPrint')
  1414. if (localStorage.getItem('print_company_name')) {
  1415. this.print_company_name = localStorage.getItem('print_company_name')
  1416. }
  1417. if (localStorage.getItem('print_company_name_ew')) {
  1418. this.print_company_name_ew = localStorage.getItem('print_company_name_ew')
  1419. }
  1420. if (localStorage.getItem('print_customer_name_ew')) {
  1421. this.print_customer_name_ew = localStorage.getItem('print_customer_name_ew')
  1422. }
  1423. if (this.pengyuPrint == 'true') {
  1424. this.pengyuPrint = true
  1425. } else {
  1426. this.pengyuPrint = false
  1427. }
  1428. //公司id
  1429. this.compId = localStorage.getItem('ws-pf_compId')
  1430. if (this.compId == '5d164edcef03476dba6630f86dc96496') {
  1431. this.compId = '6a713699e08c4cbc97a87f7648a95e3d'
  1432. }
  1433. this.date = new Date().toLocaleString()
  1434. // let _data = decodeURIComponent(this.getQueryVariable('dataList'))
  1435. let _data = {}
  1436. if (localStorage.getItem('print_pay_data')) {
  1437. _data = localStorage.getItem('print_pay_data')
  1438. } else {
  1439. _data = decodeURIComponent(this.getQueryVariable("dataList"))
  1440. }
  1441. if (!_data || _data == 'false') {
  1442. this.selectPrint = true
  1443. this.printData1 = JSON.parse(
  1444. localStorage.getItem('selectPrint_selectPrintList')
  1445. )
  1446. console.log("对象", this.printData1)
  1447. console.log("对象", this.printData)
  1448. for (let i = 0; i < this.printData1.length; i++) {
  1449. if (!this.printData1[i].identityAuthenticationInfo.compAddress) this.printData1[i]
  1450. .identityAuthenticationInfo.compAddress = ''
  1451. if (this.printData1[i].identityAuthenticationInfo.compAddress.length > 24) {
  1452. this.printData1[i].identityAuthenticationInfo.compAddress = this.printData1[i]
  1453. .identityAuthenticationInfo
  1454. .compAddress.substring(0, 24)
  1455. }
  1456. }
  1457. } else {
  1458. this.printData = JSON.parse(_data)
  1459. //地址过长截取
  1460. if (this.printData.identityAuthenticationInfo && this.printData.identityAuthenticationInfo.compAddress.length > 24) {
  1461. this.printData.identityAuthenticationInfo.compAddress = this.printData.identityAuthenticationInfo
  1462. .compAddress.substring(0, 24)
  1463. }
  1464. this.selectPrint = false
  1465. }
  1466. let _type = decodeURIComponent(this.getQueryVariable('type'))
  1467. this.showType = decodeURIComponent(
  1468. this.getQueryVariable('printTypeList')
  1469. )
  1470. // this.pzList = this.showType.split(',')
  1471. // if((this.showType.indexOf('打印结算凭证')>-1)&&this.pzList.length==1){
  1472. // this.onlyShowPz = true
  1473. // }
  1474. // this.pageType = decodeURIComponent(this.getQueryVariable('printTypeList'))
  1475. let _data1 = decodeURIComponent(this.getQueryVariable('customerList'))
  1476. var cwprint = localStorage.getItem('cwprint')
  1477. if (!_data1) {
  1478. this.customerList1 = JSON.parse(
  1479. localStorage.getItem('selectPrint_selectCustomerList')
  1480. )
  1481. } else {
  1482. if (cwprint == 'true') {
  1483. this.customerList = JSON.parse(localStorage.getItem('printData1'))
  1484. }
  1485. }
  1486. console.log(this.customerList)
  1487. console.log('cwprint', localStorage.getItem('cwprint'))
  1488. console.log(this.selectPrint)
  1489. if (cwprint == 'true') {
  1490. if (this.selectPrint) {
  1491. for (let i = 0; i < this.customerList1.length; i++) {
  1492. let _url1 = this.customerList1[i].identityAuthenticationInfo.cardAddressUrl.split(',')
  1493. // let _url2 = this.customerList1[i].payeeAddressUrl.split(',')
  1494. this.customerList1[i].imgURl = {
  1495. imageUrl1: _url1[0],
  1496. imageUrl2: _url1[1],
  1497. // imageUrl3: _url2[0],
  1498. // imageUrl4: _url2[0]
  1499. }
  1500. }
  1501. for (let i = 0; i < this.printData1.length; i++) {
  1502. if (this.printData1[i].identityAuthenticationInfo.payeeAddressUrl) {
  1503. let _url2 = this.printData1[i].identityAuthenticationInfo.payeeAddressUrl.split(',')
  1504. this.printData1[i].imgURl = {
  1505. imageUrl3: _url2[0],
  1506. imageUrl4: _url2[1]
  1507. }
  1508. }
  1509. }
  1510. } else {
  1511. if (this.customerList.identityAuthenticationInfo.cardAddressUrl) {
  1512. this.identity = this.customerList.identityAuthenticationInfo.cardAddressUrl.split(',')
  1513. this.imageUrl1 = this.identity[0]
  1514. this.imageUrl2 = this.identity[1]
  1515. }
  1516. if (this.customerList.payeeAddressUrl) {
  1517. this.bank = this.customerList.payeeAddressUrl.split(',')
  1518. this.imageUrl3 = this.bank[0]
  1519. this.imageUrl4 = this.bank[1]
  1520. }
  1521. if (this.printData.payeeAddressUrl) {
  1522. this.bank = this.printData.payeeAddressUrl.split(',')
  1523. this.imageUrl3 = this.bank[0]
  1524. this.imageUrl4 = this.bank[1]
  1525. }
  1526. this.tableData = this.printData.weighingManagement
  1527. }
  1528. let _lsit = this.showType.split(',')
  1529. for (let i = 0; i < _lsit.length; i++) {
  1530. switch (_lsit[i]) {
  1531. case '打印身份证':
  1532. this.isShowPrintType1 = !this.isShowPrintType1
  1533. break
  1534. case '打印银行卡':
  1535. this.isShowPrintType2 = !this.isShowPrintType2
  1536. break
  1537. case '打印结算凭证':
  1538. this.isShowPrintType3 = !this.isShowPrintType3
  1539. break
  1540. case '打印检斤单':
  1541. this.isShowPrintType4 = !this.isShowPrintType4
  1542. break
  1543. case '打印回执单':
  1544. this.isShowPrintType5 = !this.isShowPrintType5
  1545. break
  1546. case '打印自产证明':
  1547. this.isShowPrintType7 = !this.isShowPrintType7
  1548. break
  1549. }
  1550. }
  1551. } else {
  1552. this.isShowPrintType3 = true
  1553. }
  1554. if (localStorage.getItem('print_alone_extra') == 'true') {
  1555. this.isShowPrintType6 = true
  1556. }
  1557. if (_type == 2) {
  1558. this.bigContent = true
  1559. this.smallContent = false
  1560. } else {
  1561. this.smallContent = true
  1562. this.bigContent = false
  1563. }
  1564. if (this.printData.compName == undefined) this.printData.compName = ''
  1565. document.title = this.printData.compName + "(" + this.printData.warehouseName + ")" + '检斤结算单'
  1566. window.print()
  1567. // sessionStorage.removeItem('selectPrint_selectPrintList');
  1568. // sessionStorage.removeItem('selectPrint_selectCustomerList');
  1569. window.onafterprint = function (event) {
  1570. window.history.back(-1)
  1571. }
  1572. },
  1573. watch: {}
  1574. })
  1575. </script>
  1576. </html>