loulijun2021
2023-10-24 859dacb2b86be0dd74aed57d26c7bdea07ced7c1
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