diff --git a/common/record.js b/common/record.js
index 8de7084b..45490b12 100644
--- a/common/record.js
+++ b/common/record.js
@@ -23,7 +23,7 @@ export function createItemInfo(balance, pack) {
export function createDetailInfo(data, pack) {
data.scaned = true;
// data.toInventoryStatus = this.toInventoryStatus == "" ? data.inventoryStatus : this.toInventoryStatus;
- data.inventoryStatus = data.inventoryStatus;
+ // data.inventoryStatus = data.inventoryStatus;
let detail = {};
Object.assign(detail, data)
detail.balanceQty = Number(detail.qty)
diff --git a/common/style/pdabasic.css b/common/style/pdabasic.css
index 78a0b6d2..4d82ce28 100644
--- a/common/style/pdabasic.css
+++ b/common/style/pdabasic.css
@@ -714,6 +714,7 @@ page {
flex-direction: column;
width: 100%;
height: 100%;
+ background-color: #fff;
}
.page-header {
diff --git a/mycomponents/balance/balance.vue b/mycomponents/balance/balance.vue
index 39e60f2a..24244efd 100644
--- a/mycomponents/balance/balance.vue
+++ b/mycomponents/balance/balance.vue
@@ -1,10 +1,10 @@
-
+
-
+
@@ -61,7 +61,7 @@
type: Boolean,
default: true
},
- isShowLocation: {
+ isShowFromLocation: {
type: Boolean,
default: true
},
diff --git a/mycomponents/balance/balanceLabel.vue b/mycomponents/balance/balanceLabel.vue
index 9c96a9df..1b20c0fd 100644
--- a/mycomponents/balance/balanceLabel.vue
+++ b/mycomponents/balance/balanceLabel.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/mycomponents/balance/productionLabel.vue b/mycomponents/balance/productionLabel.vue
index cbec3b1d..4f3824a4 100644
--- a/mycomponents/balance/productionLabel.vue
+++ b/mycomponents/balance/productionLabel.vue
@@ -1,7 +1,7 @@
+ :isShowFromLocation="isShowLocation">
diff --git a/mycomponents/balance/purchaseLabel.vue b/mycomponents/balance/purchaseLabel.vue
index 18a48b91..92c97366 100644
--- a/mycomponents/balance/purchaseLabel.vue
+++ b/mycomponents/balance/purchaseLabel.vue
@@ -1,7 +1,7 @@
+ :isShowFromLocation="isShowLocation">
diff --git a/mycomponents/label/label.vue b/mycomponents/label/label.vue
index 067b373f..438ad696 100644
--- a/mycomponents/label/label.vue
+++ b/mycomponents/label/label.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/mycomponents/record/recordComDetailCard.vue b/mycomponents/record/recordComDetailCard.vue
index a80e1a79..393053e6 100644
--- a/mycomponents/record/recordComDetailCard.vue
+++ b/mycomponents/record/recordComDetailCard.vue
@@ -10,16 +10,16 @@
-
+
+ :isShowPack="true" :isShowFromLocation="isShowFromLocation" :isShowToLocation="true">
-
+
@@ -73,7 +73,7 @@
default: false
},
- isShowLocation: {
+ isShowFromLocation: {
type: Boolean,
default: true
},
diff --git a/mycomponents/scan/winScanContainer.vue b/mycomponents/scan/winScanContainer.vue
index b114584d..1ea6155f 100644
--- a/mycomponents/scan/winScanContainer.vue
+++ b/mycomponents/scan/winScanContainer.vue
@@ -37,7 +37,7 @@
props: {
title: {
type: String,
- default: ''
+ default: '器具'
},
isShowHistory: {
type: Boolean,
@@ -78,7 +78,7 @@
uni.hideLoading();
if (res.data.list.length > 0) {
this.containerInfo = res.data.list[0];
- if (this.containerInfo.status == 'USED') {
+ if (this.containerInfo.containerStatus == 'USED') {
this.callBack();
} else {
this.showErrorMessage("器具[" + this.code + "]状态是[" + this.containerInfo.status + "],不可以绑定")
diff --git a/mycomponents/scan/winScanPackAndLocation.vue b/mycomponents/scan/winScanPackAndLocation.vue
index 99eb53af..dd303565 100644
--- a/mycomponents/scan/winScanPackAndLocation.vue
+++ b/mycomponents/scan/winScanPackAndLocation.vue
@@ -21,7 +21,7 @@
来源库位
-
+
@@ -41,7 +41,7 @@
+ :isShowHistory="isShowHistory" :clearResult="true" :headerType="headerType">
@@ -264,14 +264,17 @@
})
} else if (datas.length == 1) {
let balance = datas[0];
- if (balance.qty > 0) {
- this.packCallBack(balance);
- } else {
- this.showErrorMessage(this.getQueryCondition() + '
查找到库存记录数量为[' + balance.qty + "],
不可以进行操作",
- res => {
- this.packGetFocus();
- })
- }
+ this.packCallBack(balance);
+
+ //因为盘点时有负库存,暂时去掉判断 2023年12月28日
+ // if (balance.qty > 0) {
+ // this.packCallBack(balance);
+ // } else {
+ // this.showErrorMessage(this.getQueryCondition() + '
查找到库存记录数量为[' + balance.qty + "],
不可以进行操作",
+ // res => {
+ // this.packGetFocus();
+ // })
+ // }
} else {
this.showBalanceSelect(datas);
}
@@ -298,7 +301,8 @@
let data = {
label: this.scanResult.label,
package: this.scanResult.package,
- balance: item
+ balance: item,
+ fromLocationCode: this.fromLocationCode,
}
this.packGetFocus();
this.$emit("getResult", data);
diff --git a/pages/container/coms/comContainerBindCard.vue b/pages/container/coms/comContainerBindCard.vue
new file mode 100644
index 00000000..0cf75e8f
--- /dev/null
+++ b/pages/container/coms/comContainerBindCard.vue
@@ -0,0 +1,182 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/container/coms/comPalletRecord.vue b/pages/container/coms/comPalletRecord.vue
index 2feaf3cc..e9d3b1d3 100644
--- a/pages/container/coms/comPalletRecord.vue
+++ b/pages/container/coms/comPalletRecord.vue
@@ -17,11 +17,11 @@
+ :toInventoryStatus="item.toInventoryStatus" :isShowFromLocation="isShowLocation" >
-
+
@@ -43,7 +43,7 @@
import {
getDetailOption,
- getDetailEditRemoveOption,
+ getEditOption,
getClearOption
} from '@/common/array.js';
export default {
@@ -95,7 +95,6 @@
})
}
}
-
},
immediate: true,
deep: true
@@ -117,7 +116,7 @@
mounted() {
this.detailOptions = getDetailOption();
- this.scanOptions = getDetailEditRemoveOption();
+ this.scanOptions = getEditOption();
this.removeOptions = getClearOption();
},
diff --git a/pages/container/record/containerBindRecord.vue b/pages/container/record/containerBindRecord.vue
index 09510e3d..9429a8b9 100644
--- a/pages/container/record/containerBindRecord.vue
+++ b/pages/container/record/containerBindRecord.vue
@@ -1,23 +1,24 @@
-
+
-
-
+
+
+
+
+
-
+
-
+
+
@@ -27,33 +28,29 @@
-
-
-
+
-
+
+
-
-
+
diff --git a/pages/container/record/containerUnBindRecord.vue b/pages/container/record/containerUnBindRecord.vue
index 1965f542..8a337130 100644
--- a/pages/container/record/containerUnBindRecord.vue
+++ b/pages/container/record/containerUnBindRecord.vue
@@ -14,11 +14,12 @@
-
+
-
+
@@ -44,7 +45,8 @@
diff --git a/pages/package/coms/comOverRecord.vue b/pages/package/coms/comOverRecord.vue
index 3c15de11..af22fd75 100644
--- a/pages/package/coms/comOverRecord.vue
+++ b/pages/package/coms/comOverRecord.vue
@@ -17,7 +17,7 @@
+ :isShowFromLocation="false">
diff --git a/pages/package/coms/comPackageRecord.vue b/pages/package/coms/comPackageRecord.vue
index 08893da6..233e6879 100644
--- a/pages/package/coms/comPackageRecord.vue
+++ b/pages/package/coms/comPackageRecord.vue
@@ -18,7 +18,7 @@
+ :isShowFromLocation="false">
diff --git a/pages/productReceipt/coms/comProductRecord.vue b/pages/productReceipt/coms/comProductRecord.vue
index 83b1873c..0c9b11a4 100644
--- a/pages/productReceipt/coms/comProductRecord.vue
+++ b/pages/productReceipt/coms/comProductRecord.vue
@@ -17,7 +17,7 @@
+ :isShowPack="true" :isShowFromLocation="false">
diff --git a/pages/productionReturn/coms/comReturnRecord.vue b/pages/productionReturn/coms/comReturnRecord.vue
index 53fb1081..674ae719 100644
--- a/pages/productionReturn/coms/comReturnRecord.vue
+++ b/pages/productionReturn/coms/comReturnRecord.vue
@@ -17,7 +17,7 @@
+ :isShowFromLocation="true" :isShowToLocation="isShowToLocation">
diff --git a/pages/productionReturn/job/returnDetail.vue b/pages/productionReturn/job/returnDetail.vue
index 46f8d568..9557298b 100644
--- a/pages/productionReturn/job/returnDetail.vue
+++ b/pages/productionReturn/job/returnDetail.vue
@@ -8,27 +8,9 @@
申请单号 : {{jobContent.requestNumber}}
-
-
-
- 车间
- {{jobContent.workshopCode}}
-
-
- 生产线
- {{titleInfo.productionLineCode}}
-
-
- 工位
- {{ titleInfo.workStationCode }}
-
-
- 原材料库
- {{ titleInfo.toLocationCode}}
-
-
-
-
+
+
@@ -103,6 +85,7 @@
import comMessage from '@/mycomponents/common/comMessage.vue'
import jobTop from '@/mycomponents/job/jobTop.vue'
import winScanPack from '@/mycomponents/scan/winScanPack.vue'
+ import workStation from '@/mycomponents/workStation/workStation.vue'
export default {
name: 'receipt_detail',
@@ -114,8 +97,8 @@
comReturnDetailCard,
detailInfoPopup,
comMessage,
- jobTop
-
+ jobTop,
+ workStation
},
data() {
return {
diff --git a/pages/purchaseReceipt/job/receiptDetail.vue b/pages/purchaseReceipt/job/receiptDetail.vue
index c58955a4..1ea371db 100644
--- a/pages/purchaseReceipt/job/receiptDetail.vue
+++ b/pages/purchaseReceipt/job/receiptDetail.vue
@@ -274,8 +274,6 @@
return
}
- console.log("校验通过")
-
//扫描数量和任务数量相等,直接提交
if (this.scanCount == this.subList.length) {
this.submitJob();
diff --git a/pages/purchaseReturn/job/returnDetail.vue b/pages/purchaseReturn/job/returnDetail.vue
index de1333e6..36e7b708 100644
--- a/pages/purchaseReturn/job/returnDetail.vue
+++ b/pages/purchaseReturn/job/returnDetail.vue
@@ -2,9 +2,9 @@