lijuncheng 9 months ago
parent
commit
65f6d97f6a
  1. 6
      api/request2.js
  2. 1
      common/style/new_style.css
  3. 8
      pages/issue/coms/comIssueDetailCard.vue
  4. 3
      pages/issue/coms/comScanIssuePack.vue
  5. 1
      pages/query/container.vue
  6. 4
      pages/query/item.vue

6
api/request2.js

@ -428,11 +428,11 @@ export function getBasicItemByCode(itemCode) {
/** /**
* 按物品查询库存汇总 * 按物品查询库存汇总
* @param {*} itemCode * @param {*} itemCode
* * /wms/balance/summary
*/ */
export function getBalanceByCodeGroup(params) { export function getBalanceSummary(params) {
return request({ return request({
url: baseApi + "/wms/balance/page", url: baseApi + "/wms/balance/summary",
method: "get", method: "get",
data: params, data: params,
}); });

1
common/style/new_style.css

@ -2123,6 +2123,7 @@ button::after {
} }
.scan_view { .scan_view {
/* #0CC2B6 20% */
background: linear-gradient(90deg, rgba(12, 194, 182, 0.2) 0%, rgba(12, 194, 182, 0) 100%) background: linear-gradient(90deg, rgba(12, 194, 182, 0.2) 0%, rgba(12, 194, 182, 0) 100%)
} }

8
pages/issue/coms/comIssueDetailCard.vue

@ -24,11 +24,11 @@
<recommend-balance style='margin-left: 20px;' :detail="batch" :isShowLocation="false" <recommend-balance style='margin-left: 20px;' :detail="batch" :isShowLocation="false"
:isShowPack="batch.packingNumber!=null && batch.packingNumber!=''"> :isShowPack="batch.packingNumber!=null && batch.packingNumber!=''">
</recommend-balance> </recommend-balance>
<view class="uni-flex uni-row" v-if='batch.Records.length>0'> <view class="uni-flex uni-row " v-if='batch.Records.length>0'>
<view class="center " style=" width: 20px; color: #0CC2B6; margin-left: 40px;"> <view class="center " style=" width: 20px;background-color: #0CC2B6; color: #fff; margin-left: 40px;padding: 0px 2px;">
实际 扫描
</view> </view>
<view class="uni-flex uni-column" style="width: 100%;"> <view class="uni-flex uni-column scan_view" style="width: 100%;">
<view v-for="(record,index) in batch.Records"> <view v-for="(record,index) in batch.Records">
<uni-swipe-action ref="swipeAction"> <uni-swipe-action ref="swipeAction">
<uni-swipe-action-item @click="swipeClick($event,batch,record,index)" <uni-swipe-action-item @click="swipeClick($event,batch,record,index)"

3
pages/issue/coms/comScanIssuePack.vue

@ -69,7 +69,7 @@
<uni-swipe-action-item @click="swipeClick($event,record,index)" <uni-swipe-action-item @click="swipeClick($event,record,index)"
:right-options="scanOptions"> :right-options="scanOptions">
<view style="padding: 0px 10px"> <view style="padding: 0px 10px">
<balance :dataContent="record" :isShowLocation="false" <balance :dataContent="record" :isShowFromLocation="false"
:isShowStdPack="false"></balance> :isShowStdPack="false"></balance>
</view> </view>
</uni-swipe-action-item> </uni-swipe-action-item>
@ -370,6 +370,7 @@
balance.stdPackQty = packageInfo.stdPackQty balance.stdPackQty = packageInfo.stdPackQty
balance.stdPackUnit = packageInfo.stdPackUnit balance.stdPackUnit = packageInfo.stdPackUnit
let record = { let record = {
scaned:true,
itemCode: label.itemCode, itemCode: label.itemCode,
packingNumber: label.packingNumber, packingNumber: label.packingNumber,
batch: label.batch, batch: label.batch,

1
pages/query/container.vue

@ -63,7 +63,6 @@
winScanButton, winScanButton,
comMessage, comMessage,
comLocationDetailCard, comLocationDetailCard,
winScanItem,
containerInfo, containerInfo,
winScanContainer winScanContainer

4
pages/query/item.vue

@ -39,7 +39,7 @@
getExpectinByItemcode, getExpectinByItemcode,
getBalanceByItemCode, getBalanceByItemCode,
getBasicItemByCode, getBasicItemByCode,
getBalanceByCodeGroup getBalanceSummary
} from '@/api/request2.js'; } from '@/api/request2.js';
import { import {
goHome goHome
@ -130,7 +130,7 @@
pageSize: pageSize pageSize: pageSize
} }
console.log("getSummary", pageNo) console.log("getSummary", pageNo)
getBalanceByCodeGroup(params).then(res => { getBalanceSummary(params).then(res => {
uni.hideLoading(); uni.hideLoading();
if (res.data.list.length > 0) { if (res.data.list.length > 0) {
this.$refs.paging.complete(res.data.list); this.$refs.paging.complete(res.data.list);

Loading…
Cancel
Save