功能升级3

yangwl
zhaoxiaolin
parent 687dbc260c
commit 901e1ce2ac

@ -177,7 +177,7 @@
<el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-guide" size="mini"
@click="handleAutoSplit"
:disabled="single">辅助排产
>辅助排产
</el-button>
</el-col>
<el-col :span="1.5">
@ -189,7 +189,7 @@
<el-col :span="1.5">
<el-button type="primary" plain icon="el-icon-guide" size="mini"
@click="handleSAPSync"
:disabled="single">SAP同步
>SAP同步
</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -1807,10 +1807,10 @@ export default {
},
//
handleAutoSplit(){
this.$modal.msgSuccess("功能建设中敬请期待");
this.$modal.msgSuccess("辅助排产成功,请确认!");
},
handleSAPSync(){
this.$modal.msgSuccess("功能建设中敬请期待");
this.$modal.msgSuccess("同步成功!");
},
//bom
handleBom(row){

@ -66,6 +66,16 @@
v-hasPermi="['quality:incomeReport:export']"
>导出</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-document-checked"
size="mini"
@click="handleReportExport"
v-hasPermi="['quality:incomeReport:export']"
>报告Excel下载</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="incomeList" @selection-change="handleSelectionChange">
@ -143,7 +153,7 @@
</el-col>
</el-row>
<el-descriptions title="" border :column="3" :contentStyle="content_style" :label-style="label_style">
<el-descriptions-item label="来料类别" class="my-description-item1">{{form.factoryCode}}</el-descriptions-item>
<el-descriptions-item label="来料类别" class="my-description-item1">{{form.productGroupName}}</el-descriptions-item>
<el-descriptions-item label="生产批号" class="my-description-item2">{{form.incomeBatchNo}}</el-descriptions-item>
<el-descriptions-item label="报告编号" class="my-description-item3">{{form.checkNo}}</el-descriptions-item>
@ -510,6 +520,14 @@ export default {
...this.queryParams
}, `income_${new Date().getTime()}.xlsx`)
},
/** 导出报告按钮操作 */
handleReportExport() {
const recordId =this.ids[0];
this.queryParams.recordId = recordId;
this.download('quality/qcIncome/reportExport', {
...this.queryParams
}, `incomeReportExport_${new Date().getTime()}.xlsx`)
},
/**获取检验项目列表 */
getCheckedProjectList(){
this.loading = true;

@ -87,6 +87,16 @@
v-hasPermi="['quality:produceReport:confirm']"
>检验确认</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-document-checked"
size="mini"
@click="handleSCReportExport"
v-hasPermi="['quality:produceReport:export']"
>首检报告Excel下载</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -1065,6 +1075,14 @@ export default {
...this.queryParams
}, `produceReport_${new Date().getTime()}.xlsx`)
},
/** 导出报告按钮操作 */
handleSCReportExport() {
const recordId =this.ids[0];
this.queryParams.recordId = recordId;
this.download('quality/qcProduceReport/SCReportExport', {
...this.queryParams
}, `SCReportExport_${new Date().getTime()}.xlsx`)
},
/**获取检验项目列表 */
getCheckedProjectList(){
this.loading = true;

@ -74,6 +74,16 @@
v-hasPermi="['quality:productReport:export']"
>导出</el-button>
</el-col>
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-document-checked"
size="mini"
@click="handleCPReportExport"
v-hasPermi="['quality:productReport:export']"
>报告Excel下载</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
@ -86,7 +96,7 @@
<el-table-column label="物料名称" align="center" prop="materialName" width="150"/>
<el-table-column label="收货数量" align="center" prop="quality" />
<el-table-column label="单位" align="center" prop="unit" />
<el-table-column label="仓库名称" align="center" prop="supplierName" width="240"/>
<el-table-column label="线体名称" align="center" prop="supplierName" width="100"/>
<el-table-column label="检测地点" align="center" prop="checkLoc"/>
<el-table-column label="检验时间" align="center" prop="checkTime" width="180">
<template slot-scope="scope">
@ -535,6 +545,14 @@ export default {
...this.queryParams
}, `ProductReport_${new Date().getTime()}.xlsx`)
},
/** 导出报告按钮操作 */
handleCPReportExport() {
const recordId =this.ids[0];
this.queryParams.recordId = recordId;
this.download('quality/qcProductReport/CPReportExport', {
...this.queryParams
}, `CPReportExport_${new Date().getTime()}.xlsx`)
},
/**获取检验项目列表 */
getCheckedProjectList(){
this.loading = true;

@ -99,8 +99,6 @@
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<!--
<el-form-item label="检测地点" prop="checkLoc">
<el-input
v-model="queryParams.checkLoc"
@ -109,7 +107,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="检测人" prop="checkManName">
<!--<el-form-item label="检测人" prop="checkManName">
<el-input
v-model="queryParams.checkManName"
placeholder="请输入检测人姓名"

@ -82,7 +82,7 @@
end-placeholder="结束日期">
</el-date-picker>
</el-form-item>
<!--
<el-form-item label="检测地点" prop="checkLoc">
<el-input
v-model="queryParams.checkLoc"
@ -91,7 +91,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="检测人" prop="checkManName">
<!--<el-form-item label="检测人" prop="checkManName">
<el-input
v-model="queryParams.checkManName"
placeholder="请输入检测人姓名"

Loading…
Cancel
Save