Commit e8b276ce by wuqian

fix:工艺筛选长度调整

parent 51956048
...@@ -91,6 +91,10 @@ export default defineComponent({ ...@@ -91,6 +91,10 @@ export default defineComponent({
type: String, type: String,
default: '请选择物流方式', default: '请选择物流方式',
}, },
startWidth: {
type: String,
default: '100%',
},
}, },
emits: ['update:modelValue'], emits: ['update:modelValue'],
setup(props, { emit }) { setup(props, { emit }) {
...@@ -273,7 +277,7 @@ export default defineComponent({ ...@@ -273,7 +277,7 @@ export default defineComponent({
reference: () => ( reference: () => (
<ElInput <ElInput
modelValue={waysName.value} modelValue={waysName.value}
style={{ width: '100%' }} style={{ width: props.startWidth }}
placeholder={props.startPlaceholder} placeholder={props.startPlaceholder}
clearable clearable
onClear={handleClearSelection} onClear={handleClearSelection}
......
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
<LogisticsWaySelect <LogisticsWaySelect
v-model="searchForm.craftCode" v-model="searchForm.craftCode"
:company-list="craftList" :company-list="craftList"
:start-width="'150px'"
search-placeholder="搜索工艺名称" search-placeholder="搜索工艺名称"
start-placeholder="请选择工艺名称" start-placeholder="请选择工艺名称"
></LogisticsWaySelect> ></LogisticsWaySelect>
...@@ -2537,7 +2538,7 @@ import { BaseRespData } from '@/types/api' ...@@ -2537,7 +2538,7 @@ import { BaseRespData } from '@/types/api'
import UpdateAddress from './components/updateAddress.vue' import UpdateAddress from './components/updateAddress.vue'
import { getAllCountryApi } from '@/api/logistics.ts' import { getAllCountryApi } from '@/api/logistics.ts'
import { InterceptStateGroupData,IAllList } from '@/types/api/podUsOrder' import { InterceptStateGroupData, IAllList } from '@/types/api/podUsOrder'
import TableView from '@/components/TableView.vue' import TableView from '@/components/TableView.vue'
import { import {
LogListData, LogListData,
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
<LogisticsWaySelect <LogisticsWaySelect
v-model="searchForm.craftCode" v-model="searchForm.craftCode"
:company-list="craftList" :company-list="craftList"
:start-width="'178px'"
search-placeholder="搜索工艺名称" search-placeholder="搜索工艺名称"
start-placeholder="请选择工艺名称" start-placeholder="请选择工艺名称"
></LogisticsWaySelect> ></LogisticsWaySelect>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment