修复 多次显示重复库位

master
hou 4 years ago
parent 0ce807b0c8
commit 3228ef1085

@ -295,7 +295,7 @@ export default class RawReceiptDetail extends BasePage {
});
this.model.proOrderResultList[this.someIndex].currentAmount = num;
}
async onShow() {
async onReady() {
//
let means: any = JSON.parse(
localStorage.getItem("__GWMS_APP_STATE_DATA__") as any

@ -301,7 +301,7 @@ export default class RawReceiptDetail extends BasePage {
this.model.aggregateList[this.someIndex].currentAmount = num;
}
//
async onShow() {
async onReady() {
let means: any = JSON.parse(
localStorage.getItem("__GWMS_APP_STATE_DATA__") as any
);

@ -87,6 +87,7 @@ export default class returningDom extends BasePage {
startMobile = "";
endMobile = "";
materialList = [];
OddList: any;
startParams = {
year: true,
month: true,
@ -132,6 +133,7 @@ export default class returningDom extends BasePage {
requireDateMax: this.endMobile,
};
await this.model.queryTimeInInfo(time);
this.OddList = model.materielList;
}
}
</script>

@ -1,21 +1,11 @@
/**
*
*/
import vm from '@/main';
import vm from "@/main";
export const headers = [
{
label: vm.$t('message.product_barCode'),
key: 'barcode',
width: 300,
},
{
label: vm.$t('message.product_FGCode'),
key: 'materialCode',
width: 300,
},
{
label: vm.$t('message.product_FGDes'),
key: 'materialDesc',
label: vm.$t("message.InventoryOrderNo"),
key: "label",
width: 300,
},
];

@ -205,7 +205,7 @@ export default class dnReceiptDom extends BasePage {
//
upload: any = [];
//
async onShow() {
async onReady() {
//
let means: any = JSON.parse(
localStorage.getItem("__GWMS_APP_STATE_DATA__") as any

@ -205,7 +205,7 @@ export default class dnReceiptDom extends BasePage {
//
upload: any = [];
//
async onShow() {
async onReady() {
//
let means: any = JSON.parse(
localStorage.getItem("__GWMS_APP_STATE_DATA__") as any

@ -237,7 +237,7 @@ export class ReceiptModule extends VuexModule {
*/
@Action({ commit: "updateCheckedOrderInInfoListKw" })
async changeOrderInLocation(kw: string) {
await http.post("/material/orderin/enter", {
await http.post("/wmspda/material/orderin/enter", {
warehouseCode: session.warehouseCode,
factoryCode: session.factoryCode,
loginName: session.loginName,
@ -248,7 +248,7 @@ export class ReceiptModule extends VuexModule {
@Action({ commit: "updateCheckedOrderInInfoListKw" })
async queryByFactoryCodeAndWorkAreaCode(content: any) {
let res = await http.post(
"/wmspda/fg/queryByFactoryCodeAndWorkAreaCode",
"wmspda/fg/queryByFactoryCodeAndWorkAreaCode",
content
);
return res;
@ -256,7 +256,7 @@ export class ReceiptModule extends VuexModule {
//查询DN/海外DN收货明细
@Action({ commit: "updateCheckedOrderInInfoListKw" })
async querydetaildlist(content: any) {
let res: any = await http.post("/material/getDnRecSn", content);
let res: any = await http.post("/wmspda/material/getDnRecSn", content);
console.log("明细》》》》》》》》》", res.list);
this.DNdetailedList = res.list;
return res;

Loading…
Cancel
Save