计件工资统计修改

master
Yangwl 9 months ago
parent d7061c5c3d
commit a9d6ddab61

@ -34,9 +34,9 @@
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
/> />
</el-form-item> </el-form-item>
<el-form-item label="产线名称" prop="lineName"> <el-form-item label="产线名称" prop="equipmentName">
<el-input <el-input
v-model="queryParams.lineName" v-model="queryParams.equipmentName"
placeholder="请输入产线名称" placeholder="请输入产线名称"
clearable clearable
@keyup.enter.native="handleQuery" @keyup.enter.native="handleQuery"
@ -49,7 +49,19 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
type="warning"
plain
icon="el-icon-download"
size="mini"
@click="handleExport"
v-hasPermi="['unitPriceReport:report:export']"
>导出</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
<el-table v-loading="loading" :data="unitPriceList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="unitPriceList" @selection-change="handleSelectionChange">
<!-- <el-table-column type="selection" width="55" align="center" />--> <!-- <el-table-column type="selection" width="55" align="center" />-->
<el-table-column fixed="left" label="工单号" align="center" width="180" prop="workorderCode" /> <el-table-column fixed="left" label="工单号" align="center" width="180" prop="workorderCode" />
@ -83,7 +95,7 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="['system:unitPrice:edit']" v-hasPermi="['unitPriceReport:report:edit']"
>工资修改</el-button> >工资修改</el-button>
<!-- <el-button--> <!-- <el-button-->
<!-- size="mini"--> <!-- size="mini"-->
@ -305,7 +317,7 @@ export default {
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */
handleExport() { handleExport() {
this.download('mes/unitPrice/export', { this.download('mes/unitPriceReport/export', {
...this.queryParams ...this.queryParams
}, `unitPrice_${new Date().getTime()}.xlsx`) }, `unitPrice_${new Date().getTime()}.xlsx`)
}, },

Loading…
Cancel
Save