添加开发者发货功能
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
<!--pages/demand/deliver/index.wxml-->
|
||||
<view class="page-content">
|
||||
|
||||
<!-- 开发完成凭证截图 -->
|
||||
<view class="form-card">
|
||||
<view class="form-card__head">
|
||||
<text class="form-card__title">开发完成凭证截图</text>
|
||||
<text class="form-card__require">*</text>
|
||||
<text class="form-card__extra">最多 {{imageMax}} 张</text>
|
||||
</view>
|
||||
<view class="form-card__desc">上传软件成品展示图等开发完成凭证,供客户核对</view>
|
||||
<t-upload
|
||||
media-type="{{['image']}}"
|
||||
files="{{imageFiles}}"
|
||||
gridConfig="{{gridConfig}}"
|
||||
max="{{imageMax}}"
|
||||
size-limit="{{imageSizeLimit}}"
|
||||
bind:success="handleSuccessImage"
|
||||
bind:remove="handleRemoveImage"
|
||||
/>
|
||||
</view>
|
||||
|
||||
<!-- 交付附件 -->
|
||||
<view class="form-card">
|
||||
<view class="form-card__head">
|
||||
<text class="form-card__title">交付附件(源码或软件成品)</text>
|
||||
<text class="form-card__require">*</text>
|
||||
<text class="form-card__extra">{{attachFiles.length}}/{{attachMax}}</text>
|
||||
</view>
|
||||
<view class="form-card__desc">上传源码或软件成品文件,客户确认收货后可下载,从聊天记录选择文件</view>
|
||||
<view class="attach-list" wx:if="{{attachFiles.length}}">
|
||||
<t-tag
|
||||
wx:for="{{attachFiles}}"
|
||||
wx:for-index="index"
|
||||
wx:key="index"
|
||||
class="file-tag-margin"
|
||||
max-width="{{220}}"
|
||||
size="medium"
|
||||
variant="light"
|
||||
data-index="{{index}}"
|
||||
bind:close="handleRemoveAttach"
|
||||
closable
|
||||
>{{item.name}}</t-tag>
|
||||
</view>
|
||||
<t-upload
|
||||
wx:if="{{attachFiles.length < attachMax}}"
|
||||
files="{{[]}}"
|
||||
gridConfig="{{gridConfig}}"
|
||||
config="{{attachConfig}}"
|
||||
size-limit="{{attachSizeLimit}}"
|
||||
source="messageFile"
|
||||
bind:success="handleSuccessAttach"
|
||||
/>
|
||||
</view>
|
||||
|
||||
<!-- 发货备注 -->
|
||||
<view class="form-card">
|
||||
<view class="form-card__head">
|
||||
<text class="form-card__title">发货备注</text>
|
||||
<text class="form-card__extra">选填</text>
|
||||
</view>
|
||||
<t-textarea
|
||||
autosize="{{ { maxHeight: 120, minHeight: 50 } }}"
|
||||
disableDefaultPadding="{{true}}"
|
||||
placeholder="填写交付说明,如软件安装方式、源码目录结构、注意事项等"
|
||||
value="{{remark}}"
|
||||
bindchange="onRemarkChange"
|
||||
maxlength="255"
|
||||
/>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
<!-- 底部提交栏 -->
|
||||
<view class="wx-pay-cover">
|
||||
<view class="wx-pay">
|
||||
<view class="submit-btn {{(imageFiles.length && attachFiles.length) ? '' : 'btn-gray'}}" bindtap="onSubmit">
|
||||
确认发货
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user