采购入库单bug

This commit is contained in:
chenjianan
2019-03-08 13:32:58 +08:00
parent 05d24eeeb5
commit 25d104f87c

View File

@@ -322,7 +322,7 @@
<el-dialog :visible.sync="dialogVisibleExport" center style="min-height: 300px" width="60%"> <el-dialog :visible.sync="dialogVisibleExport" center style="min-height: 300px" width="60%">
<el-card> <el-card>
<div id="print"> <div id="print">
<div style="text-align: center"> <div style="text-align: center;border: 1px solid white">
<h2> </h2> <h2> </h2>
<hr> <hr>
<table class="tgClass" style="table-layout: fixed; width: 820px;margin: auto"> <table class="tgClass" style="table-layout: fixed; width: 820px;margin: auto">
@@ -379,13 +379,13 @@
<div style="margin-top: 10px"> <div style="margin-top: 10px">
<table class="tg" style="table-layout: fixed; width: 820px; margin: auto"> <table class="tg" style="table-layout: fixed; width: 820px; margin: auto">
<colgroup> <colgroup>
<col style="width: 150px"> <col style="width: 50px">
<col style="width: 150px"> <col style="width: 70px">
<col style="width: 120px"> <col style="width: 200px">
<col style="width: 100px">
<col style="width: 100px">
<col style="width: 100px">
<col style="width: 100px"> <col style="width: 100px">
<col style="width: 50px">
<col style="width: 50px">
<col style="width: 50px">
</colgroup> </colgroup>
<tr> <tr>
<th class="tg-c3ow">存货编码</th> <th class="tg-c3ow">存货编码</th>
@@ -399,7 +399,7 @@
<tr v-for="(list, index) in tableData4" :key="index"> <tr v-for="(list, index) in tableData4" :key="index">
<td class="tg-c3ow">{{ index + 1 }}</td> <td class="tg-c3ow">{{ index + 1 }}</td>
<td class="tg-c3ow">{{ list.名称 }}</td> <td class="tg-c3ow">{{ list.名称 }}</td>
<td class="tg-c3ow">{{ list.规格 }}</td> <td class="tg-c3ow">{{ list.规格 + list.型号 }}</td>
<td class="tg-baqh">{{ list.零件图号 }}</td> <td class="tg-baqh">{{ list.零件图号 }}</td>
<td class="tg-c3ow">{{ list.数量 }}</td> <td class="tg-c3ow">{{ list.数量 }}</td>
<td class="tg-c3ow">{{ list.本币单价 }}</td> <td class="tg-c3ow">{{ list.本币单价 }}</td>
@@ -417,8 +417,8 @@
</table> </table>
</div> </div>
<div style="margin-top: 20px; text-align: right"> <div style="margin-top: 20px; text-align: right">
<span style="margin-right: 50px">制单人:{{ '李鑫' }}</span> <span style="margin-right: 50px">制单人:</span>
<span style="margin-right: 50px">审核人:{{ '李鑫' }}</span> <span style="margin-right: 50px">审核人:</span>
</div> </div>
</div> </div>
</el-card> </el-card>
@@ -1011,6 +1011,7 @@ export default {
this.inbondCard[13] = row.备注 this.inbondCard[13] = row.备注
this.DetailNumber = row.采购入库单流水号 this.DetailNumber = row.采购入库单流水号
searchInboundCardDetail(this.DetailNumber).then(response => { searchInboundCardDetail(this.DetailNumber).then(response => {
console.log(this.tableData4)
this.tableData4 = response.data this.tableData4 = response.data
return this.tableData4 return this.tableData4
}).then(data => { }).then(data => {