|
|
|
@ -487,7 +487,7 @@
|
|
|
|
|
<el-tabs v-model="activeName">
|
|
|
|
|
<el-tab-pane label="母工单报工信息" name="pOrder">
|
|
|
|
|
<el-table v-loading="loading" :data="pOrderTableList" ref="myPOrderTable"
|
|
|
|
|
@selection-change="pReportSelection" :summary-method="getSummaries" show-summary>
|
|
|
|
|
@selection-change="SAPpReportSelection" :summary-method="getSummaries" show-summary>
|
|
|
|
|
<el-table-column width="50" align="center" type="selection" />
|
|
|
|
|
<el-table-column label="id" align="center" prop="id" v-if="false" />
|
|
|
|
|
<el-table-column label="SAP工单编码" width="250" align="left" prop="workorderCodeSap"
|
|
|
|
@ -1242,7 +1242,10 @@ export default {
|
|
|
|
|
return acc;
|
|
|
|
|
}, []);
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
SAPpReportSelection(selection) {
|
|
|
|
|
this.pReportRows = selection
|
|
|
|
|
},
|
|
|
|
|
submitReport() {
|
|
|
|
|
this.reportRows = this.pReportRows;
|
|
|
|
|
if (this.reportRows == 0) {
|
|
|
|
|