|
|
@ -472,7 +472,7 @@
|
|
|
|
<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-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>
|
|
|
|
<el-button @click="cancel">取 消</el-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
@ -1362,7 +1362,7 @@ export default {
|
|
|
|
this.sConsumeRows = selection;
|
|
|
|
this.sConsumeRows = selection;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
submitConsume() {
|
|
|
|
submitConsume() {
|
|
|
|
// this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
this.pConsumeRows = this.pConsumeRows.concat(
|
|
|
|
this.pConsumeRows = this.pConsumeRows.concat(
|
|
|
|
this.mergedArray.filter(
|
|
|
|
this.mergedArray.filter(
|
|
|
|
(obj2) =>
|
|
|
|
(obj2) =>
|
|
|
|