diff --git a/src/api/wms/supplierApbalanceMain/index.ts b/src/api/wms/supplierApbalanceMain/index.ts index eb43a9d37..1eed92870 100644 --- a/src/api/wms/supplierApbalanceMain/index.ts +++ b/src/api/wms/supplierApbalanceMain/index.ts @@ -47,7 +47,7 @@ export const createSupplierApbalanceMain = async (data: SupplierApbalanceMainVO) } // 修改供应商余额明细主 -export const updateSupplierApbalanceMain = async (data: SupplierApbalanceMainVO) => { +export const updateSupplierApbalanceMain = async (data: any) => { return await request.put({ url: `/wms/supplier-apbalance-main/update`, data }) } diff --git a/src/components/Detail/src/Detail.vue b/src/components/Detail/src/Detail.vue index df9993b8e..005429997 100644 --- a/src/components/Detail/src/Detail.vue +++ b/src/components/Detail/src/Detail.vue @@ -29,7 +29,7 @@ -->
+ [] }, + slotDetailTabList:{ + type:Array, + required: false, + default: () => [] + }, //主表单独操作--明细左上角新增按钮 mainSubmitCreateApi:{ type: Boolean, @@ -441,6 +447,10 @@ if (props.isBasic == true) { ] } } +// 插槽详情 +if(props.slotDetailTabList){ + tabsList.value = [...tabsList?.value,...props.slotDetailTabList] +} let otherList = [...props.annexTable,{ diff --git a/src/components/TableFormAdjustment/index.ts b/src/components/TableFormAdjustment/index.ts new file mode 100644 index 000000000..d078332ca --- /dev/null +++ b/src/components/TableFormAdjustment/index.ts @@ -0,0 +1,3 @@ +import TableFormAdjustment from './src/TableFormAdjustment.vue' + +export { TableFormAdjustment } diff --git a/src/components/TableFormAdjustment/src/AdjustmentDialog.vue b/src/components/TableFormAdjustment/src/AdjustmentDialog.vue new file mode 100644 index 000000000..9494e959a --- /dev/null +++ b/src/components/TableFormAdjustment/src/AdjustmentDialog.vue @@ -0,0 +1,63 @@ + + + + \ No newline at end of file diff --git a/src/components/TableFormAdjustment/src/TableFormAdjustment.vue b/src/components/TableFormAdjustment/src/TableFormAdjustment.vue new file mode 100644 index 000000000..0a9c01fbe --- /dev/null +++ b/src/components/TableFormAdjustment/src/TableFormAdjustment.vue @@ -0,0 +1,442 @@ + + + + \ No newline at end of file diff --git a/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue b/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue index 42b27103a..26ff5eed0 100644 --- a/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue +++ b/src/views/wms/supplierManage/supplierApbalance/supplierApbalanceMain/index.vue @@ -61,10 +61,22 @@ :detailButtonIsShowAdd=false :detailButtonIsShowEdit=false :detailButtonIsShowDelete=false - /> + :slotDetailTabList="[ + { + label: '回调函明细', + prop: 'adjustment' + } + ]" + > + + + +