|
@@ -3,7 +3,7 @@
|
|
|
<Card style="width:100%" :bordered="false" :dis-hover="true">
|
|
|
<p slot="title">打印采购单</p>
|
|
|
<div slot="extra">
|
|
|
- <Button style="width: 80px" v-print="'#printForm1'">打印</Button>
|
|
|
+ <Button style="width: 80px" v-print="printObj">打印</Button>
|
|
|
<Button @click="$emit('return')" style="width: 80px">返回</Button>
|
|
|
</div>
|
|
|
<div id="printForm1">
|
|
@@ -129,6 +129,9 @@ export default {
|
|
|
name: "orderPrint",
|
|
|
data() {
|
|
|
return {
|
|
|
+ printObj: {
|
|
|
+ id: "printForm1"
|
|
|
+ },
|
|
|
printData: {
|
|
|
detailList: [],
|
|
|
},
|
|
@@ -190,6 +193,7 @@ ivu-card-head-inner,
|
|
|
margin: 0 auto;
|
|
|
font-size: 14px;
|
|
|
.head {
|
|
|
+ min-height: 50px;
|
|
|
text-align: center;
|
|
|
position: relative;
|
|
|
.logo {
|
|
@@ -207,8 +211,9 @@ ivu-card-head-inner,
|
|
|
}
|
|
|
}
|
|
|
.line {
|
|
|
+ width: 100%;
|
|
|
height: 1px;
|
|
|
- background: #000;
|
|
|
+ border-bottom: 1px solid #000;
|
|
|
margin-bottom: 3px;
|
|
|
}
|
|
|
.infor {
|