diff --git a/src/pages.json b/src/pages.json
index d173fcf8..9a1222b7 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -1130,6 +1130,13 @@
"enablePullDownRefresh": false
}
},
+ {
+ "path": "pages/deliver/job/deliverDetailBatch",
+ "style": {
+ "navigationBarTitleText": "成品发货详情",
+ "enablePullDownRefresh": false
+ }
+ },
{
"path": "pages/deliver/record/deliverRecord",
"style": {
diff --git a/src/pages/deliver/coms/comDeliverDetailCardBatch.vue b/src/pages/deliver/coms/comDeliverDetailCardBatch.vue
new file mode 100644
index 00000000..76008fbb
--- /dev/null
+++ b/src/pages/deliver/coms/comDeliverDetailCardBatch.vue
@@ -0,0 +1,141 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/deliver/coms/comScanDeliverPackBatch.vue b/src/pages/deliver/coms/comScanDeliverPackBatch.vue
new file mode 100644
index 00000000..b684c515
--- /dev/null
+++ b/src/pages/deliver/coms/comScanDeliverPackBatch.vue
@@ -0,0 +1,548 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/deliver/job/deliverDetailBatch.vue b/src/pages/deliver/job/deliverDetailBatch.vue
new file mode 100644
index 00000000..0ae33379
--- /dev/null
+++ b/src/pages/deliver/job/deliverDetailBatch.vue
@@ -0,0 +1,480 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/deliver/job/deliverJob.vue b/src/pages/deliver/job/deliverJob.vue
index 5547d67f..58d58a70 100644
--- a/src/pages/deliver/job/deliverJob.vue
+++ b/src/pages/deliver/job/deliverJob.vue
@@ -42,6 +42,10 @@
getDetailOption,
getDetailGiveupOption
} from '@/common/array.js';
+
+ import {
+ getManagementPrecisions
+ } from '@/common/balance.js';
import comEmptyView from '@/mycomponents/common/comEmptyView.vue'
import jobFilter from '@/mycomponents/job/jobFilter.vue'
@@ -192,9 +196,22 @@
},
openJobDetail(item) {
- uni.navigateTo({
- url: './deliverDetail?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
- });
+ getManagementPrecisions([item.itemCode], item.fromLocationCode, ret => {
+ if (ret.success) {
+ this.managementList = ret.list;
+ this.managementType = this.managementList.some(cur => cur.ManagementPrecision == 'BY_BATCH') ?
+ 'BY_BATCH' : ''
+ if (this.managementType == 'BY_BATCH') {
+ uni.navigateTo({
+ url: './deliverDetailBatch?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
+ });
+ } else {
+ uni.navigateTo({
+ url: './deliverDetail?id=' + item.masterId + '&status=' + item.status+'&title='+this.title
+ });
+ }
+ }
+ })
},
showItemList(itemList) {
diff --git a/src/pages/purchaseReturn/request/returnRequestCreate.vue b/src/pages/purchaseReturn/request/returnRequestCreate.vue
index f5b4cb11..56e3aa56 100644
--- a/src/pages/purchaseReturn/request/returnRequestCreate.vue
+++ b/src/pages/purchaseReturn/request/returnRequestCreate.vue
@@ -161,7 +161,7 @@
this.detailSource.push(itemInfo)
} else {
var detail = item.subList.find(r => {
- if (r.packingNumber == balance.packingNumber &&
+ if (
r.batch == balance.batch &&
r.locationCode == balance.locationCode &&
r.inventoryStatus == balance.inventoryStatus &&
@@ -174,7 +174,7 @@
let newDetail = createDetailInfo(balance, pack);
item.subList.push(newDetail);
} else {
- this.showErrorMessage('箱码[' + balance.packingNumber + "]重复扫描")
+ this.showErrorMessage('批次[' + balance.batch + "]重复扫描")
}
}
calcHandleQty(this.detailSource);
diff --git a/src/pages/stockUp/job/stockUpJobDetailBatch.vue b/src/pages/stockUp/job/stockUpJobDetailBatch.vue
index 84f6f6d2..6fee6406 100644
--- a/src/pages/stockUp/job/stockUpJobDetailBatch.vue
+++ b/src/pages/stockUp/job/stockUpJobDetailBatch.vue
@@ -236,10 +236,6 @@
getManagementPrecisions(itemCodes, locationCode, res => {
if (res.success) {
this.managementList = res.list;
- this.managementList =[{
- ManagementPrecision: "BY_BATCH",
- itemCode: "easy_code_test"
- }]
this.submitJob();
} else {
uni.hideLoading();
@@ -265,8 +261,6 @@
submitJob() {
var params = this.setParams()
- console.log("提交参数",params);
- return
if (!params.subList || params.subList.length == 0) {
uni.hideLoading()
this.showErrorMessage("请扫描您需要提交的备货任务")