From 47cf5518f0f61dbf8066c2273b9f77c2cd7b1751 Mon Sep 17 00:00:00 2001
From: YLouie <929705085@qq.com>
Date: 星期五, 19 九月 2025 17:56:03 +0800
Subject: [PATCH] 销售订单plm同步
---
src/views/quality/teststandard/index.vue | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
diff --git a/src/views/quality/teststandard/index.vue b/src/views/quality/teststandard/index.vue
index 52b4d38..7b8f74a 100644
--- a/src/views/quality/teststandard/index.vue
+++ b/src/views/quality/teststandard/index.vue
@@ -24,7 +24,7 @@
<el-col :span="8">
<span>鏍囧噯鍙傛暟</span>
</el-col>
- <el-col :span="8" :offset="4">
+ <!-- <el-col :span="8" :offset="4">
<el-button
v-if="permissions.quality_teststandard_layout"
style="float: right; padding: 3px 0"
@@ -33,8 +33,8 @@
>
甯冨眬
</el-button>
- </el-col>
- <el-col :span="2">
+ </el-col> -->
+ <el-col :span="14">
<el-button
style="float: right; padding: 3px 0"
type="text"
@@ -160,7 +160,7 @@
></el-input>
</template>
</el-table-column>
- <el-table-column
+ <!-- <el-table-column
label="鍙傛暟椤圭被鍨�"
prop="paramType"
align="center"
@@ -180,7 +180,7 @@
</el-option>
</el-select>
</template>
- </el-table-column>
+ </el-table-column> -->
<el-table-column
label="鍙傛暟鏍煎紡"
prop="parameterFormat"
@@ -382,7 +382,7 @@
return this.getInspectionTypeOptionList()
}
},
- {
+ /* {
minWidth: '120',
prop: 'operationName',
label: '宸ュ簭鍚嶇О',
@@ -390,7 +390,7 @@
isTrue: true,
isSearch: true,
searchInfoType: 'text'
- },
+ }, */
{
minWidth: '120',
prop: 'state',
@@ -497,10 +497,11 @@
},
computed: {
...mapGetters(['permissions']),
- editable: function() {
+ editable : function() {
if (!this.currentTestStandard) {
return true
}
+ console.log('99999999999', this.currentTestStandard)
if (
this.currentTestStandard.id &&
this.currentTestStandard.state === '01draft'
@@ -866,6 +867,12 @@
dataFormTestStandardParam() {
this.isSubmit = true
if (this.testStandardParams.length > 0) {
+ this.testStandardParams.map(m=>{
+ if(m.referenceValue != undefined) {
+ m.referenceValue = m.referenceValue.replace(',','锛�').replace('(','锛�').replace(')','锛�')
+ return m
+ }
+ })
addTestStandardParam(this.testStandardParams)
.then((response) => {
this.$message.success('妫�娴嬫爣鍑嗗弬鏁颁繚瀛樻垚鍔�')
--
Gitblit v1.9.3