fix: 修复产品选择组件和原材料选择组件的数据验证问题
修复产品选择和原材料选择组件中当返回数据为空时仍尝试添加的问题,增加对res.data的验证 调整发货计划列表和运单页面的样式,优化高度计算和表单内边距
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
:props="planTreeProps"
|
||||
@node-click="handlePlanSelect"
|
||||
default-expand-all
|
||||
style="margin-top: 10px; height: 800px; overflow: auto;"
|
||||
style="margin-top: 10px; height: calc(100vh - 220px); overflow: auto;"
|
||||
>
|
||||
<template slot-scope="{ node, data }">
|
||||
<span
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<el-empty description="请先选择发货计划" />
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-form style="position: sticky; left: 0; top: 0;" :model="queryParams" ref="queryForm" size="small"
|
||||
<el-form style="position: sticky; left: 0; top: 0; padding: 10px;" :model="queryParams" ref="queryForm" size="small"
|
||||
:inline="true" v-show="showSearch" label-width="68px">
|
||||
<el-form-item label="发货单名称" prop="waybillName">
|
||||
<el-input v-model="queryParams.waybillName" placeholder="请输入发货单名称" clearable
|
||||
|
||||
Reference in New Issue
Block a user