From 039d01c3ee6217e18ef3bcaec263fd2ad59e6f68 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 20 九月 2023 16:19:51 +0800
Subject: [PATCH] modified: src/components/view/equipmentmaintain.vue modified: src/components/view/standard-table/material.vue modified: src/components/view/standard-table/product.vue modified: src/components/view/standard-table/target.vue modified: src/components/view/standard-table/technology.vue
---
src/components/view/self-inspection.vue | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/src/components/view/self-inspection.vue b/src/components/view/self-inspection.vue
index 55b8cbc..9eb52c1 100644
--- a/src/components/view/self-inspection.vue
+++ b/src/components/view/self-inspection.vue
@@ -216,7 +216,7 @@
<el-form ref="form" :model="form" label-width="80px">
<el-form-item label="绫诲瀷">
<template>
- <el-select v-model="form.value" placeholder="璇烽�夋嫨" @change="edittype" style="width: 480px;">
+ <el-select v-model="form.value" placeholder="璇烽�夋嫨" @change="edittype" style="width: 100%;">
<el-option label="姗¤兌杩炴帴鍣�" :value="0"></el-option>
<el-option label="閲戝睘杩炴帴鍣�" :value="1"></el-option>
<el-option label="婀挎彃鎷旂數杩炴帴鍣�" :value="2"></el-option>
@@ -228,7 +228,7 @@
<template>
<el-select v-model="form.procedure"
@change="workevent"
- placeholder="璇烽�夋嫨" style="width: 480px;">
+ placeholder="璇烽�夋嫨" style="width: 100%;">
<el-option
v-for="item in process"
:key="item.name"
@@ -253,9 +253,9 @@
</template>
</el-form-item>
</el-col>
- <el-col :span="10" :offset="3">
+ <el-col :span="10" :offset="4">
<el-form-item label="鑷椤圭洰">
- <el-input v-model="form.project" style="width: 180px;"></el-input>
+ <el-input v-model="form.project" style="width: 100%;"></el-input>
</el-form-item>
</el-col>
</el-row>
@@ -265,9 +265,9 @@
<el-input v-model="form.unit" style="width: 180px;"></el-input>
</el-form-item>
</el-col>
- <el-col :span="10" :offset="3">
+ <el-col :span="10" :offset="4">
<el-form-item label="鏍囧噯鍊�">
- <el-input v-model="form.standard" style="width: 180px;"></el-input>
+ <el-input v-model="form.standard" style="width: 100%;"></el-input>
</el-form-item>
</el-col>
</el-row>
@@ -448,8 +448,15 @@
},
//鏂板
add() {
- this.dialogVisible = false
+ if (this.form.standard[0] !== "<" && this.form.standard[0] !== "<=" && this.form.standard[0] !== ">"){
+ this.$message({
+ message: '杈撳叆鐨勭涓�涓瓧绗﹀繀椤绘槸 '<' 鎴� '<='锛�',
+ type: 'warning'
+ });
+ return;
+ }
this.addSelfcheck()
+ this.dialogVisible = false
},
addSelfcheck() {
this.$axios.post(this.$api.url.addSelfcheck,{
@@ -513,6 +520,7 @@
})[0]
console.log(one);
let id =one.children[0].id
+ this.checkTreeNode.id = id
console.log(id);
this.selectAllSelfStart(id)
this.selectDataList();
--
Gitblit v1.9.3