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

View File

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