shish 1 месяц назад
Родитель
Сommit
3f3f5561fe
1 измененных файлов с 19 добавлено и 15 удалено
  1. 19 15
      hdApp/src/admin/billing/affirmGhs.vue

+ 19 - 15
hdApp/src/admin/billing/affirmGhs.vue

@@ -50,20 +50,21 @@
 					</view>
 					</view>
 				</view>
 				</view>
 
 
-				<view class="module-com input-line-wrap" v-if="isShMethodPanelShop">
-					<affirm-sh-method-panel
-						v-if="ghsInfo.pfLevel == 0"
-						ref="shMethodPanel"
-						:ghs-info="ghsInfo"
-						:ghs-id="option.id"
-						:commodity-price="allPriceFun"
-						:commodity-big-count="allCountFun.bigLength"
-						:commodity-weight="allCountFun.weight"
-						:select-list="selectList"
-						@change="onShMethodPanelChange"
-					/>
-				</view>
-				<view class="module-com input-line-wrap" v-else>
+				<block v-if="ghsInfoLoaded">
+					<view class="module-com input-line-wrap" v-if="isShMethodPanelShop">
+						<affirm-sh-method-panel
+							v-if="ghsInfo.pfLevel == 0"
+							ref="shMethodPanel"
+							:ghs-info="ghsInfo"
+							:ghs-id="option.id"
+							:commodity-price="allPriceFun"
+							:commodity-big-count="allCountFun.bigLength"
+							:commodity-weight="allCountFun.weight"
+							:select-list="selectList"
+							@change="onShMethodPanelChange"
+						/>
+					</view>
+					<view class="module-com input-line-wrap" v-else>
 					<block v-if="ghsInfo.pfLevel && ghsInfo.pfLevel == 1">
 					<block v-if="ghsInfo.pfLevel && ghsInfo.pfLevel == 1">
 
 
 						<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="ghsInfo.shopId == 14636">
 						<tui-list-cell class="line-cell" :hover="false" :arrow="false" v-if="ghsInfo.shopId == 14636">
@@ -359,6 +360,7 @@
 					</tui-list-cell>
 					</tui-list-cell>
 
 
 				</view>
 				</view>
+			</block>
 
 
 			</form>
 			</form>
 		</view>
 		</view>
@@ -506,7 +508,8 @@ export default {
 			selectedDeliveryData: null, // 选中的报价数据
 			selectedDeliveryData: null, // 选中的报价数据
 			deliveryPolicyList: [], // 包配送政策列表
 			deliveryPolicyList: [], // 包配送政策列表
 			validAddress:false,
 			validAddress:false,
-			shMethodPanelState: null
+			shMethodPanelState: null,
+			ghsInfoLoaded: false
 		};
 		};
 	},
 	},
 	onLoad() {
 	onLoad() {
@@ -1147,6 +1150,7 @@ export default {
 						this.changeTransType(4)
 						this.changeTransType(4)
 					}
 					}
 				}
 				}
+				that.ghsInfoLoaded = true
 			})
 			})
 
 
 		},
 		},