预报工+切线报工

yangwl
zhaoxiaolin 7 months ago
parent cec40755dc
commit 475f24a93e

@ -377,6 +377,7 @@
@change="handleEdit(scope.$index, scope.row)"></el-input> @change="handleEdit(scope.$index, scope.row)"></el-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="报工单编号" align="center" prop="reportCode" width="120" />
<el-table-column label="创建时间" align="center" prop="createTime" width="150" /> <el-table-column label="创建时间" align="center" prop="createTime" width="150" />
</el-table> </el-table>
@ -434,6 +435,7 @@
</el-select> </el-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="报工单编号" align="center" prop="reportCode" width="120" />
<el-table-column label="创建时间" align="center" prop="createTime" width="150" /> <el-table-column label="创建时间" align="center" prop="createTime" width="150" />
<el-table-column fixed="right" label="操作" width="90"> <el-table-column fixed="right" label="操作" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
@ -995,6 +997,8 @@ export default {
updateBy: null, updateBy: null,
endReport: "0" endReport: "0"
}; };
this.queryParams.workorderCode = "";
this.queryParams.machineCode = "";
this.resetForm("form"); this.resetForm("form");
this.libTabs = []; this.libTabs = [];
this.libConsumeTabs = []; this.libConsumeTabs = [];
@ -1264,6 +1268,8 @@ export default {
submitReportPS(this.reportRows).then((response) => { submitReportPS(this.reportRows).then((response) => {
this.$modal.msgSuccess("报工信息修改成功"); this.$modal.msgSuccess("报工信息修改成功");
this.openReport = false; this.openReport = false;
this.queryParams.workorderCode = "";
this.queryParams.machineCode = "";
this.getList(); this.getList();
}); });
}, },
@ -1309,9 +1315,10 @@ export default {
this.openConsume = true; this.openConsume = true;
this.titleConsume = "工单报工物料损耗详情"; this.titleConsume = "工单报工物料损耗详情";
this.queryParams.workorderCode = ""; this.queryParams.workorderCode = "";
this.queryParams.machineCode = "";
}); });
this.queryParams.workorderCode = sr.workorderCode; //this.queryParams.workorderCode = sr.workorderCode;
//BOM //BOM
//this.queryParams.parentOrder = '0'; //this.queryParams.parentOrder = '0';
//getBomList(this.queryParams).then(response => { //getBomList(this.queryParams).then(response => {

Loading…
Cancel
Save