cosmoim-852 fix 委外入库逻辑重构 其他调整

master
hou 3 years ago
parent 7cf6c62fb8
commit 1e7bdd4ad9

@ -77,4 +77,7 @@ page {
background: #ecefefb3;
color: rgb(158, 157, 157);
}
.u-mode-center-box {
padding: 5px;
}
</style>

@ -116,6 +116,7 @@ export default {
SweptQuantity: '已扫数量',
dn_PleaseScan: '请扫描DN单号',
barcode_PleaseScan: '请扫描条码',
create: '补料创建',
dn_CarNumber: '车牌号',
dn_Time: '预约时间',
Closed: '闭单',
@ -145,10 +146,12 @@ export default {
Query: '查询',
time: '请先选择时间',
scrapForm: '请先扫描报废单',
materialName: '物料名称',
finishedProduct: '请先选择成品编码',
Pi_InputMrp: '请输入MRP',
Pi_InputFactory: '请输入工厂代码',
shortage: '短缺数量',
Production: '生产订单',
Pi_OrderNoNotSelected: '未选中订单号',
Pi_NoDataFound: '未查询到数据',
differences: '差异数量',
@ -224,6 +227,8 @@ export default {
Feeding_ReplenishmentDetails: '补料明细',
Feeding_Tip1: '请输入补料数量',
Feeding_Tip2: '本次补料数量为大于0的整数',
receive: '接收库位',
quantityNum: '补料数量',
Feeding_Tip3: '请输入口令/密码!',
Feeding_Tip4: '请输入接收人!',
Feeding_ReplenishedQuantity: '已补数量',
@ -399,6 +404,7 @@ export default {
product_unit5: '箱',
product_unit6: '其他',
product_unit7: '请输入物料条码',
materialCode: '请输入物料号',
code: '盘点单号',
//成品空调/洗衣机下线
//半成品门体上线

@ -253,6 +253,12 @@ export default {
InventoryMaterielNo: 'MAT code',
InventoryMateriel: 'MAT name',
InventoryTotalNumber: 'Total',
create: 'create',
materialName: 'materialName',
quantityNum: 'The loading quantity',
materialCode: 'Please enter the material number',
receive: 'receiveLoc',
Production: 'Production orders',
InventoryPleaseScan: 'Please scan No.',
InventoryFinish: 'Finish',
collecting: 'Please enter the collecting doc No',

@ -498,6 +498,14 @@
"navigationBarTextStyle": "white" // white-black-
}
},
{
"path": "pages/raw/handover/feeding/create",
"style": {
"navigationBarTitleText": "补料创建",
"navigationStyle": "custom", //
"navigationBarTextStyle": "white" // white-black-
}
},
{
"path": "pages/raw/ingoods/dnReturnGoods/Location",
"style": {

@ -28,13 +28,13 @@ export const headers = [
width: 300,
},
{
label: vm.$t('message.CommissionedReceiptQuantity'),
key: 'amount',
label: vm.$t('message.CommissionedNumber'),
key: 'receiptAmount',
width: 200,
},
{
label: vm.$t('message.CommissionedLocation'),
key: 'wlCode',
key: 'sendSpot',
width: 200,
},
];
@ -55,3 +55,27 @@ export const detailHeader = [
width: 186,
},
];
export const DNheader = [
{
label: vm.$t('message.Line'),
key: 'poLine',
},
{
label: vm.$t('message.po_OddNumbers'),
key: 'poNo',
width: 350,
},
{
label: vm.$t('message.Pi_materielNo'),
key: 'materialCode',
width: 350,
},
{
label: vm.$t('message.CommissionedLocation'),
key: 'wlCode',
},
{
label: vm.$t('message.product_Number'),
key: 'receiptAmount',
},
];

@ -17,7 +17,7 @@
<view class="right"></view>
</view>
<view class="table-wrapper">
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="model.detailedList" :show-vert-border="false"></wyb-table>
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="model.DNdetailedList" :show-vert-border="false"></wyb-table>
</view>
</view>
</template>

@ -12,68 +12,73 @@
<!-- 单号 -->
<view class="single">
<view class="single-left">
<view>{{ $t('message.CommissionedSingleNumber') }}</view>
<u-search :placeholder="$t('message.InventoryPleaseScan')" v-model.trim="form.documentNo" @search="query" :show-action="false"></u-search>
<view>{{ $t('message.dn_OddNumbers') }}</view>
<u-search :placeholder="$t('message.dn_PleaseScan')" v-model.trim="form.documentNo" @search="query" :show-action="false"></u-search>
</view>
<view class="single-right">
<u-button type="primary" @click="query">{{ $t('message.Query') }}</u-button>
</view>
</view>
<!-- 采购单号 -->
<view class="Purchase-title">
<view class="Purchase">
<view>{{ $t('message.Purchase') }}</view>
<jPicker sureColor="#ff0000" style="width: 260rpx" @bindpicker="poListChoice" showKey="value" valKey="value" :val="poNo" class="search" :options="poList" />
</view>
</view>
<!-- 物料 -->
<view class="material">
<view class="material-left">
<view>{{ $t('message.CommissionedMaterielNo') }}</view>
<view>{{ $t('message.Materiel') }}</view>
<jPicker sureColor="#ff0000" style="width: 260rpx" @bindpicker="materialChoice" showKey="value" valKey="value" :val="every.materialCode" class="search" :options="materialList" />
</view>
</view>
<view class="material">
<view class="material-right">
<view class="material"
><view class="material-right">
<view class="material-right-title">{{ $t('message.CommissionedMaterielDesc') }}</view>
<view class="material-right-code" style="overflow: hidden">{{ every.materialDesc }}</view>
</view>
</view>
<!-- 需求数量 -->
<view class="number">
<view class="number-left">
<view class="number-left-title">{{ $t('message.CommissionedDemandData') }}</view>
<u-input v-model="every.poAmount" placeholder=" " :type="type" :border="border" class="input" disabled style="padding: '0'; flex: 0.9" />
<view class="number-left-title">{{ $t('message.DemandQuantity') }}</view>
<u-input v-model="every.requestAmount" placeholder=" " :type="type" :border="border" class="input" disabled style="padding: '0'" />
</view>
<view class="number-right">
<view class="number-right-title">{{ $t('message.Cumulative') }}</view>
<u-input placeholder=" " v-model="every.receiptAmount" :type="type" :border="border" style="padding: '0'" class="input" disabled />
<u-input v-model="every.receiptAmount" placeholder="" :type="type" :border="border" class="input" disabled style="padding: '0'" />
<!-- <u-input v-model="allNum" :placeholder="$t('message.po_PleaseInput')" :type="type" :border="border" class="input" disabled /> -->
</view>
</view>
<!-- 库位 -->
<view class="library">
<view class="library-left">
<view>{{ $t('message.CommissionedLocation') }}</view>
<jPicker sureColor="#ff0000" style="width: 230rpx" @bindpicker="LocationChoice" showKey="value" valKey="value" :val="wlCode.value" class="search" :options="Location" />
<jPicker sureColor="#ff0000" style="width: 230rpx" @bindpicker="LocationChoice" showKey="value" valKey="value" :val="wl.value" class="search" :options="Location" />
</view>
<view class="library-right">
<view class="library-right-title">{{ $t('message.CommissionedThisNumber') }}</view>
<u-input :placeholder="$t('message.po_PleaseInput')" v-model="nowAmount" type="number" :border="border" class="input" />
<u-input v-model="receiptAmount" :placeholder="$t('message.po_PleaseInput')" type="number" :border="border" class="input" />
</view>
</view>
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view>
<!-- 表格 -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="detailHeader" :contents="list" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="headers" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view>
<!-- 底部按钮 -->
<view class="bottom-bar">
<u-row class="button-bar">
<u-col :span="3">
<u-button type="primary" @click="bill">{{ $t('message.CommissionedDetails') }}</u-button>
<u-col :span="4">
<u-button type="primary" @click="bill">{{ $t('message.CommissionedEntrantDetails') }}</u-button>
</u-col>
<u-col :span="3">
<u-button type="primary" @click="close">{{ $t('message.closure') }}</u-button>
</u-col>
<u-col :span="3">
<u-col :span="4">
<u-button type="primary" @click="onSubmit">{{ $t('message.product_Upload') }}</u-button>
</u-col>
<u-col :span="3">
<u-col :span="4">
<u-button type="error" @click="uni.navigateBack({})">{{ $t('message.po_Return') }}</u-button>
</u-col>
</u-row>
@ -86,7 +91,9 @@ import { BasePage } from '@/components/base/page';
import jPicker from '@/components/J-Picker/jPicker.vue';
import { session } from '@/store/modules/session';
import model from './model';
import { detailHeader } from './config';
import LocationDetail from './model.location';
import { DNheader } from './config';
import { url } from '@/utils/url';
@Component({
components: {
jPicker,
@ -94,29 +101,42 @@ import { detailHeader } from './config';
})
export default class dnReceiptDom extends BasePage {
model = model;
detailHeader = detailHeader;
form: any = {
documentNo: '',
};
material: any = {};
//
material: any = [];
poList: any = [];
materialList: any = [];
materialIndex: any = null;
list: any = [];
every: any = '';
//
every: any = {};
everyIndex: any = '';
value = '';
headers = DNheader;
type = 'text';
//
DNReceivingList: any = [];
border = true;
nowAmount: any = '';
//
receiptAmount: any = '';
//
Location: any = [];
//
wlCode: any = '';
//
async onLoad() {
await this.QueryLoc();
Location: LocationDetail[] = [];
//
LocationList: any = [];
//
wl: any = {
value: null,
};
//
poNo: any = null;
//
requestAmount: number = null;
//
async onShow() {
await this.queryLoction();
}
async QueryLoc() {
//
async queryLoction() {
this.Location = [];
let sendSpot = JSON.parse(uni.getStorageSync('sendSpot') as any);
let content = {
loginName: session.loginName,
@ -124,168 +144,284 @@ export default class dnReceiptDom extends BasePage {
factoryCode: session.factoryCode,
workArea: session.workareaCode,
};
await this.model.queryByFactoryCodeAndWorkAreaCode(content);
this.model.LoctionList.forEach((item: any) => {
let res: any = await this.model.queryList(content);
res.forEach((item: LocationDetail) => {
let pickerName: any = {};
pickerName.label = item.locationCode;
pickerName.value = item.locationCode + '(' + item.sendSpot + ')';
pickerName.sendSpot = item.sendSpot;
this.Location.push(pickerName);
});
this.wlCode = this.Location[0];
this.wl = this.Location[0];
}
//
async query() {
if (this.form.documentNo == '') {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
let res = await this.model.queryOutsourcing(this.form.documentNo);
this.material = res.data;
this.materialList = [];
this.material.forEach((item: any) => {
let pickerName: any = {};
pickerName.label = item.materialCode;
pickerName.value = item.materialCode;
this.materialList.push(pickerName);
});
this.every = this.material[0];
this.materialIndex = 0;
}
//
async close() {
if (this.form.documentNo == '') {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
await this.model.documentNoClose(this.form.documentNo);
if (this.model.closeCode == '1') {
uni.showToast({
duration: 2000,
title: this.$t('message.Warehouse_Tip9') as string,
image: '/static/icons/icon-51.png',
});
this.empty();
this.form.documentNo = '';
}
}
// receiptAmount requestAmount
async materialChoice(e: any) {
this.material.forEach((item: any, index: any) => {
if (item.materialCode == e.pickerName.value) {
this.every = item;
this.materialIndex = index;
return;
}
});
this.wlCode = {};
this.Location = [];
this.model.LoctionList.forEach((item: any) => {
if (item.sendSpot == this.every.sendSpot) {
//
async initLocation(condition): Promise<LocationDetail[]> {
console.log('condition>>>>>>>>>>>>>>>>>>.', condition);
//
let list: Array<LocationDetail> = [];
let means: any = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__') as any);
let sendSpot = JSON.parse(uni.getStorageSync('sendSpot') as any);
let content = {
loginName: means.session.user.loginName,
sendSpot: sendSpot,
factoryCode: means.session.user.factoryCode,
workArea: session.workareaCode,
};
let res: any = await this.model.queryList(content);
console.log('>>>>>>>>>>>>>>', res);
res.forEach((item: LocationDetail) => {
if (item.sendSpot === condition.sendSpot) {
let pickerName: any = {};
pickerName.label = item.locationCode;
pickerName.value = item.locationCode + '(' + item.sendSpot + ')';
pickerName.sendSpot = item.sendSpot;
this.Location.push(pickerName);
list.push(pickerName);
}
});
if (this.Location.length != 0) {
this.wlCode = this.Location[0];
} else {
await this.QueryLoc();
return list;
}
//
async query() {
this.empty();
if (!this.form.documentNo) {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
await this.model.subcDnInfo(this.form.documentNo);
if (model.code == '1') {
if (this.model.orderInInfoList.length == 0) {
this.empty();
return;
}
uni.showToast({
//icon: 'success',
title: this.$t('message.successful') as any,
duration: 2000,
image: '/static/icons/icon-51.png',
});
let list: any = uni.getStorageSync('list');
uni.removeStorageSync('list');
this.material = JSON.parse(list);
this.DNReceivingList = JSON.parse(list);
this.DNReceivingList.forEach((item: any) => {
item.wllist = [];
});
this.poList = [...this.DNReceivingList]; //
let arr = this.removeDuplicates(this.poList, 'poNo');
//
arr.forEach((item: any) => {
item.label = item.poNo;
item.value = item.poNo;
});
this.poList = arr;
//
this.poListChoice({
pickerName: this.poList.find(() => true),
});
}
}
//
// list valueKey
//
removeDuplicates(list, valueKey: string) {
let temp = {};
let arr = [];
arr = list.reduce(function (item, next) {
temp[next[valueKey]] ? '' : (temp[next[valueKey]] = true && item.push(next));
return item;
}, []);
return arr;
}
// ADD
totalLocation(list: []) {
const receiptAmount = list.reduce((total: number, nextItem: any): any => {
return total + +nextItem.receiptAmount;
}, 0);
return receiptAmount;
}
//
poListChoice(e: any) {
this.receiptAmount = '';
this.poNo = e.pickerName.value;
//
// this.materialList = JSON.parse(JSON.stringify(this.removeDuplicates(this.material, 'materialCode')));
this.materialList = JSON.parse(JSON.stringify(this.material));
console.log('this.materialList??>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>', this.materialList);
// poNo
this.materialList = this.materialList.filter((item: any) => {
if (item.poNo == e.pickerName.value) {
item.label = item.materialCode;
item.value = item.materialCode;
return true;
}
});
console.log('this.materialList', this.materialList);
//
this.materialChoice({
pickerName: this.materialList.find(() => true),
});
}
// receiptAmount requestAmount
async materialChoice(e: any) {
this.receiptAmount = '';
//
this.every = { ...e.pickerName };
//
console.log('this.every', this.every);
this.Location = [];
//
this.Location = await this.initLocation(this.every);
if (this.Location.length == 0) {
await this.queryLoction();
}
//
this.LocationChoice({
pickerName: this.Location.find(() => true),
});
this.DNReceivingList.forEach((item: any, index: any) => {
if (item.poNo == this.every.poNo && item.materialCode == this.every.materialCode && item.poLine == this.every.poLine) {
this.everyIndex = index;
}
});
this.every = this.DNReceivingList[this.everyIndex];
this.receiptAmount = parseFloat(this.every.requestAmount);
console.log('this.every', this.every);
}
//
LocationChoice(e: any) {
this.wlCode = e.pickerName;
this.wl = e.pickerName;
}
//
Add() {
if (this.nowAmount == '' || this.wlCode == '') {
const count = parseFloat(this.every.requestAmount);
if (this.receiptAmount == '' || !this.wl.value) {
this.customToast(this.$t('message.Commission_tips2') as any);
return;
}
if (parseFloat(this.nowAmount) <= 0) {
if (parseFloat(this.receiptAmount) <= 0) {
this.customToast(this.$t('message.Commission_tips3') as any);
return;
}
if (parseFloat(this.nowAmount) > this.every.poAmount) {
if (parseFloat(this.receiptAmount) > count || parseFloat(this.receiptAmount) + parseFloat(this.every.receiptAmount) > count) {
this.customToast(this.$t('message.Commission_tips4') as any);
return;
}
let num: number = parseFloat(this.nowAmount) + parseFloat(this.every.receiptAmount);
if (num > parseFloat(this.every.poAmount)) {
this.customToast(this.$t('message.Commission_tips4') as any);
return;
let isTrue = true;
if (isTrue == true) {
this.LocationList.push({
...this.every,
receiptAmount: this.receiptAmount,
wlCode: this.wl.label,
});
this.DNReceivingList[this.everyIndex].wllist.push(this.LocationList[this.LocationList.length - 1]);
let num: any = 0;
this.DNReceivingList[this.everyIndex].wllist.forEach((item: any) => {
num += parseFloat(item.receiptAmount);
item.wllist = null;
});
this.DNReceivingList[this.everyIndex].receiptAmount = num;
this.receiptAmount = '';
this.every = this.DNReceivingList[this.everyIndex];
}
let arr = {
poNo: this.form.documentNo,
materialCode: this.every.materialCode,
loginName: this.session.loginName,
factoryCode: this.session.factoryCode,
wlCode: this.wlCode.label,
nowAmount: this.nowAmount,
};
this.list.push(arr);
this.material[this.materialIndex].receiptAmount += parseFloat(this.list[this.list.length - 1].nowAmount);
this.nowAmount = '';
}
deleteItem(e: any) {
uni.showModal({
content: this.$t('message.product_Delete') as any,
cancelText: this.$t('message.Cancel') as any,
confirmText: this.$t('message.workArea_Confirm') as any,
content: this.$t('message.product_Delete') as string,
cancelText: this.$t('message.Cancel') as string,
confirmText: this.$t('message.workArea_Confirm') as string,
success: (res) => {
if (res.confirm) {
this.list.splice(e.contentIndex, 1);
let i: any;
this.material.forEach((item: any, index: any) => {
if (item.materialCode == e.lineData.materialCode) {
i = index;
this.LocationList.splice(e.contentIndex, 1);
let externalIndex = 0;
this.DNReceivingList.forEach((item: any, index: any) => {
if (item.poNo == e.lineData.poNo && item.materialCode == e.lineData.materialCode && item.poLine == e.lineData.poLine) {
externalIndex = index;
}
});
this.material[i].receiptAmount -= parseFloat(e.lineData.nowAmount);
let inside = 0;
this.DNReceivingList[externalIndex].wllist.forEach((item: any, index: any) => {
if (item.receiptAmount == e.lineData.receiptAmount && item.wlCode == e.lineData.wlCode) {
inside = index;
}
});
this.DNReceivingList[externalIndex].wllist.splice(inside, 1);
let num = 0;
this.DNReceivingList[externalIndex].wllist.forEach((item: any) => {
num += parseFloat(item.receiptAmount);
});
this.DNReceivingList[externalIndex].receiptAmount = num;
} else if (res.cancel) {
return;
}
},
});
}
empty() {
this.list = [];
this.wlCode = '';
this.nowAmount = '';
this.every = '';
this.materialList = [];
this.material = {};
//
async resetForm() {
// this.form.documentNo = '';
// add table
this.LocationList = [];
//
this.Location = [];
this.poNo = '';
this.poList = [];
//
this.wl = {
value: null,
};
//
this.every = {};
//
// this.material = [];
//
this.materialList = [];
//
this.receiptAmount = null;
this.DNReceivingList = [];
await this.query();
}
empty() {
this.LocationList = [];
this.Location = [];
this.poNo = '';
this.poList = [];
this.wl = {
value: null,
};
this.every = {};
this.materialList = [];
this.receiptAmount = null;
this.DNReceivingList = [];
}
async onSubmit() {
if (this.form.documentNo == '') {
this.customToast(this.$t('message.Commission_tips1') as any);
return;
}
if (this.list == null || this.list.length == 0) {
if (this.LocationList.length === 0) {
this.customToast(this.$t('message.Commission_tips5') as any);
return;
return null;
}
let res: any = await this.model.submitOutsourcing(this.list);
if (res.code == '2') {
uni.showToast({
duration: 2000,
title: this.$t('message.failed') as string,
image: '/static/icons/icon-52.png',
await this.model.submitOrderInEnter(this.DNReceivingList);
if (this.model.SubmitCode == '1') {
const ServeUrl = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__'));
uni.request({
url: ServeUrl.server.address + url.material.DNorderin.subcDnInfo,
method: 'POST',
data: {
dnNo: this.form.documentNo,
factoryCode: session.factoryCode,
loginName: session.loginName,
},
success: (res: any) => {
console.log(res.data);
if (res.data.code != '0' && res.data.list != null) {
// this.empty();
this.resetForm();
} else if (res.data.code == '0' && res.data.list == null) {
this.empty();
this.form.documentNo = '';
}
},
});
this.empty();
await this.QueryLoc();
await this.query();
} else {
this.empty();
await this.QueryLoc();
await this.query();
}
}
//
async bill() {
if (this.form.documentNo == '') {
this.customToast(this.$t('message._tips6') as any);
@ -294,9 +430,9 @@ export default class dnReceiptDom extends BasePage {
let person = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__') as any);
let content = {
loginName: person.session.user.loginName,
poNo: this.form.documentNo,
dnNo: this.form.documentNo,
};
await this.model.querydetaildlist(content);
await this.model.queryBill(content);
this.toPage(this.page.raw.commission.entrant.detail);
}
}
@ -349,7 +485,7 @@ export default class dnReceiptDom extends BasePage {
height: 100%;
display: flex;
view {
width: 130rpx;
width: 110rpx;
height: 100%;
line-height: 100rpx;
}
@ -362,6 +498,32 @@ export default class dnReceiptDom extends BasePage {
}
}
}
.Purchase-title {
width: 100%;
.Purchase {
width: 60%;
height: 100%;
display: flex;
view {
width: 140rpx;
line-height: 100rpx;
}
}
}
// .material {
// width: 100%;
// height: 100rpx;
// display: flex;
// .material-left {
// width: 100%;
// height: 100%;
// display: flex;
// view {
// width: 100rpx;
// line-height: 100rpx;
// }
// }
// }
.material {
width: 100%;
height: 100rpx;
@ -373,16 +535,9 @@ export default class dnReceiptDom extends BasePage {
view {
width: 140rpx;
line-height: 100rpx;
}
.search {
padding-left: 12px;
text-align: left;
}
}
}
.material {
width: 100%;
height: 100rpx;
display: flex;
.material-right {
width: 100%;
height: 100%;
@ -398,7 +553,6 @@ export default class dnReceiptDom extends BasePage {
line-height: 100rpx;
text-align: left;
padding-left: 10px;
// line-height: 100rpx;
}
}
}
@ -406,7 +560,7 @@ export default class dnReceiptDom extends BasePage {
height: 100rpx;
display: flex;
.number-left {
width: 50%;
width: 45%;
height: 100%;
display: flex;
.number-left-title {
@ -422,58 +576,56 @@ export default class dnReceiptDom extends BasePage {
}
}
.number-right {
width: 50%;
width: 55%;
height: 100%;
display: flex;
.number-right-title {
width: 120rpx;
width: 140rpx;
height: 100%;
//text-align: center;
line-height: 100rpx;
text-align: center;
}
.input {
width: 100rpx;
height: 70rpx;
margin-top: 15rpx;
margin-left: 30rpx;
}
}
}
.library {
width: 100%;
height: 100rpx;
display: flex;
.library-left {
width: 50%;
height: 100%;
display: flex;
view {
width: 70rpx;
line-height: 100rpx;
}
.search {
padding-left: 1px;
text-align: center;
}
}
.library-right {
width: 50%;
height: 100%;
display: flex;
.library-right-title {
width: 120rpx;
height: 100%;
line-height: 100rpx;
text-align: center;
}
.input {
width: 200rpx;
height: 70rpx;
margin-top: 15rpx;
margin-left: 30rpx;
margin-left: 15rpx;
}
}
}
// .library {
// width: 100%;
// height: 100rpx;
// display: flex;
// .library-left {
// width: 50%;
// height: 100%;
// display: flex;
// view {
// width: 100rpx;
// line-height: 100rpx;
// }
// .search {
// padding-left: 20px;
// }
// }
// .library-right {
// width: 50%;
// height: 100%;
// display: flex;
// .library-right-title {
// width: 120rpx;
// height: 100%;
// padding-left: 4px;
// line-height: 100rpx;
// }
// .input {
// width: 200rpx;
// height: 70rpx;
// margin-top: 15rpx;
// }
// }
// }
.add {
width: 100%;
height: 100rpx;

@ -0,0 +1,107 @@
/*
* @Author: zhou lei
* @Date: 2021-12-24 12:02:31
* @LastEditTime: 2021-12-24 14:33:54
* @LastEditors: zhou lei
* @Description:
* @FilePath: /wms_haiwai_app/src/pages/raw/ingoods/dnReceipt/model.location.ts
* :910592680@qq.com 18669792120
*/
/**
*
* @export
* @interface LocationDetail
*/
export default interface LocationDetail {
factoryCode?: string;
cosmoType?: null;
sapFactoryCode?: null;
user?: null;
loginName?: null;
sign?: null;
page?: number;
rows?: number;
schema?: null;
lastModifiedBy?: null;
gmtCreate?: null;
createdBy?: null;
createdByName?: null;
warehouseCode?: string;
warehouseName?: null;
warehouseType?: string;
workareaCode?: null;
createdDate?: null;
createdDateStr?: null;
createdDateMax?: null;
createdDateMaxStr?: null;
createdDateMin?: null;
createdDateMinStr?: null;
lastUpdBy?: null;
lastUpdByName?: null;
lastUpdDate?: null;
lastUpdDateStr?: null;
lastUpdDateMax?: null;
lastUpdDateMin?: null;
activeFlag?: string;
userDefined1?: null;
userDefined2?: null;
userDefined3?: null;
userDefined4?: null;
userDefined5?: null;
userDefined6?: null;
userDefined7?: null;
userDefined8?: null;
userDefined9?: null;
userDefined10?: null;
remark?: null;
createBy?: null;
gmtCreateMin?: null;
gmtCreateStr?: null;
gmtCreateMax?: null;
gmtModified?: null;
gmtModifiedStr?: null;
gmtModifiedMax?: null;
gmtModifiedMin?: null;
locationId?: null;
locationCode?: string;
shelfOrder?: null;
sendSpot?: string;
sendSpotDesc1?: string;
checkOrder?: null;
pickOrder?: null;
locationUse?: null;
pickFlag?: null;
isOpenKnFlag?: null;
locationType?: null;
locationAttr?: null;
turnDemand?: null;
stockEnv?: null;
regionCode?: string;
areaCode?: string;
checkCode?: null;
workArea?: string;
port1?: null;
port2?: null;
port3?: null;
volumeLimit?: null;
weightLimit?: null;
boxLimit?: null;
qtyLimit?: null;
palletLimit?: null;
length?: null;
width?: null;
height?: null;
xcoordinate?: null;
ycoordinate?: null;
zcoordinate?: null;
xpixels?: null;
ypixels?: null;
zpixels?: null;
locRow?: null;
layerNum?: null;
locColumn?: null;
bord?: null;
productMix?: null;
batchMix?: null;
ignoreId?: null;
}

@ -3,14 +3,18 @@ import store from '@/store';
import http from '@/utils/request';
import { url } from '@/utils/url';
import { session } from '@/store/modules/session';
import LocationDetail from './model.location';
// import vm from '@/main';
class OrderInInfo {
stoAmount?: 0;
stoNo?: string; //STO采购单号
dnNo?: string;
orderAmount?: string; //单据总数
Allocated?: string; //已分配
Unallocated?: string; //未分配
userDefined10: string;
SubmitCode?: string;
}
@Module({
@ -25,6 +29,7 @@ export class ReturningModule extends VuexModule {
*/
returningTypeList: any[] = [];
detailedList: any;
SubmitCode: any = '';
/**
*
@ -32,7 +37,9 @@ export class ReturningModule extends VuexModule {
materielList: any[] = [];
locationCodeList: any[] = [];
LoctionList: any[] = [];
dnNo = '';
closeCode: any = '';
DNdetailedList: any;
//条码扫描的返回的结果
oneMaterielDetail: any = {};
@ -40,6 +47,8 @@ export class ReturningModule extends VuexModule {
*
*/
orderInInfo: OrderInInfo = new OrderInInfo();
orderInInfoList: OrderInInfo[] = [];
orderInInfoListEx: OrderInInfo[] = [];
//记账按钮的code码
code = '';
/**
@ -151,6 +160,43 @@ export class ReturningModule extends VuexModule {
return { orderInInfo, materielList };
}
@MutationAction
async subcDnInfo(dnNo: string) {
const { list, code }: any = await http.post(url.material.DNorderin.subcDnInfo, {
dnNo,
factoryCode: session.factoryCode,
loginName: session.loginName,
});
const orderInInfo = list[0] || {};
const orderInInfoList = list.filter((_: OrderInInfo) => _.userDefined10 === '1');
const orderInInfoListEx = list.filter((_: OrderInInfo) => _.userDefined10 === '0');
// orderInInfoList.forEach((item: any) => {
// item.receiptAmount = item.requestAmount;
// });
uni.setStorageSync('list', JSON.stringify(list) as any);
uni.setStorageSync('sendSpot', JSON.stringify(list[0].sendSpot) as any);
return { dnNo, orderInInfo, orderInInfoList, orderInInfoListEx, code };
}
@MutationAction
async submitOrderInEnter(list: any) {
// const list = (this.state as any).orderInInfoList.map((item: any) => {
// // item.orderStatus = item.checked ? "2" : "1";
// return item;
// });
const result: any = await http.post(url.material.DNorderin.subcDnEnter, {
dnNo: this.dnNo,
factoryCode: session.factoryCode,
loginName: session.loginName,
list,
});
uni.showToast({
icon: 'none',
title: result.msg,
});
const SubmitCode = result.code;
const orderInInfoList = result.list.sort((a: any, b: any) => Number(a.accountingStatus) - Number(b.accountingStatus));
return { orderInInfoList, SubmitCode };
}
/**
*
*/
@ -191,6 +237,11 @@ export class ReturningModule extends VuexModule {
const LoctionList = res;
return { LoctionList };
}
@Action({ commit: 'updateCheckedOrderInInfoListKw' })
async queryList(content: any) {
const res = await http.post<LocationDetail>('wmspda/fg/queryByFactoryCodeAndWorkAreaCode', content);
return res;
}
@MutationAction
async documentNoClose(poNo: any) {
const res: any = await http.post('/wmspda/material/outsourcing/into/close', {
@ -203,7 +254,7 @@ export class ReturningModule extends VuexModule {
}
@Action
async queryOutsourcing(poNo: any) {
const res = await http.post(url.outbound.stoOutbound.queryOrder, {
const res = await http.post(url.outbound.stoOutbound.subcDnInfo, {
poNo,
loginName: session.loginName,
factoryCode: session.factoryCode,
@ -224,6 +275,13 @@ export class ReturningModule extends VuexModule {
this.detailedList = res.data;
return res;
}
@Action({ commit: 'updateCheckedOrderInInfoListKw' })
async queryBill(content: any) {
const res: any = await http.post('/wmspda/material/getDnRecSn', content);
console.log('明细》》》》》》》》》', res.list);
this.DNdetailedList = res.list;
return res;
}
}
export default getModule(ReturningModule);

@ -78,11 +78,30 @@ export const detailHeader = [
key: 'sendSpot',
},
{
label: vm.$t('message.CommissionedLocation'),
label: vm.$t('message.Production'),
key: 'wlCode',
},
{
label: vm.$t('message.dn_Number'),
label: vm.$t('message.quantityNum'),
key: 'qty',
},
];
export const PropoHeader = [
{
label: vm.$t('message.po_MaterielNo'),
key: 'materialCode',
width: 177,
},
{
label: vm.$t('message.po_MaterielDes'),
key: 'sendSpot',
},
{
label: vm.$t('message.Pi_unit'),
key: 'wlCode',
},
{
label: vm.$t('message.Production'),
key: 'qty',
},
];

@ -0,0 +1,609 @@
<template>
<view class="page-raw-receipt">
<view class="top"></view>
<view class="header">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack()" />
</view>
<view class="title">{{ $t('message.create') }}</view>
<view class="right"></view>
</view>
<view class="content">
<view class="single">
<view class="single-right">
<u-button type="primary" @click="show = !show">{{ $t('message.Warehouse_Tip6') }}</u-button>
</view>
</view>
<view class="material">
<view class="material-right">
<view class="material-right-title">{{ $t('message.Production') }}:</view>
<view class="material-right-code" style="overflow: hidden">{{ some.materialDesc }}</view>
</view>
</view>
<view class="material">
<view class="material-right">
<view class="material-right-title">{{ $t('message.Pi_materielNo') }}:</view>
<view class="material-right-code" style="overflow: hidden">{{ some.materialDesc }}</view>
</view>
</view>
<view class="material">
<view class="material-right">
<view class="material-right-title">{{ $t('message.materialName') }}:</view>
<view class="material-right-code" style="overflow: hidden">{{ some.totalFillAmount }}</view>
</view>
</view>
<view class="material">
<view class="material-right">
<view class="material-right-title">{{ $t('message.Pi_unit') }}:</view>
<view class="material-right-code" style="overflow: hidden">{{ some.amount }}</view>
</view>
</view>
<!-- 库位 -->
<view class="library">
<view class="library-left">
<view>{{ $t('message.receiveAStation') }}:</view>
<view class="material-right-code" style="overflow: hidden">{{ some.amount }}</view>
</view>
</view>
<view class="library">
<view class="library-right">
<view class="library-right-title">{{ $t('message.quantityNum') }}:</view>
<u-input :placeholder="$t('message.Summary_PleaseInputNumber')" v-model="qty" type="number" :border="border" class="input" />
</view>
<!-- 添加 -->
<view class="add">
<u-button type="primary" @click="Add">{{ $t('message.product_add') }}</u-button>
</view>
</view>
<!-- 表格 -->
<wyb-table class="table" ref="table" width="100%" show-left-and-right-border :headers="detailHeader" :contents="LocationList" :show-vert-border="false" @onCellClick="deleteItem($event)"></wyb-table>
</view>
<!-- 弹窗 -->
<u-popup v-model="show" mode="center" closeable width="95%" height="90%" border-radius="14">
<view class="single">
<view class="single-left">
<view>{{ $t('message.po_MaterielNo') }}</view>
<u-search :placeholder="$t('message.materialCode')" v-model.trim="form.documentNo" @search="query" :show-action="false"></u-search>
</view>
<view class="single-right">
<u-button type="primary" @click="query">{{ $t('message.Query') }}</u-button>
</view>
</view>
<scroll-view scroll-y="true" style="height: 480px; padding-top: 20px; overflow-x: auto">
<view>
<wyb-table class="table" ref="table" enable-check="multiple" show-left-and-right-border width="100%" :headers="PropoHeader" :contents="LocationList" :show-vert-border="false"></wyb-table>
</view>
</scroll-view>
<u-button type="primary">{{ $t('message.workArea_Confirm') }}</u-button>
</u-popup>
<view class="bottom-bar">
<div class="container">
<u-row>
<u-col :span="6">
<u-button type="success" @click="onSubmit">
{{ $t('message.product_Confirm') }}
</u-button>
</u-col>
<u-col :span="6">
<u-button type="error" @click="uni.navigateBack()">
{{ $t('message.po_Return') }}
</u-button>
</u-col>
</u-row>
</div>
</view>
</view>
</template>
<script lang="ts">
import { Component, Ref } from 'vue-property-decorator';
import { BasePage } from '@/components/base/page';
import model from './model';
import { session } from '@/store/modules/session';
import { VForm, VFormRules } from 'vue/types/form';
import jPicker from '@/components/J-Picker/jPicker.vue';
import { detailHeader, PropoHeader } from './config';
import { auth } from '@/store/modules/auth';
@Component({
components: {
jPicker,
},
})
export default class RawReceiptDetail extends BasePage {
/**
* 表单引用
*/
@Ref('form') readonly $form!: VForm;
@Ref('submitForm') readonly $submitForm!: VForm;
@Ref('form2') readonly $form2!: VForm;
submitForm = {
receiver: '',
receiverName: '',
password: '',
};
model = model;
show = false;
materialList: any = [];
type = 'text';
wlCode: any = '';
border = true;
operatorName = '';
//
LocationList: any = [];
//
Location: any = [];
someIndex = 0;
some: any = {};
qty: any = '';
form: any = {
documentNo: '',
amount: null,
};
form2 = {
operatorPass: '', //
rfPwd: '',
};
rules: VFormRules<any> = {
amount: [{ required: true, message: this.$t('message.Pi_tip1') as string }],
};
detailHeader = detailHeader;
PropoHeader = PropoHeader;
empty() {
this.some = {};
this.someIndex = 0;
this.qty = '';
this.Location = [];
this.wlCode = '';
this.materialList = [];
this.model.blDetailList.length = 0;
}
LocEmpty() {
this.some = {};
this.someIndex = 0;
this.qty = '';
this.wlCode = '';
this.materialList = [];
this.model.blDetailList.length = 0;
this.LocationList = [];
}
async query() {
if (this.form.documentNo == '') {
this.customToast(this.$t('message.Commission_tips1') as string);
}
this.LocEmpty();
this.wlCode = this.Location[0];
let inPrdOrderList = this.form.documentNo.split(',');
let params = {
inPrdOrderList,
};
await this.model.queryBlDetailList(params).then(() => {
this.model.blDetailList.forEach((item: any) => {
let arr = {
label: item.materialCode,
value: item.materialCode,
sapSupplyId: item.sapSupplyId,
};
this.materialList.push(arr);
item.wlList = [];
});
this.some = this.model.blDetailList[0];
this.someIndex = 0;
});
await this.model.queryItemLoc({
workArea: session.workareaCode,
loginName: session.loginName,
sendSpot: null,
materialCode: this.some.materialCode,
factoryCode: session.factoryCode,
});
if (this.model.LocList.length != 0) {
this.Location = [];
this.Location = this.model.LocList;
this.wlCode = this.Location[0];
} else {
console.log('1');
}
}
async materialChoice(e: any) {
this.model.blDetailList.forEach((item: any, index: any) => {
if (item.sapSupplyId == e.pickerName.sapSupplyId) {
this.some = item;
this.someIndex = index;
}
});
await this.model.queryItemLoc({
workArea: session.workareaCode,
loginName: session.loginName,
sendSpot: null,
materialCode: this.some.materialCode,
factoryCode: session.factoryCode,
});
if (this.model.LocList.length != 0) {
this.Location = [];
this.Location = this.model.LocList;
this.wlCode = this.Location[0];
} else {
console.log('1');
}
this.qty = '';
}
LocationChoice(e: any) {
this.wlCode = e.pickerName;
}
async onOperatorConfirm(loginName: string) {
try {
const { userName } = await auth.getUserInfo({ loginName });
this.form2.operatorPass = loginName;
this.operatorName = userName;
} catch {
this.form2.operatorPass = '';
this.operatorName = '';
}
}
Add() {
if (this.qty == '' || this.wlCode == '') {
this.customToast(this.$t('message.AppendMateriel1') as string);
return;
}
if (parseFloat(this.qty) <= 0) {
this.customToast(this.$t('message.AppendMateriel2') as string);
return;
}
if (parseFloat(this.qty) > model.blDetailList[this.someIndex].amount) {
this.customToast(this.$t('message.AppendMateriel3') as string);
return;
}
let num = parseFloat(this.qty);
this.model.blDetailList[this.someIndex].wlList.forEach((item: any) => {
num += parseFloat(item.qty);
});
if (num > this.model.blDetailList[this.someIndex].amount) {
this.customToast(this.$t('message.AppendMateriel3') as string);
return;
}
let isTrue = true;
if (this.LocationList.length != 0) {
this.model.blDetailList[this.someIndex].wlList.forEach((item: any) => {
if (this.wlCode.sendSpot != item.Code) {
this.customToast(this.$t('message.AppendMateriel4') as string);
return (isTrue = false);
}
});
}
if (this.some == {}) {
this.customToast(this.$t('message.AppendMateriel5') as string);
return;
}
if (isTrue == true) {
let arr = {
wlCode: this.wlCode.label,
qty: this.qty,
Code: this.wlCode.sendSpot,
...this.some,
};
this.LocationList.push(arr);
this.model.blDetailList[this.someIndex].wlList.push(arr);
this.qty = '';
this.business();
}
}
deleteItem(e: any) {
uni.showModal({
content: this.$t('message.product_Delete') as string,
cancelText: this.$t('message.Cancel') as string,
confirmText: this.$t('message.workArea_Confirm') as string,
success: (res) => {
if (res.confirm) {
let lineData = e.lineData;
let i: any;
this.model.blDetailList.forEach((item: any, index: any) => {
if (item.materialCode == lineData.materialCode && item.sendSpot == lineData.sendSpot) {
i = index;
}
});
let NextIndex: any;
this.model.blDetailList[i].wlList.forEach((item: any, index: any) => {
if (item.wlCode == lineData.wlCode && item.qty == lineData.qty) {
NextIndex = index;
}
});
this.model.blDetailList[i].wlList.splice(NextIndex, 1);
this.LocationList.splice(e.contentIndex, 1);
let num: any = 0;
this.model.blDetailList[i].wlList.forEach((item: any) => {
num += parseFloat(item.qty);
});
this.model.blDetailList[i].fillAmount = num;
console.log('this.model.blDetailList', this.model.blDetailList);
} else if (res.cancel) {
return;
}
},
});
}
business() {
let num = 0;
this.model.blDetailList[this.someIndex].wlList.forEach((item: any) => {
num += parseFloat(item.qty);
});
this.model.blDetailList[this.someIndex].fillAmount = num;
this.some.fillAmount = num;
console.log('this.model.blDetailList', this.model.blDetailList);
}
async onReady() {
let content = {
loginName: session.loginName,
sendSpot: null,
factoryCode: session.factoryCode,
workArea: session.workareaCode,
};
let res: any = await this.model.queryByFactoryCodeAndWorkAreaCode(content);
console.log('res>>>>>>>>>>>>>>>>>>>>>>', res);
res.forEach((item: any) => {
let pickerName: any = {};
pickerName.label = item.locationCode;
pickerName.value = item.locationCode + '(' + item.sendSpot + ')';
pickerName.sendSpot = item.sendSpot;
this.Location.push(pickerName);
});
this.model.blDetailList.forEach((item: any) => {
item.receiptAmount = 0;
item.wlQTyList = [];
});
this.model.blDetailList.length = 0;
this.wlCode = this.Location[0];
}
async bill() {
if (this.some == {} || this.some.prdOrder == null) {
// uni.showToast({
// icon: 'none',
// title: this.$t('message.Commission_tips6') as string,
// });
this.customToast(this.$t('message.Commission_tips6') as string);
return;
}
let person = JSON.parse(uni.getStorageSync('__GWMS_APP_STATE_DATA__') as any);
let content = {
loginName: person.session.user.loginName,
prdOrder: this.some.prdOrder,
};
await this.model.querydetaildlist(content);
this.redirectTo(this.page.raw.handover.feeding.Local);
}
async onSubmit() {
this.model.blDetailList.forEach((item: any) => {
item.wlList.forEach((item: any) => {
item.wlList = null;
});
});
let dataList = this.model.blDetailList;
const params = {
dataList,
...this.form2,
factoryCode: this.session.factoryCode,
loginName: this.session.loginName,
};
await this.model.saveBlDetailUpload(params).then(() => {
this.qty = '';
this.LocationList = [];
this.query();
});
}
}
</script>
<style lang="scss" scoped>
.page-raw-receipt {
background: #f2f2f2 linear-gradient(0deg, #f2f2f2 0%, #4a78ea 51%, #1753ea 100%) no-repeat;
background-size: 100% 600rpx;
padding: 118rpx 30rpx 162rpx;
min-height: 100%;
.uni-scroll-view-content {
overflow-x: auto;
.single {
width: 100%;
height: 100px;
display: flex;
padding-top: 50px;
.single-left {
width: 80%;
height: 60px;
display: flex;
view {
width: 110rpx;
height: 100%;
line-height: 100rpx;
}
}
.single-right {
button {
margin-top: 15rpx;
width: 150rpx;
height: 70rpx;
}
}
}
}
.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;
}
}
.content {
width: 100%;
background: white;
border-radius: 15rpx;
padding: 10rpx;
.material {
width: 100%;
height: 100rpx;
display: flex;
.material-left {
width: 100%;
height: 100%;
display: flex;
view {
width: 145rpx;
line-height: 100rpx;
}
.search {
padding-left: 12px;
}
}
}
.material {
width: 100%;
height: 100rpx;
display: flex;
.material-right {
width: 100%;
height: 100%;
display: flex;
.material-right-title {
width: 145rpx;
height: 100%;
line-height: 100rpx;
}
.material-right-code {
width: 80%;
height: 100%;
line-height: 100rpx;
text-align: left;
padding-left: 10px;
// line-height: 100rpx;
}
}
}
.number {
height: 100rpx;
display: flex;
.number-left {
width: 50%;
height: 100%;
display: flex;
.number-left-title {
width: 120rpx;
height: 100%;
line-height: 100rpx;
}
.input {
width: 200rpx;
height: 70rpx;
margin-top: 15rpx;
margin-left: 15rpx;
}
}
.number-right {
width: 50%;
height: 100%;
display: flex;
.number-right-title {
width: 120rpx;
height: 100%;
line-height: 100rpx;
text-align: center;
}
.input {
width: 200rpx;
height: 70rpx;
margin-top: 15rpx;
margin-left: 15rpx;
}
}
}
.library {
width: 100%;
height: 100rpx;
.library-left {
width: 100%;
height: 100%;
display: flex;
view {
width: 120rpx;
line-height: 100rpx;
}
.search {
padding-left: 19px;
text-align: left;
}
}
.library-right {
width: 50%;
height: 100%;
display: flex;
.library-right-title {
width: 120rpx;
height: 100%;
line-height: 100rpx;
// text-align: center;
}
.input {
width: 200rpx;
height: 70rpx;
margin-top: 15rpx;
margin-left: 15rpx;
}
}
.add {
width: 100%;
height: 100rpx;
position: relative;
button {
position: absolute;
top: 10rpx;
right: 20rpx;
}
}
}
}
.bottom-bar {
z-index: 21;
position: fixed;
bottom: 0;
left: 0;
right: 0;
.container {
background: #ffffff;
// box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
padding: 20rpx;
}
.extra {
background-color: #fff;
margin: 5px;
border-radius: 5px;
padding: 0 10px;
}
.bottom-info {
.u-form-item {
padding: 0;
}
}
}
}
</style>

@ -307,8 +307,5 @@ export default class pickingDom extends BasePage {
box-shadow: 0 1rpx 20rpx 0 rgba(128, 128, 128, 0.2);
padding: 20rpx;
}
.button-bar {
}
}
</style>

@ -61,10 +61,12 @@ export const url = {
},
DNorderin: {
info: '/wmspda/material/orderin/dnInfo',
subcDnInfo: '/wmspda/material/orderin/subcDnInfo',
ImportInfo: '/wmspda/material/orderin/overseasDnInfo',
dnReturnInfo: '/wmspda/material/orderin/dnReturnInfo',
queryOrder: '/wmspda/material/poReturn/queryOrder', //dn退货 单号查询
enter: '/wmspda/material/orderin/enter',
subcDnEnter: '/wmspda/material/orderin/subcDnEnter',
ImportEnter: '/wmspda/material/orderin/overseasDnEnter',
out: '/wmspda/material/orderin/out',
},
@ -131,6 +133,7 @@ export const url = {
del: '/wmspda/fg/scanBarcodeDN/del',
getMaterialByCode: '/wmspda/fg/getMaterialByCode',
queryOrder: '/wmspda/material/outsourcing/into/queryOrder',
subcDnInfo: '/wmspda/material/orderin/subcDnInfo',
submit: '/wmspda/material/outsourcing/into/materialComplete',
materialComplete: '/wmspda/material/outsourcing/materialComplete',
outsourcingQueryOrder: '/wmspda/material/outsourcing/queryOrder',

Loading…
Cancel
Save