<!-- <form bindsubmit="formSubmit" bindreset="formReset"> --> <van-cell-group> <van-field required clearable data-id="devcode" label="设备编号" placeholder="请扫描设备条形码添加" use-icon-slot bind:blur="confirm" bind:click-icon="scan"> <van-icon name="scan" size="50rpx" slot="right-icon" /> </van-field> <van-field label="设备型号" data-id="devicetype" placeholder="扫描后自动显示" bind:blur="confirm" required /> </van-cell-group> <van-cell-group> <van-row> <van-col span="12"> <van-field data-id="longitude" value="{{longitude}}" label="经度" placeholder="116.12345" bind:blur="confirm" border="{{ false }}" required /> </van-col> <van-col span="12"> <van-field data-id="latitude" value="{{latitude}}" label="纬度" placeholder="39.1237" use-icon-slot bind:click-icon="paste" bind:blur="confirm" required> <van-icon name="edit" size="50rpx" slot="right-icon" /> </van-field> </van-col> </van-row> <van-field data-id="position" value="{{position}}" label="位置描述" placeholder="请简单描述具体位置" bind:blur="confirm" required /> </van-cell-group> <van-cell-group> <van-row> <van-col span="12"> <van-field disabled label="井类型" border="{{ false }}" /> </van-col> <van-col span="12"> <van-dropdown-menu> <van-dropdown-item value="{{ value1 }}" options="{{ option1 }}" bind:change="selectValue" /> </van-dropdown-menu> </van-col> </van-row> <van-field data-id="wellcode" value="{{wellcode}}" label="井编号" bind:blur="confirm" required /> <van-field data-id="welldepth" value="{{welldepth}}" label="井深/埋深" bind:blur="confirm" /> <van-field data-id="installheigt" value="{{installheigt}}" label="到井口距离" bind:blur="confirm" /> </van-cell-group> <van-cell-group> <van-row> <van-col span="12"> <van-field disabled label="安装人员" border="{{ false }}" /> </van-col> <van-col span="12"> <van-dropdown-menu> <van-dropdown-item value="{{ personvalue1 }}" options="{{ personoption1 }}" bind:change="selectpersonValue" /> </van-dropdown-menu> </van-col> </van-row> <van-cell title="安装时间" value="{{installtimeFmt}}" bind:click="onDisplay" /> <van-calendar show="{{ show }}" bind:close="onClose" show-confirm="{{ false }}" bind:confirm="onConfirm" /> </van-cell-group> <van-cell-group> <van-field data-id="factory" value="{{factory}}" label="权属单位" bind:blur="confirm" required /> <van-row> <van-col span="12"> <van-field disabled label="所属项目" border="{{ false }}" /> </van-col> <van-col span="12"> <van-dropdown-menu> <van-dropdown-item value="{{ projectvalue }}" options="{{ projectoption }}" bind:change="selectprojectValue" /> </van-dropdown-menu> </van-col> </van-row> <!-- <van-field value="{{project}}" label="所属项目" required /> --> <van-field data-id="workmsg" value="{{workmsg}}" label="施工信息" placeholder="施工信息" bind:blur="confirm" required /> <van-field data-id="description" value="{{description}}" label="备注" placeholder="备注" bind:blur="confirm" required /> <van-uploader upload-text="现场照片" file-list="{{ fileList }}" max-count="3" bind:after-read="afterRead" bind:delete="deletePhoto" /> <!-- <view class="container"> <view> <button type="default" bindtap="gotoShow" >点击上传照片</button> </view> <view> <image class= "show-image" mode="aspectFitf" src="{{src}}"></image> </view> </view> --> <!-- <button formType="submit">提交</button> --> <van-button type="primary" block color="#F4EA2A" bind:click="formSubmit">保存</van-button> <!-- <van-button color="#EEB422" type="primary" size="large" bind:click="formSubmit">保存</van-button> --> </van-cell-group> <!-- </form> --> <!-- <van-submit-bar center button-text="保存" bind:submit="saveData" /> -->