cuiqian2004
2024-08-20 946dae0a8885b529e7755788ba7872503d9f9d9d
pages/modal/5601.vue
@@ -117,7 +117,7 @@
                        <button type="default" @tap="cancel"
                           class="btn_cancel">{{translateSys('cancel')}}</button>
                        <button type="primary" @tap="ok(pageData)"
                           class="btn_add">{{translateSys('ok')}}</button>
                           class="btn_add" :class="pageData.okLoading?'btn_disabled':''" :disabled="pageData.okLoading? true:false">{{translateSys('ok')}}</button>
                     </view>
                  </view>
               </swiper-item>
@@ -834,7 +834,7 @@
                                             .page_name +
                                             this
                                             .translateSys(
                                                "sys.quotation_mark_right"
                                                "quotation_mark_right"
                                             ) +
                                             this
                                             .translate(
@@ -1586,19 +1586,20 @@
               uni.showModal({
                  title: this.translateSys("tip"),
                  content: this.translate(
                        "page.tip_no_data_first") +
                        "tip_no_data_first") +
                     this.translateSys(
                        "quotation_mark_left") + pageData.Name + this
                     .translateSys(
                        "sys.quotation_mark_right") +
                        "quotation_mark_right") +
                     this.translate(
                        "page.tip_no_data_last"),
                        "tip_no_data_last"),
                  showCancel: false,
                  confirmText: this.translateSys("cancel")
               });
               return false;
            }
            //获取表头属性
            pageData.okLoading = true
            var head_attr = {};
            this.$data.head_styledef.form.items.forEach(item => {
               if (item.name == "Layout") { //判断是否是栅栏格式
@@ -1679,6 +1680,7 @@
               });
            });
            if (jsonlist.length == 0) {
               pageData.okLoading = false
               uni.showModal({
                  title: this.translateSys("tip"),
                  content: this.translate("tip_no_select_data"),
@@ -1970,7 +1972,9 @@
                        "cancel")
                  });
               }
               pageParam.okLoading = false
            }).catch(ex => {
               pageParam.okLoading = false
               var tip = typeof ex == "string" ? ex : ex.errMsg;
               uni.showModal({
                  title: this.translateSys("error") + "8.1",
@@ -2204,8 +2208,14 @@
                  font-size: 38rpx;
                  font-weight: bold;
                  float: right;
                  color: #fff;
                  display: inline-block;
               }
               .btn_disabled {
                  background-color: #ddd;
                  color: #888;
               }
            }
         }