From b311b3cfee0a4635c236eea6c5870d805a29a160 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 22 九月 2025 13:09:31 +0800
Subject: [PATCH] 优化导出工控网
---
src/views/flowmgr/taskassign.vue | 29 +++++++++++++++++++++--------
1 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/src/views/flowmgr/taskassign.vue b/src/views/flowmgr/taskassign.vue
index cb6ac3c..2c27e8c 100644
--- a/src/views/flowmgr/taskassign.vue
+++ b/src/views/flowmgr/taskassign.vue
@@ -17,9 +17,13 @@
</template>
<template #drawingNo="{}">
<el-autocomplete v-model="attachForm.drawingNo"
- :fetch-suggestions="querySearchAsync"
- :trigger-on-focus="false" @select="handleSelect"
+ :trigger-on-focus="false" :fetch-suggestions="querySearchAsync"
+ @select="handleSelect"
>
+ <!--
+ <template solt="input" slot-scope="{$attrs}">
+ <input type="hidden" :disabled="true" :value="$refs.input.value"/>
+ </template>-->
</el-autocomplete>
</template>
<!--
@@ -114,11 +118,9 @@
prop: 'productModel',
type: 'input',
span: 12,
+ disabled:true,
+ placeholder:'閫夋嫨闆剁粍浠跺彿鑷姩濉厖',
dataType: 'string',
- rules: [{ required: true, message: '蹇呭~', trigger: 'blur' }],
- blur: (col) => {
- this.handleTrim(col)
- },
},
{
label: '宸ュ簭鍙�',
@@ -132,6 +134,15 @@
blur: (col) => {
this.handleTrim(col)
},
+ },
+ {
+ label: '闆剁粍浠跺悕绉�',
+ prop: 'drawingName',
+ type: 'input',
+ placeholder:'閫夋嫨闆剁粍浠跺彿鑷姩濉厖',
+ span: 12,
+ disabled:true,
+ dataType: 'string',
},
{
label: '宸ュ簭鍚嶇О',
@@ -198,13 +209,13 @@
rules: [{ required: true, message: '蹇呭~', trigger: 'blur' }],
},
{
- label: '鍋忕鍗曞彿',
+ label: '涓存椂鏇存敼鍗曞彿',
prop: 'deviation',
type: 'input',
span: 12,
dataType: 'string',
class:'input_holder_warn',
- placeholder:'鏃犲亸绂诲崟浠诲姟璇风暀绌�',
+ placeholder:'闈炰复鏃舵洿鏀瑰崟浠诲姟璇风暀绌�',
blur: (col) => {
this.handleTrim(col)
},
@@ -298,6 +309,7 @@
params: {drawingNo: query},
}).then(
res => {
+ this.attachForm.productModel = '';//
if(res.data.code == 200){
let list = res.data.data;
for(let i of list){
@@ -319,6 +331,7 @@
},
handleSelect(item) {
this.attachForm.productModel = item.cph;
+ this.attachForm.drawingName = item.ljmc;
},
/*
queryProgrammerAsync(query, cb) {//涓荤宸ヨ壓鎼滅储寤鸿
--
Gitblit v1.9.3