Browse Source

部分下拉列表默认值

hella_online_20240829
wangyufei 4 months ago
parent
commit
e1ce845ff9
  1. 3
      src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts
  2. 1
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

3
src/views/wms/basicDataManage/itemManage/productionlineitem/productionlineitem.data.ts

@ -81,7 +81,8 @@ export const Productionlineitem = useCrudSchemas(reactive<CrudSchema[]>([
form: {
show:true,
component: 'SelectV2',
value:'undefined',
// value:'undefined',
value:lineCodeData?.list.length>0?lineCodeData.list[0].code:'undefined',
// labelMessage: '信息提示说明!!!',
componentProps: {
// isSearchList: true,

1
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -776,6 +776,7 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
form: {
component: 'Select',
api: () => procurementCreators.list,
value:procurementCreators?.list.length>0?procurementCreators.list[0].id:'',
componentProps: {
optionsAlias: {
labelField: 'nickname',

Loading…
Cancel
Save