cosmoim-852 fix 补料创建 && 成品下线 优化

master
hou 3 years ago
parent 3121840be2
commit 4e1f92168e

@ -230,7 +230,7 @@ export default {
return_Tip4: 'Return Qty cannot be greater than total Qty',
quantitys: 'Cannot be greater than the quantity to be returned',
actual: 'The actual returned quantity is not equal to the quantity to be returned',
receiveAStation: 'Receiving station',
receiveAStation: 'Receiving',
//库内主菜单
Warehouse: 'FG WH',
@ -255,14 +255,14 @@ export default {
InventoryTotalNumber: 'Total',
create: 'create',
open: 'open',
materialName: 'materialName',
materialName: 'material',
Enable: 'The memory function is enabled',
Closerepository: 'The memory function is disabled',
quantityNum: 'The loading quantity',
recommended: 'RecommendedLoc',
quantityNum: 'Qty',
recommended: 'Lock',
materialCode: 'Please enter the material number',
receive: 'receiveLoc',
Production: 'Production orders',
Production: 'Order',
InventoryPleaseScan: 'Please scan No.',
InventoryFinish: 'Finish',
collecting: 'Please enter the collecting doc No',
@ -393,6 +393,7 @@ export default {
product_Location: 'Loc',
succeeded: 'Scan back succeeded',
product_barCode: 'Barcode',
barCode: 'Bar code',
sweepBarCode: 'Barcode',
QuantityReturned: 'Quantity returned',
product_TransferCar: 'Transfer vehicle',

@ -150,7 +150,7 @@ export default class LoginPage extends BasePage {
console.log('image', this.image);
console.log('Version////', this.Version);
}
Version = '1.0.19';
Version = '1.0.20';
compareVersion(version1: any, version2: any) {
//version1 1 &&& version2 -1
const newVersion1 = `${version1}`.split('.').length < 3 ? `${version1}`.concat('.0') : `${version1}`;

@ -75,12 +75,12 @@
<u-button type="primary" @click="query">{{ $t('message.Query') }}</u-button>
</view>
</view>
<scroll-view scroll-y="true" scroll-x="true" style="height: 440px; padding-top: 20px; white-space: nowrap">
<scroll-view scroll-y="true" scroll-x="true" style="height: 385px; padding-top: 20px; white-space: nowrap">
<view style="display: inline-block">
<wyb-table class="table" ref="table" enable-check="single" show-left-and-right-border width="100%" :headers="PropoHeader" @onCheck="selectItem($event)" :contents="model.MaterialList" :show-vert-border="false"></wyb-table>
</view>
</scroll-view>
<u-button type="primary" @click="onOk">{{ $t('message.workArea_Confirm') }}</u-button>
<u-button type="primary" style="margin-top: 20px" @click="onOk">{{ $t('message.workArea_Confirm') }}</u-button>
</u-popup>
<view class="bottom-bar">
<div class="container">
@ -218,6 +218,13 @@ export default class RawReceiptDetail extends BasePage {
});
}
async onSubmit() {
if (this.List.length == 0) {
uni.showToast({
title: this.$t('message.Pi_tip4') as any,
image: '/static/icons/icon-52.png',
});
return;
}
this.List.forEach((item: any) => {
item.factoryCode = this.session.factoryCode;
item.loginName = this.session.loginName;

Loading…
Cancel
Save