From d180226815a7436b6896e28ba9d0f5b369af9c06 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期五, 29 十二月 2023 10:02:50 +0800
Subject: [PATCH] 1.上传模具组件
---
pages/mjgl/mjby.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/pages/mjgl/mjby.vue b/pages/mjgl/mjby.vue
index cc66b46..2cb0730 100644
--- a/pages/mjgl/mjby.vue
+++ b/pages/mjgl/mjby.vue
@@ -64,14 +64,14 @@
- <view class="marginRight20 marginBottom10" v-if='standardArr.length>0'>
- <u-button @click="show = true" type='primary' size="small" plain
- shape='circle'>璇烽�夋嫨</u-button>
- </view>
-
- <view class="marginRight20 marginBottom10" v-if='standardArr.length===0'>
- 鏆傛棤鍏宠仈鏍囧噯,璇峰厛鍏宠仈
- </view>
+ <view class="marginRight20 marginBottom10" v-if='standardArr.length>0'>
+ <u-button @click="show = true" type='primary' size="small" plain
+ shape='circle'>璇烽�夋嫨</u-button>
+ </view>
+
+ <view class="marginRight20 marginBottom10" v-if='standardArr.length===0'>
+ 鏆傛棤鍏宠仈鏍囧噯,璇峰厛鍏宠仈
+ </view>
</view>
@@ -327,13 +327,13 @@
const data = {
code: this.topContent[0].code,
name: this.topContent[0].name,
- standcode: this.selectValue,
+ standcode: this.standardArr.find(i => i.name === this.selectValue).code,
result: this.resultValue,
children
}
this.isDisabledSubmitButton = true
- const res = await MouldRepairSave('2051', data)
+ const res = await MouldRepairSave('2502', data)
if (res.code === '200') {
uni.$u.toast('鎻愪氦鎴愬姛锛�')
this.isDisabledSubmitButton = false
--
Gitblit v1.9.3