其他问题修复

master
hou 3 years ago
parent d4dd918141
commit e1e5880dcd

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

@ -262,7 +262,7 @@ export default class ProductCheckReceipt extends BasePage {
view { view {
width: 110rpx; width: 110rpx;
height: 100%; height: 100%;
//line-height: 100rpx; line-height: 100rpx;
} }
} }
.single-right { .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-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-button type="primary" style="height: 60rpx; margin-left: 20rpx" @click="generate">{{ $t('message.generate') }}</u-button>
</u-form-item> </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-form-item :label="$t('message.product_Swept')">
<u-input :disabled="true" v-model="model.orderInInfo.actualQty" placeholder="" /> <u-input :disabled="true" v-model="model.orderInInfo.actualQty" placeholder="" />
@ -87,6 +91,7 @@ export default class productCheckReceipt extends BasePage {
productCode: '', productCode: '',
}; };
remove:any = {} remove:any = {}
allNum:number = 0
userDefined4: any = ''; userDefined4: any = '';
histroyItem:any = {} histroyItem:any = {}
aimWlSelect = false; aimWlSelect = false;
@ -136,6 +141,9 @@ export default class productCheckReceipt extends BasePage {
proMoveCode: this.userDefined4, proMoveCode: this.userDefined4,
} }
await this.model.QueryHistory(params) await this.model.QueryHistory(params)
this,model.removeList.forEach((item:any) =>{
this.allNum += parseFloat(item.proNum)
})
} }
// //
async onReady() { async onReady() {
@ -197,7 +205,10 @@ export default class productCheckReceipt extends BasePage {
this.customToast(this.$t('message.Warehouse_Tip9') as string); this.customToast(this.$t('message.Warehouse_Tip9') as string);
// this.form.productCode = ''; // this.form.productCode = '';
this.model.empty(); this.model.empty();
this.query() // this.query()
this.form.productCode = ''
this.allNum = 0
this.QueryHistory()
// setTimeout(() => { // setTimeout(() => {
// this.$forceUpdate(); // this.$forceUpdate();
// }, 2000); // }, 2000);

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

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

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

Loading…
Cancel
Save