Browse Source

修改完工转储

pda_nev
李俊城 11 months ago
parent
commit
48f784bbbe
  1. 17
      fe/PDA/api/index.js
  2. 2
      fe/PDA/mycomponents/comItem/comBaseItem.vue
  3. 2
      fe/PDA/mycomponents/comItem/comBottomItem.vue
  4. 2
      fe/PDA/mycomponents/comItem/comItemTop.vue
  5. 2
      fe/PDA/mycomponents/comItem/comTopItem.vue
  6. 2
      fe/PDA/mycomponents/coms/comProductItem.vue
  7. 2
      fe/PDA/mycomponents/coms/return/comReturnDetail.vue
  8. 4
      fe/PDA/mycomponents/coms/task/comScanPutaway.vue
  9. 2
      fe/PDA/mycomponents/dycom/dyItemInfo.vue
  10. 2
      fe/PDA/mycomponents/popup/selectClickList.vue
  11. 2
      fe/PDA/mycomponents/return/comReturnDetail.vue
  12. 2
      fe/PDA/mycomponents/scan/comScanCreateTp.vue
  13. 2
      fe/PDA/mycomponents/scan/comScanDeliverFg.vue
  14. 2
      fe/PDA/mycomponents/scan/comScanDeliverTf.vue
  15. 2
      fe/PDA/mycomponents/scan/comScanHold.vue
  16. 2
      fe/PDA/mycomponents/scan/comScanPutaway.vue
  17. 8
      fe/PDA/mycomponents/scan/comScanReplen.vue
  18. 2
      fe/PDA/mycomponents/scan/comScanSemiPutaway.vue
  19. 2
      fe/PDA/mycomponents/scan/comScanUnpick.vue
  20. 3
      fe/PDA/mycomponents/wincom/winScanByProductCode.vue
  21. 2
      fe/PDA/pages/container/containerMoveDetail.vue
  22. 2
      fe/PDA/pages/cotaing/coatingTransfer.vue
  23. 2
      fe/PDA/pages/injection/injectionInventoryMoveDetail.vue
  24. 22
      fe/PDA/pages/injection/injectionTransfer.vue
  25. 2
      fe/PDA/pages/inventory/comTransfer.vue
  26. 2
      fe/PDA/pages/inventory/merge.vue
  27. 2
      fe/PDA/pages/inventory/productionReturn_detail.vue
  28. 2
      fe/PDA/pages/inventory/transferIssue_detail.vue
  29. 2
      fe/PDA/pages/inventory/transferReceipt_detail.vue
  30. 2
      fe/PDA/pages/putaway/purchasePutaway.vue
  31. 2
      fe/PDA/pages/putaway/semiPutaway.vue
  32. 2
      fe/PDA/pages/query/item.vue
  33. 2
      fe/PDA/pages/query/location.vue
  34. 2
      fe/PDA/pages/record/completeInventoryTransfer.vue
  35. 2
      fe/PDA/pages/record/productionReturn.vue
  36. 2
      fe/PDA/pages/return/purchaseReturnRequestApprove_detail.vue
  37. 2
      fe/PDA/pages/spray/sprayCompleteReceive.vue
  38. 2
      fe/PDA/pages/store/deliverRaw.vue
  39. 2
      fe/PDA/pages/store/issueDirect.vue
  40. 2
      fe/PDA/pages/store/receipt.vue
  41. 2
      fe/PDA/pages/store/recycle.vue
  42. 2
      fe/PDA/pages/store/tjRecycle.vue
  43. 6
      fe/PDA/pages/task/Inspect.vue
  44. 2
      fe/PDA/pages/task/Inspect_result.vue
  45. 2
      fe/PDA/pages/task/count.vue
  46. 2
      fe/PDA/pages/task/countByLocation.vue
  47. 2
      fe/PDA/pages/task/countFg.vue
  48. 2
      fe/PDA/pages/task/countFgDetail.vue
  49. 2
      fe/PDA/pages/task/countRaw.vue
  50. 2
      fe/PDA/pages/task/countRawDetail.vue
  51. 2
      fe/PDA/pages/task/count_detail.vue
  52. 2
      fe/PDA/pages/task/count_result.vue
  53. 2
      fe/PDA/pages/task/deliverBoard_detail.vue
  54. 2
      fe/PDA/pages/task/deliver_detail.vue
  55. 2
      fe/PDA/pages/task/inventoryMoveJobDetail.vue
  56. 34
      fe/PDA/pages/task/issue_detail.vue
  57. 2
      fe/PDA/pages/task/putaway.vue
  58. 2
      fe/PDA/pages/task/putawayjob.vue
  59. 2
      fe/PDA/pages/task/receipt_check.vue
  60. 26
      fe/PDA/pages/task/unProducePickDetail.vue
  61. 24
      fe/PDA/pages/task/unProduceReturnDetail.vue

17
fe/PDA/api/index.js

@ -133,7 +133,7 @@ export const getBalanceRemoveInAndOut = (params) => request(
data: params, data: params,
method: "post" method: "post"
}) })
//通过零件号和库位查询库存,去除预计出 //通过ERP料号和库位查询库存,去除预计出
export const getRecommendBalanceByLocationAsync = (params,itemCode,isPackingCode) => promise( export const getRecommendBalanceByLocationAsync = (params,itemCode,isPackingCode) => promise(
devUrl + "/api/pda/inventory/balances/get-recommend-balance-by-locations?itemCode="+itemCode+"&isPackingCode="+isPackingCode,{ // devUrl + "/api/pda/inventory/balances/get-recommend-balance-by-locations?itemCode="+itemCode+"&isPackingCode="+isPackingCode,{ //
data: params, data: params,
@ -201,8 +201,13 @@ export const getBalancesExpectByFilter = (params) => request(
method: 'post', method: 'post',
data: params data: params
}); });
// ERP料号模糊匹配查询库存
// export const getBalancesByItemCode = (params) => request(
devUrl + "/api/pda/get-fuzzy-by-balances-request-many-parameter", {
method: 'post',
data: params
});
//根据库位查询库存 //根据库位查询库存
export const getBalancesByStatus = (params) => request( export const getBalancesByStatus = (params) => request(
@ -211,7 +216,7 @@ export const getBalancesByStatus = (params) => request(
data: params data: params
}); });
//根据库位和零件号查询库存 //根据库位和ERP料号查询库存
export const getBalancesByLocationAndItem = (params) => request( export const getBalancesByLocationAndItem = (params) => request(
devUrl + "/api/pda/inventory/balances/get-by-location-and-item?locationCode=" + params.locationCode + devUrl + "/api/pda/inventory/balances/get-by-location-and-item?locationCode=" + params.locationCode +
"&itemCode=" + params.itemCode, { "&itemCode=" + params.itemCode, {
@ -220,7 +225,7 @@ export const getBalancesByLocationAndItem = (params) => request(
}); });
//根据库位和零件号查询库存 //根据库位和ERP料号查询库存
export const getBalancesByLocationAndItemAsync = (params) => promise( export const getBalancesByLocationAndItemAsync = (params) => promise(
devUrl + "/api/pda/inventory/balances/get-by-location-and-item?locationCode=" + params.locationCode + devUrl + "/api/pda/inventory/balances/get-by-location-and-item?locationCode=" + params.locationCode +
"&itemCode=" + params.itemCode, { "&itemCode=" + params.itemCode, {
@ -253,7 +258,7 @@ export const getitems = (code) => request(
}); });
// //
//查询单件码 通过单件码查询零件号信息 //查询单件码 通过单件码查询ERP料号信息
export const getMesBarCode = (mesBarCode) => request( export const getMesBarCode = (mesBarCode) => request(
devUrl + "/api/pda/store/product-receipt/get-itemcode-by-mesbarcode?mesBarCode=" + mesBarCode, { devUrl + "/api/pda/store/product-receipt/get-itemcode-by-mesbarcode?mesBarCode=" + mesBarCode, {
method: 'post', method: 'post',

2
fe/PDA/mycomponents/comItem/comBaseItem.vue

@ -1,5 +1,5 @@
<!-- 零件基础信息卡片包括: <!-- 零件基础信息卡片包括:
零件名称描述数量和单位 ERP料名称描述数量和单位
箱码批次库位状态 箱码批次库位状态
可以通过属性控制库位和状态是否显示 --> 可以通过属性控制库位和状态是否显示 -->
<template> <template>

2
fe/PDA/mycomponents/comItem/comBottomItem.vue

@ -1,5 +1,5 @@
<!-- 零件基础信息卡片包括: <!-- 零件基础信息卡片包括:
零件名称描述数量和单位 ERP料名称描述数量和单位
箱码批次库位状态 箱码批次库位状态
可以通过属性控制库位和状态是否显示 --> 可以通过属性控制库位和状态是否显示 -->
<template> <template>

2
fe/PDA/mycomponents/comItem/comItemTop.vue

@ -1,5 +1,5 @@
<!-- 零件基础信息卡片包括: <!-- 零件基础信息卡片包括:
零件名称描述数量和单位 ERP料名称描述数量和单位
箱码批次库位状态 箱码批次库位状态
可以通过属性控制库位和状态是否显示 --> 可以通过属性控制库位和状态是否显示 -->
<template> <template>

2
fe/PDA/mycomponents/comItem/comTopItem.vue

@ -1,5 +1,5 @@
<!-- 零件基础信息卡片包括: <!-- 零件基础信息卡片包括:
零件名称描述数量和单位 ERP料名称描述数量和单位
箱码批次库位状态 箱码批次库位状态
可以通过属性控制库位和状态是否显示 --> 可以通过属性控制库位和状态是否显示 -->
<template> <template>

2
fe/PDA/mycomponents/coms/comProductItem.vue

@ -1,5 +1,5 @@
<!-- 产品信息卡片包括: <!-- 产品信息卡片包括:
零件名称描述数量和单位 ERP料名称描述数量和单位
箱码批次库位状态 箱码批次库位状态
可以通过属性控制库位和状态是否显示 --> 可以通过属性控制库位和状态是否显示 -->
<template> <template>

2
fe/PDA/mycomponents/coms/return/comReturnDetail.vue

@ -4,7 +4,7 @@
<view class="choose_main"> <view class="choose_main">
<view class="ljh_box"> <view class="ljh_box">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-itemcode">零件:{{ returnDetail.itemCode }}</view> <view class="text-itemcode">ERP料:{{ returnDetail.itemCode }}</view>
</view> </view>
<view class="label_order"> <view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image> <image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>

4
fe/PDA/mycomponents/coms/task/comScanPutaway.vue

@ -128,7 +128,7 @@
if (this.active == 0) // if (this.active == 0) //
{ {
this.scanLocation(result.data.code); this.scanLocation(result.data.code);
} else // } else //ERP
{ {
this.scanItem(result.data.code); this.scanItem(result.data.code);
} }
@ -212,7 +212,7 @@
}, },
async getItemInfo(itemCode) { async getItemInfo(itemCode) {
// //ERP
let that = this; let that = this;
let itemInfo = await getItemAsync(itemCode); let itemInfo = await getItemAsync(itemCode);
if (itemInfo != null) {} else { if (itemInfo != null) {} else {

2
fe/PDA/mycomponents/dycom/dyItemInfo.vue

@ -4,7 +4,7 @@
<view class="choose_main"> <view class="choose_main">
<view class="ljh_box"> <view class="ljh_box">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-itemcode">零件:{{ dataContent.itemCode }}</view> <view class="text-itemcode">ERP料:{{ dataContent.itemCode }}</view>
</view> </view>
<view class="uni-flex space-between"> <view class="uni-flex space-between">
<view class="ljh_left desc_ljh"> <view class="ljh_left desc_ljh">

2
fe/PDA/mycomponents/popup/selectClickList.vue

@ -18,7 +18,7 @@
</view> </view>
<view class="" style="font-size: 32rpx;"> <view class="" style="font-size: 32rpx;">
<view class="" > <view class="" >
<text style="font-size: 32rpx; font-weight: bold;">物料代码 :</text> <text style="font-size: 32rpx; font-weight: bold;">ERP料号 :</text>
{{item.itemCode}} {{item.itemCode}}
</view> </view>
<view class=""> <view class="">

2
fe/PDA/mycomponents/return/comReturnDetail.vue

@ -4,7 +4,7 @@
<view class="choose_main"> <view class="choose_main">
<view class="ljh_box"> <view class="ljh_box">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-itemcode">零件:{{ returnDetail.itemCode }}</view> <view class="text-itemcode">ERP料:{{ returnDetail.itemCode }}</view>
</view> </view>
<view class="label_order"> <view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image> <image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>

2
fe/PDA/mycomponents/scan/comScanCreateTp.vue

@ -139,7 +139,7 @@
if (this.active == 0) // if (this.active == 0) //
{ {
this.scanContainer(result); this.scanContainer(result);
} else // } else //ERP
{ {
this.scanPack(result); this.scanPack(result);
} }

2
fe/PDA/mycomponents/scan/comScanDeliverFg.vue

@ -157,7 +157,7 @@
let that = this; let that = this;
if (result.data != null) { if (result.data != null) {
that.scanData = result.data; that.scanData = result.data;
//++ //ERP++
let datas = that.itemList.filter(function(r) { let datas = that.itemList.filter(function(r) {
if (r.itemCode === result.data.itemCode && if (r.itemCode === result.data.itemCode &&
r.lot === result.data.lot && r.lot === result.data.lot &&

2
fe/PDA/mycomponents/scan/comScanDeliverTf.vue

@ -146,7 +146,7 @@
let that = this; let that = this;
if (result.data != null) { if (result.data != null) {
that.scanData = result.data; that.scanData = result.data;
//++ //ERP++
let datas = that.itemList.filter(r => { let datas = that.itemList.filter(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.lot === result.data.lot && r.lot === result.data.lot &&

2
fe/PDA/mycomponents/scan/comScanHold.vue

@ -143,7 +143,7 @@
}; };
if (result.data.itemCode == null || result.data.itemCode == undefined) { if (result.data.itemCode == null || result.data.itemCode == undefined) {
this.showMessage('未解析到零件号信息'); this.showMessage('未解析到ERP料号信息');
return; return;
} }
that.scanResult = result; that.scanResult = result;

2
fe/PDA/mycomponents/scan/comScanPutaway.vue

@ -133,7 +133,7 @@
if (this.active == 0) // if (this.active == 0) //
{ {
this.scanLocation(result.data.code); this.scanLocation(result.data.code);
} else // } else //ERP
{ {
this.scanItem(result); this.scanItem(result);
} }

8
fe/PDA/mycomponents/scan/comScanReplen.vue

@ -119,7 +119,7 @@
if (this.active == 0) // if (this.active == 0) //
{ {
this.scanProdLine(result); this.scanProdLine(result);
} else // } else //ERP
{ {
this.scanItem(result); this.scanItem(result);
} }
@ -159,7 +159,7 @@
this.scanPlaceholder = '扫描零件'; this.scanPlaceholder = '扫描零件';
}, },
// //ERP
scanItem(result) { scanItem(result) {
let itemCode = ''; let itemCode = '';
if (result.data.scanType === 'qrcode') { if (result.data.scanType === 'qrcode') {
@ -169,7 +169,7 @@
} }
if (itemCode === null || itemCode === '') { if (itemCode === null || itemCode === '') {
this.showMessage('未解析到零件号'); this.showMessage('未解析到ERP料号');
return; return;
} else { } else {
let that = this; let that = this;
@ -190,7 +190,7 @@
}, },
async getItemInfo(itemCode) { async getItemInfo(itemCode) {
// //ERP
let that = this; let that = this;
uni.showLoading({ uni.showLoading({
title: '加载中', title: '加载中',

2
fe/PDA/mycomponents/scan/comScanSemiPutaway.vue

@ -300,7 +300,7 @@
let balanceRes = await getBalancesByLocationAndItemAsync(params); let balanceRes = await getBalancesByLocationAndItemAsync(params);
if (balanceRes.length == 0) { if (balanceRes.length == 0) {
that.showMessage('按库位和零件号[' + that.fromLocation.code + ',' + label.itemCode + ']未查找到库存信息'); that.showMessage('按库位和ERP料号[' + that.fromLocation.code + ',' + label.itemCode + ']未查找到库存信息');
} else { } else {
let balanceItem = balanceRes[0]; let balanceItem = balanceRes[0];
let item = { let item = {

2
fe/PDA/mycomponents/scan/comScanUnpick.vue

@ -109,7 +109,7 @@
if (this.active == 0) // if (this.active == 0) //
{ {
this.scanContainer(result); this.scanContainer(result);
} else // } else //ERP
{ {
this.scanPack(result); this.scanPack(result);
} }

3
fe/PDA/mycomponents/wincom/winScanByProductCode.vue

@ -89,7 +89,8 @@
itemDesc1:item.itemDesc1, itemDesc1:item.itemDesc1,
stdPackQty: item.stdPackQty, stdPackQty: item.stdPackQty,
uom: item.uom, uom: item.uom,
qty:item.qty qty:item.qty,
locationCode:item.locationCode
}; };
uni.hideLoading(); uni.hideLoading();
this.callBack(); this.callBack();

2
fe/PDA/pages/container/containerMoveDetail.vue

@ -232,7 +232,7 @@
return; return;
} }
} }
// //ERP
let params = { let params = {
pageSize: 1000, pageSize: 1000,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/cotaing/coatingTransfer.vue

@ -16,7 +16,7 @@
<uni-table border stripe style=""> <uni-table border stripe style="">
<!-- <uni-tr> <!-- <uni-tr>
<uni-td align="center">物品代码</uni-td> <uni-td align="center">ERP料号</uni-td>
<uni-td>{{item.itemCode}}</uni-td> <uni-td>{{item.itemCode}}</uni-td>
</uni-tr> --> </uni-tr> -->
<uni-tr> <uni-tr>

2
fe/PDA/pages/injection/injectionInventoryMoveDetail.vue

@ -232,7 +232,7 @@
return; return;
} }
} }
// //ERP
let params = { let params = {
pageSize: 1000, pageSize: 1000,
pageIndex: 1, pageIndex: 1,

22
fe/PDA/pages/injection/injectionTransfer.vue

@ -16,7 +16,7 @@
<uni-table border stripe style=""> <uni-table border stripe style="">
<!-- <uni-tr> <!-- <uni-tr>
<uni-td align="center">物品代码</uni-td> <uni-td align="center">ERP料号</uni-td>
<uni-td>{{item.itemCode}}</uni-td> <uni-td>{{item.itemCode}}</uni-td>
</uni-tr> --> </uni-tr> -->
<uni-tr> <uni-tr>
@ -201,7 +201,7 @@
stdPackQty: result.stdPackQty, stdPackQty: result.stdPackQty,
uom: result.uom, uom: result.uom,
qty: result.stdPackQty, qty: result.stdPackQty,
fromLocationCode: "ZPCP1", fromLocationCode: result.locationCode,
fromStatus: 2, fromStatus: 2,
toStatus:2 toStatus:2
} }
@ -240,16 +240,22 @@
}); });
let that = this; let that = this;
locations(code).then(res => { locations(code).then(res => {
if (res == null) { uni.hideLoading();
if(res){
//
if(res.type==1||res.type==6||res.type==13){
that.showMessage("目标库位不可以是待检、隔离、在途库位类型");
}else {
that.toLocationCode = code;
that.toLocationErpCode = res.erpLocationCode;
}
}else {
that.toLocationCode = '' that.toLocationCode = ''
that.showMessage('目标库位【' + code + '】不存在'); that.showMessage('目标库位【' + code + '】不存在');
this.$refs.location.clearLocation() this.$refs.location.clearLocation()
this.locationGotFocus = true; this.locationGotFocus = true;
} else {
that.toLocationCode = code;
that.toLocationErpCode = res.erpLocationCode;
} }
uni.hideLoading();
}).catch(err => { }).catch(err => {
that.toLocationCode = '' that.toLocationCode = ''
this.locationGotFocus = true; this.locationGotFocus = true;
@ -322,6 +328,8 @@
that.showMessage(err.message); that.showMessage(err.message);
uni.hideLoading(); uni.hideLoading();
}); });
}else {
that.showMessage("库位["+this.itemList[0].fromLocationCode+"]不存在");
} }
}) })

2
fe/PDA/pages/inventory/comTransfer.vue

@ -162,7 +162,7 @@
mask: true mask: true
}) })
let that = this; let that = this;
// //ERP
let params = { let params = {
pageSize: 100, pageSize: 100,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/inventory/merge.vue

@ -121,7 +121,7 @@
return; return;
} }
if (result.data.itemCode === null) { if (result.data.itemCode === null) {
this.showMessage('请包含零件号'); this.showMessage('请包含ERP料号');
return; return;
} }
// //

2
fe/PDA/pages/inventory/productionReturn_detail.vue

@ -10,7 +10,7 @@
<view class="choose_main"> <view class="choose_main">
<view class="ljh_box"> <view class="ljh_box">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-itemcode">零件:{{ item.itemCode }}</view> <view class="text-itemcode">ERP料:{{ item.itemCode }}</view>
</view> </view>
<view class="label_order"> <view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image> <image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>

2
fe/PDA/pages/inventory/transferIssue_detail.vue

@ -30,7 +30,7 @@
<view class="choose_main"> <view class="choose_main">
<view class="ljh_box"> <view class="ljh_box">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-itemcode">零件:{{ item.itemCode }}</view> <view class="text-itemcode">ERP料:{{ item.itemCode }}</view>
</view> </view>
<view class="label_order"> <view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image> <image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>

2
fe/PDA/pages/inventory/transferReceipt_detail.vue

@ -30,7 +30,7 @@
<view class="choose_main"> <view class="choose_main">
<view class="ljh_box"> <view class="ljh_box">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-itemcode">零件:{{ item.itemCode }}</view> <view class="text-itemcode">ERP料:{{ item.itemCode }}</view>
</view> </view>
<view class="label_order"> <view class="label_order">
<image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image> <image class="icon_normal" src="@/static/icons_ui/icon_asn.svg"></image>

2
fe/PDA/pages/putaway/purchasePutaway.vue

@ -261,7 +261,7 @@
}) })
} }
// //ERP
let purchaseDetail = await getPurchaseDetailAsync(balanceItem.itemCode, fromTopPackingCode); let purchaseDetail = await getPurchaseDetailAsync(balanceItem.itemCode, fromTopPackingCode);
if (purchaseDetail.error) { if (purchaseDetail.error) {
that.showScanMessage(purchaseDetail.error.message); that.showScanMessage(purchaseDetail.error.message);

2
fe/PDA/pages/putaway/semiPutaway.vue

@ -279,7 +279,7 @@
let balanceRes = await getWipListAsync(params); let balanceRes = await getWipListAsync(params);
if (balanceRes.totalCount == 0) { if (balanceRes.totalCount == 0) {
that.showScanMessage('按零件号和库位【' + that.fromLocation.code + ',' + that.currentLabel that.showScanMessage('按ERP料号和库位【' + that.fromLocation.code + ',' + that.currentLabel
.itemCode + .itemCode +
'】未查找到缴库信息'); '】未查找到缴库信息');
} else { } else {

2
fe/PDA/pages/query/item.vue

@ -33,7 +33,7 @@
</view> </view>
<win-scan-button @goScan='openScanPopup' v-if="itemCode!=''"></win-scan-button> <win-scan-button @goScan='openScanPopup' v-if="itemCode!=''"></win-scan-button>
<win-scan-by-code ref="scanPopup" title='物料代码' @getScanCode='getScanCode'> <win-scan-by-code ref="scanPopup" title='ERP料号' @getScanCode='getScanCode'>
</win-scan-by-code> </win-scan-by-code>
<!-- com-message必须放在最下层 --> <!-- com-message必须放在最下层 -->

2
fe/PDA/pages/query/location.vue

@ -167,7 +167,7 @@
mask: true mask: true
}); });
let params = { let params = {
locationCode: that.locationCode // locationCode: that.locationCode //ERP
}; };
summary(params).then(res => { summary(params).then(res => {
that.summarys = res.items; that.summarys = res.items;

2
fe/PDA/pages/record/completeInventoryTransfer.vue

@ -16,7 +16,7 @@
<uni-table border stripe style=""> <uni-table border stripe style="">
<!-- <uni-tr> <!-- <uni-tr>
<uni-td align="center">物品代码</uni-td> <uni-td align="center">ERP料号</uni-td>
<uni-td>{{item.itemCode}}</uni-td> <uni-td>{{item.itemCode}}</uni-td>
</uni-tr> --> </uni-tr> -->
<uni-tr> <uni-tr>

2
fe/PDA/pages/record/productionReturn.vue

@ -15,7 +15,7 @@
<uni-table border stripe style=""> <uni-table border stripe style="">
<!-- <uni-tr> <!-- <uni-tr>
<uni-td align="center">物品代码</uni-td> <uni-td align="center">ERP料号</uni-td>
<uni-td>{{item.itemCode}}</uni-td> <uni-td>{{item.itemCode}}</uni-td>
</uni-tr> --> </uni-tr> -->
<uni-tr> <uni-tr>

2
fe/PDA/pages/return/purchaseReturnRequestApprove_detail.vue

@ -147,7 +147,7 @@
this.dataList = [] this.dataList = []
data.forEach(res => { data.forEach(res => {
var list = [{ var list = [{
title: '物品代码', title: 'ERP料号',
content: res.itemCode content: res.itemCode
}, { }, {
title: '物品名称', title: '物品名称',

2
fe/PDA/pages/spray/sprayCompleteReceive.vue

@ -16,7 +16,7 @@
<uni-table border stripe style=""> <uni-table border stripe style="">
<!-- <uni-tr> <!-- <uni-tr>
<uni-td align="center">物品代码</uni-td> <uni-td align="center">ERP料号</uni-td>
<uni-td>{{item.itemCode}}</uni-td> <uni-td>{{item.itemCode}}</uni-td>
</uni-tr> --> </uni-tr> -->
<uni-tr> <uni-tr>

2
fe/PDA/pages/store/deliverRaw.vue

@ -199,7 +199,7 @@
mask: true mask: true
}) })
let that = this; let that = this;
// //ERP
let params = { let params = {
pageSize: 100, pageSize: 100,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/store/issueDirect.vue

@ -225,7 +225,7 @@
mask: true mask: true
}) })
let that = this; let that = this;
// //ERP
let params = { let params = {
pageSize: 100, pageSize: 100,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/store/receipt.vue

@ -160,7 +160,7 @@
} }
} }
//++ //ERP++
let datas = that.itemList.filter(r => { let datas = that.itemList.filter(r => {
return (r.itemCode === result.data.itemCode && return (r.itemCode === result.data.itemCode &&
r.lot === result.data.lot && r.lot === result.data.lot &&

2
fe/PDA/pages/store/recycle.vue

@ -146,7 +146,7 @@
} }
} }
//++ //ERP++
let datas = that.itemList.filter(function(r) { let datas = that.itemList.filter(function(r) {
if (r.itemCode === result.data.itemCode && if (r.itemCode === result.data.itemCode &&
r.lot === result.data.lot && r.lot === result.data.lot &&

2
fe/PDA/pages/store/tjRecycle.vue

@ -128,7 +128,7 @@
} }
} }
//++ //ERP++
let datas = that.itemList.filter(function(r) { let datas = that.itemList.filter(function(r) {
if (r.itemCode === result.data.itemCode && if (r.itemCode === result.data.itemCode &&
r.lot === result.data.lot && r.lot === result.data.lot &&

6
fe/PDA/pages/task/Inspect.vue

@ -51,7 +51,7 @@
pageSize: 1000, pageSize: 1000,
pageIndex: 1, pageIndex: 1,
scrollHeight: 0, scrollHeight: 0,
titleArray: ['ASN', '到货单', '零件号'], titleArray: ['ASN', '到货单', 'ERP料号'],
}; };
}, },
props: { props: {
@ -126,7 +126,7 @@
if (r.summaryDetails != null && r.summaryDetails[0] != null) { if (r.summaryDetails != null && r.summaryDetails[0] != null) {
r.item = r.summaryDetails[0].item; r.item = r.summaryDetails[0].item;
r.itemCode = r.summaryDetails[0].itemCode; // r.itemCode = r.summaryDetails[0].itemCode; //ERP
r.lot = r.summaryDetails[0].recommendLot; // r.lot = r.summaryDetails[0].recommendLot; //
if (r.summaryDetails[0].receiveQty === undefined) { if (r.summaryDetails[0].receiveQty === undefined) {
r.qty = { r.qty = {
@ -165,7 +165,7 @@
return r.arriveNoticeNumber === code return r.arriveNoticeNumber === code
}); });
break; break;
case '零件号': case 'ERP料号':
itemDetail = that.inspectList.find(r => { itemDetail = that.inspectList.find(r => {
return r.itemCode === code return r.itemCode === code
}); });

2
fe/PDA/pages/task/Inspect_result.vue

@ -5,7 +5,7 @@
<view class="uni-list"> <view class="uni-list">
<view class="uni-list-cell"> <view class="uni-list-cell">
<view class="uni-list-cell-left"> <view class="uni-list-cell-left">
<view class="uni-label">零件</view> <view class="uni-label">ERP料</view>
</view> </view>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">

2
fe/PDA/pages/task/count.vue

@ -182,7 +182,7 @@
this.getByNumber(type, result.data.code); this.getByNumber(type, result.data.code);
} else if (type == '库位') { } else if (type == '库位') {
this.getlocationScanResult(type, result.data.code); this.getlocationScanResult(type, result.data.code);
} else if (type == '零件号') { } else if (type == 'ERP料号') {
this.getItemScanResult(result); this.getItemScanResult(result);
} }
}, },

2
fe/PDA/pages/task/countByLocation.vue

@ -32,7 +32,7 @@
<view class="device-detail"> <view class="device-detail">
<view class="list-style"> <view class="list-style">
<view class="uni-flex uni-row space-between"> <view class="uni-flex uni-row space-between">
<view class="text-bolder">零件:{{ item.code }}</view> <view class="text-bolder">ERP料:{{ item.code }}</view>
</view> </view>
<view>名称:{{ item.name }}</view> <view>名称:{{ item.name }}</view>
<view>描述:{{ item.desc2 }}</view> <view>描述:{{ item.desc2 }}</view>

2
fe/PDA/pages/task/countFg.vue

@ -183,7 +183,7 @@
this.getByNumber(type, result.data.code); this.getByNumber(type, result.data.code);
} else if (type == '库位') { } else if (type == '库位') {
this.getlocationScanResult(type, result.data.code); this.getlocationScanResult(type, result.data.code);
} else if (type == '零件号') { } else if (type == 'ERP料号') {
this.getItemScanResult(result); this.getItemScanResult(result);
} }
}, },

2
fe/PDA/pages/task/countFgDetail.vue

@ -482,7 +482,7 @@
mask: true mask: true
}) })
let that = this; let that = this;
// //ERP
let params = { let params = {
pageSize: 100, pageSize: 100,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/task/countRaw.vue

@ -169,7 +169,7 @@
this.getByNumber(type, result.data.code); this.getByNumber(type, result.data.code);
} else if (type == '库位') { } else if (type == '库位') {
this.getlocationScanResult(type, result.data.code); this.getlocationScanResult(type, result.data.code);
} else if (type == '零件号') { } else if (type == 'ERP料号') {
this.getItemScanResult(result); this.getItemScanResult(result);
} }
}, },

2
fe/PDA/pages/task/countRawDetail.vue

@ -7,7 +7,7 @@
:newCount="newCount" :location="location" :countOrder="datacontent.inventoryStage"> :newCount="newCount" :location="location" :countOrder="datacontent.inventoryStage">
</com-count-scan-detail> </com-count-scan-detail>
</view> </view>
<!-- <button @click="open">打开</button> --> <button @click="open">打开</button>
<scroll-view scroll-y="true" style="margin-bottom: 50rpx;"> <scroll-view scroll-y="true" style="margin-bottom: 50rpx;">
<view v-for="(item ,index) in showList" :key="index"> <view v-for="(item ,index) in showList" :key="index">
<view class="detail-content common_card"> <view class="detail-content common_card">

2
fe/PDA/pages/task/count_detail.vue

@ -563,7 +563,7 @@
mask: true mask: true
}) })
let that = this; let that = this;
// //ERP
let params = { let params = {
pageSize: 100, pageSize: 100,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/task/count_result.vue

@ -14,7 +14,7 @@
</view> </view>
<view class="uni-list-cell"> <view class="uni-list-cell">
<view class="uni-list-cell-left"> <view class="uni-list-cell-left">
<view class="uni-label">零件</view> <view class="uni-label">ERP料</view>
</view> </view>
<view class="uni-list-cell-db"> <view class="uni-list-cell-db">
<input class="uni-input" type="text" :disabled="true" v-model="itemDetail.itemCode" /> <input class="uni-input" type="text" :disabled="true" v-model="itemDetail.itemCode" />

2
fe/PDA/pages/task/deliverBoard_detail.vue

@ -224,7 +224,7 @@
return; return;
} }
} }
// //ERP
let params = { let params = {
pageSize: 1000, pageSize: 1000,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/task/deliver_detail.vue

@ -232,7 +232,7 @@
return; return;
} }
} }
// //ERP
let params = { let params = {
pageSize: 1000, pageSize: 1000,
pageIndex: 1, pageIndex: 1,

2
fe/PDA/pages/task/inventoryMoveJobDetail.vue

@ -370,7 +370,7 @@
return; return;
} }
} }
// //ERP
if (itemFrom.isItemCodeFrom ) { if (itemFrom.isItemCodeFrom ) {
if (itemCode != itemFrom.itemCode) { if (itemCode != itemFrom.itemCode) {
this.showMessage("任务中不允许修改来源零件, 扫描箱码[" + packingCode + "]的零件[" + itemCode + "]与推荐零件[" + this.showMessage("任务中不允许修改来源零件, 扫描箱码[" + packingCode + "]的零件[" + itemCode + "]与推荐零件[" +

34
fe/PDA/pages/task/issue_detail.vue

@ -328,23 +328,23 @@
if (itemCode == undefined) { if (itemCode == undefined) {
that.showScanMessage('所扫描的箱码【' + result.data.code + '】对应的物料【' + result.data.itemCode + '】不在任务中'); that.showScanMessage('所扫描的箱码【' + result.data.code + '】对应的物料【' + result.data.itemCode + '】不在任务中');
}else { }else {
// //ERP
var itemCode1 = that.details.find(r => { var itemCode1 = that.details.find(r => {
return r.itemCode === result.data.itemCode&& return r.itemCode === result.data.itemCode&&
r.recommendPackingCode === result.data.code r.recommendPackingCode === result.data.code
r.scaned === scaned r.scaned === scaned
}) })
// //ERP
if(itemCode1 == undefined){ if(itemCode1 == undefined){
var itemCode2 = that.details.find(r => { var itemCode2 = that.details.find(r => {
return r.itemCode === result.data.itemCode&& return r.itemCode === result.data.itemCode&&
r.recommendLot === result.data.lot r.recommendLot === result.data.lot
&&r.scaned === scaned &&r.scaned === scaned
}) })
// //ERP
if(itemCode2==undefined){ if(itemCode2==undefined){
// //ERP
console.log("零件号相同、箱码不相同、批次不相同") console.log("ERP料号相同、箱码不相同、批次不相同")
setTimeout(res => { setTimeout(res => {
showConfirmMsg(itemCode.recommendPackingCode+'未执行先进先出或不是最先批次,是否继续?', confirm => { showConfirmMsg(itemCode.recommendPackingCode+'未执行先进先出或不是最先批次,是否继续?', confirm => {
if (confirm) { if (confirm) {
@ -357,15 +357,15 @@
}, 100) }, 100)
}else { }else {
console.log("零件号相同、箱码不相同、批次相同") console.log("ERP料号相同、箱码不相同、批次相同")
// //ERP
that.currentItem = itemCode2; that.currentItem = itemCode2;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
} }
}else { }else {
// //ERP
var itemCode3 = that.details.find(r => { var itemCode3 = that.details.find(r => {
return r.itemCode === result.data.itemCode&& return r.itemCode === result.data.itemCode&&
r.recommendPackingCode === result.data.code&& r.recommendPackingCode === result.data.code&&
@ -373,8 +373,8 @@
&&r.scaned === scaned &&r.scaned === scaned
}) })
if(itemCode3==undefined){ if(itemCode3==undefined){
// //ERP
console.log("零件号相同、箱码相同、批次不同") console.log("ERP料号相同、箱码相同、批次不同")
setTimeout(res => { setTimeout(res => {
showConfirmMsg(itemCode1.recommendPackingCode+'未执行先进先出或不是最先批次,是否继续?', confirm => { showConfirmMsg(itemCode1.recommendPackingCode+'未执行先进先出或不是最先批次,是否继续?', confirm => {
if (confirm) { if (confirm) {
@ -387,8 +387,8 @@
}, 100) }, 100)
}else { }else {
console.log("零件号相同、箱码相同、批次相同") console.log("ERP料号相同、箱码相同、批次相同")
// //ERP
that.currentItem = itemCode3; that.currentItem = itemCode3;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
} }
@ -405,13 +405,13 @@
// // // //ERP
// if (that.currentItem === undefined) { // if (that.currentItem === undefined) {
// var itemCode = that.details.find(res => { // var itemCode = that.details.find(res => {
// return res.itemCode === result.data.itemCode && // return res.itemCode === result.data.itemCode &&
// res.scaned === scaned // res.scaned === scaned
// }) // })
// // // //ERP
// if (itemCode != undefined) { // if (itemCode != undefined) {
// var lot = that.details.find(res => { // var lot = that.details.find(res => {
// return res.itemCode === result.data.itemCode && // return res.itemCode === result.data.itemCode &&
@ -438,7 +438,7 @@
// } // }
// } else { // } else {
// // // //ERP
// var lot = that.details.find(res => { // var lot = that.details.find(res => {
// return res.recommendLot === result.data.lot && // return res.recommendLot === result.data.lot &&
// res.scaned === scaned // res.scaned === scaned
@ -448,7 +448,7 @@
// // // //
// that.showScanMessage(''); // that.showScanMessage('');
// } else { // } else {
// //, // //ERP,
// that.showScanMessage(''); // that.showScanMessage('');
// } // }
// } // }
@ -491,7 +491,7 @@
issueBalances(params) issueBalances(params)
.then(res => { .then(res => {
if (res.totalCount === 0) { if (res.totalCount === 0) {
this.showScanMessage('按零件号【' + result.data.itemCode + '】箱码【' + result.data.code + '】批次【' + this.showScanMessage('按ERP料号【' + result.data.itemCode + '】箱码【' + result.data.code + '】批次【' +
result result
.data.lot + '】在【原料库、半成品库】未查询到库存信息'); .data.lot + '】在【原料库、半成品库】未查询到库存信息');
} else { } else {

2
fe/PDA/pages/task/putaway.vue

@ -134,7 +134,7 @@
// //
if (result.data.isPack === true) { // if (result.data.isPack === true) { //
item = this.putawaydetailList.find(r => { item = this.putawaydetailList.find(r => {
//, //ERP,
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendPackingCode === result.data.packingCode && r.recommendPackingCode === result.data.packingCode &&
r.recommendLot === result.data.lot r.recommendLot === result.data.lot

2
fe/PDA/pages/task/putawayjob.vue

@ -151,7 +151,7 @@
} }
if (result.data.isPack) { if (result.data.isPack) {
if (result.data.itemCode === undefined || result.data.itemCode === '') { if (result.data.itemCode === undefined || result.data.itemCode === '') {
this.showMessage('扫描的标签中不包含零件号,请重新扫描'); this.showMessage('扫描的标签中不包含ERP料号,请重新扫描');
return; return;
} }
} }

2
fe/PDA/pages/task/receipt_check.vue

@ -4,7 +4,7 @@
<uni-popup ref="receiptCheckPopup" class="nopadpop camera_pop"> <uni-popup ref="receiptCheckPopup" class="nopadpop camera_pop">
<view class="uni-list popuni_list camera_list"> <view class="uni-list popuni_list camera_list">
<view class="list_cell uni-flex uni-row space-between"> <view class="list_cell uni-flex uni-row space-between">
<view class="title">零件</view> <view class="title">ERP料</view>
<text class="info">{{dataContent.itemCode}}</text> <text class="info">{{dataContent.itemCode}}</text>
</view> </view>
<view class="list_cell uni-flex uni-row space-between"> <view class="list_cell uni-flex uni-row space-between">

26
fe/PDA/pages/task/unProducePickDetail.vue

@ -310,23 +310,23 @@
if (itemCode == undefined) { if (itemCode == undefined) {
that.showScanMessage('所扫描的箱码【' + result.data.code + '】对应的物料【' + result.data.itemCode + '】不在任务中'); that.showScanMessage('所扫描的箱码【' + result.data.code + '】对应的物料【' + result.data.itemCode + '】不在任务中');
} else { } else {
// //ERP
var itemCode1 = that.details.find(r => { var itemCode1 = that.details.find(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendPackingCode === result.data.code r.recommendPackingCode === result.data.code
r.scaned === scaned r.scaned === scaned
}) })
// //ERP
if (itemCode1 == undefined) { if (itemCode1 == undefined) {
var itemCode2 = that.details.find(r => { var itemCode2 = that.details.find(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendLot === result.data.lot && r.recommendLot === result.data.lot &&
r.scaned === scaned r.scaned === scaned
}) })
// //ERP
if (itemCode2 == undefined) { if (itemCode2 == undefined) {
// //ERP
console.log("零件号相同、箱码不相同、批次不相同") console.log("ERP料号相同、箱码不相同、批次不相同")
setTimeout(res => { setTimeout(res => {
showConfirmMsg(itemCode.recommendPackingCode + '未执行先进先出或不是最先批次,是否继续?', confirm => { showConfirmMsg(itemCode.recommendPackingCode + '未执行先进先出或不是最先批次,是否继续?', confirm => {
if (confirm) { if (confirm) {
@ -339,15 +339,15 @@
}, 100) }, 100)
} else { } else {
console.log("零件号相同、箱码不相同、批次相同") console.log("ERP料号相同、箱码不相同、批次相同")
// //ERP
that.currentItem = itemCode2; that.currentItem = itemCode2;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
} }
} else { } else {
// //ERP
var itemCode3 = that.details.find(r => { var itemCode3 = that.details.find(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendPackingCode === result.data.code && r.recommendPackingCode === result.data.code &&
@ -355,8 +355,8 @@
r.scaned === scaned r.scaned === scaned
}) })
if (itemCode3 == undefined) { if (itemCode3 == undefined) {
// //ERP
console.log("零件号相同、箱码相同、批次不同") console.log("ERP料号相同、箱码相同、批次不同")
setTimeout(res => { setTimeout(res => {
showConfirmMsg(itemCode1.recommendPackingCode + '未执行先进先出或不是最先批次,是否继续?', showConfirmMsg(itemCode1.recommendPackingCode + '未执行先进先出或不是最先批次,是否继续?',
confirm => { confirm => {
@ -370,8 +370,8 @@
}, 100) }, 100)
} else { } else {
console.log("零件号相同、箱码相同、批次相同") console.log("ERP料号相同、箱码相同、批次相同")
// //ERP
that.currentItem = itemCode3; that.currentItem = itemCode3;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
} }
@ -414,7 +414,7 @@
getBalancesByFilter(params) getBalancesByFilter(params)
.then(res => { .then(res => {
if (res.totalCount === 0) { if (res.totalCount === 0) {
this.showScanMessage('按零件号【' + result.data.itemCode + '】箱码【' + result.data.code + '】批次【' + this.showScanMessage('按ERP料号【' + result.data.itemCode + '】箱码【' + result.data.code + '】批次【' +
result result
.data.lot + '】在【原料库】或【半成品库】或【成品库】未查询到库存信息'); .data.lot + '】在【原料库】或【半成品库】或【成品库】未查询到库存信息');
} else { } else {

24
fe/PDA/pages/task/unProduceReturnDetail.vue

@ -333,23 +333,23 @@
that.showScanMessage('所扫描的箱码【' + result.data.code + '】对应的物料【' + result.data.itemCode + '】不在任务中'); that.showScanMessage('所扫描的箱码【' + result.data.code + '】对应的物料【' + result.data.itemCode + '】不在任务中');
} else { } else {
// //ERP
var itemCode1 = that.details.find(r => { var itemCode1 = that.details.find(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendPackingCode === result.data.code r.recommendPackingCode === result.data.code
r.scaned === scaned r.scaned === scaned
}) })
// //ERP
if (itemCode1 == undefined) { if (itemCode1 == undefined) {
var itemCode2 = that.details.find(r => { var itemCode2 = that.details.find(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendLot === result.data.lot && r.recommendLot === result.data.lot &&
r.scaned === scaned r.scaned === scaned
}) })
// //ERP
if (itemCode2 == undefined) { if (itemCode2 == undefined) {
// //ERP
console.log("零件号相同、箱码不相同、批次不相同") console.log("ERP料号相同、箱码不相同、批次不相同")
that.currentItem = itemCode; that.currentItem = itemCode;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
// setTimeout(res => { // setTimeout(res => {
@ -364,15 +364,15 @@
// }, 100) // }, 100)
} else { } else {
console.log("零件号相同、箱码不相同、批次相同") console.log("ERP料号相同、箱码不相同、批次相同")
// //ERP
that.currentItem = itemCode2; that.currentItem = itemCode2;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
} }
} else { } else {
// //ERP
var itemCode3 = that.details.find(r => { var itemCode3 = that.details.find(r => {
return r.itemCode === result.data.itemCode && return r.itemCode === result.data.itemCode &&
r.recommendPackingCode === result.data.code && r.recommendPackingCode === result.data.code &&
@ -380,8 +380,8 @@
r.scaned === scaned r.scaned === scaned
}) })
if (itemCode3 == undefined) { if (itemCode3 == undefined) {
// //ERP
console.log("零件号相同、箱码相同、批次不同") console.log("ERP料号相同、箱码相同、批次不同")
that.currentItem = itemCode1; that.currentItem = itemCode1;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
// setTimeout(res => { // setTimeout(res => {
@ -396,8 +396,8 @@
// }, 100) // }, 100)
} else { } else {
console.log("零件号相同、箱码相同、批次相同") console.log("ERP料号相同、箱码相同、批次相同")
// //ERP
that.currentItem = itemCode3; that.currentItem = itemCode3;
that.afterScanPackLabel(result); that.afterScanPackLabel(result);
} }

Loading…
Cancel
Save