From c562ec4c92af671162e4a6e7112d8855bd29a050 Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Mon, 27 Apr 2020 15:44:09 +0800
Subject: [PATCH] a
---
.../CreatePreparationBill/index.vue | 19 ++++++++++++++++---
1 file changed, 16 insertions(+), 3 deletions(-)
diff --git a/src/views/ManufacturingCenter/CreatePreparationBill/index.vue b/src/views/ManufacturingCenter/CreatePreparationBill/index.vue
index 3c5a1619..5e444455 100644
--- a/src/views/ManufacturingCenter/CreatePreparationBill/index.vue
+++ b/src/views/ManufacturingCenter/CreatePreparationBill/index.vue
@@ -8,10 +8,10 @@
查询
- 外购备料
+ 外购备料
- 自家备料
+ 自家备料
查询全部
@@ -149,6 +149,8 @@ import $ from 'jquery'
export default {
data() {
return {
+ edit2_loading: false,
+ edit_loading: false,
a: 0,
tableData2: [],
partName: '',
@@ -233,7 +235,13 @@ export default {
this.tableData2 = val
},
edit() {
+ this.edit_loading = true
+ var that = this
+ setTimeout(function() {
+ that.edit_loading = false
+ }, 5000)
if (this.tableData2.length === 0) {
+ this.edit_loading = false
this.$message.warning('暂无数据')
} else {
this.a = 0
@@ -250,8 +258,13 @@ export default {
}
},
edit2() {
- console.log(this.$store.state.user.id, 9090)
+ this.edit2_loading = true
+ var that = this
+ setTimeout(function() {
+ that.edit2_loading = false
+ }, 5000)
if (this.tableData2.length === 0) {
+ this.edit2_loading = false
this.$message.warning('暂无数据')
} else {
this.a = 0