From 895d899f5a6c15500a1486a61768e517c83d613e Mon Sep 17 00:00:00 2001
From: DOUDOU <877258667@qq.com>
Date: Sat, 8 Oct 2022 14:00:49 +0800
Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9D=9F=E5=8D=B7=E6=98=AF=E5=90=A6?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/yieldReport/com_finish_roll.vue | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/views/modules/yieldReport/com_finish_roll.vue b/src/views/modules/yieldReport/com_finish_roll.vue
index fe0612e..839ac6e 100644
--- a/src/views/modules/yieldReport/com_finish_roll.vue
+++ b/src/views/modules/yieldReport/com_finish_roll.vue
@@ -24,7 +24,7 @@
刷新
-
+
结束卷
@@ -517,6 +517,7 @@ export default {
],
buttonTags:{
selectShiftFlag: true,
+ finishRollFlag: true,
},
dataListLoading: false,
}
@@ -589,6 +590,8 @@ export default {
/*刷新当前的页面参数*/
async refreshPageData(){
+ //首先关闭报工按钮
+ this.buttonTags.finishRollFlag = true;
//1.刷新当前卷的报工数据
await getCurrentRollReportedQty(this.scheduleData).then(({data}) => {
this.pageData.approvedQty = data.row.approvedQty;
@@ -673,6 +676,10 @@ export default {
//刷新当前卷的时间数据
await getSfdcMaterialByRollNo(this.scheduleData).then(({data}) => {
this.sfdcMaterialList = data.rows;
+ //只有数据全部刷新后 才可以报工
+ setTimeout(()=>{
+ this.buttonTags.finishRollFlag = false;
+ }, 1000);
});
},