|
@@ -59,7 +59,7 @@
|
|
|
</a-form-model-item>
|
|
|
</a-form-model>
|
|
|
<div class="btn-cont">
|
|
|
- <a-button type="primary" id="allocateBill-basicInfo-modal-save" @click="handleSave">保存</a-button>
|
|
|
+ <a-button type="primary" :loading="spinning" id="allocateBill-basicInfo-modal-save" @click="handleSave">保存</a-button>
|
|
|
<a-button id="allocateBill-basicInfo-modal-back" @click="isShow = false" style="margin-left: 15px;">取消</a-button>
|
|
|
</div>
|
|
|
</a-spin>
|
|
@@ -177,11 +177,8 @@ export default {
|
|
|
allocateBillSave(form).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
_this.$message.success(res.message)
|
|
|
- setTimeout(() => {
|
|
|
- _this.isShow = false
|
|
|
- _this.$emit('ok', res.data)
|
|
|
- _this.spinning = false
|
|
|
- }, 1000)
|
|
|
+ _this.isShow = false
|
|
|
+ _this.$emit('ok', res.data)
|
|
|
} else {
|
|
|
_this.spinning = false
|
|
|
}
|