|
|
|
@ -89,7 +89,7 @@ export class wholeTransfer extends VuexModule {
|
|
|
|
|
* @param dnNo
|
|
|
|
|
*/
|
|
|
|
|
@MutationAction
|
|
|
|
|
async getProductCode(params: any) {
|
|
|
|
|
async getProductCodeFgTransfer(params: any) {
|
|
|
|
|
const res: any = await http.post(url.warehouse.wholeTransfer.content, params);
|
|
|
|
|
const code = res.code;
|
|
|
|
|
const orderInInfo = res.data.records[0];
|
|
|
|
@ -106,7 +106,7 @@ export class wholeTransfer extends VuexModule {
|
|
|
|
|
}
|
|
|
|
|
//退扫
|
|
|
|
|
@MutationAction
|
|
|
|
|
async codeDel(params: any) {
|
|
|
|
|
async codeDelFgTransfer(params: any) {
|
|
|
|
|
const res: any = await http.post(url.warehouse.wholeTransfer.del, params);
|
|
|
|
|
const delCode = res.code;
|
|
|
|
|
return { delCode };
|
|
|
|
@ -128,14 +128,14 @@ export class wholeTransfer extends VuexModule {
|
|
|
|
|
}
|
|
|
|
|
//生成移库码
|
|
|
|
|
@MutationAction
|
|
|
|
|
async getTransferNo(loginName: any) {
|
|
|
|
|
async getTransferNoFgTransfer(loginName: any) {
|
|
|
|
|
const res: any = await http.post(url.warehouse.rowTransfer.getCode, loginName);
|
|
|
|
|
const userDefined: any = res.data;
|
|
|
|
|
return { userDefined };
|
|
|
|
|
}
|
|
|
|
|
//查询已扫物料
|
|
|
|
|
@MutationAction
|
|
|
|
|
async QueryHistory(params: any = {}) {
|
|
|
|
|
async QueryHistoryFgTransfer(params: any = {}) {
|
|
|
|
|
const res: any = await http.post(url.warehouse.rowTransfer.queryGroupLis, params);
|
|
|
|
|
const removeList: any = res.data;
|
|
|
|
|
const removeMaterialList: any = [];
|
|
|
|
@ -150,7 +150,7 @@ export class wholeTransfer extends VuexModule {
|
|
|
|
|
}
|
|
|
|
|
//查询明细
|
|
|
|
|
@Action({ commit: 'updateCheckedOrderInInfoListKw' })
|
|
|
|
|
async querydetaildlist(content: any) {
|
|
|
|
|
async queryDetailListFgTransfer(content: any) {
|
|
|
|
|
const res: any = await http.post('/wmspda/fg/queryListByMoveCode', content);
|
|
|
|
|
console.log('明细》》》》》》》》》', res.list);
|
|
|
|
|
this.detailedList = res.data;
|
|
|
|
@ -186,7 +186,7 @@ export class wholeTransfer extends VuexModule {
|
|
|
|
|
* 修改库位
|
|
|
|
|
*/
|
|
|
|
|
@Action({ commit: 'updateCheckedOrderInInfoListKw' })
|
|
|
|
|
async changeOrderInLocation(kw: string) {
|
|
|
|
|
async changeOrderInLocationFgTransfer(kw: string) {
|
|
|
|
|
await http.post('/wmspda/material/orderin/enter', {
|
|
|
|
|
loginName: session.loginName,
|
|
|
|
|
// loginName: '1999',
|
|
|
|
|