其他问题修复

master
hou 3 years ago
parent d4dd918141
commit e1e5880dcd

@ -253,7 +253,7 @@ export default class ProductCheckReceipt extends BasePage {
view {
width: 110rpx;
height: 100%;
//line-height: 100rpx;
line-height: 100rpx;
}
}
.single-right {

@ -262,7 +262,7 @@ export default class ProductCheckReceipt extends BasePage {
view {
width: 110rpx;
height: 100%;
//line-height: 100rpx;
line-height: 100rpx;
}
}
.single-right {

@ -14,6 +14,10 @@
<u-search :placeholder="$t('message.barcode')" class="Transfer" v-model.trim="userDefined4" @search="QueryHistory" :show-action="false"></u-search>
<u-button type="primary" style="height: 60rpx; margin-left: 20rpx" @click="generate">{{ $t('message.generate') }}</u-button>
</u-form-item>
<!-- 总数 -->
<u-form-item :label="$t('message.Warehouse_TotalNumber')">
<u-input :disabled="true" v-model="allNum" placeholder="" />
</u-form-item>
<!-- 已扫 -->
<!-- <u-form-item :label="$t('message.product_Swept')">
<u-input :disabled="true" v-model="model.orderInInfo.actualQty" placeholder="" />
@ -87,6 +91,7 @@ export default class productCheckReceipt extends BasePage {
productCode: '',
};
remove:any = {}
allNum:number = 0
userDefined4: any = '';
histroyItem:any = {}
aimWlSelect = false;
@ -136,6 +141,9 @@ export default class productCheckReceipt extends BasePage {
proMoveCode: this.userDefined4,
}
await this.model.QueryHistory(params)
this,model.removeList.forEach((item:any) =>{
this.allNum += parseFloat(item.proNum)
})
}
//
async onReady() {
@ -197,7 +205,10 @@ export default class productCheckReceipt extends BasePage {
this.customToast(this.$t('message.Warehouse_Tip9') as string);
// this.form.productCode = '';
this.model.empty();
this.query()
// this.query()
this.form.productCode = ''
this.allNum = 0
this.QueryHistory()
// setTimeout(() => {
// this.$forceUpdate();
// }, 2000);

@ -180,6 +180,7 @@ export default class RawReceiptDetail extends BasePage {
this.Location = [];
this.Location = this.model.LocList
console.log('this.Location',this.Location)
this.wlCode = this.Location[0]
}
Add() {
if (this.qty == '' || this.wlCode == '') {
@ -262,7 +263,7 @@ export default class RawReceiptDetail extends BasePage {
}
async onReady() {
await this.onAggregate();
await this.GetLocation();
// await this.GetLocation();
}
async bill() {
if (this.some == {} || this.some.prdOrder == null) {
@ -297,7 +298,7 @@ export default class RawReceiptDetail extends BasePage {
icon: 'success',
title: this.$t('message.Warehouse_Tip9') as any,
});
this.GetLocation();
// this.GetLocation();
setTimeout(() => {
this.onAggregate();
}, 2000);

@ -169,6 +169,7 @@ export default class RawReceiptDetail extends BasePage {
this.Location = [];
this.Location = this.model.LocList
console.log('this.Location',this.Location)
this.wlCode = this.Location[0]
}
//
Add() {
@ -255,7 +256,7 @@ export default class RawReceiptDetail extends BasePage {
}
async onReady() {
await this.onAggregate();
await this.GetLocation();
// await this.GetLocation();
}
async bill() {
this.redirectTo(this.page.raw.handover.picking.SummaryLocal);
@ -282,7 +283,7 @@ export default class RawReceiptDetail extends BasePage {
await this.model.saveAggregateUpload(params);
if (this.model.code == '1') {
this.customToast(this.$t('message.Warehouse_Tip9') as any);
this.GetLocation();
// this.GetLocation();
setTimeout(() => {
this.onAggregate();
}, 2000);

@ -188,6 +188,7 @@ export default class RawReceiptDetail extends BasePage {
pickerName.sendSpot = item.sendSpot;
this.Location.push(pickerName);
});
this.wlCode = this.Location[0]
}
onUpload(){
uni.navigateBack({delta:1})

Loading…
Cancel
Save