From 568100be44e6c17641112afb9560e91c2246a4ee Mon Sep 17 00:00:00 2001
From: Vergil <974548713@qq.com>
Date: Mon, 27 Apr 2020 14:51:27 +0800
Subject: [PATCH] =?UTF-8?q?=E9=9B=B6=E4=BB=B6=E5=88=86=E9=85=8D=E6=8C=89?=
=?UTF-8?q?=E9=92=AE=E7=A6=81=E7=94=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../PartAssignment/index.vue | 30 +++++++++++++++++--
1 file changed, 27 insertions(+), 3 deletions(-)
diff --git a/src/views/ManufacturingCenter/PartAssignment/index.vue b/src/views/ManufacturingCenter/PartAssignment/index.vue
index 6d8f65b5..40f15cbf 100644
--- a/src/views/ManufacturingCenter/PartAssignment/index.vue
+++ b/src/views/ManufacturingCenter/PartAssignment/index.vue
@@ -198,15 +198,15 @@
placeholder="选择交货期"/>
制造:
- 制造部采购
+ 制造部采购
金工:
- 车间生产
+ 车间生产
采购:
- 采购部门采购
+ 采购部门采购
@@ -559,6 +559,9 @@ export default {
inject: ['reload'],
data() {
return {
+ purchaseRequisition_loading: false,
+ Production_loading: false,
+ PurchasingDepartment_loading: false,
handleAdd_disable: false,
dateRange: '',
partNumber: '',
@@ -1250,6 +1253,11 @@ export default {
this.multipleSelection11 = val
},
purchaseRequisition() {
+ this.purchaseRequisition_loading = true
+ var that = this
+ setTimeout(function() {
+ that.purchaseRequisition_loading = false
+ }, 5000)
if (this.RequisitionList !== '') {
if (this.time !== '' && this.time !== null) {
if (this.multipleSelection.length !== 0) {
@@ -1395,16 +1403,24 @@ export default {
}
}
} else {
+ this.purchaseRequisition_loading = false
this.$message.warning('请选择零件或物料')
}
} else {
+ this.purchaseRequisition_loading = false
this.$message.warning('请选择交货期')
}
} else {
+ this.purchaseRequisition_loading = false
this.$message.warning('请先选择请购单')
}
},
PurchasingDepartment() {
+ this.PurchasingDepartment_loading = true
+ var that = this
+ setTimeout(function() {
+ that.PurchasingDepartment_loading = false
+ }, 5000)
if (this.time !== '' && this.time !== null) {
if (this.multipleSelection.length !== 0) {
if (this.PartType === '基本件') {
@@ -1470,13 +1486,20 @@ export default {
})
}
} else {
+ this.PurchasingDepartment_loading = false
this.$message.warning('请选择零件或物料')
}
} else {
+ this.PurchasingDepartment_loading = false
this.$message.warning('请选择交货期')
}
},
Production() {
+ this.Production_loading = true
+ var that = this
+ setTimeout(function() {
+ that.Production_loading = false
+ }, 5000)
if (this.PartType === '基本件' && this.multipleSelection.length !== 0) {
this.MaterialNum = []
this.BasicPartsNumber = []
@@ -1504,6 +1527,7 @@ export default {
}
})
} else {
+ this.Production_loading = false
this.$message.warning('请选择基本件')
}
},