cosmoim-852 fix 新增STO入库功能

master
FEC7\houzeyun 3 years ago
parent 04a7180737
commit 6ebf59b7b5

@ -484,12 +484,15 @@ export default {
ScanBoxCode: '请先扫描箱码',
STOTransfers: 'STO 调拨',
STOoutbound: 'STO 出库',
STOStorage: 'STO 入库',
DNLine: 'DN行项目',
STOInventoryOrderNo: 'STO单号',
STOLine: 'STO行项目',
OutboundNum: '出库数量',
StorageNum: '入库数量',
DeliveryLoc: '出库地点',
AllThem: '请全部出库',
submitted: '还有数据没提交 是否重新查询',
StorageLocation: '入库地点',
},
};

@ -484,12 +484,15 @@ export default {
ScanBoxCode: 'Please scan the box code first',
STOTransfers: 'STO Transfers',
STOoutbound: 'STO Outbound',
DNLine: 'DNRowItem',
STOStorage: 'STO Storage',
DNLine: 'DNItem',
STOInventoryOrderNo: 'STO Order',
STOLine: 'STORowItem',
OutboundNum: 'Outbound QTY',
OutboundNum: 'total',
StorageNum: 'total',
DeliveryLoc: 'Delivery Loc',
AllThem: 'All of them, please',
submitted: 'There is data not submitted whether to re-query',
StorageLocation: 'Storage Loc',
},
};

@ -89,7 +89,7 @@ export default {
po_Return: 'Вернуть',
po_MaterielNo: 'код',
Materiel: 'MAT',
po_MaterielDes: 'описание МАТ',
po_MaterielDes: 'описыва',
returned: 'Количество возвратов',
returneds: 'Количество возвратов',
quantity: 'Совокупное количество возвратов',
@ -355,7 +355,7 @@ export default {
product_Delete: 'Удалить',
product_Empty: 'Пустой',
product_AllSelect: 'Выбрать все',
product_add: 'Добавлять',
product_add: 'добавля',
product_Confirm: 'Подтверждать',
product_Upload: 'Представлять на рассмотрение',
product_Tip1: 'Лок не может быть пустым',
@ -441,7 +441,7 @@ export default {
Operation: 'Оператор.',
StorageTime: 'Время входа в хранилище',
spareGoods: 'Доставка запчастей',
matcode: 'Кодирование вещества',
matcode: 'ярд',
Quantity: 'Количество спроса',
scanningContainer: 'Сначала просканируйте код контейнера',
Pi_tipqty: 'Пожалуйста, убедитесь, что равняется количеству спроса',
@ -484,12 +484,15 @@ export default {
ScanBoxCode: 'Сначала просканируйте ящики',
STOTransfers: 'STO отпускн',
STOoutbound: 'STO На продаж',
DNLine: 'DNСтрокаItem',
STOStorage: 'STO На склад',
DNLine: 'Строка',
STOInventoryOrderNo: 'STO Заказ',
STOLine: 'STOСтрокаItem',
OutboundNum: 'На продаж количеств',
DeliveryLoc: 'Место выхода',
STOLine: 'STOСтрока',
OutboundNum: 'совокупн',
StorageNum: 'совокупн',
DeliveryLoc: 'банк',
AllThem: 'Все из библиотеки, пожалуйста',
submitted: 'Есть также данные, которые не были представлены для повторного запроса',
StorageLocation: 'Вход.',
},
};

@ -1178,6 +1178,14 @@
"navigationBarTextStyle": "white" // white-black-
}
},
{
"path": "pages/raw/STO/STO-Storage/index",
"style": {
"navigationBarTitleText": "STO调拨入库",
"navigationStyle": "custom", //
"navigationBarTextStyle": "white" // white-black-
}
},
{
"path": "pages/demo/index",
"style": {

@ -261,6 +261,10 @@ export default class dnReceiptDom extends BasePage {
if (isTrue) {
await this.model.SubmitList(this.SunmitList);
if (this.model.SubCode == 1) {
uni.showToast({
title: this.$t('message.success') as string,
image: '/static/icons/icon-51.png',
});
this.empty();
}
}

@ -5,7 +5,7 @@
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t('message.STOoutbound') }}</view>
<view class="title">{{ $t('message.STOStorage') }}</view>
<view class="right"></view>
</view>
<view class="content">
@ -54,22 +54,22 @@
<view class="material-right-code" style="overflow: hidden">{{ TheItem.materialDesc }}</view>
</view>
</view>
<!-- 计划数量&&数量 -->
<!-- 计划数量&&数量 -->
<view class="number">
<view class="number-left">
<view class="number-left-title">{{ $t('message.plan') }}</view>
<u-input v-model="TheItem.orderAmount" placeholder=" " :type="item" :border="border" class="input" disabled style="padding: '0'" />
</view>
<view class="number-right">
<view class="number-right-title">{{ $t('message.OutboundNum') }}</view>
<view class="number-right-title">{{ $t('message.StorageNum') }}</view>
<u-input v-model="TheItem.scanAmount" placeholder="" :type="type" :border="border" class="input" disabled style="padding: '0'" />
</view>
</view>
<!-- 出库库位 -->
<view class="material">
<view class="material-right">
<view class="material-right-title">{{ $t('message.DeliveryLoc') }}</view>
<view class="material-right-code" style="overflow: hidden">{{ TheItem.deliveryRegion }}</view>
<view class="material-right-title">{{ $t('message.StorageLocation') }}</view>
<view class="material-right-code" style="overflow: hidden">{{ TheItem.receiveRegion }}</view>
</view>
</view>
<!-- 库位 -->
@ -128,7 +128,7 @@ export default class dnReceiptDom extends BasePage {
LocList: any = [];
Loc: any = {};
async QueryLoc() {
await this.model.QueryLoc(this.TheItem.deliveryRegion);
await this.model.QueryLoc(this.TheItem.receiveRegion);
this.LocList = this.model.LocList;
this.Loc = this.model.LocList[0];
}
@ -261,6 +261,10 @@ export default class dnReceiptDom extends BasePage {
if (isTrue) {
await this.model.SubmitList(this.SunmitList);
if (this.model.SubCode == 1) {
uni.showToast({
title: this.$t('message.success') as string,
image: '/static/icons/icon-51.png',
});
this.empty();
}
}

@ -7,16 +7,16 @@ import { session } from '@/store/modules/session';
namespaced: true,
dynamic: true,
store,
name: 'raw.STO.STO-Outbound.index',
name: 'raw.STO.STO-Storage.index',
})
export class ReceiptModule extends VuexModule {
//俄罗斯 STO库 扫描DN单号
//俄罗斯 STO库 扫描DN单号
dnNoList: any = [];
DnLineList: any = [];
@MutationAction
async QuerydnNo(dnNo: any) {
console.log('dnNo', dnNo);
const res: any = await http.post(url.auth.query.dnNo, {
const res: any = await http.post(url.auth.query.findStoDnReceiveInfo, {
factoryCode: session.factoryCode,
loginName: session.loginName,
dnNo,
@ -32,7 +32,7 @@ export class ReceiptModule extends VuexModule {
});
return { dnNoList, DnLineList };
}
//俄罗斯 STO库 查询库位
//俄罗斯 STO库 查询库位
LocList: any = [];
@MutationAction
async QueryLoc(sendSpot: any) {
@ -52,11 +52,11 @@ export class ReceiptModule extends VuexModule {
});
return { LocList };
}
//俄罗斯 库提交
//俄罗斯 库提交
SubCode: any = '';
@MutationAction
async SubmitList(list: any) {
const res: any = await http.post(url.auth.query.russia, list);
const res: any = await http.post(url.auth.query.stoDnReceiveConfirm, list);
const SubCode = res.code;
return { SubCode };
}

@ -31,8 +31,10 @@ export const url = {
barcode: '/wmspda/bl/getOdsRawStorageSnNew',
queryContainer: '/wmspda/material/orderin/queryContainer',
dnNo: '/wmspda/fg/findStoDnInfo/russia',
findStoDnReceiveInfo: '/wmspda/fg/findStoDnReceiveInfo/russia',
queryByFactoryCodeAndWorkAreaCode: '/wmspda/fg/queryByFactoryCodeAndWorkAreaCode',
russia: '/wmspda/fg/stoDnConfirm/russia',
stoDnReceiveConfirm: '/wmspda/fg/stoDnReceiveConfirm/russia',
},
systime: '/wmspda/auth/systime',
userInfo: '/wmspda/auth/userinfo',

Loading…
Cancel
Save