fix:采购入库时默认数量为1

This commit is contained in:
shijing 2025-02-07 16:11:03 +08:00
parent 8c7b900af0
commit 0fbd17810d
2 changed files with 5 additions and 2 deletions

View File

@ -135,6 +135,8 @@
</div>
</template>
</el-table-column>
<!-- <el-table-column label="合格数量" prop="count_ok">
</el-table-column> -->
<el-table-column label="不合格数量" prop="count_notok">
</el-table-column>
<el-table-column

View File

@ -113,7 +113,7 @@
<el-form-item label="数量" v-if="cate == 'mainso'">
<el-input-number
v-model="form.count"
:min="0"
:min="1"
:precision="3"
style="width: 100%"
/>
@ -180,6 +180,7 @@
<script>
const defaultForm = {
state: 10,
count: 1,
type: "do_in",
};
export default {
@ -204,7 +205,7 @@ export default {
other_in: "其他入库",
other_out: "其他出库",
},
form: {},
form: {count: 1,},
rules: {
batch:[
{