shish il y a 2 ans
Parent
commit
c9435487ec

+ 2 - 2
ghsApp/src/admin/clear/customInfo.vue

@@ -239,11 +239,11 @@ export default {
 			}
 			const { data } = await getCustomDetail(id);
 			this.detailInfo = data;
-
+			let customName = data.customName ? data.customName : ''
 			let name = data.ghsShopName ? data.ghsShopName : '';
 			let num = data.num ? data.num : 0
 			let price = data.actPrice ? parseFloat(data.actPrice) : 0
-			this.title = name+' '+num+'笔 ¥'+price
+			this.title = name+' '+customName+' '+num+'笔 ¥'+price
 		}
 	}
 };

+ 5 - 2
ghsApp/src/pagesArrears/clearResult.vue

@@ -47,11 +47,11 @@ export default {
 	onLoad() {
 		getCustomDetail(this.option.id).then(res=>{
 			if(res.code == 1){
+				this.customName = res.data.customName
 				let name = res.data && res.data.ghsShopName ? res.data.ghsShopName : '';
 				let num = res.data && res.data.num ? res.data.num : 0
 				let price = res.data.actPrice ? parseFloat(res.data.actPrice) : 0
-				this.title = name+' '+num+'笔 ¥'+price
-				this.customName = res.data.customName
+				this.title = name+' '+this.customName+' '+num+'笔 ¥'+price
 			}
 		})
 		if(this.option.hasNoticeCustom){
@@ -59,6 +59,9 @@ export default {
 		}
 	},
 	methods: {
+		init(){
+
+		},
 		inviteClear(){
 			let that = this
 			let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.ghs ? that.dictInfo.miniOriginalId.current.ghs : ''