领料单,出库检验单打印样式调整
This commit is contained in:
parent
b55a43f075
commit
c3fb3c7d87
|
|
@ -18,7 +18,7 @@ export function pushReviewList(query){
|
|||
})
|
||||
}
|
||||
|
||||
// 费用结算申请提交
|
||||
// 费用推送审核提交
|
||||
export function submitFee(params){
|
||||
return request({
|
||||
url: '/material/slt_agreement_info/submitFee',
|
||||
|
|
|
|||
|
|
@ -95,7 +95,6 @@
|
|||
</el-table>
|
||||
|
||||
<pagination
|
||||
v-show="total > 0"
|
||||
:total="total"
|
||||
:page.sync="queryParams.pageNum"
|
||||
:limit.sync="queryParams.pageSize"
|
||||
|
|
@ -282,7 +281,13 @@ export default {
|
|||
|
||||
/** 导出 */
|
||||
handleExport() {
|
||||
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `推送协议匹配记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
},
|
||||
};
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
plain
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
@click="handleExportYear"
|
||||
>导出年度费用</el-button
|
||||
>
|
||||
<el-button
|
||||
|
|
@ -78,7 +78,7 @@
|
|||
plain
|
||||
icon="el-icon-download"
|
||||
size="mini"
|
||||
@click="handleExport"
|
||||
@click="handleExportStart"
|
||||
>导出开工年度费用</el-button
|
||||
>
|
||||
<el-button
|
||||
|
|
@ -604,7 +604,7 @@ export default {
|
|||
},
|
||||
|
||||
|
||||
/** 查询岗位列表 */
|
||||
/** 查询列表 */
|
||||
getList() {
|
||||
this.loading = true;
|
||||
// getPushReviewList(this.queryParams).then((response) => {
|
||||
|
|
@ -793,9 +793,36 @@ export default {
|
|||
// this.$message.success("导出成功");
|
||||
// });
|
||||
},
|
||||
|
||||
/** 导出 */
|
||||
handleExport() {
|
||||
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `费用推送记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
/** 导出年度费用 */
|
||||
handleExportYear() {
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `年度费用记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
/** 导出开工年度费用 */
|
||||
handleExportStart() {
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `开工年度费用记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
|
||||
/** 批量退回 */
|
||||
|
|
|
|||
|
|
@ -695,9 +695,13 @@ export default {
|
|||
},
|
||||
//导出租赁费用
|
||||
handleExportLease() {
|
||||
// exportLease(this.dialogLease).then((response) => {
|
||||
// this.$message.success("导出成功");
|
||||
// });
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `租赁费用记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
|
||||
//打开维修费用弹窗
|
||||
|
|
@ -722,9 +726,13 @@ export default {
|
|||
},
|
||||
//导出维修费用
|
||||
handleExportRepair() {
|
||||
// exportRepair(this.dialogRepair).then((response) => {
|
||||
// this.$message.success("导出成功");
|
||||
// });
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `维修费用记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
|
||||
|
||||
|
|
@ -748,11 +756,15 @@ export default {
|
|||
handleQueryScrap() {
|
||||
this.getScrapList()
|
||||
},
|
||||
//导出维修费用
|
||||
//导出报废费用
|
||||
handleExportScrap() {
|
||||
// exportScrap(this.dialogScrap).then((response) => {
|
||||
// this.$message.success("导出成功");
|
||||
// });
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `报废费用记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
|
||||
|
||||
|
|
@ -777,13 +789,23 @@ export default {
|
|||
this.getLoseList()
|
||||
},
|
||||
handleExportLose() {
|
||||
// exportLose(this.dialogLose).then((response) => {
|
||||
// this.$message.success("导出成功");
|
||||
// });
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `丢失费用记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
/** 导出 */
|
||||
/** 外层导出 */
|
||||
handleExport() {
|
||||
|
||||
// this.download(
|
||||
// 'material/complex_query/exportOutRecord',
|
||||
// {
|
||||
// ...this.queryParams,
|
||||
// },
|
||||
// `费用推送审核记录_${new Date().getTime()}.xlsx`,
|
||||
// )
|
||||
},
|
||||
|
||||
/** 提交 */
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@
|
|||
/>
|
||||
|
||||
<!-- 出库检验单弹窗 -->
|
||||
<el-dialog :title="title" :visible.sync="openPrint" width="1100px" append-to-body>
|
||||
<el-dialog :title="title" :visible.sync="openPrint" width="1090px" append-to-body>
|
||||
<div style="height: 600px; overflow-y: scroll;padding: 0 20px">
|
||||
<!-- <vue-easy-print tableShow ref="remarksPrintRefCheck" class="print" :printable="'checkId'"> -->
|
||||
<div id="checkId">
|
||||
|
|
@ -168,7 +168,7 @@
|
|||
{{ checkDataInfo.leaseUnit }}
|
||||
</div>
|
||||
</div>
|
||||
<el-table :data="printTableData" class="table" style="margin-top: 20px;width: 1000px; padding: 2px" border>
|
||||
<el-table :data="printTableData" class="table" style="margin-top: 20px;width: 100%;" border>
|
||||
<el-table-column label="机具名称" align="center" prop="typeName"/>
|
||||
<el-table-column label="规格型号" align="center" prop="typeModelName" />
|
||||
<el-table-column label="单位" align="center" prop="unit" width="40px"/>
|
||||
|
|
@ -177,7 +177,7 @@
|
|||
<el-table-column label="额定载荷KN" align="center" prop="ratedLoad" width="80px"/>
|
||||
<el-table-column label="试验载荷KN" align="center" prop="testLoad" width="80px"/>
|
||||
<el-table-column label="持荷时间min" align="center" prop="holdingTime" width="80px"/>
|
||||
<el-table-column label="试验日期" align="center" prop="testTime" />
|
||||
<el-table-column label="试验日期" align="center" prop="testTime" width="120px"/>
|
||||
<el-table-column label="下次试验日期" align="center" prop="nextTestTime" width="120px"/>
|
||||
<el-table-column label="检验结论" align="center" prop="checkResult" />
|
||||
<el-table-column label="备注" align="center" prop="remark"/>
|
||||
|
|
@ -207,7 +207,8 @@
|
|||
<!-- 领料单弹窗 -->
|
||||
<el-dialog :visible.sync="open" width="800px" :title="title" append-to-body>
|
||||
<div style="height: 500px; overflow-y: scroll; padding: 0 20px">
|
||||
<vue-easy-print tableShow ref="remarksPrintRef" class="print">
|
||||
<!-- <vue-easy-print tableShow ref="remarksPrintRef" > -->
|
||||
<div id="checkIdTwo">
|
||||
<div class="title" style="text-align: center; font-weight: 600; font-size: 16px">
|
||||
领料单
|
||||
</div>
|
||||
|
|
@ -229,9 +230,9 @@
|
|||
{{ leaseApplyData.code }}
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 100%;margin-top: 20px;">
|
||||
<el-table :data="leaseApplyDetails" class="table" border style="padding: 2px;">
|
||||
<el-table-column label="序号" align="center" type="index" />
|
||||
|
||||
<el-table :data="leaseApplyDetails" class="table" border style="width: 100%;">
|
||||
<el-table-column label="序号" align="center" type="index" width="60px"/>
|
||||
<el-table-column label="类型名称" align="center" prop="typeName" />
|
||||
<el-table-column label="规格型号" align="center" prop="typeName" />
|
||||
<el-table-column label="计量单位" align="center" prop="unitName" />
|
||||
|
|
@ -244,7 +245,7 @@
|
|||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
|
||||
<div class="fillIn" style="margin-top: 30px;display: flex;justify-content: space-between;">
|
||||
<div class="item" style="width: 24%;display: flex;align-items: center;flex-wrap: wrap;">
|
||||
<div style="width: 30%;">审核:</div>
|
||||
|
|
@ -271,7 +272,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</vue-easy-print>
|
||||
</div>
|
||||
<!-- </vue-easy-print> -->
|
||||
</div>
|
||||
<div slot="footer" class="dialog-footer" style="text-align: center">
|
||||
<el-button type="primary" @click="print">打 印</el-button>
|
||||
|
|
@ -546,7 +548,7 @@ export default {
|
|||
printable: 'checkId',
|
||||
type: 'html',
|
||||
targetStyles: ['*'],
|
||||
maxWidth:'1200'
|
||||
maxWidth:'1400'
|
||||
// 其他配置选项
|
||||
});
|
||||
},
|
||||
|
|
@ -569,7 +571,14 @@ export default {
|
|||
|
||||
//打印
|
||||
print() {
|
||||
this.$refs.remarksPrintRef.print();
|
||||
// this.$refs.remarksPrintRef.print();
|
||||
printJS({
|
||||
printable: 'checkIdTwo',
|
||||
type: 'html',
|
||||
targetStyles: ['*'],
|
||||
maxWidth:'1400'
|
||||
// 其他配置选项
|
||||
});
|
||||
},
|
||||
|
||||
/** 删除按钮操作 */
|
||||
|
|
@ -722,10 +731,10 @@ export default {
|
|||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
::v-deep.el-table .fixed-width .el-button--mini {
|
||||
width: 70px !important;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
// ::v-deep.el-table .fixed-width .el-button--mini {
|
||||
// width: 70px !important;
|
||||
// margin-bottom: 10px;
|
||||
// }
|
||||
|
||||
.image-type {
|
||||
/* 旋转图片 */
|
||||
|
|
|
|||
Loading…
Reference in New Issue