Commit 1dd07faacfa780975402c4aaa0fdf559a97d2803
1 parent
194a2215
feat: 撤销单-新增&编辑-底部dom移入uni-list里-解决日期组件被 foot(提交合计等)遮盖问题
Showing
3 changed files
with
27 additions
and
24 deletions
| ... | ... | @@ -51,23 +51,24 @@ |
| 51 | 51 | <FileUpload v-model="confirmationVoucherFile" /> |
| 52 | 52 | </template> |
| 53 | 53 | </uni-list-item> |
| 54 | + <view class="footer"> | |
| 55 | + <view class="view-total"> | |
| 56 | + <view class="head">合计</view> | |
| 57 | + <view class="row"> | |
| 58 | + <text class="label">原数量</text><text class="value">{{ form.totalQuantity || '-' }}</text> | |
| 59 | + </view> | |
| 60 | + <view class="row"> | |
| 61 | + <text class="label">撤销数量</text><text class="value">{{ form.totalRevokeQuantity || '-' }}</text> | |
| 62 | + </view> | |
| 63 | + </view> | |
| 64 | + <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 65 | + </view> | |
| 54 | 66 | </view> |
| 55 | 67 | |
| 56 | 68 | </uni-list> |
| 57 | 69 | </scroll-view> |
| 58 | 70 | |
| 59 | - <view class="footer"> | |
| 60 | - <view class="view-total"> | |
| 61 | - <view class="head">合计</view> | |
| 62 | - <view class="row"> | |
| 63 | - <text class="label">原数量</text><text class="value">{{ form.totalQuantity || '-' }}</text> | |
| 64 | - </view> | |
| 65 | - <view class="row"> | |
| 66 | - <text class="label">撤销数量</text><text class="value">{{ form.totalRevokeQuantity || '-' }}</text> | |
| 67 | - </view> | |
| 68 | - </view> | |
| 69 | - <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 70 | - </view> | |
| 71 | + | |
| 71 | 72 | <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" v-model="sheet.value" |
| 72 | 73 | @confirm="onSheetConfirm" /> |
| 73 | 74 | <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source" | ... | ... |
| ... | ... | @@ -50,22 +50,22 @@ |
| 50 | 50 | <FileUpload v-model="confirmationVoucherFile" /> |
| 51 | 51 | </template> |
| 52 | 52 | </uni-list-item> |
| 53 | + <view class="footer"> | |
| 54 | + <view class="view-total"> | |
| 55 | + <view class="head">合计</view> | |
| 56 | + <view class="row"> | |
| 57 | + <text class="label">原数量</text><text class="value">{{ form.totalQuantity || '-' }}</text> | |
| 58 | + </view> | |
| 59 | + <view class="row"> | |
| 60 | + <text class="label">撤销数量</text><text class="value">{{ form.totalRevokeQuantity || '-' }}</text> | |
| 61 | + </view> | |
| 62 | + </view> | |
| 63 | + <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 64 | + </view> | |
| 53 | 65 | </view> |
| 54 | 66 | </uni-list> |
| 55 | 67 | </scroll-view> |
| 56 | 68 | |
| 57 | - <view class="footer"> | |
| 58 | - <view class="view-total"> | |
| 59 | - <view class="head">合计</view> | |
| 60 | - <view class="row"> | |
| 61 | - <text class="label">原数量</text><text class="value">{{ form.totalQuantity || '-' }}</text> | |
| 62 | - </view> | |
| 63 | - <view class="row"> | |
| 64 | - <text class="label">撤销数量</text><text class="value">{{ form.totalRevokeQuantity || '-' }}</text> | |
| 65 | - </view> | |
| 66 | - </view> | |
| 67 | - <button class="btn submit" type="primary" @click="onSubmit">提交</button> | |
| 68 | - </view> | |
| 69 | 69 | </view> |
| 70 | 70 | </template> |
| 71 | 71 | ... | ... |