cosmoim-852 fix 俄罗斯近期问题修改

master
guoshuang 3 years ago
parent ba805004a6
commit 18a0374bb6

@ -538,5 +538,8 @@ export default {
Transferissue: '调拨出库',
Transferreceipt: '调拨入库',
Pleasecenter: '请选择成本中心',
LocalDNreceiving: '本地DN收货',
SOdelivery: 'SO 发货',
SONO: 'SO单号',
},
};

@ -537,5 +537,8 @@ export default {
Transferissue: 'Transfer issue',
Transferreceipt: 'Transfer receipt',
Pleasecenter: 'Please select cost center',
LocalDNreceiving: 'Local DN receiving',
SOdelivery: 'SO delivery',
SONO: 'SO NO',
},
};

@ -537,5 +537,8 @@ export default {
Transferissue: 'распределительный склад',
Transferreceipt: 'переброска на склад',
Pleasecenter: 'Выберите центр затрат',
LocalDNreceiving: 'локальный получатель DN',
SOdelivery: 'SO отгрузка',
SONO: 'SO NO',
},
};

@ -1327,6 +1327,22 @@
"navigationStyle": "custom", //
"navigationBarTextStyle": "white" // white-black-
}
},
{
"path": "pages/raw/ingoods/RUS-dnReceipt/ImportDN",
"style": {
"navigationBarTitleText": "俄罗斯海外DN收货",
"navigationStyle": "custom", //
"navigationBarTextStyle": "white" // white-black-
}
},
{
"path": "pages/product/outbound/stoOutbound/RUSDN-delivergoods",
"style": {
"navigationBarTitleText": "俄罗斯SO发货",
"navigationStyle": "custom", //
"navigationBarTextStyle": "white" // white-black-
}
}
],
"globalStyle": {

@ -171,9 +171,9 @@ export default class LoginPage extends BasePage {
console.log('......', server.serverAddress);
if (server.serverAddress.includes('https://eurmom.haier.net')) {
//
this.Version = '1.1.10';
this.Version = '1.1.12';
} else {
this.Version = '1.0.43';
this.Version = '1.0.45';
}
console.log('////', this.Version);
}

@ -165,12 +165,11 @@ export default class stoOutboundDom extends BasePage {
await this.model.findProdInfoByDN(this.form.orderNo);
console.log('model.DNcode', this.model.DNcode);
if (this.model.DNcode == '1') {
uni.showToast({
//icon: 'success',
title: this.$t('message.successful') as any,
duration: 2000,
image: '/static/icons/icon-51.png',
});
// uni.showToast({
// title: this.$t('message.successful') as any,
// duration: 2000,
// image: '/static/icons/icon-51.png',
// });
if (this.rowItemIndex == null) {
this.form.productCode = this.model.materielList[0].materialCode;
this.form.productDescZh = this.model.materielList[0].materialDesc;
@ -317,12 +316,11 @@ export default class stoOutboundDom extends BasePage {
await this.model.confirmMove(selctlist).then(async () => {
if (this.model.code == '1') {
this.materialList = [];
uni.showToast({
//icon: 'success',
title: 'success',
duration: 2000,
image: '/static/icons/icon-51.png',
});
// uni.showToast({
// title: 'success',
// duration: 2000,
// image: '/static/icons/icon-51.png',
// });
this.form.barCode = '';
this.form.productCode = '';
model.orderInInfo.stoAmount = 0;
@ -332,8 +330,7 @@ export default class stoOutboundDom extends BasePage {
this.selectMaterielList = [];
this.form.rowItem = '';
this.query();
}
if (this.model.code == '2') {
} else if (this.model.code == '2') {
uni.showModal({
content: this.$t('message.sweep') as any,
cancelText: this.$t('message.Cancel') as any,
@ -363,6 +360,8 @@ export default class stoOutboundDom extends BasePage {
}
},
});
} else {
this.form.barCode = '';
}
});
});

@ -0,0 +1,461 @@
<template>
<view class="page-raw-returning">
<view class="header" :style="{ backgroundColor: `rgba(23, 83, 234, ${scrollTop / 100})` }">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="back" />
</view>
<view class="title">{{ $t('message.SOdelivery') }}</view>
<view class="right"></view>
</view>
<u-form class="form" ref="form" :model="form" :error-type="['toast']" label-width="150rpx">
<!-- 单号查询 -->
<u-form-item :required="true" :label="$t('message.SONO')" prop="orderNo">
<u-search :placeholder="$t('message.Commission_tips1')" v-model.trim="form.orderNo" @search="query" :show-action="false"></u-search>
<view class="single-right">
<u-button type="primary" @click="query">{{ $t('message.Query') }}</u-button>
</view>
</u-form-item>
<!-- 单据总数 -->
<u-form-item :label="$t('message.product_TotalNumber')">
<u-input v-model="model.orderInInfo.stoAmount" :disabled="true" type="number" placeholder="" />
</u-form-item>
<!-- 成品编码 -->
<u-form-item :required="true" :label="$t('message.product_FGCode')">
<!-- <u-input v-model="form.rowItem" type="select" @click="materialCodeSelect = true" :placeholder="$t('message.po_PleaseInput')" />
<u-select :confirm-text="$t('message.product_Confirm')" :cancel-text="$t('message.product_Cancel')" v-model="materialCodeSelect" :list="model.materielList" @confirm="materialConfirm"></u-select> -->
<jPicker sureColor="#ff0000" style="width: 230rpx" @bindpicker="materialConfirm" showKey="value" valKey="value" :val="form.rowItem" class="search" :options="model.materielList" />
</u-form-item>
<!-- 成品描述 -->
<u-form-item :label="$t('message.product_FGDes')">
<u-input :disabled="true" v-model="form.productDescZh" placeholder="" style="overflow: hidden" />
</u-form-item>
<!-- 行项目 -->
<u-form-item :label="$t('message.Line')">
<u-input :disabled="true" v-model="form.row" placeholder="" />
</u-form-item>
<!-- 物料总数 -->
<u-row gutter="0">
<u-col :span="6">
<u-form-item :label="$t('message.product_MaterilTotalNumber')">
<u-input v-model="form.orderAmount" placeholder="" :disabled="true" />
</u-form-item>
</u-col>
<u-col :span="6">
<u-form-item :label="$t('message.product_Swept')" label-width="80rpx">
<u-input v-model="form.scanAmount" :disabled="true" :placeholder="$t('message.po_PleaseInput')" type="number" />
</u-form-item>
</u-col>
</u-row>
<!-- 扫码 -->
<u-form-item :label="$t('message.product_BarCode')">
<u-search :placeholder="$t('message.po_PleaseInput')" v-model="form.barCode" @search="onOk" :focus="firstFocus" :show-action="false"></u-search>
</u-form-item>
<!-- <u-col :span="12">
<view class="table-wrapper">
<wyb-table class="table" ref="table" width="100%" enable-check="multiple" show-left-and-right-border :headers="headers" :contents="materialList" :show-vert-border="false" @onCheck="onCheck"></wyb-table>
</view>
</u-col> -->
</u-form>
<view class="bottom-bar">
<u-row class="button-bar">
<!-- Guoshuang 详细跳转要改调接口 -->
<u-col :span="6">
<u-button type="warning" @click="detailed">{{ $t('message.detailed') }}</u-button>
</u-col>
<u-col :span="6">
<u-button type="primary" @click="Posting">{{ $t('message.Posting') }}</u-button>
</u-col>
</u-row>
</view>
</view>
</template>
<script lang="ts">
import { Component, Ref } from 'vue-property-decorator';
import { BasePage } from '@/components/base/page';
import { VForm, VFormRules } from 'vue/types/form';
import model from './model';
import { session } from '@/store/modules/session';
import { headers } from './config';
import jPicker from '@/components/J-Picker/jPicker.vue';
@Component({
components: {
jPicker,
},
})
export default class stoOutboundDom extends BasePage {
@Ref('form') readonly $form!: VForm;
@Ref('table') readonly $table: any;
model = model;
firstFocus = false;
headers = headers;
form = {
dockCode: null, // code
dockName: null, // name
orderNo: null,
qty: 0,
orderAmount: '',
productCode: '', // name
productDescZh: '',
scanAmount: 0,
rowItem: '',
row: '',
barCode: '',
};
wl: any = '';
rowItemIndex: any = null;
materialList: any = []; //
//
selectMaterielList: any = [];
/**
* 工位退料人名称
*/
operatorName = '';
/**
* 退料类型选择
*/
returningTypeSelect = false;
//
materialCodeSelect = false;
/**
* 表单验证规则
*/
rules: VFormRules<any> = {
orderNo: [{ required: true, message: this.$t('message.product_Tip4') as string }],
};
// onReadyonLoad
async onReady() {
this.$form.setRules(this.rules);
await model.queryReturningTypeList();
if (uni.getStorageSync('SweepCode')) {
this.form.orderNo = JSON.parse(uni.getStorageSync('SweepCode'));
uni.removeStorageSync('SweepCode');
this.query();
}
}
back() {
this.form.barCode = '';
this.model.orderInInfo.stoAmount = 0;
this.selectMaterielList = [];
uni.navigateBack({ delta: 1 });
}
//
async detailed() {
if (!this.form.orderNo) {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
await this.model.queryDetailed(this.form.orderNo);
this.toPage(this.page.product.outbound.stoOutboundDetail);
}
BackSweep() {
if (!this.form.orderNo) {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
uni.setStorageSync('SweepCode', JSON.stringify(this.form.orderNo));
this.toPage(this.page.product.outbound.Back);
}
//
async query() {
if (!this.form.orderNo) {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
await this.model.findProdInfoByDN(this.form.orderNo);
console.log('model.DNcode', this.model.DNcode);
if (this.model.DNcode == '1') {
uni.showToast({
//icon: 'success',
title: this.$t('message.successful') as any,
duration: 2000,
image: '/static/icons/icon-51.png',
});
if (this.rowItemIndex == null) {
this.form.productCode = this.model.materielList[0].materialCode;
this.form.productDescZh = this.model.materielList[0].materialDesc;
this.form.rowItem = this.model.materielList[0].materialCode;
this.form.row = this.model.materielList[0].rowItem;
this.form.orderAmount = this.model.materielList[0].orderAmount;
this.form.scanAmount = parseFloat(this.model.materielList[0].outAmount);
this.rowItemIndex = this.model.materielList[0].rowItem;
} else {
let rowIndex: any = null;
this.model.materielList.forEach((item: any, index) => {
if (item.rowItem == this.rowItemIndex) {
rowIndex = index;
}
});
if (rowIndex == null) {
this.form.productCode = this.model.materielList[0].materialCode;
this.form.productDescZh = this.model.materielList[0].materialDesc;
this.form.rowItem = this.model.materielList[0].materialCode;
this.form.row = this.model.materielList[0].rowItem;
this.form.orderAmount = this.model.materielList[0].orderAmount;
this.form.scanAmount = parseFloat(this.model.materielList[0].outAmount);
this.rowItemIndex = this.model.materielList[0].rowItem;
} else {
this.form.productCode = this.model.materielList[rowIndex].materialCode;
this.form.productDescZh = this.model.materielList[rowIndex].materialDesc;
this.form.rowItem = this.model.materielList[rowIndex].materialCode;
this.form.row = this.model.materielList[rowIndex].rowItem;
this.form.orderAmount = this.model.materielList[rowIndex].orderAmount;
this.form.scanAmount = parseFloat(this.model.materielList[rowIndex].outAmount);
}
}
}
}
//
materialConfirm(v: any) {
this.model.materielList.forEach((item: any) => {
if (v.pickerName.materialCode == item.materialCode) {
this.form.productCode = item.materialCode;
this.form.productDescZh = item.materialDesc;
this.form.rowItem = item.materialCode;
this.form.row = item.rowItem;
this.rowItemIndex = item.rowItem;
this.form.orderAmount = item.orderAmount;
this.form.scanAmount = parseFloat(item.outAmount);
return;
}
});
console.log('this.form', this.form);
}
/**
* 清空
*/
resetHandle() {
this.materialList = [];
this.$table.onCheckAllTap();
this.model.materielList.forEach((item: any) => {
if (this.form.productCode == item.label) {
this.form.productDescZh = item.materialDesc;
this.form.orderAmount = item.orderAmount;
this.form.rowItem = item.rowItem;
this.form.scanAmount = parseFloat(item.outAmount);
}
});
}
//
Posting() {
if (!this.form.orderNo) {
this.customToast(this.$t('message.Commission_tips1') as string);
return;
}
uni.showModal({
title: this.$t('message.ConfirmPosting') as string,
success: async (res) => {
if (res.confirm) {
let params = {
nxOutCode: this.form.orderNo,
rowItem: this.form.row,
materialCode: this.form.rowItem,
loginName: session.loginName,
factoryCode: session.factoryCode,
};
await this.model.RusPosting(params);
if (this.model.RusPostingCode == '1') {
uni.showToast({
title: this.$t('message.Warehouse_Tip9') as any,
duration: 2000,
image: '/static/icons/icon-51.png',
});
this.empty();
}
} else if (res.cancel) {
return;
}
},
});
}
empty() {
this.form.dockCode = null;
this.form.dockName = null;
this.form.orderNo = null;
this.form.qty = 0;
this.form.orderAmount = '';
this.form.productCode = '';
this.form.productDescZh = '';
this.form.scanAmount = 0;
this.form.rowItem = '';
this.form.row = '';
this.form.barCode = '';
this.rowItemIndex = null;
this.model.empty();
}
onOk() {
this.$form.validate(async (valid: boolean) => {
if (!valid) return;
// if (parseInt(this.form.orderAmount) <= this.form.scanAmount) {
// this.customToast(this.$t('message.product_Tip6') as string);
// return;
// }
if (this.form.barCode == '') {
this.customToast(this.$t('message.barcode') as string);
return;
}
let order3: any = '';
console.log('??????????', this.model.materielList);
this.model.materielList.forEach((item: any) => {
if (this.form.rowItem == item.materialCode) {
order3 = item.nxOutCode;
return;
}
});
const selctlist = {
barcode: this.form.barCode,
loginName: session.loginName,
factoryCode: session.factoryCode,
keepBy: session.loginName,
// order3: this.form.orderNo,
order3: order3,
orderItem: this.form.row,
type: 0,
orderType: 4,
productCode: this.form.productCode,
};
await this.model.confirmMove(selctlist).then(async () => {
if (this.model.code == '1') {
this.materialList = [];
uni.showToast({
//icon: 'success',
title: 'success',
duration: 2000,
image: '/static/icons/icon-51.png',
});
this.form.barCode = '';
this.form.productCode = '';
model.orderInInfo.stoAmount = 0;
this.form.scanAmount = 0;
this.form.orderAmount = '';
this.form.productDescZh = '';
this.selectMaterielList = [];
this.form.rowItem = '';
this.query();
}
if (this.model.code == '2') {
uni.showModal({
content: this.$t('message.sweep') as any,
cancelText: this.$t('message.Cancel') as any,
confirmText: this.$t('message.workArea_Confirm') as any,
success: async (res) => {
if (res.confirm) {
let params = {
barcode: this.form.barCode,
loginName: session.loginName,
keepBy: session.loginName,
factoryCode: session.factoryCode,
order3: this.form.orderNo,
};
await this.model.delCode(params);
this.form.barCode = '';
this.form.productCode = '';
model.orderInInfo.stoAmount = 0;
this.form.scanAmount = 0;
this.form.orderAmount = '';
this.form.productDescZh = '';
this.selectMaterielList = [];
this.form.rowItem = '';
this.query();
} else if (res.cancel) {
this.form.barCode = '';
this.query();
}
},
});
}
});
});
}
// }
}
</script>
<style lang="scss" scoped>
.uni-input-input:disabled {
-webkit-text-fill-color: currentcolor;
background-color: #1753ea;
}
.page-raw-returning {
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
background-size: 100% 600rpx;
padding: 118rpx 30rpx 162rpx;
min-height: 100%;
.header {
position: fixed;
top: 36rpx;
left: 0;
right: 0;
z-index: 99;
display: flex;
height: 88rpx;
line-height: 88rpx;
color: #fff;
font-size: 34rpx;
font-weight: 500;
text-align: center;
.title {
flex: 3;
}
.left,
.right {
flex: 1;
}
.icon {
display: flex;
justify-content: center;
align-items: center;
width: 88rpx;
height: 88rpx;
}
}
.form {
background-color: #fff;
padding: 40rpx;
border-radius: 10rpx;
box-shadow: 0 0 20rpx 0 rgba(128, 128, 128, 0.2);
.u-form-item {
padding: 30rpx 0;
line-height: 35rpx;
}
}
.single-right {
button {
//margin-top: 15rpx;
width: 110rpx;
height: 70rpx;
}
}
.bottom-bar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 99;
background: #ffffff;
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
padding: 20rpx;
}
// .button-bar {
// }
}
.input[disabled] {
background-color: rgb(228, 143, 143); //
color: #666;
opacity: 1; //0.3
-webkit-text-fill-color: #666; //IOS
-webkit-opacity: 1; //IOS
}
.disabled {
background-color: rgb(228, 143, 143); //
color: #666;
opacity: 1; //0.3
-webkit-text-fill-color: #666; //IOS
-webkit-opacity: 1; //IOS
}
</style>

@ -25,6 +25,7 @@ export class ReturningModule extends VuexModule {
*/
returningTypeList: any[] = [];
PostingCode: any = '';
RusPostingCode: any = '';
/**
*
*/
@ -225,6 +226,13 @@ export class ReturningModule extends VuexModule {
const PostingCode = res.code;
return { PostingCode };
}
//俄罗斯过账
@MutationAction
async RusPosting(params: any) {
const res: any = await http.post(url.outbound.stoOutbound.RusPosting, params);
const RusPostingCode = res.code;
return { RusPostingCode };
}
@MutationAction
async empty() {
const orderInInfo = {};

@ -119,11 +119,12 @@ export default class pickingDom extends BasePage {
sendSpotList: '',
requireDateRegion: '',
};
CategoryList = [
{ lable: 'L1CA', value: 'L1CA' },
{ lable: 'L1DA', value: 'L1DA' },
{ lable: 'L1FA', value: 'L1FA' },
];
CategoryList = [];
// CategoryList = [
// { lable: 'L1CA', value: 'L1CA' },
// { lable: 'L1DA', value: 'L1DA' },
// { lable: 'L1FA', value: 'L1FA' },
// ];
startParams = {
year: true,
month: true,
@ -217,6 +218,19 @@ export default class pickingDom extends BasePage {
startConfirm(startParams: any) {
this.form.requireDateRegion = startParams.year + '-' + startParams.month + '-' + startParams.day;
}
async onLoad() {
this.getLoc();
}
async getLoc() {
await this.model.getSendSpotList2({
loginName: session.loginName,
factoryCode: session.factoryCode,
});
if (this.model.CategoryList.length != 0) {
this.CategoryList = [];
this.CategoryList = this.model.CategoryList;
}
}
bookTypeChange(e: any) {
console.log('///', e);
this.formone.aimWl = e.pickerName;
@ -267,11 +281,12 @@ export default class pickingDom extends BasePage {
}
ondelete() {
this.formone.aimWl.value = '';
this.CategoryList = [
{ lable: 'L1CA', value: 'L1CA' },
{ lable: 'L1DA', value: 'L1DA' },
{ lable: 'L1FA', value: 'L1FA' },
];
this.getLoc();
// this.CategoryList = [
// { lable: 'L1CA', value: 'L1CA' },
// { lable: 'L1DA', value: 'L1DA' },
// { lable: 'L1FA', value: 'L1FA' },
// ];
}
}
</script>

@ -26,6 +26,7 @@ export class PickingModule extends VuexModule {
lockCode: any = '';
// 容器码返回
ContainerCode: any = '';
CategoryList: any = [];
/**
*
@ -282,6 +283,22 @@ export class PickingModule extends VuexModule {
});
return { proOrderResultList };
}
//查询目标库位
@MutationAction
async getSendSpotList2(params: any = {}) {
const res: any = await http.post(url.sumscan.query.getSendSpotList, params);
const CategoryList = [];
res.data.forEach((item: any) => {
const arr: any = {
label: item.sendSpot,
value: item.sendSpot,
};
CategoryList.push(arr);
});
console.log('res', res);
console.log('LocList', CategoryList);
return { CategoryList };
}
/**
* -

@ -139,11 +139,12 @@ export default class Aggregating extends BasePage {
minute: false,
second: false,
};
CategoryList = [
{ lable: 'L1CA', value: 'L1CA' },
{ lable: 'L1DA', value: 'L1DA' },
{ lable: 'L1FA', value: 'L1FA' },
];
CategoryList = [];
// CategoryList = [
// { lable: 'L1CA', value: 'L1CA' },
// { lable: 'L1DA', value: 'L1DA' },
// { lable: 'L1FA', value: 'L1FA' },
// ];
/**
* 表单是否改变
*/
@ -208,6 +209,20 @@ export default class Aggregating extends BasePage {
this.form.sapFactoryCode = session.factoryCode;
//this.form.requestTime = this.getNowFormatDate();
}
async onLoad() {
this.getLoc();
}
async getLoc() {
//debugger;
await this.model.getSendSpotList1({
loginName: session.loginName,
factoryCode: session.factoryCode,
});
if (this.model.CategoryList.length != 0) {
this.CategoryList = [];
this.CategoryList = this.model.CategoryList;
}
}
bookTypeChange(e: any) {
console.log('///', e);
this.formone.aimWl = e.pickerName;
@ -232,11 +247,12 @@ export default class Aggregating extends BasePage {
}
ondelete() {
this.formone.aimWl.value = '';
this.CategoryList = [
{ lable: 'L1CA', value: 'L1CA' },
{ lable: 'L1DA', value: 'L1DA' },
{ lable: 'L1FA', value: 'L1FA' },
];
this.getLoc();
// this.CategoryList = [
// { lable: 'L1CA', value: 'L1CA' },
// { lable: 'L1DA', value: 'L1DA' },
// { lable: 'L1FA', value: 'L1FA' },
// ];
}
/**
* 确认

@ -23,6 +23,7 @@ export class AggregatingModule extends VuexModule {
*/
proOrderResultList = [];
isFormChange: any;
CategoryList: any = [];
/**
*
@ -218,7 +219,22 @@ export class AggregatingModule extends VuexModule {
const { list: proOrderResultList }: any = await http.post(url.sumscan.query.ordoutlist, params);
return { proOrderResultList };
}
//查询目标库位
@MutationAction
async getSendSpotList1(params: any = {}) {
const res: any = await http.post(url.sumscan.query.getSendSpotList, params);
const CategoryList = [];
res.data.forEach((item: any) => {
const arr: any = {
label: item.sendSpot,
value: item.sendSpot,
};
CategoryList.push(arr);
});
console.log('res', res);
console.log('LocList', CategoryList);
return { CategoryList };
}
/**
* -
* @param params

@ -123,11 +123,12 @@ export default class Virtual extends BasePage {
materialCodeList: '',
sendSpotList: '',
};
CategoryList = [
{ lable: 'L1CA', value: 'L1CA' },
{ lable: 'L1DA', value: 'L1DA' },
{ lable: 'L1FA', value: 'L1FA' },
];
CategoryList = [];
// CategoryList = [
// { lable: 'L1CA', value: 'L1CA' },
// { lable: 'L1DA', value: 'L1DA' },
// { lable: 'L1FA', value: 'L1FA' },
// ];
/**
* 表单是否改变
@ -191,6 +192,19 @@ export default class Virtual extends BasePage {
model.clearProOrderList();
this.form.sapFactoryCode = session.factoryCode;
}
async onLoad() {
this.getLoc();
}
async getLoc() {
await this.model.getSendSpotList1({
loginName: session.loginName,
factoryCode: session.factoryCode,
});
if (this.model.CategoryList.length != 0) {
this.CategoryList = [];
this.CategoryList = this.model.CategoryList;
}
}
bookTypeChange(e: any) {
console.log('///', e);
this.formone.aimWl = e.pickerName;
@ -242,11 +256,12 @@ export default class Virtual extends BasePage {
}
ondelete() {
this.formone.aimWl.value = '';
this.CategoryList = [
{ lable: 'L1CA', value: 'L1CA' },
{ lable: 'L1DA', value: 'L1DA' },
{ lable: 'L1FA', value: 'L1FA' },
];
this.getLoc();
// this.CategoryList = [
// { lable: 'L1CA', value: 'L1CA' },
// { lable: 'L1DA', value: 'L1DA' },
// { lable: 'L1FA', value: 'L1FA' },
// ];
}
}
</script>

@ -34,6 +34,7 @@ export class VirtualModule extends VuexModule {
*/
sapFactoryCode = '';
nextQueryParams: any = {};
CategoryList: any = [];
/**
*
@ -136,6 +137,22 @@ export class VirtualModule extends VuexModule {
});
return { proOrderResultList };
}
//查询目标库位
@MutationAction
async getSendSpotList1(params: any = {}) {
const res: any = await http.post(url.sumscan.query.getSendSpotList, params);
const CategoryList = [];
res.data.forEach((item: any) => {
const arr: any = {
label: item.sendSpot,
value: item.sendSpot,
};
CategoryList.push(arr);
});
console.log('res', res);
console.log('LocList', CategoryList);
return { CategoryList };
}
/**
* -

@ -5,7 +5,7 @@
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t('message.dn_ReceivingGoods') }}</view>
<view class="title">{{ $t('message.OverseasShipping') }}</view>
<view class="right"></view>
</view>
<view class="content">
@ -59,7 +59,7 @@
</view>
<view class="library-right">
<view class="library-right-title">{{ $t('message.CommissionedThisNumber') }}</view>
<u-input v-model="receiptAmount" :placeholder="$t('message.po_PleaseInput')" type="number" :border="border" class="input" />
<u-input v-model="receiptAmount" placeholder="" type="number" :border="border" class="input" disabled style="padding: '0'" />
</view>
</view>
<!-- 添加 -->

@ -5,7 +5,7 @@
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t('message.dn_ReceivingGoods') }}</view>
<view class="title">{{ $t('message.LocalDNreceiving') }}</view>
<view class="right"></view>
</view>
<view class="content">

@ -5,7 +5,7 @@
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
</view>
<view class="title">{{ $t('message.dn_ReceivingGoods') }}</view>
<view class="title">{{ $t('message.OverseasShipping') }}</view>
<view class="right"></view>
</view>
<view class="content">

@ -140,6 +140,7 @@ export default class KanDanHandOver extends BasePage {
label: item.productCode,
value: item.productCode,
};
this.MaterialList = [];
this.MaterialList.push(arr);
});
this.Some = this.model.orderInInfoList[0];

@ -165,6 +165,7 @@ export const url = {
scanBarcodeDN: '/wmspda/fg/scanBarcodeDN/del',
queryAmount: '/wmspda/fg/queryAmountByDn',
Posting: '/wmspda/fg/dnPosting',
RusPosting: '/wmspda/fg/dnPosting/russia',
},
},
inbound: {
@ -216,6 +217,7 @@ export const url = {
ordoutlist: '/wmspda/sumscan/query/ordoutlist',
hzlist: '/wmspda/sumscan/query/hzlist',
fllist: '/wmspda/sumscan/query/fllist',
getSendSpotList: '/wmspda/material/getSendSpotList',
},
lock: {
list: '/wmspda/sumscan/lock/list',

Loading…
Cancel
Save