diff --git a/.vscode/settings.json b/.vscode/settings.json
index e1e441f..c47d1d2 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -15,7 +15,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[vue]": {
- "editor.defaultFormatter": "johnsoncodehk.volar"
+ "editor.defaultFormatter": "octref.vetur"
},
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
diff --git a/src/components/uni-segmented-control/uni-segmented-control.vue b/src/components/uni-segmented-control/uni-segmented-control.vue
new file mode 100644
index 0000000..f848027
--- /dev/null
+++ b/src/components/uni-segmented-control/uni-segmented-control.vue
@@ -0,0 +1,131 @@
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
diff --git a/src/i18n/lang/cn.ts b/src/i18n/lang/cn.ts
index 7ad2707..192387d 100644
--- a/src/i18n/lang/cn.ts
+++ b/src/i18n/lang/cn.ts
@@ -474,5 +474,13 @@ export default {
AppendMateriel4: '请选择正确的库位',
AppendMateriel5: '请先选择一个物料',
demandQuantity: '总数量大于需求数量',
+ //俄罗斯海外PO
+ ImportPO: 'PO海外收货',
+ container: '集装箱号',
+ WPM: 'WPM共',
+ WPMtotal: '个容器',
+ POPlan: 'PO计划',
+ WPMInformation: 'WPM信息',
+ Container: '容器码',
},
};
diff --git a/src/i18n/lang/en.ts b/src/i18n/lang/en.ts
index d1194df..5361fc8 100644
--- a/src/i18n/lang/en.ts
+++ b/src/i18n/lang/en.ts
@@ -479,5 +479,13 @@ export default {
AppendMateriel4: 'Please select the correct location',
AppendMateriel5: 'Please select a material first',
demandQuantity: 'The total quantity is greater than the demand quantity',
+ //俄罗斯海外PO
+ ImportPO: 'Import PO Receive',
+ container: 'code',
+ WPM: 'WPM',
+ WPMtotal: 'container',
+ POPlan: 'PO-Plan',
+ WPMInformation: 'WPM-Information',
+ Container: 'Container Code',
},
};
diff --git a/src/pages.json b/src/pages.json
index 77c3fcc..90c3df7 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -810,6 +810,14 @@
"navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
}
},
+ {
+ "path": "pages/raw/ingoods/dnReceipt/ImportPOReceive",
+ "style": {
+ "navigationBarTitleText": "海外PO收货",
+ "navigationStyle": "custom", // 隐藏系统导航栏
+ "navigationBarTextStyle": "white" // 状态栏字体为白色,只能为 white-白色,black-黑色 二选一
+ }
+ },
{
"path": "pages/demo/index",
"style": {
diff --git a/src/pages/raw/handover/picking/BySummary.vue b/src/pages/raw/handover/picking/BySummary.vue
index 218e471..cb9e879 100644
--- a/src/pages/raw/handover/picking/BySummary.vue
+++ b/src/pages/raw/handover/picking/BySummary.vue
@@ -291,14 +291,11 @@ export default class RawReceiptDetail extends BasePage {
};
await this.model.saveAggregateUpload(params);
if (this.model.code == '1') {
- //this.customToast(this.$t('message.Warehouse_Tip9') as any);
uni.showToast({
- //icon: 'success',
duration: 2000,
title: this.$t('message.Warehouse_Tip9') as string,
image: '/static/icons/icon-51.png',
});
- // this.GetLocation();
setTimeout(() => {
this.onAggregate();
}, 2000);
@@ -307,12 +304,6 @@ export default class RawReceiptDetail extends BasePage {
async onAggregate() {
await this.model.queryProOrder(this.model.formParams);
await this.model.queryProOrderResult(this.model.NEWparams);
- // if (this.model.proOrderResultList.length == 0) {
- // this.some = {};
- // this.LocationList = [];
- // this.wlCode = '';
- // return;
- // }
const orderOutIdList = this.model.proOrderResultList.map((_: any) => _.orderOutId);
const params = {
factoryCode: session.factoryCode,
diff --git a/src/pages/raw/ingoods/dnReceipt/ImportPOReceive.vue b/src/pages/raw/ingoods/dnReceipt/ImportPOReceive.vue
new file mode 100644
index 0000000..0002b34
--- /dev/null
+++ b/src/pages/raw/ingoods/dnReceipt/ImportPOReceive.vue
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+ {{ $t('message.container') }}
+
+
+
+ {{ $t('message.Query') }}
+
+
+
+
+ {{ $t('message.CommissionedLocation') }}
+
+
+
+ {{ $t('message.WPM') }} {{ total }} {{ $t('message.WPMtotal') }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('message.po_Submit') }}
+
+
+ {{ $t('message.po_Return') }}
+
+
+
+
+
+
+
diff --git a/src/pages/raw/ingoods/dnReceipt/config.ts b/src/pages/raw/ingoods/dnReceipt/config.ts
index 0941614..ea6b856 100644
--- a/src/pages/raw/ingoods/dnReceipt/config.ts
+++ b/src/pages/raw/ingoods/dnReceipt/config.ts
@@ -102,3 +102,68 @@ export const headers = [
// key: 'mrpCode',
// },
];
+export const ImportPOReceiveListHeaders = [
+ {
+ label: vm.$t('message.po_OddNumbers'),
+ key: 'poNo', //po单号
+ width: 350,
+ },
+ {
+ label: vm.$t('message.Line'),
+ key: 'poLine', //行项目
+ // width: 350,
+ },
+ {
+ label: vm.$t('message.Pi_materielNo'),
+ key: 'materialCode', //物料号
+ width: 350,
+ },
+ {
+ label: vm.$t('message.CommissionedMaterielDesc'),
+ key: 'materialDesc', //物料描述
+ width: 450,
+ },
+ {
+ label: vm.$t('message.po_DemandQuantity'),
+ key: 'poAmount', //需求数量
+ },
+ {
+ label: vm.$t('message.Pi_unit'),
+ key: 'unit', //单位
+ },
+];
+export const containerListHeaders = [
+ {
+ label: vm.$t('message.Container'),
+ key: 'palletCode', //容器码
+ width: 300,
+ },
+ {
+ label: vm.$t('message.po_OddNumbers'),
+ key: 'poNo', //po单号
+ width: 350,
+ },
+ {
+ label: vm.$t('message.Line'),
+ key: 'poLine', //行项目
+ // width: 350,
+ },
+ {
+ label: vm.$t('message.Pi_materielNo'),
+ key: 'materialCode', //物料号
+ width: 350,
+ },
+ {
+ label: vm.$t('message.CommissionedMaterielDesc'),
+ key: 'materialDesc', //物料描述
+ width: 450,
+ },
+ {
+ label: vm.$t('message.po_DemandQuantity'),
+ key: 'poAmount', //需求数量
+ },
+ {
+ label: vm.$t('message.Pi_unit'),
+ key: 'unit', //单位
+ },
+];
diff --git a/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue b/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue
index 4475061..1d7cec8 100644
--- a/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue
+++ b/src/pages/raw/ingoods/dnReceipt/dnReceiving.vue
@@ -293,7 +293,6 @@ export default class dnReceiptDom extends BasePage {
}
//点击添加
Add() {
- // const count = this.totalLocation(this.LocationList);
const count = parseFloat(this.every.requestAmount);
if (this.receiptAmount == '' || !this.wl.value) {
this.customToast(this.$t('message.Commission_tips2') as any);
@@ -308,12 +307,6 @@ export default class dnReceiptDom extends BasePage {
return;
}
let isTrue = true;
- // this.DNReceivingList[this.everyIndex].wllist.forEach((item: any) => {
- // if (item.wlCode == this.wl.label && item.receiptAmount == this.receiptAmount) {
- // this.customToast(this.$t('message.repeatedly') as any);
- // return (isTrue = false);
- // }
- // });
if (isTrue == true) {
this.LocationList.push({
...this.every,
diff --git a/src/pages/raw/ingoods/dnReceipt/model.ts b/src/pages/raw/ingoods/dnReceipt/model.ts
index ccc6456..89e44e2 100644
--- a/src/pages/raw/ingoods/dnReceipt/model.ts
+++ b/src/pages/raw/ingoods/dnReceipt/model.ts
@@ -38,6 +38,9 @@ export class ReceiptModule extends VuexModule {
code = '';
DNdetailedList: any;
ImportDNReceivingList: any = [];
+ //俄罗斯PO收货返回列表
+ ImportPOReceiveList: any = [];
+ containerList: any = [];
/**
* 看单号查询结果
*/
@@ -248,6 +251,39 @@ export class ReceiptModule extends VuexModule {
this.DNdetailedList = res.list;
return res;
}
+ //俄罗斯 海外PO收货
+ @MutationAction
+ async ImportPOReceive(containerCode: string) {
+ const res: any = await http.post(url.material.DNorderin.russia, {
+ containerCode,
+ factoryCode: session.factoryCode,
+ loginName: session.loginName,
+ });
+ const ImportPOReceiveList = res.list;
+ const containerList = res.containerList;
+ const code = res.code;
+ return { ImportPOReceiveList, containerList, code };
+ }
+ //俄罗斯海外PO收货 页面初始化 清空数据
+ @MutationAction
+ async empty() {
+ const ImportPOReceiveList = [];
+ const containerList = [];
+ return { ImportPOReceiveList, containerList };
+ }
+ //俄罗斯海外PO收货 提交数据
+ @MutationAction
+ async containerListSubmit(params: any) {
+ const res: any = await http.post(url.material.DNorderin.enterrussia, {
+ wlCode: params.wlCode,
+ containerCode: params.containerCode,
+ factoryCode: session.factoryCode,
+ loginName: session.loginName,
+ list: params.list,
+ });
+ const code = res.code;
+ return { code };
+ }
}
export default getModule(ReceiptModule);
diff --git a/src/utils/page.ts b/src/utils/page.ts
index 6484410..ccd11fb 100644
--- a/src/utils/page.ts
+++ b/src/utils/page.ts
@@ -174,14 +174,6 @@ export const page = {
},
SemiProduct: {
index: '/pages/SemiProduct/index',
- // inbound: {
- // index: '/pages/SemiProduct/inbound/index',
- // index2: '/pages/SemiProduct/inbound/index2',
- // semiFinishProductOfflineRefrigerator:
- // '/pages/SemiProduct/inbound/semiFinishProductOfflineRefrigerator/index',
- // semiFinishProductOnlineDoor: '/pages/SemiProduct/inbound/semiFinishProductOnlineDoor/index',
- // semiFinishProductOnlineBox: '/pages/SemiProduct/inbound/semiFinishProductOnlineBox/index',
- // },
outbound: {
index: '/pages/SemiProduct/outbound/index',
},
diff --git a/src/utils/url.ts b/src/utils/url.ts
index 8c04f0b..52b290d 100644
--- a/src/utils/url.ts
+++ b/src/utils/url.ts
@@ -71,6 +71,8 @@ export const url = {
subcDnEnter: '/wmspda/material/orderin/subcDnEnter',
ImportEnter: '/wmspda/material/orderin/overseasDnEnter',
out: '/wmspda/material/orderin/out',
+ russia: '/wmspda/material/orderin/poinfo/overseas/russia',
+ enterrussia: '/wmspda/material/orderin/enter/overseas/russia',
},
orderout: {
take: '/wmspda/material/orderout/take',