给单据保存按钮增加loading效果
This commit is contained in:
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
@@ -11,8 +11,8 @@
|
|||||||
style="top:20px;height: 95%;">
|
style="top:20px;height: 95%;">
|
||||||
<template slot="footer">
|
<template slot="footer">
|
||||||
<a-button @click="handleCancel">取消</a-button>
|
<a-button @click="handleCancel">取消</a-button>
|
||||||
<a-button v-if="checkFlag && isCanCheck" @click="handleOkAndCheck">保存并审核</a-button>
|
<a-button v-if="checkFlag && isCanCheck" :loading="confirmLoading" @click="handleOkAndCheck">保存并审核</a-button>
|
||||||
<a-button type="primary" @click="handleOk">保存</a-button>
|
<a-button type="primary" :loading="confirmLoading" @click="handleOk">保存</a-button>
|
||||||
</template>
|
</template>
|
||||||
<a-spin :spinning="confirmLoading">
|
<a-spin :spinning="confirmLoading">
|
||||||
<a-form :form="form">
|
<a-form :form="form">
|
||||||
|
|||||||
Reference in New Issue
Block a user