wmsSAP收货按钮修改

master
mengjiao 6 months ago
parent 89887c03a5
commit 124cf6802c

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

Loading…
Cancel
Save