1.扫码单据编辑列表添加实际数量字段

fengcang
x_z 3 years ago
parent ce8cf494d5
commit d9777aa49f

@ -310,6 +310,12 @@
show-overflow-tooltip show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column
label="实际数量"
prop="reCount"
show-overflow-tooltip
></el-table-column>
<el-table-column label="操作" fixed="right" width="250"> <el-table-column label="操作" fixed="right" width="250">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button

@ -83,6 +83,17 @@
:disabled="editData.serialNo!=null && editData.serialNo!='' "></el-input> :disabled="editData.serialNo!=null && editData.serialNo!='' "></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="3">
<div class="ao-text">
<span>是否以使用单元数量入库</span>
</div>
</el-col>
<el-col :span="7">
<el-form-item>
<el-checkbox v-model="isUseDyCheck" disabled></el-checkbox>
</el-form-item>
</el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="17"> <el-col :span="17">
@ -129,6 +140,7 @@ export default {
data() { data() {
return { return {
xlhEnable: false, xlhEnable: false,
isUseDyCheck: false
}; };
}, },
@ -162,6 +174,9 @@ export default {
if (response.data.scbssfbhxlh == "否") { if (response.data.scbssfbhxlh == "否") {
this.xlhEnable = true; this.xlhEnable = true;
} }
if (response.data.zxxsbzbhsydysl > 1) {
this.isUseDyCheck = true;
}
} else { } else {
} }
this.loading = false; this.loading = false;

@ -242,6 +242,7 @@ export default {
}, },
onSubmit() { onSubmit() {
this.loading = true; this.loading = true;
this.filterQuery.page = 1;
this.getList(); this.getList();
}, },
handleSizeChange(val) { handleSizeChange(val) {
@ -265,7 +266,6 @@ export default {
}, },
getList() { getList() {
this.loading = true; this.loading = true;
this.filterQuery.page = 1;
this.filterQuery.customerId = store.getters.customerId; this.filterQuery.customerId = store.getters.customerId;
filterProducts(this.filterQuery) filterProducts(this.filterQuery)
.then((response) => { .then((response) => {

@ -82,7 +82,7 @@
<el-form-item> <el-form-item>
<el-button-group> <el-button-group>
<el-button type="primary" icon="search" @click="getCodeList" <el-button type="primary" icon="search" @click="searchCode"
>查询 >查询
</el-button </el-button
> >
@ -144,6 +144,7 @@
@current-change="handleCurrentChange" @current-change="handleCurrentChange"
layout="prev, pager, next,total" layout="prev, pager, next,total"
:total="total" :total="total"
:current-page="query.page"
> >
</el-pagination> </el-pagination>
</div> </div>
@ -219,7 +220,10 @@ export default {
this.query.page = val; this.query.page = val;
this.getCodeList(); this.getCodeList();
}, },
searchCode() {
this.query.page = 1;
this.getCodeList();
},
getCodeList() { getCodeList() {
this.loading = true; this.loading = true;
this.query.productIdFk = this.idQuery.relIdFk; this.query.productIdFk = this.idQuery.relIdFk;

Loading…
Cancel
Save