fix:采购入库-到货通知单-单据状态为空问题解决。采购入库新增中提示优化

This commit is contained in:
zhangxuanming 2024-12-25 15:00:54 +08:00
parent aac0566659
commit afb67bee3d
2 changed files with 14 additions and 4 deletions

View File

@ -49,7 +49,12 @@
</el-form-item>
<el-form-item label="单据状态" prop="status">
<el-select v-model="queryParams.status" placeholder="请选择单据状态" clearable>
<el-option label="请选择字典生成" value="" />
<el-option
v-for="dict in orderStatusDict"
:key="dict.dictValue"
:label="dict.dictLabel"
:value="dict.dictValue"
/>
</el-select>
</el-form-item>
<el-form-item>
@ -63,7 +68,7 @@
<template v-slot="scope">
<el-radio v-model="selectedId" :label="scope.row.noticeId" @change="handleRowChange(scope.row)">{{""}}</el-radio>
</template>
</el-table-column>
</el-table-column>
<el-table-column label="入库单编号" align="center" width="180px" prop="noticeCode" >
<template slot-scope="scope">
<el-button
@ -82,9 +87,9 @@
<template slot-scope="scope">
<span>{{ parseTime(scope.row.arrivalDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
</el-table-column>
</el-table>
<pagination
v-show="total>0"
:total="total"
@ -105,6 +110,7 @@ export default {
data() {
return {
showFlag:false,
orderStatusDict: [],
//
loading: true,
//
@ -133,6 +139,9 @@ export default {
},
created() {
this.getList();
this.getDicts("mes_order_status").then(res => {
this.orderStatusDict = res.data
})
},
methods: {
/** 查询到货通知单列表 */

View File

@ -539,6 +539,7 @@ export default {
},
//
handleSelectVendor(){
this.$refs.form.resetFields()
this.$refs.vendorSelect.showFlag = true;
},
//