+
+
+
+
+
{{ planInfo.productCode }}生产计划物料单
+
+ {{ planInfo.productCode }}
+ {{ planInfo.productOrg }}
+
+ {{ planInfo.workshop }}
+
+ {{ planInfo.team }}
+ {{ planInfo.teamLade }}
+
+
+
+ {{ planInfo.workTime }}
+ {{ planInfo.duration }}
+ {{ planInfo.status }}
+ {{ planInfo.speedUp }}
+
+
+
+
+ {{ planInfo.auditBy }}
+ {{ planInfo.auditTimr }}
+
+
+
-
- 计划面料清单
-
-
-
- 计划辅料清单
-
-
-
- 工序面料清单
-
+
+
+
+ 计划面料清单
+
+
-
+ 计划辅料清单
+
+
- 工序辅料清单
-
-
-
-
+
工序面料清单
+
+
+
工序辅料清单
+
+
+
+
@@ -70,6 +69,8 @@ import {getAction} from "@api/manage";
import {mixinDevice} from '@/utils/mixin'
import {JeecgListMixin} from '@/mixins/JeecgListMixin'
import {filterObj} from "@/utils/util";
+import {downloadPDF} from '@/utils/htmlToPdf';
+
const columns1 = [
// {
// title: '计划ID',
@@ -194,6 +195,11 @@ export default {
this.getWuLiaoDetail(this.planId);
},
methods: {
+
+ handleDown() {
+ downloadPDF(document.querySelector('#demo'), this.planInfo.productCode + "生产计划物料单.pdf");
+ },
+
fanHui(record) {
this.$router.push({
path: '/productplan/ProductplanManage',
@@ -202,7 +208,7 @@ export default {
},
});
},
- getQueryParams(){
+ getQueryParams() {
var param = Object.assign({}, this.queryParam);
// delete param.createTimeRange; // 时间参数不传递后台
return filterObj(param);