|
|
|
@ -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 = '';
|
|
|
|
|
// 必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕
|
|
|
|
|
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;
|
|
|
|
|