|
|
@ -442,7 +442,7 @@
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
<div class="button-container">
|
|
|
|
<div class="button-container">
|
|
|
|
<el-button size="mini" type="primary"
|
|
|
|
<el-button :disabled="loading" size="mini" type="primary"
|
|
|
|
@click="addConsumeTableRow(item.libList, index)">新增物料</el-button>
|
|
|
|
@click="addConsumeTableRow(item.libList, index)">新增物料</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-tab-pane>
|
|
|
|
</el-tab-pane>
|
|
|
@ -919,6 +919,7 @@ export default {
|
|
|
|
this.openReport = false;
|
|
|
|
this.openReport = false;
|
|
|
|
this.openReportSAP = false;
|
|
|
|
this.openReportSAP = false;
|
|
|
|
this.openConsume = false;
|
|
|
|
this.openConsume = false;
|
|
|
|
|
|
|
|
this.loading = false;
|
|
|
|
this.reset();
|
|
|
|
this.reset();
|
|
|
|
},
|
|
|
|
},
|
|
|
|
getSummaries(param) {
|
|
|
|
getSummaries(param) {
|
|
|
@ -1244,7 +1245,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
// 多选框选中数据
|
|
|
|
// 多选框选中数据
|
|
|
|
SAPpReportSelection(selection) {
|
|
|
|
SAPpReportSelection(selection) {
|
|
|
|
this.pReportRows = selection
|
|
|
|
this.pReportRows = selection;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
submitReport() {
|
|
|
|
submitReport() {
|
|
|
|
this.reportRows = this.pReportRows;
|
|
|
|
this.reportRows = this.pReportRows;
|
|
|
@ -1379,12 +1380,18 @@ export default {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
submitConsumePS(this.consumeRows).then(response => {
|
|
|
|
submitConsumePS(this.consumeRows)
|
|
|
|
|
|
|
|
.then((response) => {
|
|
|
|
this.$modal.msgSuccess("报工信息修改成功");
|
|
|
|
this.$modal.msgSuccess("报工信息修改成功");
|
|
|
|
this.openConsume = false;
|
|
|
|
this.openConsume = false;
|
|
|
|
this.reset();
|
|
|
|
this.reset();
|
|
|
|
this.getList();
|
|
|
|
this.getList();
|
|
|
|
this.loading = false;
|
|
|
|
this.loading = false;
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
.catch((error) => {
|
|
|
|
|
|
|
|
// 请求失败的处理
|
|
|
|
|
|
|
|
this.$modal.msgError(`报工信息修改失败`);
|
|
|
|
|
|
|
|
this.loading = false; // 关闭 loading 状态
|
|
|
|
});
|
|
|
|
});
|
|
|
|
},
|
|
|
|
},
|
|
|
|
/** 导出按钮操作 */
|
|
|
|
/** 导出按钮操作 */
|
|
|
|