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/mjdj.vue | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/pages/mjgl/mjdj.vue b/pages/mjgl/mjdj.vue
index 864a1cd..a06d501 100644
--- a/pages/mjgl/mjdj.vue
+++ b/pages/mjgl/mjdj.vue
@@ -64,9 +64,13 @@
- <view class="marginRight20 marginBottom10">
+ <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>
@@ -217,7 +221,7 @@
init() {
uni.stopPullDownRefresh();
- // this.getCheckScanMouldQrCodeData('001')
+ // this.getCheckScanMouldQrCodeData('001')
// this.getCheckScanMouldTemp('001')
// this.getSelectScanMouldQrCodeItem('001', '001')
},
@@ -323,14 +327,14 @@
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
}
// console.log(JSON.stringify(data))
this.isDisabledSubmitButton = true
- const res = await MouldCheckSave('2050', data)
+ const res = await MouldCheckSave('2501', data)
if (res.code === '200') {
uni.$u.toast('鎻愪氦鎴愬姛锛�')
this.isDisabledSubmitButton = false
--
Gitblit v1.9.3