Browse Source

供应商发票申请

master_hella_20240701
yufei0306 5 months ago
parent
commit
a47aac077c
  1. 28
      src/components/Detail/src/Detail.vue
  2. 2
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

28
src/components/Detail/src/Detail.vue

@ -384,6 +384,11 @@ const props = defineProps({
required: false, required: false,
default: false default: false
}, },
fieldTableColumn:{
type: String,
required: false,
default: ''
},
// //
otherHeadButttonData:{ otherHeadButttonData:{
type:Array, type:Array,
@ -728,16 +733,19 @@ const buttonBaseClick = (val, item) => {
masterId: masterParmas.value.masterId, masterId: masterParmas.value.masterId,
number: masterParmas.value.number number: masterParmas.value.number
}) })
const item = props.detailAllSchemas.formSchema[0] if(props.fieldTableColumn!=''){
opensearchTable( const item = props.detailAllSchemas.formSchema.find(item=>item.field == props.fieldTableColumn)
item.field, item?.componentProps?.searchField, opensearchTable(
item?.componentProps?.searchTitle, item.field, item?.componentProps?.searchField,
item?.componentProps?.searchAllSchemas, item?.componentProps?.searchTitle,
item?.componentProps?.searchPage, item?.componentProps?.searchAllSchemas,
item?.componentProps?.searchCondition, item?.componentProps?.searchPage,
item?.componentProps?.multiple, item?.componentProps?.searchCondition,
undefined,undefined item?.componentProps?.multiple,
) undefined,undefined
)
}
}else{ }else{
openForm('create') openForm('create')
} }

2
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -83,6 +83,8 @@
<!-- 详情 --> <!-- 详情 -->
<Detail <Detail
ref="detailRef" ref="detailRef"
:isOpenSearchTable="true"
fieldTableColumn="poLine"
:annexTable="[{ :annexTable="[{
label: t('ts.合同附件'), label: t('ts.合同附件'),
prop: 'Annex', prop: 'Annex',

Loading…
Cancel
Save