From d52b996f9ef0e78f7ae99b6b45985a04fcbf3f7e Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期六, 04 一月 2025 09:25:16 +0800 Subject: [PATCH] # --- pages/out/checkOut.vue | 20 +++++++++++++++----- 1 files changed, 15 insertions(+), 5 deletions(-) diff --git a/pages/out/checkOut.vue b/pages/out/checkOut.vue index 12f0565..1f893b7 100644 --- a/pages/out/checkOut.vue +++ b/pages/out/checkOut.vue @@ -2,7 +2,7 @@ <view> <view class="code"> <view class="item"> - <view class="code-decs">绠卞彿:</view> + <view class="code-decs">鏉$爜:</view> <textarea style="background-color: #f0f0f0;max-height: 100rpx;padding: 4px;margin: 4px;" type="textarea" placeholder=" 鎵爜 / 杈撳叆" maxlength="1000" v-model="barcode" :focus="barcodeFocus" @input="analysis()" /> @@ -240,6 +240,7 @@ _this.deadTimeType = "error" } _this.dataList.push(res.data) + console.log(_this.dataList); } else if (res.code == 403) { _this.messageText = res.msg _this.messageToggle('error') @@ -439,12 +440,21 @@ }, comb() { let that = this; + console.log(that.dataList[0]); + var matObj= { + rollNo: that.dataList[0].model, // 鍗峰彿 + boxNo: that.dataList[0].batch, // 绠卞彿 + specs: that.dataList[0].matnr, // 瑙勬牸 + length: that.dataList[0].price, // 闀垮害 + netWeight: that.dataList[0].weight, // 鍑�閲� + grossWeight: that.dataList[0].volume, // 姣涢噸 + splices: that.dataList[0].specs, // 鎺ュご 涓� + } uni.request({ url: that.baseUrl + '/mobile/order/search/batch/auth', - data: that.targetBatch, + data: matObj, method: 'POST', header: {'token': uni.getStorageSync('token')}, - method:'POST', success(result) { let res = result.data if (res.code === 200) { @@ -513,7 +523,7 @@ .item { display: flex; align-items: center; - height: 100rpx; + height: 130rpx; margin-left: 20rpx; border-bottom: 1px solid #DCDFE6; } @@ -545,7 +555,7 @@ width: 100%; background-color: white; position: fixed; - margin-top: 100rpx; + margin-top: 130rpx; z-index: 9; /* border-top: 1px solid #DCDFE6; */ text-align: center; -- Gitblit v1.9.1