From 58b4b177be24e21378de118cefc950f72d83a9bf Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期三, 17 四月 2024 18:21:25 +0800
Subject: [PATCH] 一行数据都没有只新增表头的时候无法保存的校验去掉+纤度登记表 修改的时候编号不可修改
---
src/views/productManage/silkRegisterForm/addPage.vue | 4 +++-
src/views/productManage/silkRegisterForm/index.vue | 1 +
src/views/systemSetting/silkStandardSetting/index.vue | 10 ++++------
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/src/views/productManage/silkRegisterForm/addPage.vue b/src/views/productManage/silkRegisterForm/addPage.vue
index e9ac696..fa97898 100644
--- a/src/views/productManage/silkRegisterForm/addPage.vue
+++ b/src/views/productManage/silkRegisterForm/addPage.vue
@@ -48,7 +48,7 @@
label-width="80px"
>
<el-form-item label="缂栧彿" prop="number" class="form-item">
- <el-input v-model="form.number" placeholder="璇疯緭鍏�"> </el-input>
+ <el-input v-model="form.number" :disabled="title=='淇敼'?true:false" placeholder="璇疯緭鍏�"> </el-input>
</el-form-item>
<el-form-item label="钀戒笣鏃堕棿" prop="finishDate" class="form-item">
<el-date-picker
@@ -451,6 +451,7 @@
computed: {},
data() {
return {
+ title:'',
loading: false,
activeName: "first",
searchOptions: [],
@@ -576,6 +577,7 @@
this.activeName = query.activeName ? query.activeName : "first";
this.registerId = query.id ? query.id : "";
this.inspectID = query.inspectID ? query.inspectID : "";
+ this.title= query.title ? query.title : "";
}
this.getSelectDataList();
this.keyword = "";
diff --git a/src/views/productManage/silkRegisterForm/index.vue b/src/views/productManage/silkRegisterForm/index.vue
index 9d35d03..e6e7349 100644
--- a/src/views/productManage/silkRegisterForm/index.vue
+++ b/src/views/productManage/silkRegisterForm/index.vue
@@ -182,6 +182,7 @@
id:row.ID,
activeName:'first',
inspectID:row.finenessCheckID,
+ title:'淇敼'
}
});
},
diff --git a/src/views/systemSetting/silkStandardSetting/index.vue b/src/views/systemSetting/silkStandardSetting/index.vue
index a9b3878..3258c46 100644
--- a/src/views/systemSetting/silkStandardSetting/index.vue
+++ b/src/views/systemSetting/silkStandardSetting/index.vue
@@ -173,7 +173,6 @@
},
// 鏂板
addBtnClick() {
- debugger
console.log(this.silkTableList.tableData,'===1')
console.log(this.tableData,'===2')
if(this.isEdit){
@@ -231,10 +230,10 @@
let tableData=JSON.parse(
JSON.stringify(this.silkTableList.tableData)
);
- if(tableData.length==0&&!this.isEdit){
- this.$message.error('璇峰厛鏂板鍐嶄繚瀛�!')
- return true;
- }
+ // if(tableData.length==0&&!this.isEdit){
+ // this.$message.error('璇峰厛鏂板鍐嶄繚瀛�!')
+ // return true;
+ // }
if (!this.isEdit) {
let params = this.saveParam(tableData)
saveRankStandard({
@@ -318,7 +317,6 @@
},
// 鍒楄〃澶磋緭鍏ュ洖璋�
addColumnInputChange(val, prop) {
- console.log(val, prop, this.columnInputList)
this.columnInputList.forEach((item) => {
if (item.rankProp == prop) {
item.rankName = val
--
Gitblit v1.8.0