doctor-admin-components 1.0.14-beta.23 → 1.0.14-beta.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "doctor-admin-components",
3
3
  "version1": "1.0.11",
4
- "version": "1.0.14-beta.23",
4
+ "version": "1.0.14-beta.24",
5
5
  "private": false,
6
6
  "main1": "lib/index.umd.min.js",
7
7
  "main": "packages/index.js",
@@ -580,7 +580,7 @@
580
580
  </div>
581
581
  <el-divider direction="vertical"></el-divider>
582
582
  <div :class="hasSelectAllContainer(containerFile.containerId) ? 'border-button' : 'border-button border-button-blue'" @click.stop="clickSelectAllContainer(containerFile.containerId)">
583
- {{ hasSelectAllContainer(containerFile.containerId) ? $t('contractDetail.select_all') : $t('contractDetail.Deselect') }}
583
+ {{ hasSelectAllContainer(containerFile.containerId) ? $t('contractDetail.Deselect') : $t('contractDetail.select_all') }}
584
584
  </div>
585
585
  </div>
586
586
  </div>
@@ -1552,8 +1552,8 @@ export default {
1552
1552
  methods: {
1553
1553
  // 装运模块状态变化,需要同步关联模块
1554
1554
  handleShippingUpdateOpen(isOpen) {
1555
- this.$refs.SectionReceiving[0]?.setOpen(isOpen)
1556
- this.$refs.SectionClaim[0]?.setOpen(isOpen)
1555
+ this.$refs.SectionReceiving && this.$refs.SectionReceiving[0]?.setOpen(isOpen)
1556
+ this.$refs.SectionClaim && this.$refs.SectionClaim[0]?.setOpen(isOpen)
1557
1557
  this.$refs.SectionCNDN?.setOpen(isOpen)
1558
1558
  },
1559
1559
  handleScroll(elementId) {
@@ -1631,9 +1631,10 @@ export default {
1631
1631
  },
1632
1632
 
1633
1633
  hasSelectAllContainer(containerId) {
1634
- setTimeout(() => {
1635
- return this.$refs['container_packing_photo_' + containerId] && this.$refs['container_packing_photo_' + containerId][0]?.hasSelectAll()
1636
- }, 1000);
1634
+ // setTimeout(() => {
1635
+ let res = this.$refs['container_packing_photo_' + containerId] && this.$refs['container_packing_photo_' + containerId][0]?.hasSelectAll()
1636
+ return res
1637
+ // }, 1000);
1637
1638
  },
1638
1639
 
1639
1640
  changeShipBillNo(index) {
@@ -97,7 +97,9 @@ export default {
97
97
  }
98
98
  },
99
99
  hasSelectAll() {
100
- return !this.hasClicked
100
+ let res = this.imgList.find((item) => item.checked);
101
+ // console.log('xxxxxxx', res)
102
+ return res
101
103
  },
102
104
  checkAll1() {
103
105
  this.imgList.forEach((item) => {