11
lkk
2025-03-31 bad2bc143be3f8ddb93a1c9f984127b3ccf43e8f
src/views/system/packages/index.vue
@@ -263,6 +263,8 @@
            >
              <el-table-column prop="propinName" label="检查项目">
              </el-table-column>
              <el-table-column prop="sl" label="数量" width="56px">
              </el-table-column>
              <el-table-column prop="proPrice" label="原价" width="56px">
              </el-table-column>
              <el-table-column prop="proName" label="明细项目" width="260px">
@@ -589,7 +591,10 @@
                      });
                      this.pics = 0;
                      this.DataList.forEach((item) => {
                        this.pics += item.proPrice;
                        console.log(this.DataList,8888);
                        this.pics += item.proPrice * item.sl;
                        // this.pics += item.proPrice;
                      });
                    }
                  });
@@ -612,7 +617,7 @@
              });
              this.pics = 0;
              this.DataList.forEach((item) => {
                this.pics += item.proPrice;
                this.pics += item.proPrice * item.sl;
              });
            });
          });
@@ -623,6 +628,8 @@
    handleCurrentChecked(data, checked, checkedNodes) {
      this.dataObj = data;
      this.checkedObj = checked;
      console.log(checked,555);
      if (checked == true) {
        // this.$refs.tree.setCheckedKeys([data.proId]);
        let proId = data.proId;
@@ -635,7 +642,7 @@
            this.spliceData();
            this.pics = 0;
            this.DataList.forEach((item1) => {
              this.pics += item1.proPrice;
              this.pics += item1.proPrice * item1.sl;
              if (item1.proParentId == data.proId) {
                item1.propinName = data.proName;
                item1.propinPrice = this.dataObj.proPrice;
@@ -648,7 +655,7 @@
            this.list1 = false;
            this.DataList.forEach((item) => {
              this.TotalPrice1 = item.proPrice + this.TotalPrice1;
              this.pics += item.proPrice;
              this.pics += item.proPrice * item.sl;
            });
          }
        });
@@ -667,7 +674,7 @@
          });
          this.pics = 0;
          this.DataList.forEach((item, index) => {
            this.pics += item.proPrice;
            this.pics += item.proPrice * item.sl;
          });
        });
      }
@@ -695,7 +702,7 @@
            this.TotalPrice1 = 0;
            this.pics = 0;
            this.DataList.forEach((item1) => {
              this.pics += item1.proPrice;
              this.pics + item1.proPrice * item1.sl;
              // this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
            });
          }
@@ -704,7 +711,7 @@
        this.DataList.push(data);
        this.pics = 0;
        this.DataList.forEach((item1) => {
          this.pics += item1.proPrice;
          this.pics += item1.proPrice * item1.sl;
          if (item1.proParentId == this.dataObj.proId) {
            item1.propinName = this.dataObj.proName;
            item1.propinPrice = this.dataObj.proPrice;
@@ -715,7 +722,7 @@
        this.pics = 0;
        this.DataList.forEach((item1) => {
          // this.TotalPrice1 = item1.proPrice + this.TotalPrice1;
          this.pics += item1.proPrice;
          this.pics += item1.proPrice * item1.sl;
        });
      }
    },