|
@@ -49,13 +49,6 @@
|
|
|
display: flex;
|
|
|
margin: 10px 0;
|
|
|
}
|
|
|
-
|
|
|
- img {
|
|
|
- width: 41px;
|
|
|
- height: 41px;
|
|
|
- /* margin-right: 118px; */
|
|
|
- }
|
|
|
-
|
|
|
.config {
|
|
|
margin-right: 240px;
|
|
|
}
|
|
@@ -73,43 +66,6 @@
|
|
|
text-align: right;
|
|
|
margin-bottom: 10px;
|
|
|
}
|
|
|
-
|
|
|
- .small-row {
|
|
|
- display: flex;
|
|
|
- }
|
|
|
-
|
|
|
- .small-content {
|
|
|
- width: 400px;
|
|
|
- margin: 0 auto;
|
|
|
- border: 1px solid #ccc;
|
|
|
- padding: 20px 20px 160px 20px;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- bottom: 0;
|
|
|
- left: 0;
|
|
|
- right: 0;
|
|
|
- margin: auto;
|
|
|
- height: 650px;
|
|
|
- }
|
|
|
-
|
|
|
- .small-title {
|
|
|
- text-align: center;
|
|
|
- font-size: 18px;
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- align-items: center;
|
|
|
- }
|
|
|
-
|
|
|
- .small-row {
|
|
|
- display: flex;
|
|
|
- justify-content: space-between;
|
|
|
- margin: 10px;
|
|
|
- }
|
|
|
-
|
|
|
- .small-img {
|
|
|
- margin-right: 0;
|
|
|
- }
|
|
|
-
|
|
|
.sign {
|
|
|
margin-right: 100px;
|
|
|
}
|
|
@@ -120,57 +76,10 @@
|
|
|
font-size: 16px;
|
|
|
margin: 10px 0;
|
|
|
}
|
|
|
-
|
|
|
- .header1 {
|
|
|
- font-size: 24px;
|
|
|
- margin: 30px 60px 10px 60px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- }
|
|
|
-
|
|
|
- .line {
|
|
|
- height: 2px;
|
|
|
- width: 410px;
|
|
|
- margin: 3px auto;
|
|
|
- background: black;
|
|
|
- }
|
|
|
-
|
|
|
- .line:nth-of-type(3) {
|
|
|
- margin-bottom: 30px;
|
|
|
- }
|
|
|
-
|
|
|
.header-top {
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
}
|
|
|
-
|
|
|
- .sfcard {}
|
|
|
-
|
|
|
- .sfcard-content {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: space-evenly;
|
|
|
- }
|
|
|
-
|
|
|
- .sfcard-content img {
|
|
|
- width: 45%;
|
|
|
- height: 50vh;
|
|
|
- }
|
|
|
-
|
|
|
- .sfcard-title {
|
|
|
- font-size: 28px;
|
|
|
- text-align: center;
|
|
|
- margin: 10px 0;
|
|
|
- }
|
|
|
-
|
|
|
- .avatar {
|
|
|
- margin-bottom: 120px;
|
|
|
- }
|
|
|
-
|
|
|
- .avatar:nth-of-type(2) {
|
|
|
- margin-bottom: 140px;
|
|
|
- }
|
|
|
-
|
|
|
.center {
|
|
|
height: calc(100vh - 8px);
|
|
|
}
|
|
@@ -178,7 +87,7 @@
|
|
|
</head>
|
|
|
<body>
|
|
|
<div id="app">
|
|
|
- <div v-for="(item,index) in printData" :key="index">
|
|
|
+ <div v-for="(item,index) in printData" >
|
|
|
<div class="center">
|
|
|
<div class="title">磅码单</div>
|
|
|
<div class="title">{{item.code}}</div>
|
|
@@ -222,10 +131,8 @@
|
|
|
<div v-for="(item,index) in printData1" :key="index">
|
|
|
<div class="center">
|
|
|
<div class="title">中天昊元粮食贸易有限公司结算凭证</div>
|
|
|
- <!-- {{customerInfo}} -->
|
|
|
<div class="header">
|
|
|
<div>单位名称:{{ item.compName}}</div>
|
|
|
- <!-- <div>税务登记编号:91230230MA1BNL7Q93</div> -->
|
|
|
</div>
|
|
|
<div class="header-top">
|
|
|
<div>单位:公斤、元</div>
|
|
@@ -233,7 +140,6 @@
|
|
|
</div>
|
|
|
<div class="header-top">
|
|
|
<div>开票日期:{{item.createDate}}</div>
|
|
|
- <!-- <div>开票日期:{{new Date(yyyy,mm,dd)}}</div> -->
|
|
|
<div class="number">{{item.paymentNo}}</div>
|
|
|
</div>
|
|
|
<table class="table">
|
|
@@ -274,7 +180,6 @@
|
|
|
<td class="col col-bgc">扣重</td>
|
|
|
<td class="col col-bgc">扣杂</td>
|
|
|
<td class="col col-bgc">净重</td>
|
|
|
- <!-- <td class="col col-bgc">纯重</td> -->
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
|
<td class="col">{{ item.goodsName}}</td>
|
|
@@ -284,10 +189,10 @@
|
|
|
<td class="col">{{ item.qualityInspectionManagement.impurity}}</td>
|
|
|
<td class="col">{{ item.grossWeight}}</td>
|
|
|
<td class="col">{{ item.tare}}</td>
|
|
|
- <td class="col" v-if="item.type == '干粮'">{{printData.weighingManagement.buckleMiscellaneous}}</td>
|
|
|
+ <td class="col" v-if="item.type == '干粮'">{{item.weighingManagement.buckleMiscellaneous}}</td>
|
|
|
<td class="col" v-if="item.type == '潮粮'">0</td>
|
|
|
<td class="col" v-if="item.type == '干粮'">0</td>
|
|
|
- <td class="col" v-if="item.type == '潮粮'">{{printData.netWeight}}</td>
|
|
|
+ <td class="col" v-if="item.type == '潮粮'">{{item.netWeight}}</td>
|
|
|
<td class="col">{{item.pureWeight}}</td>
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
@@ -304,8 +209,8 @@
|
|
|
<td class="col col-bgc">卸车扣款</td>
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
|
- <td class="col " v-if="printData.type == '潮粮'">{{item.tidalGrainPrice}}</td>
|
|
|
- <td class="col " v-if="printData.type == '干粮'">{{item.qualityInspectionManagement.dryGrainPrice}}</td>
|
|
|
+ <td class="col " v-if="item.type == '潮粮'">{{item.tidalGrainPrice}}</td>
|
|
|
+ <td class="col " v-if="item.type == '干粮'">{{item.qualityInspectionManagement.dryGrainPrice}}</td>
|
|
|
<td class="col ">{{ item.unitDeduction}}</td>
|
|
|
<td class="col ">{{ item.grainMoney}}</td>
|
|
|
<td class="col ">{{ item.weighingSubsidy}}</td>
|
|
@@ -319,7 +224,6 @@
|
|
|
<tr class="row">
|
|
|
<td class="col col-bgc">质量扣款</td>
|
|
|
<td class="col col-bgc">其他扣款</td>
|
|
|
- <!-- <td class="col col-bgc" v-if="printData.type == '潮粮'">纯重单价</td> -->
|
|
|
<td class="col col-bgc">合计应付</td>
|
|
|
<td class="col col-bgc">购粮性质</td>
|
|
|
<td class="col col-bgc">车牌号</td>
|
|
@@ -328,15 +232,12 @@
|
|
|
<tr class="row">
|
|
|
<td class="col ">{{ item.qualityDeduction}}</td>
|
|
|
<td class="col ">{{ item.otherDeduction}}</td>
|
|
|
- <!-- <td class="col " v-if="printData.type == '潮粮'">{{ printData.solidGrainPrice}}</td> -->
|
|
|
<td class="col ">{{ item.calculationPayable}}</td>
|
|
|
<td class="col ">{{ item.qualityInspectionManagement.natureOfGrainPurchase}}</td>
|
|
|
<td class="col ">{{ item.carNo}}</td>
|
|
|
<td class="col " colspan="5">{{ item.remarks}}</td>
|
|
|
</tr>
|
|
|
<tr class="row">
|
|
|
- <!-- <td class="col col-bgc">实付金额</td>
|
|
|
- <td class="col " colspan="2">{{printData.actualPayment}}</td> -->
|
|
|
<td class="col col-bgc" colspan="3">人民币(大写)</td>
|
|
|
<td class="col " colspan="7">{{item.capitalize}}</td>
|
|
|
|
|
@@ -376,11 +277,6 @@
|
|
|
new Vue({
|
|
|
el: '#app',
|
|
|
data: {
|
|
|
- isShowPrintType1: false,
|
|
|
- isShowPrintType2: false,
|
|
|
- isShowPrintType3: false,
|
|
|
- isShowPrintType4: false,
|
|
|
- showType: [],
|
|
|
printData: [
|
|
|
{
|
|
|
identityAuthenticationInfo:{},
|
|
@@ -390,19 +286,7 @@
|
|
|
}
|
|
|
],
|
|
|
printData1: [],
|
|
|
- customerList: {},
|
|
|
- customerList1: [],
|
|
|
- name: '',
|
|
|
- bigContent: false,
|
|
|
- smallContent: false,
|
|
|
date: '',
|
|
|
- imageUrl1: '',
|
|
|
- imageUrl2: '',
|
|
|
- imageUrl3: '',
|
|
|
- imageUrl4: '',
|
|
|
- identity: [],
|
|
|
- bank: [],
|
|
|
- selectPrint: false,
|
|
|
},
|
|
|
computed: {},
|
|
|
methods: {
|
|
@@ -436,9 +320,6 @@
|
|
|
},
|
|
|
mounted() {
|
|
|
this.date = new Date().toLocaleString()
|
|
|
- // let _data = decodeURIComponent(this.getQueryVariable('dataList'))
|
|
|
- // console.log("cdsjkvdjkljklkcj",JSON.parse(_data))
|
|
|
- // inOutRecord_print
|
|
|
this.printData = JSON.parse(sessionStorage.getItem('inOutRecord_printBD'))
|
|
|
this.printData1 = JSON.parse(sessionStorage.getItem('inOutRecord_printJSD'))
|
|
|
console.log("磅单",this.printData)
|