#
whycq
2023-07-07 1e1c501062b84e1bbb4b41a0c06d78952ba66dd8
#
2个文件已修改
21 ■■■■■ 已修改文件
pages/stock/stockQuery.vue 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/css/wms.css/wms.css 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/stock/stockQuery.vue
@@ -3,15 +3,19 @@
        <!-- 搜索框 -->
        <view class="code">
            <view class="item">
                <view class="code-decs">托盘码:</view>
                <view class="code-decs">库位码:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="locNo">
            </view>
            <!-- <view class="item">
            <view class="item">
                <view class="code-decs">托盘码:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="barcode">
            </view>
            <view class="item">
                <view class="code-decs">物料号:</view>
                <input type="text" placeholder=" 扫码 / 输入" v-model="matnr">
                <view class="item-right">
                </view>
            </view> -->
            </view>
        </view>
        <view class="mat-list-title">
            商品列表
@@ -88,6 +92,7 @@
                baseUrl: '',
                token: '',
                locNo: null,
                barcode: null,
                matnr: null,
                dataList: [],
                msgType: '',
@@ -110,18 +115,17 @@
                    data: {
                        curr: 1,
                        limit: 100,
                        zpallet: that.locNo,
                        loc_no: that.locNo,
                        zpallet: that.barcode,
                        matnr: that.matnr
                    },
                    method:"GET",
                    success(result) {
                        console.log(result)
                        let res = result.data
                        let records = res.data.records
                        if (res.code == 200) {
                            if (records) {
                                that.dataList = records
                                console.log(that.dataList)
                            } else {
                                uni.showToast({
                                    title: "暂无更多数据",
@@ -153,6 +157,7 @@
                this.dataList = []
                this.matnr = ''
                this.locNo = ''
                this.barcode = ''
                this.messageText = "重置完成"
                this.messageToggle('success')
            },
@@ -213,7 +218,7 @@
        width: 100%;
        background-color: white;
        position: fixed;
        margin-top: 100rpx;
        margin-top: 300rpx;
        z-index: 9;
        /* border-top: 1px solid #DCDFE6; */
        text-align: center;
static/css/wms.css/wms.css
@@ -7,7 +7,7 @@
    box-shadow: 0px 0px 30px 0px rgba(0,0,0,0.2);
}
.list:first-child {
    margin-top: 220rpx;
    margin-top: 420rpx;
}
.list:last-child {
    margin-bottom: 120rpx;