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

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

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

Loading…
Cancel
Save