成品报废逻辑调整

master
hou 3 years ago
parent 37cc22e76f
commit 5d35b968d7

@ -1,5 +1,6 @@
<template>
<view class="page-product-receipt">
<view class="top"></view>
<view class="header" :style="{ backgroundColor: `rgba(23, 83, 234, ${scrollTop / 100})` }">
<view class="left">
<u-icon class="icon" name="arrow-left" @click="uni.navigateBack({})" />
@ -130,10 +131,10 @@ export default class productCheckReceipt extends BasePage {
await this.model.getProductCode(params);
if (this.model.code == '1') {
this.customToast(this.$t('message.product_Tip8') as string);
this.Some.actualQty += 1;
// this.Some.actualQty += 1;
this.onSubmit()
}
}
value = '';
// onReadyonLoad
onReady() {
this.model.orderInInfo.productDescZh = '';
@ -141,7 +142,7 @@ export default class productCheckReceipt extends BasePage {
this.model.orderInInfo.qty = '';
this.model.orderInInfo.locCode = '';
this.model.orderInInfo.costCenter = '';
this.model.choiceCodeList = [];
this.model.choiceCodeList.length = 0;
}
//
async query() {
@ -199,6 +200,7 @@ export default class productCheckReceipt extends BasePage {
this.wl = {};
// this.form.order3 = '';
this.form.barcode = '';
this.query()
}
}
//
@ -219,7 +221,15 @@ export default class productCheckReceipt extends BasePage {
background-size: 100% 600rpx;
padding: 118rpx 30rpx 162rpx;
min-height: 100%;
.top{
width: 100%;
height: 20px;
position: fixed;
top: 0;
left: 0;
background-color: rgb(23, 83, 234);
z-index: 100;
}
.header {
position: fixed;
top: 36rpx;

@ -124,7 +124,7 @@ export class wholeScrap extends VuexModule {
const code = res.code;
console.log('res', res);
const recordsList = res.data.records;
const choiceCodeList = [];
let choiceCodeList = [];
recordsList.forEach((item: any) => {
let arr: any = {};
arr.label = item.productCode;

Loading…
Cancel
Save