Browse Source

采购校验

master
han\hanst 3 months ago
parent
commit
c4023840ef
  1. 15
      src/views/modules/recv/recv.vue

15
src/views/modules/recv/recv.vue

@ -1,6 +1,6 @@
<template>
<div>
<div class="pda-container" v-loading.fullscreen.lock="fullscreenLoading"
<div class="pda-container" v-loading.fullscreen.lock="fullscreenLoading"
element-loading-background="rgba(255, 255, 255, 0.3)"
element-loading-spinner="el-icon-loading"
:element-loading-text="loadingText">
@ -69,7 +69,7 @@
<el-col :span="12"><el-form-item label="待收数量"><el-input v-model="recvItem.qtyToReceive" disabled /></el-form-item></el-col>
<el-col :span="12">
<el-form-item label="此次接收数量">
<el-input v-model="recvItem.transQty" :disabled="recvItem.needHandlingUnit === 'Y'" />
<el-input v-model="recvItem.transQty" />
</el-form-item>
</el-col>
<el-col :span="12">
@ -88,10 +88,11 @@
inputmode="none"
autocomplete="off"
autocorrect="off"
disabled
spellcheck="false" />
</el-form-item></el-col>
<el-col :span="12"><el-form-item label="供应商批次">
<el-input v-model="recvItem.supplierBatchNo" placeholder="请输入供应商批次" />
<el-input v-model="recvItem.supplierBatchNo" disabled placeholder="请输入供应商批次" />
</el-form-item></el-col>
<el-col :span="12"><el-form-item label="WDR">
<el-input v-model="recvItem.wdr" placeholder="请输入WDR" />
@ -198,11 +199,11 @@ export default {
},
searchPoList() {
if (!this.scanCode) return this.poList = [];
// loading
this.loadingText = '搜索中...';
this.fullscreenLoading = true;
getPoList({ poNumber: this.scanCode,site: this.site }).then(({ data }) => {
if (data.code === 0) {
this.poList = data.rows
@ -403,10 +404,10 @@ export default {
//
manufactureDate: item.manufactureDate,
//
handlingUnitList: item.needHandlingUnit === 'Y' ? this.handlingUnit.map(hu => ({
handlingUnitList: this.handlingUnit.map(hu => ({
perQty: hu.perQty,
packageQty: hu.packageQty
})) : []
}))
};
receivePo(receiveData).then(({ data }) => {
if (data.code === 0) {

Loading…
Cancel
Save