diff --git a/api/request2.js b/api/request2.js
index 7b0568a3..9d8a3a71 100644
--- a/api/request2.js
+++ b/api/request2.js
@@ -304,6 +304,22 @@ export function getBasicLocationByCode(code) {
});
}
+
+/**
+ * 校验库位零件关系
+ * @param {*}
+ *
+ */
+export function validateItemAndLocation(parmas) {
+ return request({
+ url: baseApi + "/wms/location/validate",
+ method: "post",
+ data: parmas,
+ });
+}
+
+
+
/**
* 查询物品信息接口
* @param {*} code 物品代码
diff --git a/common/balance.js b/common/balance.js
index 77dcd174..84c7073e 100644
--- a/common/balance.js
+++ b/common/balance.js
@@ -4,6 +4,47 @@ import {
getBalanceByFilter
} from '@/api/request2.js';
+/**
+ *
+ 获取管理精度查询策略参数
+ * @param {*}
+ *
+ */
+export function getPrecisionStrategyParams(dataSource) {
+
+}
+/**
+ *
+ 获取管理精度查询策略参数
+ * @param {*}
+ *
+ */
+export function getPrecisionStrategyParamsByLocation(detailSource,toLocationCode) {
+ var itemList = []
+ detailSource.forEach(item => {
+ item.subList.forEach(detail => {
+ if (detail.scaned) {
+ detail.toLocationCode = toLocationCode;
+ var filterResult = itemList.filter(res => {
+ if (res.itemCode == item.itemCode &&
+ res.locationCode == detail.toLocationCode) {
+ return res
+ }
+ })
+ //去掉重复元素
+ if (filterResult.length == 0) {
+ var result = {
+ itemCode: item.itemCode,
+ locationCode: detail.toLocationCode
+ }
+ itemList.push(result)
+ }
+
+ }
+ })
+ })
+ return itemList;
+}
/**
* "itemCode": [],
@@ -19,7 +60,7 @@ export function getPrecisionStrategyList(itemList, callback) {
success: true,
message: ''
};
-
+
getPrecisionStrategy(itemList).then(res => {
if (res.data == null) {
result.success = false
diff --git a/common/record.js b/common/record.js
index ff25f732..f931a55c 100644
--- a/common/record.js
+++ b/common/record.js
@@ -19,6 +19,7 @@ export function createItemInfo(balance, pack) {
}
return item;
}
+
export function createDetailInfo(data, pack) {
data.scaned = true;
// data.toInventoryStatus = this.toInventoryStatus == "" ? data.inventoryStatus : this.toInventoryStatus;
diff --git a/common/style/pdabasic.css b/common/style/pdabasic.css
index 96e132e0..78a0b6d2 100644
--- a/common/style/pdabasic.css
+++ b/common/style/pdabasic.css
@@ -725,6 +725,7 @@ page {
.page-header .header_item {
/* padding-left: 10rpx; */
padding: 5rpx 10rpx;
+ font-size:15px ;
}
.page-header .header_job_top {
diff --git a/mycomponents/location/requiredLocation.vue b/mycomponents/location/requiredLocation.vue
index 0ac2a93c..ff43f421 100644
--- a/mycomponents/location/requiredLocation.vue
+++ b/mycomponents/location/requiredLocation.vue
@@ -5,9 +5,12 @@
padding-right: 10rpx;
font-size:32rpx;">
- {{title}}
-   请扫描
-   {{locationCode}}
+
+ {{title}}
+
+   请扫描
+   {{locationCode}}
+
-
diff --git a/mycomponents/scan/winScanPackAndLocation.vue b/mycomponents/scan/winScanPackAndLocation.vue
index b3313dc6..98d9f6f0 100644
--- a/mycomponents/scan/winScanPackAndLocation.vue
+++ b/mycomponents/scan/winScanPackAndLocation.vue
@@ -27,7 +27,7 @@
+ @confirm="scanLocation" style='height: 30px;'>
diff --git a/pages/package/record/mergePackageRecord.vue b/pages/package/record/mergePackageRecord.vue
index b7f4e1ce..9cf29be0 100644
--- a/pages/package/record/mergePackageRecord.vue
+++ b/pages/package/record/mergePackageRecord.vue
@@ -35,7 +35,7 @@
-
+
diff --git a/pages/package/record/overPackageRecord.vue b/pages/package/record/overPackageRecord.vue
index 1492819a..eef1d1d0 100644
--- a/pages/package/record/overPackageRecord.vue
+++ b/pages/package/record/overPackageRecord.vue
@@ -30,7 +30,7 @@
-
+
diff --git a/pages/package/record/splitPackageRecord.vue b/pages/package/record/splitPackageRecord.vue
index ec2410db..4c70c950 100644
--- a/pages/package/record/splitPackageRecord.vue
+++ b/pages/package/record/splitPackageRecord.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/pages/pallet/record/unBindPalletRecord.vue b/pages/pallet/record/unBindPalletRecord.vue
index c8aac886..c40b08d9 100644
--- a/pages/pallet/record/unBindPalletRecord.vue
+++ b/pages/pallet/record/unBindPalletRecord.vue
@@ -297,7 +297,7 @@
this.scanPopupGetFocus();
},
getContainer(containerInfo) {
- this.containerCode = containerInfo.Number;
+ this.containerCode = containerInfo.number;
getContainerDetailByNumber(this.containerCode).then(res => {
if (res.data.length > 0) {
this.detailSource = this.getDataSource(res.data)
diff --git a/pages/putaway/record/putawayRecord.vue b/pages/putaway/record/putawayRecord.vue
index 933d4fe5..ac335ec7 100644
--- a/pages/putaway/record/putawayRecord.vue
+++ b/pages/putaway/record/putawayRecord.vue
@@ -17,13 +17,12 @@
-
-