Browse Source

检验不合格处理

master
han\hanst 4 months ago
parent
commit
3ac1a5c3f3
  1. 12
      src/views/modules/recv/qualifiedStorage.vue
  2. 7
      src/views/modules/recv/recv.vue

12
src/views/modules/recv/qualifiedStorage.vue

@ -119,7 +119,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="目标库位"> <el-form-item label="目标库位">
<el-input v-model="inboundData.targetLocationId" placeholder="请输入目标库位" />
<el-input v-model="inboundData.targetLocationId" ref="scanLocationRef" placeholder="请输入目标库位" />
</el-form-item> </el-form-item>
</el-col> </el-col>
@ -259,10 +259,14 @@ export default {
this.resetInboundData(); this.resetInboundData();
// //
this.inboundData.inboundQty = item.qualifiedQty; this.inboundData.inboundQty = item.qualifiedQty;
this.inboundData.targetLocationId = item.locationId; // 使
this.inboundData.inboundDate = this.getCurrentDate(); this.inboundData.inboundDate = this.getCurrentDate();
this.inboundData.operatorName = this.$store.state.user.userDisplay; // this.inboundData.operatorName = this.$store.state.user.userDisplay; //
this.processFlag = 2; this.processFlag = 2;
this.$nextTick(() => {
if (this.$refs.scanLocationRef) {
this.$refs.scanLocationRef.focus();
}
});
}, },
// //
@ -371,8 +375,8 @@ export default {
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
if (this.$refs.scanCodeRef) {
this.$refs.scanCodeRef.focus();
if (this.$refs.scanLocationRef) {
this.$refs.scanLocationRef.focus();
} }
}); });
// //

7
src/views/modules/recv/recv.vue

@ -80,10 +80,8 @@
<el-col :span="12"><el-form-item label="供应商批次"> <el-col :span="12"><el-form-item label="供应商批次">
<el-input v-model="recvItem.supplierBatchNo" placeholder="请输入供应商批次" /> <el-input v-model="recvItem.supplierBatchNo" placeholder="请输入供应商批次" />
</el-form-item></el-col> </el-form-item></el-col>
<el-col :span="12"><el-form-item label="交货日期">
<el-date-picker v-model="recvItem.deliveryDate"
type="date" format="yyyy-MM-dd" value-format="yyyy-MM-dd"
placeholder="选择交货日期" style="width: 100%" />
<el-col :span="12"><el-form-item label="WDR">
<el-input v-model="recvItem.wdr" placeholder="请输入WDR" />
</el-form-item></el-col> </el-form-item></el-col>
<el-col :span="12"><el-form-item label="到达日期"> <el-col :span="12"><el-form-item label="到达日期">
<el-date-picker v-model="recvItem.arrivalDate" type="date" format="yyyy-MM-dd HH:mm:ss" <el-date-picker v-model="recvItem.arrivalDate" type="date" format="yyyy-MM-dd HH:mm:ss"
@ -229,6 +227,7 @@ export default {
deliveryDate: row.plannedDeliveryDate || '', deliveryDate: row.plannedDeliveryDate || '',
arrivalDate: this.getCurrentDate(), arrivalDate: this.getCurrentDate(),
supplierBatchNo: '', supplierBatchNo: '',
wdr:"*"
}; };
this.processFlag = 2; this.processFlag = 2;
}, },

Loading…
Cancel
Save