|
|
|
@ -472,7 +472,7 @@
|
|
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
|
|
|
|
|
|
|
<el-button type="primary" @click="cancel" v-if="optType == 'view'">返回</el-button>
|
|
|
|
|
<el-button type="primary" @click="submitConsume" v-else>确 定</el-button>
|
|
|
|
|
<el-button :disabled="loading" type="primary" @click="submitConsume" v-else>确 定</el-button>
|
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
|
</div>
|
|
|
|
|
</el-dialog>
|
|
|
|
@ -1362,7 +1362,7 @@ export default {
|
|
|
|
|
this.sConsumeRows = selection;
|
|
|
|
|
},
|
|
|
|
|
submitConsume() {
|
|
|
|
|
// this.loading = true;
|
|
|
|
|
this.loading = true;
|
|
|
|
|
this.pConsumeRows = this.pConsumeRows.concat(
|
|
|
|
|
this.mergedArray.filter(
|
|
|
|
|
(obj2) =>
|
|
|
|
|