检验报告优化

yangwl
shaoyong 8 months ago
parent ae6c8b8e5f
commit 4ad10ff30d

@ -63,7 +63,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="['quality:qcIncome:add']" v-hasPermi="['quality:inventoryReport:add']"
>新增</el-button> >新增</el-button>
</el-col> --> </el-col> -->
<el-col :span="1.5"> <el-col :span="1.5">
@ -73,7 +73,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['quality:incomeReport:export']" v-hasPermi="['quality:inventoryReport:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -105,7 +105,6 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleLook(scope.row)" @click="handleLook(scope.row)"
v-hasPermi="['quality:incomeReport:edit']"
>查看</el-button> >查看</el-button>
</template> </template>
</el-table-column> </el-table-column>

@ -65,7 +65,7 @@
icon="el-icon-download" icon="el-icon-download"
size="mini" size="mini"
@click="handleExport" @click="handleExport"
v-hasPermi="['quality:qcIncomeReport:export']" v-hasPermi="['quality:produceReport:export']"
>导出</el-button> >导出</el-button>
</el-col> </el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar> <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
@ -99,7 +99,6 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleLook(scope.row)" @click="handleLook(scope.row)"
v-hasPermi="['quality:qcIncomeReport:edit']"
>查看报告</el-button> >查看报告</el-button>
</template> </template>
</el-table-column> </el-table-column>
@ -600,7 +599,7 @@ export default {
handleExport() { handleExport() {
this.download('quality/qcIncome/export', { this.download('quality/qcIncome/export', {
...this.queryParams ...this.queryParams
}, `income_${new Date().getTime()}.xlsx`) }, `produce_${new Date().getTime()}.xlsx`)
}, },
/**获取检验项目列表 */ /**获取检验项目列表 */
getCheckedProjectList(){ getCheckedProjectList(){
@ -609,7 +608,7 @@ export default {
this.checkProjectList = response.rows; this.checkProjectList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
this.standardNo = this.checkProjectList[0].standardNo || '20240109test'; this.standardNo = this.checkProjectList[0].standardNo;
}); });
}, },
// - // -

@ -95,7 +95,6 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleLook(scope.row)" @click="handleLook(scope.row)"
v-hasPermi="['quality:productReport:edit']"
>查看</el-button> >查看</el-button>
</template> </template>
</el-table-column> </el-table-column>

Loading…
Cancel
Save