小程序适配

This commit is contained in:
duan
2024-10-29 15:46:53 +08:00
parent a747dba877
commit 764c9461ae
19 changed files with 478 additions and 275 deletions

View File

@@ -1,47 +1,47 @@
<template>
<view class="warehouseEntry">
<ul>
<li>
<view>
<view>
<view>
账存数量
</view>
<view>
{{datas.item.balance}}
</view>
</li>
<li>
</view>
<view>
<view>
实际数量
</view>
<view>
<input type="text" v-model="datas.form.balance" placeholder="输入数量" name="" id="">
</view>
</li>
<li>
</view>
<view>
<view>
单价
</view>
<view>
{{datas.item.price}}
</view>
</li>
<li>
</view>
<view>
<view>
盈亏数量
</view>
<view>
{{profitNumber}}
</view>
</li>
<li>
</view>
<view>
<view>
总盈亏
</view>
<view>
{{profitPrice}}
</view>
</li>
</ul>
</view>
</view>
</view>
<view class="bottombutton">
<up-button type="primary" style="background-color: #318AFE;color: #fff;" @tap="toggle" :plain="true"
@@ -96,7 +96,7 @@
function toggle() {
tbConsInfotbConCheck({
stockNumber: datas.item.balance,
stockNumber: datas.form.balance,
conInfoId: datas.form.id,
lpNum: profitNumber._value
}).then(res => {
@@ -168,8 +168,8 @@
padding: 1rpx 24rpx;
box-sizing: border-box;
>ul {
>li {
>view {
>view {
width: 646rpx;
height: 84rpx;
background: #fcfcfc;
@@ -197,7 +197,7 @@
.bottombutton {
margin-top: 84rpx;
padding: 0 24rpx;
>button {
width: 530rpx;
height: 80rpx;