| 
					
				 | 
			
			
				@@ -22,6 +22,11 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						<u-radio :name="DT.val" v-for="DT in dealTypeList" :key="DT.val">{{DT.key}}</u-radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					</u-radio-group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				</u-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<u-form-item label-width="150" label="所属门店" prop="store_type" required> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					<u-radio-group v-model="form.store_type" active-color="#2979ff"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						<u-radio :name="DT.val" v-for="DT in storeTypeList" :key="DT.val">{{DT.key}}</u-radio> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					</u-radio-group> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				</u-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<u-form-item label-width="150" label="成交日期" prop="deal_at" @click.native="openDealAtPopoup" required> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					<view class="scoped-input-floor" @click.native="openDealAtPopoup"></view> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					<u-input placeholder="请选择成交日期" v-model="form.deal_at" disabled type="text"></u-input> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -96,6 +101,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				house_type: '1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				deal_clerk: userInfo.nickname, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				deal_type: '1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				store_type: '其它', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				deal_at: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				customer_name: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				customer_phone: '', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -146,6 +152,13 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						trigger: ['change', 'blur'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				store_type: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						required: true, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						message: '所属门店不得为空', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						trigger: ['change', 'blur'] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				deal_at: [ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						required: true, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -209,6 +222,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			houseTypeList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			dealTypeList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			storeTypeList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	onLoad(data) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -223,6 +237,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					that.form.house_type = data.info.house_type; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					that.form.deal_clerk = data.info.deal_clerk; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					that.form.deal_type = data.info.deal_type; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					that.form.store_type = data.info.store_type; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					that.form.deal_at = data.info.deal_at; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					that.form.customer_name = data.info.customer_name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					that.form.customer_phone = data.info.customer_phone; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -247,6 +262,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		const dictObj = uni.getStorageSync('MD_dict') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.houseTypeList = dictObj.trade_house_type || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		this.dealTypeList = dictObj.trade_deal_type || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		this.storeTypeList = dictObj.store_type || [] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	// 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	onReady() { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -313,6 +329,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						house_type: that.form.house_type, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						deal_clerk: that.form.deal_clerk, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						deal_type: that.form.deal_type, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						store_type: that.form.store_type, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						deal_at: that.form.deal_at, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						customer_name: that.form.customer_name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						customer_phone: that.form.customer_phone, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -353,6 +370,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									house_type: '1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									deal_clerk: userInfo.nickname, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									deal_type: '1', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+									store_type: '其它', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									deal_at: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									customer_name: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 									customer_phone: '', 
			 |