11
lkk
2025-06-12 5fc42c5d825592f2c04ca284f4360f9bbad62174
src/views/system/tijian/index.vue
@@ -562,6 +562,15 @@
            </div>
            已选项目列表
          </div>
          <div v-loading="contentLoading" element-loading-text="加载中..." element-loading-spinner="el-icon-loading" element-loading-background="rgba(255, 255, 255, 0.7)" style=" padding: 0px 6px;
    border: 1px solid #e6ebf5;
    max-height: 650%;
    overflow: auto;
    width: 916px;
    margin-left: 35px;" >
          <div style="
              padding: 0px 6px;
              border: 1px solid #e6ebf5;
@@ -617,6 +626,7 @@
                </template>
              </el-table-column>
            </el-table>
          </div>
          </div>
        </div>
      </el-col>
@@ -815,6 +825,7 @@
  data() {
    return {
      isSubmitting: false,
      contentLoading: false,
      open1: false,
      filterage: "",
      checkedkeys: [],
@@ -2923,6 +2934,8 @@
      this.isSubmitting = true; // 开始提交时设置标志
      this.TotalPrice1 = 0; // 初始化应收金额
      this.TotalPrice = 0; // 初始化实收金额
      this.contentLoading = true;
      this.discount = 10; // 初始化折扣为10(100%)
      // 判断是否有选中的套餐
@@ -2959,9 +2972,11 @@
              this.processOrderItems(cusId);
            }
            this.isSubmitting = false; // 提交完成后重置标志
            // this.contentLoading = false;
          })
          .catch(() => {
            this.isSubmitting = false; // 确保在错误情况下也重置标志
            // this.contentLoading = false;
          });
      } else {
        getaddtTransition(data)
@@ -2970,9 +2985,11 @@
              this.processOrderItems(cusId);
            }
            this.isSubmitting = false; // 提交完成后重置标志
            // this.contentLoading = false;
          })
          .catch(() => {
            this.isSubmitting = false; // 确保在错误情况下也重置标志
            // this.contentLoading = false;
          });
      }
@@ -2984,6 +3001,7 @@
    // 处理订单项目
    processOrderItems(cusId) {
      getTransitionList1(cusId).then((response) => {
        this.contentLoading = false;
        this.tableData1 = response.data;
        let Price = 0;
        if (this.tableData1) {