Commit 1dd07faacfa780975402c4aaa0fdf559a97d2803

Authored by 史婷婷
1 parent 194a2215

feat: 撤销单-新增&编辑-底部dom移入uni-list里-解决日期组件被 foot(提交合计等)遮盖问题

@@ -101,6 +101,8 @@ export default { @@ -101,6 +101,8 @@ export default {
101 <style scoped> 101 <style scoped>
102 .file-upload { 102 .file-upload {
103 display: flex; 103 display: flex;
  104 + position: relative;
  105 + top: 6rpx;
104 } 106 }
105 .btn { 107 .btn {
106 color: #3D48A3; font-size: 28rpx; margin-right: 20rpx; cursor: pointer; 108 color: #3D48A3; font-size: 28rpx; margin-right: 20rpx; cursor: pointer;
@@ -51,23 +51,24 @@ @@ -51,23 +51,24 @@
51 <FileUpload v-model="confirmationVoucherFile" /> 51 <FileUpload v-model="confirmationVoucherFile" />
52 </template> 52 </template>
53 </uni-list-item> 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 </view> 66 </view>
55 67
56 </uni-list> 68 </uni-list>
57 </scroll-view> 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 <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" v-model="sheet.value" 72 <SingleSelectSheet :visible.sync="sheet.visible" :title="sheet.title" :options="sheet.options" v-model="sheet.value"
72 @confirm="onSheetConfirm" /> 73 @confirm="onSheetConfirm" />
73 <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source" 74 <RelateSelectSheet :visible.sync="relate.visible" :title="relate.title" :source="relate.source"
@@ -50,22 +50,22 @@ @@ -50,22 +50,22 @@
50 <FileUpload v-model="confirmationVoucherFile" /> 50 <FileUpload v-model="confirmationVoucherFile" />
51 </template> 51 </template>
52 </uni-list-item> 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 </view> 65 </view>
54 </uni-list> 66 </uni-list>
55 </scroll-view> 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 </view> 69 </view>
70 </template> 70 </template>
71 71