Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-uniapp into master_hella

hella_online_20240829
lijuncheng 5 months ago
parent
commit
442e877896
  1. 2
      src/mycomponents/package/packageCard.vue
  2. 2
      src/mycomponents/recommend/recommend.vue
  3. 4
      src/mycomponents/scan/winScanPackAndLocation.vue
  4. 26
      src/pages/pointProductReceipt/index.vue
  5. 1
      src/pages/productPutaway/job/productPutawayDetail.vue
  6. 2
      src/pages/productPutaway/record/productPutawayRecord.vue
  7. 5
      src/pages/productReceipt/job/fgProductReceiptDetail.vue
  8. 3
      src/pages/putaway/job/putawayDetail.vue
  9. 3
      src/pages/putaway/record/putawayRecord.vue

2
src/mycomponents/package/packageCard.vue

@ -19,7 +19,7 @@
<recommend-qty v-if="dataContent.handleQty==null || dataContent.handleQty==undefined" :dataContent="dataContent" <recommend-qty v-if="dataContent.handleQty==null || dataContent.handleQty==undefined" :dataContent="dataContent"
:isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty> :isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty>
<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)" <compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
:handleQty="Number(dataContent.handleQty)" :isShowStdPack="false"> :handleQty="Number(dataContent.handleQty)" :isShowStdPack="false" :isShowStatus="isShowStatus">
</compare-qty> </compare-qty>
<view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()"> <view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()">

2
src/mycomponents/recommend/recommend.vue

@ -18,7 +18,7 @@
<recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail" <recommend-qty v-if="detail.handleQty==null || detail.handleQty==undefined" :dataContent="detail"
:isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty> :isShowStdPack="false" :isShowStatus="isShowStatus"></recommend-qty>
<compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)" <compare-qty v-else :dataContent="detail" :recommendQty="Number(detail.qty)"
:handleQty="Number(detail.handleQty)" :isShowStdPack="false"> :handleQty="Number(detail.handleQty)" :isShowStdPack="false" :isShowStatus="isShowStatus">
</compare-qty> </compare-qty>
<view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()"> <view class="uni-flex uni-row center" style="vertical-align:center ;" v-if="isDevlement()">

4
src/mycomponents/scan/winScanPackAndLocation.vue

@ -284,7 +284,11 @@
if (this.allowNullBalance) { if (this.allowNullBalance) {
this.allowNoneBalance(datas); this.allowNoneBalance(datas);
} else if (this.noShowBalanceMessage) { } else if (this.noShowBalanceMessage) {
if(Array.isArray(datas)){
this.countCallBack(datas[0]);
}else{
this.countCallBack(datas); this.countCallBack(datas);
}
} else { } else {
this.mustHavaBalance(datas); this.mustHavaBalance(datas);
} }

26
src/pages/pointProductReceipt/index.vue

@ -12,8 +12,8 @@
<view class="value" id="name2">{{item.itemName}}</view> <view class="value" id="name2">{{item.itemName}}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">物料描述</view> <view class="label">包装名称</view>
<view class="value">{{item.itemDesc1}}</view> <view class="value">{{item.packName}}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">包装号</view> <view class="label">包装号</view>
@ -37,8 +37,8 @@
<view class="value">{{item.batch}}</view> <view class="value">{{item.batch}}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">班次</view> <view class="label">物料类型</view>
<view class="value">{{item.shiftCode}}</view> <view class="value">{{item.itemType}}</view>
</view> </view>
<view class="left-item" > <view class="left-item" >
<view class="label">打印时间</view> <view class="label">打印时间</view>
@ -117,20 +117,20 @@
<div class="value" id="name2">${item.itemName}</div> <div class="value" id="name2">${item.itemName}</div>
</div> </div>
<view class="left-item"> <view class="left-item">
<view class="label">物料描述</view> <view class="label">包装名称</view>
<view class="value">{{item.itemDesc1}}</view> <view class="value">${item.packName}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">包装号</view> <view class="label">包装号</view>
<view class="value">{{item.relateNumber}}</view> <view class="value">${item.relateNumber}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">生产线</view> <view class="label">生产线</view>
<view class="value">{{item.productionLineCode}}</view> <view class="value">${item.productionLineCode}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">数量</view> <view class="label">数量</view>
<view class="value">{{item.qty}}</view> <view class="value">${item.qty}</view>
</view> </view>
</div> </div>
<div class="right"> <div class="right">
@ -139,15 +139,15 @@
</div> </div>
<view class="left-item"> <view class="left-item">
<view class="label">批次</view> <view class="label">批次</view>
<view class="value">{{item.batch}}</view> <view class="value">${item.batch}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">班次</view> <view class="label">物料类型</view>
<view class="value">{{item.shiftCode}}</view> <view class="value">${item.itemType}</view>
</view> </view>
<view class="left-item"> <view class="left-item">
<view class="label">打印时间</view> <view class="label">打印时间</view>
<view class="value">{{item.printTimes}}</view> <view class="value">${item.printTimes}</view>
</view> </view>
</div> </div>
</div>` </div>`

1
src/pages/productPutaway/job/productPutawayDetail.vue

@ -349,6 +349,7 @@
itemDetail.handleQty = Number(result.balance.qty) itemDetail.handleQty = Number(result.balance.qty)
itemDetail.balance = result.balance; itemDetail.balance = result.balance;
itemDetail.toInventoryStatus = result.balance.inventoryStatus; itemDetail.toInventoryStatus = result.balance.inventoryStatus;
itemDetail.fromInventoryStatus = result.balance.inventoryStatus;
itemDetail.balance.balanceQty = Number(result.balance.qty) itemDetail.balance.balanceQty = Number(result.balance.qty)
itemDetail.balance.packQty = Number(result.package.packQty) itemDetail.balance.packQty = Number(result.package.packQty)
itemDetail.balance.packUnit = result.package.packUnit itemDetail.balance.packUnit = result.package.packUnit

2
src/pages/productPutaway/record/productPutawayRecord.vue

@ -153,6 +153,7 @@
if (item == undefined) { if (item == undefined) {
var itemp = createItemInfo(balance, pack); var itemp = createItemInfo(balance, pack);
let newDetail = createDetailInfo(balance, pack); // let newDetail = createDetailInfo(balance, pack); //
newDetail.fromInventoryStatus = balance.inventoryStatus;
itemp.subList.push(newDetail); itemp.subList.push(newDetail);
this.detailSource.push(itemp) this.detailSource.push(itemp)
} else { } else {
@ -166,6 +167,7 @@
}) })
if (detail == undefined) { if (detail == undefined) {
let newDetail = createDetailInfo(balance, pack); let newDetail = createDetailInfo(balance, pack);
newDetail.fromInventoryStatus = balance.inventoryStatus;
item.subList.push(newDetail); item.subList.push(newDetail);
} else { } else {
if (detail.scaned == true) { if (detail.scaned == true) {

5
src/pages/productReceipt/job/fgProductReceiptDetail.vue

@ -70,6 +70,7 @@
import { import {
getManagementPrecisions getManagementPrecisions
} from '@/common/balance.js'; } from '@/common/balance.js';
import { getCurrDateTime} from '@/common/basic.js';
import { import {
getProductReceiptJobDetail, getProductReceiptJobDetail,
@ -381,13 +382,15 @@
barcodeString: item.barcodeString, // barcodeString: item.barcodeString, //
itemCode: item.itemCode || '', // itemCode: item.itemCode || '', //
itemName: item.itemName || '', // itemName: item.itemName || '', //
packName: item.packName || '', //
itemType: item.itemType || '', //
itemDesc1: item.itemDesc1 || '', // itemDesc1: item.itemDesc1 || '', //
relateNumber: item.relateNumber || '', //relateNumber relateNumber: item.relateNumber || '', //relateNumber
batch: item.batch || '', // batch: item.batch || '', //
productionLineCode: item.productionLineCode || '', //线 productionLineCode: item.productionLineCode || '', //线
shiftCode: item.shiftCode || '', // shiftCode: item.shiftCode || '', //
qty: item.qty || '', // qty: item.qty || '', //
printTimes: item.printTimes || '' // printTimes: getCurrDateTime() //
}) })
}) })
console.log('pointData', pointData) console.log('pointData', pointData)

3
src/pages/putaway/job/putawayDetail.vue

@ -345,6 +345,9 @@
scanedLength++; scanedLength++;
} }
}) })
//
itemDetail.fromInventoryStatus = result.balance.inventoryStatus;
if (itemDetail.scaned && scanedLength == itemDetail.packList.length) { if (itemDetail.scaned && scanedLength == itemDetail.packList.length) {
this.showMessage("箱码【" + packingNumber + "】已经扫描") this.showMessage("箱码【" + packingNumber + "】已经扫描")
} else { } else {

3
src/pages/putaway/record/putawayRecord.vue

@ -172,6 +172,7 @@
newDetail.poLine=poLine; newDetail.poLine=poLine;
newDetail.poNumber=poNumber; newDetail.poNumber=poNumber;
newDetail.supplierCode=supplierCode; newDetail.supplierCode=supplierCode;
newDetail.fromInventoryStatus = balance.inventoryStatus;
itemp.subList.push(newDetail); itemp.subList.push(newDetail);
this.detailSource.push(itemp) this.detailSource.push(itemp)
@ -195,6 +196,8 @@
newDetail.poLine=poLine; newDetail.poLine=poLine;
newDetail.poNumber=poNumber; newDetail.poNumber=poNumber;
newDetail.supplierCode=supplierCode; newDetail.supplierCode=supplierCode;
newDetail.fromInventoryStatus = balance.inventoryStatus;
item.subList.push(newDetail); item.subList.push(newDetail);
calcHandleQty(this.detailSource); calcHandleQty(this.detailSource);
}); });

Loading…
Cancel
Save