|
@@ -210,7 +210,7 @@
|
|
|
type="primary"
|
|
|
id="allocateBillEdit-submit"
|
|
|
size="large"
|
|
|
- :disabled="spinning"
|
|
|
+ :loading="spinning"
|
|
|
class="button-primary"
|
|
|
@click="handleOpen"
|
|
|
style="padding: 0 60px;">提交</a-button>
|
|
@@ -494,11 +494,8 @@ export default {
|
|
|
_this.showDsModal = false
|
|
|
allocateBillSubmit(data).then(res => {
|
|
|
if (res.status == 200) {
|
|
|
- this.$message.success(res.message)
|
|
|
- setTimeout(() => {
|
|
|
- _this.handleBack()
|
|
|
- _this.spinning = false
|
|
|
- }, 1000)
|
|
|
+ _this.$message.success(res.message)
|
|
|
+ _this.handleBack()
|
|
|
} else {
|
|
|
_this.spinning = false
|
|
|
}
|