123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- <!--pages/ship/add.wxml-->
- <view class="container">
- <form bindsubmit="formSubmit">
- <view class="part">
- <van-field label="船舶号" required name="shipNumber" input-align="right" placeholder="请输入船舶号" bind:focus="hideKeybord" />
- <van-field label="船型" name="shipType" value="{{ shipType }}" required input-align="right" class="radioHeight fieldAutoHeight">
- <view slot="input" class="radioHeightBx">
- <radio-group class="radio-group" bindchange="dangerStatusChange" data-radioType="shipType">
- <label class="radio" style="margin-right:20rpx;" wx:for="{{ shipTypeArray }}" wx:key="index">
- <radio value="{{ item.dictValue }}" checked="{{ shipTypeArray[index].dictValue == shipType }}" color="#1989fa" />{{ item.dictLabel }}
- </label>
- </radio-group>
- </view>
- </van-field>
-
- <view class="topItem">
- <van-field label="船舶证书" required readonly input-align="right" border="{{false}}" />
- <van-field name="" model:value="" label="" class="uploadBox">
- <view slot="input" class="uploadboxView">
- <van-uploader name="" deletable="{{true}}" data-type="certificatePathList" file-list="{{ certificatePathList }}" bind:after-read="afterRead" bind:delete="deleteImg" max-count="6" preview-size="110" />
- </view>
- </van-field>
- </view>
- <van-field label="荷载吨位" name="shipLoad" input-align="right" placeholder="请输入荷载吨位" bind:focus="hideKeybord" />
- <van-field label="船舶注册帐号" name="registerNumber" input-align="right" placeholder="请输入船舶注册帐号" bind:focus="hideKeybord" />
- <van-field label="船舶所有人" name="shipOwner" input-align="right" placeholder="请输入船舶所有人" bind:focus="hideKeybord" />
- </view>
-
- <view class="part">
- <!-- 船主 -->
- <van-field label="船主" required input-align="right">
- <view slot="input" style="width: 100%;">
- <input name="shipId" value='{{shipArray[shipIndex].id}}' hidden='true' />
- <picker bindchange="bindPickerChange" value="{{shipIndex}}" range="{{shipArray}}" range-key="name" data-pickername='ship'>
- <view wx:if="{{shipArray[shipIndex].name}}"> {{shipArray[shipIndex].name}}</view>
- <view wx:else class="selectPlaceholder">{{ defaultText }}</view>
- </picker>
- </view>
- <view slot="right-icon">
- <van-icon name="arrow" />
- </view>
- </van-field>
- <van-field label="船主电话" wx:if="{{shipArray[shipIndex].id}}" name="shipMobile" readonly value="{{ shipMobile }}" placeholder="选择船主自动填入" input-align="right">
- </van-field>
- </view>
- <view class="part">
- <van-field label="船舶身份信息" name="shipIdentity" input-align="right" placeholder="请输入船舶身份信息" bind:focus="hideKeybord" />
- <!-- <van-field label="联系人姓名" name="contactName" input-align="right" placeholder="请输入联系人姓名" bind:focus="hideKeybord" />
- <van-field label="联系人电话" name="contactPhone" input-align="right" placeholder="请输入联系人电话" bind:focus="hideKeybord" /> -->
- <van-field label="收款单位" name="receiveUnit" input-align="right" placeholder="请输入收款单位" bind:focus="hideKeybord" />
- <van-field label="收款银行" name="receiveBank" input-align="right" placeholder="请输入收款银行" bind:focus="hideKeybord" />
- <van-field label="收款账户" name="receiveAccount" input-align="right" placeholder="请输入收款账户" bind:focus="hideKeybord" />
- <view class="topItem">
- <van-field label="安全环保合同" readonly input-align="right" border="{{false}}" />
- <van-field name="" model:value="" label="" class="uploadBox">
- <view slot="input" class="uploadboxView">
- <van-uploader name="" deletable="{{true}}" data-type="contractPathList" file-list="{{ contractPathList }}" bind:after-read="afterRead" bind:delete="deleteImg" max-count="6" preview-size="110" />
- </view>
- </van-field>
- </view>
- </view>
- <view class="submitBtn">
- <view style="padding-top: 100rpx;">
- <van-button loading="{{isSubmitting}}" round block disabled="{{isSubmitting}}" loading-text="{{isSubmitting?'提交中...':''}}" type="info" form-type="submit">确定
- </van-button>
- </view>
- </view>
- </form>
- </view>
|