From f71832a6389efa2f851b8b7bd7a615ed2d3250e4 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 28 三月 2024 13:16:16 +0800
Subject: [PATCH] 完成模具页面
---
src/views/quality/rawMaterial/index.vue | 29 ++++++++++++++---------------
1 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/src/views/quality/rawMaterial/index.vue b/src/views/quality/rawMaterial/index.vue
index fc085ef..c5af6e0 100644
--- a/src/views/quality/rawMaterial/index.vue
+++ b/src/views/quality/rawMaterial/index.vue
@@ -187,12 +187,13 @@
},
{
minWidth: '120',
- prop: 'createTime',
+ prop: 'startTime',
label: '鎶ユ鏃ユ湡',
isTrue: true,
sort: true,
isSearch: true,
searchInfoType: 'text',
+ searchInfoType: 'datetimerange',
formatter: this.formatDateTime,
},
{
@@ -210,6 +211,7 @@
isTrue: true,
isSearch: true,
searchInfoType: 'text',
+ searchInfoType: 'datetimerange',
formatter: this.formatDateTime,
},
{
@@ -317,25 +319,22 @@
cancelButtonText: '涓嶉�氳繃',
type: 'warning'
}).then(() => {
- checkPutIFS(val.id,{result: 1}).then(res=>{
- if(res.status===200){
- console.log(res)
- }
- }).catch(error=>{
- console.error(error)
- })
+ this.checkPutIFSFun(val.id,1);
}).catch((action) => {
if(action === 'cancel'){
- checkPutIFS(val.id,{result: 2}).then(res=>{
- if(res.status===200){
- console.log(res)
- }
- }).catch(error=>{
- console.error(error)
- })
+ this.checkPutIFSFun(val.id,2);
}
});
},
+ checkPutIFSFun(id,result){
+ checkPutIFS(id, result).then(res=>{
+ if(res.status===200){
+ this.getData()
+ }
+ }).catch(error=>{
+ console.error(error)
+ })
+ },
downloadReport(){
let selection = this.multipleSelection
if(!selection || selection.length < 1){
--
Gitblit v1.9.3