shish před 3 roky
rodič
revize
67a8509ee5

+ 2 - 1
mallApp/src/pages/billing/affirmGhs.vue

@@ -173,6 +173,7 @@ export default {
 			}
 			}
 		}
 		}
 		this.list = list
 		this.list = list
+		this.calcFreight()
 		this.calcPrice()
 		this.calcPrice()
 	},
 	},
 	computed: {
 	computed: {
@@ -207,7 +208,7 @@ export default {
 			weight = Number(weight).toFixed(2)
 			weight = Number(weight).toFixed(2)
 
 
 			let params = {
 			let params = {
-				ghsId: this.options.id,
+				account: this.options.account,
 				weight:weight
 				weight:weight
 			};
 			};
 			freight(params).then(res => {
 			freight(params).then(res => {

+ 1 - 1
mallApp/src/pages/item/item.vue

@@ -395,7 +395,7 @@ export default {
 				}
 				}
 				this.setSelectInfoByType({ type: this.pageType, info: list });
 				this.setSelectInfoByType({ type: this.pageType, info: list });
 
 
-				this.pageTo({url: '/pages/billing/affirmGhs',query:{id:this.options.id},type:2})
+				this.pageTo({url: '/pages/billing/affirmGhs',query:{account:this.options.account},type:2})
 			} else {
 			} else {
 				this.$msg("请选择花材");
 				this.$msg("请选择花材");
 			}
 			}