cosmoim-852 fix 部分界面调整为ui自适应

master
hou 3 years ago
parent 90a81bac4e
commit 3ada20b4ff

@ -60,11 +60,14 @@
<view>{{ $t('message.product_barCode') }}:</view> <view>{{ $t('message.product_barCode') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 表格 --> <!-- 表格 -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="detailHeader" :contents="list" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table> <wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="detailHeader" :contents="list" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view> </view>

@ -60,11 +60,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 表格 --> <!-- 表格 -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="detailHeader" :contents="list" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table> <wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="detailHeader" :contents="list" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view> </view>

@ -68,11 +68,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table> <wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view> </view>
<!-- 底部按钮 --> <!-- 底部按钮 -->

@ -38,11 +38,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 工厂 --> <!-- 工厂 -->
<u-row gutter="0"> <u-row gutter="0">
<u-form-item :label="$t('message.product_Location')" style="width: 50%; margin-top: 16rpx"> <u-form-item :label="$t('message.product_Location')" style="width: 50%; margin-top: 16rpx">

@ -72,11 +72,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 表格 --> <!-- 表格 -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="RUSdetailHeader" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table> <wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="RUSdetailHeader" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view> </view>

@ -58,10 +58,13 @@
<view>{{ $t('message.ContainerCode') }}:</view> <view>{{ $t('message.ContainerCode') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<view class="add">
<u-button type="primary" @click="searchBarcode">{{ $t('message.scan') }}</u-button> <u-button type="primary" @click="searchBarcode">{{ $t('message.scan') }}</u-button>
</view> </view>
</view>
<!-- <view class="add">
<u-button type="primary" @click="searchBarcode">{{ $t('message.scan') }}</u-button>
</view> -->
<!-- 库位 --> <!-- 库位 -->
<view class="library"> <view class="library">
<view class="library-left"> <view class="library-left">
@ -754,13 +757,13 @@ export default class dnReceiptDom extends BasePage {
.config { .config {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
// position: absolute; position: relative;
top: 420px; // top: 420px;
left: 0; // left: 0;
button { button {
position: absolute; position: absolute;
top: 455px; // top: 455px;
right: 35rpx; right: 1px;
} }
} }
} }

@ -85,11 +85,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 表格 --> <!-- 表格 -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table> <wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view> </view>

@ -37,20 +37,26 @@
<view>{{ $t('message.source') }}:</view> <view>{{ $t('message.source') }}:</view>
<u-search :placeholder="$t('message.barcodeSource')" style="z-index: 10000" v-model="NextCode" @search="searchSource" :show-action="false"></u-search> <u-search :placeholder="$t('message.barcodeSource')" style="z-index: 10000" v-model="NextCode" @search="searchSource" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<view class="add">
<u-button type="primary" @click="searchSource">{{ $t('message.Query') }}</u-button> <u-button type="primary" @click="searchSource">{{ $t('message.Query') }}</u-button>
</view> </view>
</view>
<!-- <view class="add">
<u-button type="primary" @click="searchSource">{{ $t('message.Query') }}</u-button>
</view> -->
<!-- 本次数量 --> <!-- 本次数量 -->
<view class="single"> <view class="single">
<view class="single-left"> <view class="single-left">
<view>{{ $t('message.CommissionedThisNumber') }}:</view> <view>{{ $t('message.CommissionedThisNumber') }}:</view>
<u-input v-model="NewQty" :placeholder="$t('message.Summary_PleaseInputNumber')" style="margin-top: 8px" /> <u-input v-model="NewQty" :placeholder="$t('message.Summary_PleaseInputNumber')" style="margin-top: 8px" />
</view> </view>
</view> <view class="single-right">
<view class="NumAdd">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- <view class="NumAdd">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
</u-form> </u-form>
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="TargetTitle" :contents="Submitlist" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table> <wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="TargetTitle" :contents="Submitlist" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
<view class="bottom-bar"> <view class="bottom-bar">
@ -283,9 +289,9 @@ export default class KanDanHandOver extends BasePage {
.NumAdd { .NumAdd {
width: 100%; width: 100%;
height: 100rpx; height: 100rpx;
position: absolute; position: relative;
top: 496px; // top: 496px;
left: 0; // left: 0;
button { button {
position: absolute; position: absolute;
top: 3rpx; top: 3rpx;

@ -52,11 +52,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 数量 --> <!-- 数量 -->
<u-form-item :label="$t('message.product_Number')"> <u-form-item :label="$t('message.product_Number')">
<u-input v-model="qty" placeholder="" :border="border" type="number" /> <u-input v-model="qty" placeholder="" :border="border" type="number" />

@ -60,11 +60,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 数量 --> <!-- 数量 -->
<u-form-item :label="$t('message.product_Number')"> <u-form-item :label="$t('message.product_Number')">
<u-input v-model="qty" placeholder="" :border="border" type="number" /> <u-input v-model="qty" placeholder="" :border="border" type="number" />

@ -49,11 +49,14 @@
<view>{{ $t('message.Container') }}:</view> <view>{{ $t('message.Container') }}:</view>
<u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search> <u-search :placeholder="$t('message.PleaseScan')" style="z-index: 10000" v-model="Barcode" @search="searchBarcode" :show-action="false"></u-search>
</view> </view>
</view> <view class="single-right">
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button> <u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> </view>
</view>
<!-- 添加 -->
<!-- <view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view> -->
<!-- 本次数量 --> <!-- 本次数量 -->
<u-form-item :label="$t('message.CommissionedThisNumber')"> <u-form-item :label="$t('message.CommissionedThisNumber')">
<u-input :disabled="true" v-model="Container.qty" placeholder="" /> <u-input :disabled="true" v-model="Container.qty" placeholder="" />

Loading…
Cancel
Save