diff --git a/src/api/wms/supplierdeliverRequestDetail/index.ts b/src/api/wms/supplierdeliverRequestDetail/index.ts index 832c9baca..ab0609463 100644 --- a/src/api/wms/supplierdeliverRequestDetail/index.ts +++ b/src/api/wms/supplierdeliverRequestDetail/index.ts @@ -45,9 +45,12 @@ export const getSupplierdeliverRequestDetailPage = async (params) => { } // 查询供应商发货申请子列表 export const getGenerateLabelList = async (params) => { + return await request.get({ url: `/wms/supplierdeliver-request-detail/generateLabelList`, params }) +} +// 查询托规格列表 +export const getGenerateLabelParentList = async (params) => { return await request.get({ url: `/wms/supplierdeliver-request-detail/generateLabelParentList`, params }) } - // 查询供应商发货申请子详情 export const getSupplierdeliverRequestDetail = async (id: number) => { return await request.get({ url: `/wms/supplierdeliver-request-detail/get?id=` + id }) diff --git a/src/components/TableForm/src/TableForm.vue b/src/components/TableForm/src/TableForm.vue index e7972b878..2def32a83 100644 --- a/src/components/TableForm/src/TableForm.vue +++ b/src/components/TableForm/src/TableForm.vue @@ -166,7 +166,7 @@ @blur="tableFormSelectOnBlur(headerItem.field, $event, row, $index)" > @@ -302,7 +302,7 @@ :id="headerItem?.tableForm?.id" > { - return item.dictType ? getStrDictOptions(item.dictType) : item.tableForm.initOptions +const initSelectOptions = (headerItem,row) => { + if(row[headerItem.field+'InitOptions']){ + return row[headerItem.field+'InitOptions'] + }else{ + return headerItem.dictType ? getStrDictOptions(headerItem.dictType) : headerItem.tableForm.initOptions + } } //普通下拉改变事件 const formSelectChange = (field, val, row) => { diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 51e46e76f..42e86c8f6 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -2,7 +2,10 @@ @@ -20,8 +23,9 @@ /> - - +
{{ row.number }} -