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