|
@@ -25,11 +25,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-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> -->
|
|
|
<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>
|
|
@@ -183,7 +183,6 @@ export default {
|
|
|
house_type: '1',
|
|
|
deal_clerk: userInfo.nickname,
|
|
|
deal_type: '1',
|
|
|
- store_type: '其它',
|
|
|
deal_at: '',
|
|
|
customer_name: '',
|
|
|
house_create: '',
|
|
@@ -236,13 +235,6 @@ export default {
|
|
|
trigger: ['change', 'blur']
|
|
|
},
|
|
|
],
|
|
|
- store_type: [
|
|
|
- {
|
|
|
- required: true,
|
|
|
- message: '所属门店不得为空',
|
|
|
- trigger: ['change', 'blur']
|
|
|
- },
|
|
|
- ],
|
|
|
deal_at: [
|
|
|
{
|
|
|
required: true,
|
|
@@ -335,7 +327,6 @@ 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.house_create = data.info.house_create;
|
|
@@ -362,7 +353,6 @@ 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() {
|
|
@@ -470,7 +460,6 @@ 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,
|
|
|
house_create: that.form.house_create,
|
|
@@ -523,7 +512,6 @@ export default {
|
|
|
house_type: '1',
|
|
|
deal_clerk: userInfo.nickname,
|
|
|
deal_type: '1',
|
|
|
- store_type: '其它',
|
|
|
deal_at: '',
|
|
|
birthday: '',
|
|
|
customer_name: '',
|