diff --git a/src/mycomponents/record/recordComDetailCard.vue b/src/mycomponents/record/recordComDetailCard.vue
index d1082ca4..f5fd805e 100644
--- a/src/mycomponents/record/recordComDetailCard.vue
+++ b/src/mycomponents/record/recordComDetailCard.vue
@@ -1,22 +1,23 @@
-
+
-
+
-
+
-
+
+ :isShowPack="true" :isShowFromLocation="isShowFromLocation"
+ :isShowToLocation="isShowToLocation">
@@ -26,7 +27,7 @@
-
+
@@ -90,19 +91,23 @@
},
},
watch: {
+
dataContent: {
handler(newName, oldName) {
if (this.dataContent.subList.length > 0) {
- if (this.$refs.collapse1 != undefined && this.$refs.collapse1 != null) {
- this.$nextTick(res => {
- this.$refs.collapse1.resize()
- })
- }
+ this.$nextTick(res => {
+ setTimeout(() => {
+ if (this.$refs.collapse1) {
+ this.$refs.collapse1.resize();
+ }
+ }, 500)
+ })
}
},
immediate: true,
deep: true
}
+
},
data() {
@@ -176,4 +181,4 @@
+
\ No newline at end of file
diff --git a/src/pages/repleinsh/record/directRepleinshRecord.vue b/src/pages/repleinsh/record/directRepleinshRecord.vue
index cea8602c..1bf861a3 100644
--- a/src/pages/repleinsh/record/directRepleinshRecord.vue
+++ b/src/pages/repleinsh/record/directRepleinshRecord.vue
@@ -285,7 +285,8 @@
},
selectBalanceItem(balance) {
- this.afterGetBalance(this.resultData, balance);
+ this.resultData.balance =balance;
+ this.afterGetBalance(this.resultData);
},
afterGetBalance(result){