报工详情修改

master
杨万里 3 months ago
parent 583ffba429
commit 1a97b73199

@ -437,8 +437,8 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="cancel" v-if="optType == 'view'"></el-button> <!-- <el-button type="primary" @click="cancel" v-hasPermi="['mes:reportWork:report']" v-if="optType == 'view'"></el-button>-->
<el-button type="primary" :disabled="loading" @click="submitReport" v-else> </el-button> <el-button type="primary" :disabled="loading" @click="submitReport" v-hasPermi="['mes:reportWork:submit']"> </el-button>
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -1000,14 +1000,14 @@ export default {
}, },
// //
cancel() { cancel() {
window.location.reload(); // window.location.reload();
this.open = false; this.open = false;
this.openReport = false; this.openReport = false;
this.openReportSAP = false; this.openReportSAP = false;
this.openConsume = false; this.openConsume = false;
this.loading = false; this.loading = false;
this.reset(); this.reset();
this.getList(); // this.getList();
}, },
getSummaries(param) { getSummaries(param) {
const { columns, data } = param; const { columns, data } = param;

Loading…
Cancel
Save