123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- <view class="wrapper">
- <view class="form-item">
- <label>
- <text>店铺名称</text>
- </label>
- <view class="value">
- <input
- value="{{form.shop_name}}"
- placeholder="请输入店铺名称"
- placeholder-class="placeholder"
- data-formkey="shop_name"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>店铺图片</text>
- </label>
- <view class="value">
- <view
- class="van-uploader-wrap">
- <van-uploader
- file-list="{{ form.shop_img_url }}"
- max-count="{{1}}"
- multiple="{{false}}"
- accept="image"
- image-fit="widthFix"
- data-formkey="shop_img_url"
- bind:after-read="afterRead"
- bind:delete="delete"/>
- </view>
- </view>
- </view>
- <view
- class="form-item"
- data-formkey="shop_address"
- data-lat="{{form.shop_address.latitude}}"
- data-lon="{{form.shop_address.longitude}}"
- bind:tap="handleChooseLocation">
- <label>
- <text>地址</text>
- </label>
- <view class="value">
- <view
- class="shop-address"
- wx:if="{{form.shop_address.address_name}}">{{form.shop_address.address_name}}{{form.shop_address.name}}
- </view>
- <view
- class="shop-address"
- style="color: rgba(198, 202, 219, 1);"
- wx:else>请输入详细地址
- </view>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text class="require">姓名</text>
- </label>
- <view class="value">
- <input
- value="{{form.user_name}}"
- placeholder="请输入姓名"
- placeholder-class="placeholder"
- data-formkey="user_name"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text class="require">身份证号码</text>
- </label>
- <view class="value">
- <input
- value="{{form.user_card}}"
- placeholder="请输入身份证号码"
- placeholder-class="placeholder"
- data-formkey="user_card"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text class="require">手机号</text>
- </label>
- <view class="value">
- <input
- type="number"
- maxlength="11"
- value="{{form.shop_phone}}"
- placeholder="请输入手机号"
- placeholder-class="placeholder"
- data-formkey="shop_phone"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text class="require">村信息</text>
- </label>
- <view class="value">
- <input
- value="{{form.country_msg}}"
- placeholder="请选择村信息"
- placeholder-class="placeholder"
- data-formkey="country_msg"
- disabled="{{true}}"
- bind:tap="showCountryMsg"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>微信号</text>
- </label>
- <view class="value">
- <input
- value="{{form.user_wechat_code}}"
- placeholder="请输入微信号"
- placeholder-class="placeholder"
- data-formkey="user_wechat_code"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>个人二维码</text>
- </label>
- <view class="value">
- <view
- class="van-uploader-wrap">
- <van-uploader
- file-list="{{ form.user_code_url }}"
- max-count="{{1}}"
- multiple="{{false}}"
- accept="image"
- data-formkey="user_code_url"
- bind:after-read="afterRead"
- bind:delete="delete"/>
- </view>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>企业名称</text>
- </label>
- <view class="value">
- <input
- value="{{form.company_name}}"
- placeholder="请输入企业名称"
- placeholder-class="placeholder"
- data-formkey="company_name"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>企业成立日期</text>
- </label>
- <view class="value">
- <input
- value="{{tools.formatTs(form.company_created_at, 'YYYY-MM-DD')}}"
- placeholder="请选择企业成立日期"
- placeholder-class="placeholder"
- data-formkey="company_created_at"
- disabled="{{true}}"
- bind:tap="showCompanyCreatedAt"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>所属行业</text>
- </label>
- <view class="value">
- <input
- value="{{form.company_hangye}}"
- placeholder="请输入所属行业"
- placeholder-class="placeholder"
- data-formkey="company_hangye"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view
- class="form-item"
- style="padding-left: 0; border-bottom: none;">
- <label>
- <text>经营范围</text>
- </label>
- <view class="value">
- <textarea
- value="{{form.company_jingying_fanwei}}"
- placeholder="请输入经营范围"
- placeholder-class="placeholder"
- auto-height="{{true}}"
- data-formkey="company_jingying_fanwei"
- bind:input="setFormValue"></textarea>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>基地规模</text>
- </label>
- <view class="value">
- <input
- value="{{form.shop_jidi_guimo}}"
- placeholder="请输入基地规模"
- placeholder-class="placeholder"
- data-formkey="shop_jidi_guimo"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>产品上市时间</text>
- </label>
- <view class="value">
- <input
- value="{{form.shop_product_time}}"
- placeholder="请输入产品上市时间"
- placeholder-class="placeholder"
- data-formkey="shop_product_time"
- bind:input="setFormValue"></input>
- </view>
- </view>
- <view class="form-item">
- <label>
- <text>注册商标</text>
- </label>
- <view class="value">
- <view
- class="van-uploader-wrap">
- <van-uploader
- file-list="{{ form.shop_shangbiao }}"
- max-count="{{1}}"
- multiple="{{false}}"
- accept="image"
- image-fit="widthFix"
- data-formkey="shop_shangbiao"
- bind:after-read="afterRead"
- bind:delete="delete"/>
- </view>
- </view>
- </view>
- <view class="form-item" style="padding-left: 0; border-bottom: none;">
- <label>
- <text>备注</text>
- </label>
- <view class="value">
- <textarea
- value="{{form.shop_remark}}"
- placeholder="请输入备注"
- placeholder-class="placeholder"
- maxlength="{{200}}"
- auto-height="{{true}}"
- data-formkey="shop_remark"
- bind:input="setFormValue"></textarea>
- <view class="words-limit">{{form.shop_remark.length}}/200</view>
- </view>
- </view>
- <view class="explain">*政府后台会审核村民信息是否真实,通过后就可发布</view>
- <button
- type="primary"
- disabled="{{booLock}}"
- bind:tap="onSubmit">修改完成
- </button>
- </view>
- <!--弹窗:村信息选择-->
- <van-popup
- show="{{ booCountryMsg }}"
- close-on-click-overlay="{{false}}"
- round
- position="bottom"
- bind:click-overlay="hideCountryMsg">
- <van-picker
- id="picker-country-msg"
- columns="{{ countryMsgList }}"
- show-toolbar
- default-index="{{ countryMsgInDefaultIndex }}"
- bind:cancel="hideCountryMsg"
- bind:confirm="confirmCountryMsg"/>
- </van-popup>
- <!--弹窗:企业成立日期选择-->
- <van-popup
- show="{{ booCompanyCreatedAt }}"
- close-on-click-overlay="{{false}}"
- round
- position="bottom"
- bind:click-overlay="hideCompanyCreatedAt">
- <van-datetime-picker
- type="date"
- value="{{ currentDate }}"
- min-date="{{ minDate }}"
- max-date="{{ maxDate }}"
- bind:cancel="hideCompanyCreatedAt"
- bind:confirm="confirmCompanyCreatedAt"/>
- </van-popup>
- <wxs src="../../components/wxs/index.wxs" module="tools"></wxs>
|