|
|
@@ -1,11 +1,11 @@
|
|
|
<template>
|
|
|
<view class="billing_box_bg">
|
|
|
<view class="input-wrap">
|
|
|
- <text>剩余:{{option.stock}}扎</text><text style="margin-left:50rpx;">单价:{{option.price}}</text>
|
|
|
+ <text>剩余:{{parseFloat(option.stock)}}扎</text><text style="margin-left:50rpx;">单价:¥{{parseFloat(option.price)}}</text>
|
|
|
</view>
|
|
|
<view class="scroll-middle_bx">
|
|
|
<block>
|
|
|
- <view class="item_list_bx" style="width: 100%">
|
|
|
+ <view class="item_list_bx" style="width: 100%;">
|
|
|
<view v-for="(xjItem,xjIndex) in xjList" :key="xjIndex">
|
|
|
<view>
|
|
|
<view class="item-cmd_bx">
|
|
|
@@ -17,22 +17,21 @@
|
|
|
<view class="kc"></view>
|
|
|
<view class="num-open_bx">
|
|
|
<view class="open-bx warn">
|
|
|
- 数量:<input class="change-input" @focus="xjNum = ''"
|
|
|
- placeholder-style="color:#CCCCCC" v-model="numList[xjItem.id]" type="digit" placeholder="请填写" />
|
|
|
+ 数量:<input class="change-input" placeholder-style="color:#CCCCCC" v-model="numList[xjItem.id]" type="digit" placeholder="请填写" />
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view>
|
|
|
- <button class="admin-button-com big default" @click="clearXj()">清除全部</button>
|
|
|
- <button class="admin-button-com big default" @click="goBack()" style="margin-left:58rpx;padding:30rpx 55rpx 30rpx 55rpx;">返回</button>
|
|
|
- <button class="admin-button-com big blue" @click="confirmXj()" style="margin-left:58rpx;padding:30rpx 65rpx; 30rpx 65rpx;" >确认</button>
|
|
|
- </view>
|
|
|
</view>
|
|
|
</block>
|
|
|
</view>
|
|
|
+ <div class="app-footer footer-button">
|
|
|
+ <button class="admin-button-com big default" @click="clearXj()">清除全部</button>
|
|
|
+ <button class="admin-button-com big default" @click="goBack()" style="margin-left:58rpx;padding:30rpx 55rpx 30rpx 55rpx;">不修改</button>
|
|
|
+ <button class="admin-button-com big blue" @click="confirmXj()" style="margin-left:58rpx;padding:30rpx 65rpx; 30rpx 65rpx;" >确认</button>
|
|
|
+ </div>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
|
@@ -122,7 +121,7 @@ export default {
|
|
|
}
|
|
|
|
|
|
if(totalNum > Number(this.option.stock)){
|
|
|
- this.$msg("数量超过总库存")
|
|
|
+ this.$msg("数量超过库存")
|
|
|
return false
|
|
|
}
|
|
|
|
|
|
@@ -150,6 +149,7 @@ export default {
|
|
|
.billing_box_bg {
|
|
|
height: 100%;
|
|
|
display: flex;
|
|
|
+ margin-bottom:120rpx;
|
|
|
flex-direction: column;
|
|
|
.input-wrap {
|
|
|
font-size:30rpx;
|
|
|
@@ -172,10 +172,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.scroll-middle_bx {
|
|
|
- flex: 1;
|
|
|
- display: flex;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
+ margin-bottom:110rpx;
|
|
|
}
|
|
|
.tab-view {
|
|
|
height: 100%;
|
|
|
@@ -233,7 +230,6 @@ export default {
|
|
|
padding: 10px 40px;
|
|
|
}
|
|
|
.item_list_title {
|
|
|
- margin-bottom: 20px;
|
|
|
font-size: 24px;
|
|
|
font-weight: 600;
|
|
|
color: #666666;
|
|
|
@@ -340,4 +336,13 @@ export default {
|
|
|
left:120rpx;
|
|
|
top:-36rpx;
|
|
|
}
|
|
|
+.footer-button{
|
|
|
+ height:120rpx;
|
|
|
+ & > button:nth-child(1){
|
|
|
+ color:#999999;
|
|
|
+ }
|
|
|
+ & > button:nth-child(2){
|
|
|
+ color:#999999;
|
|
|
+ }
|
|
|
+}
|
|
|
</style>
|