loulijun2021
2023-12-29 d180226815a7436b6896e28ba9d0f5b369af9c06
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