update:合并冲突

master
guoshuang 3 years ago
commit 9f38b72dd5

@ -81,5 +81,14 @@
"redhat.telemetry.enabled": true,
"gitlens.advanced.messages": {
"suppressGitMissingWarning": true
}
},
"python.testing.unittestArgs": [
"-v",
"-s",
"./src",
"-p",
"test*.py"
],
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true
}

@ -100,6 +100,7 @@ export default {
po_DemandQuantity: '需求数量',
DemandQuantity: '需求',
po_ActualQuantity: '实际数量',
selected: '所选物料库存不足',
Picked: '已拣数量',
po_ReturnGoodsQuantity: '退货数量',
po_RemainingQuantity: '剩余数量',
@ -233,6 +234,7 @@ export default {
Requisition: '领用单',
greater: '不能大于总数',
receiveAStation: '接收工位',
target: '目标工位',
collecting: '请输入领用单号',
MaterialCount: '物料盘点',

@ -24,7 +24,9 @@ export default {
request_Tip11: 'HTTP version is not supported',
Pi_tip12: 'The current handover quantity must be equal to the picked quantity',
Inventory_query: 'Inventory query',
target: 'The target location',
success: 'Success',
selected: 'Insufficient stock of selected material',
error: 'Error',
successful: 'Query was successful',
operation: 'Operation',

@ -193,7 +193,6 @@ export default class LoginPage extends BasePage {
} catch (e) {
console.log('error', e);
}
this.go();
}
/////////////////

@ -180,9 +180,17 @@ export default class RawReceiptDetail extends BasePage {
factoryCode: session.factoryCode,
});
this.Location = [];
this.Location = this.model.LocList;
console.log('this.Location', this.Location);
this.wlCode = this.Location[0];
if (this.model.LocList.length == 0) {
uni.showModal({
content: this.$t('message.selected') as any,
showCancel: false,
confirmText: this.$t('message.workArea_Confirm') as any,
});
} else {
this.Location = this.model.LocList;
console.log('this.Location', this.Location);
this.wlCode = this.Location[0];
}
}
Add() {
if (this.qty == '' || this.wlCode == '') {

@ -169,9 +169,17 @@ export default class RawReceiptDetail extends BasePage {
factoryCode: session.factoryCode,
});
this.Location = [];
this.Location = this.model.LocList;
console.log('this.Location', this.Location);
this.wlCode = this.Location[0];
if (this.model.LocList.length == 0) {
uni.showModal({
content: this.$t('message.selected') as any,
showCancel: false,
confirmText: this.$t('message.workArea_Confirm') as any,
});
} else {
this.Location = this.model.LocList;
console.log('this.Location', this.Location);
this.wlCode = this.Location[0];
}
}
//
Add() {

@ -123,11 +123,11 @@ export const summaryHeaders = [
label: vm.$t('message.Pi_unit'),
key: 'unit',
},
// {
// label: '成品型号',
// key: 'prdMaterialDesc',
// width: 300,
// },
{
label: vm.$t('message.target'),
key: 'sendSpot',
// width: 300,
},
// {
// label: '工位',
// key: 'sendSpot',
@ -165,7 +165,7 @@ export const orderHeaders = [
key: 'totalHvAmount',
},
{
label: vm.$t('message.po_Location'),
label: vm.$t('message.target'),
// key: 'currentWkposCode',
//key: 'wkposCode',
key: 'sendSpot',

@ -155,6 +155,7 @@ export default class returningDom extends BasePage {
this.form.materialCode = this.model.orderInInfo.materialCode;
// this.form.materialCode = this.model.orderInInfo.materialCode;
this.form.sendSpot = this.model.orderInInfo.sendSpot;
this.form.totalBackAmount = this.model.orderInInfo.totalBackAmount;
}
LocationChoice(e: any) {
console.log('e>>>>>>>>>>>>>>>>>>>>>>>>', e);
@ -215,6 +216,7 @@ export default class returningDom extends BasePage {
this.model.materielList.forEach((item: any) => {
if (this.form.materialCode == item.label) {
// this.form.amount = item.amount;
console.log('item', item);
this.form.sendSpot = item.sendSpot;
this.form.totalBackAmount = item.totalBackAmount;
// this.form.wkposCode = item.wkposCode;
@ -238,7 +240,6 @@ export default class returningDom extends BasePage {
(this.form.sapFactoryCode as any) = this.model.orderInInfo.sapFactoryCode;
// delete this.form.wlName;
this.form.wlCode = this.wlCode.label;
console.log('1111111111', this.form);
await this.model.tluSubmit(this.form);
// this.$form.resetFields();
this.operatorName = '';

@ -10,6 +10,7 @@ class OrderInInfo {
sapFactoryCode?: any;
materialCode?: any;
sendSpot?: any;
totalBackAmount?: any;
}
@Module({
@ -68,6 +69,7 @@ export class ReturningModule extends VuexModule {
amount: item.amount,
wkposCode: item.wkposCode,
sendSpot: item.sendSpot,
totalBackAmount: item.totalBackAmount,
}));
console.log('物料列表', data);
console.log('物料名列表', materielList);
@ -92,6 +94,7 @@ export class ReturningModule extends VuexModule {
amount: item.amount,
wkposCode: item.wkposCode,
sendSpot: item.sendSpot,
totalBackAmount: item.totalBackAmount,
}));
//materielList 包含页面table想要展示的字段sendSpot接收人value物料号label订单号
console.log('时间查询物料列表', data);

Loading…
Cancel
Save