diff --git a/src/api/inspection/srmFee.js b/src/api/inspection/srmFee.js new file mode 100644 index 0000000..2816ceb --- /dev/null +++ b/src/api/inspection/srmFee.js @@ -0,0 +1,66 @@ +import { createAPI } from '@/utils/httpRequest.js' + +/** + * 分页查询费用主记录列表 + */ +export const searchFeeHeaderList = (data) => createAPI(`/inspection/fee/searchFeeHeaderList`, 'post', data) + +/** + * 根据费用单号查询主记录 + */ +export const getFeeHeaderByNo = (params) => createAPI(`/inspection/fee/getFeeHeaderByNo`, 'post', params) + +/** + * 创建费用主记录 + */ +export const createFeeHeader = (data) => createAPI(`/inspection/fee/createFeeHeader`, 'post', data) + +/** + * 更新费用主记录 + */ +export const updateFeeHeader = (data) => createAPI(`/inspection/fee/updateFeeHeader`, 'post', data) + +/** + * 删除费用记录 + */ +export const deleteFeeRecord = (params) => createAPI(`/inspection/fee/deleteFeeRecord`, 'post', params) + +/** + * 查询费用明细列表 + */ +export const getFeeDetailList = (params) => createAPI(`/inspection/fee/getFeeDetailList`, 'post', params) + +/** + * 添加费用明细(单条) + */ +export const addFeeDetail = (data) => createAPI(`/inspection/fee/addFeeDetail`, 'post', data) + +/** + * 更新费用明细 + */ +export const updateFeeDetail = (data) => createAPI(`/inspection/fee/updateFeeDetail`, 'post', data) + +/** + * 删除费用明细 + */ +export const deleteFeeDetail = (params) => createAPI(`/inspection/fee/deleteFeeDetail`, 'post', params) + +/** + * 查询关联的申请单列表 + */ +export const getRequestFeeList = (params) => createAPI(`/inspection/fee/getRequestFeeList`, 'post', params) + +/** + * 添加关联申请单(批量) + */ +export const addRequestFees = (data) => createAPI(`/inspection/fee/addRequestFees`, 'post', data) + +/** + * 删除关联申请单 + */ +export const deleteRequestFee = (params) => createAPI(`/inspection/fee/deleteRequestFee`, 'post', params) + +/** + * 根据申请单号查询费用明细 + */ +export const getFeeDetailByRequestNo = (data) => createAPI(`/inspection/fee/getFeeDetailByRequestNo`, 'post', data) diff --git a/src/views/modules/inspection/com_feeDetailTab.vue b/src/views/modules/inspection/com_feeDetailTab.vue new file mode 100644 index 0000000..baa2bd5 --- /dev/null +++ b/src/views/modules/inspection/com_feeDetailTab.vue @@ -0,0 +1,266 @@ + + + + 新增明细 + + + + + + + {{ scope.row.feeType }} + + + + + {{ scope.row.amount ? scope.row.amount.toFixed(2) : '0.00' }} + + + + + {{ scope.row.remark }} + + + + + 编辑 + 删除 + + + + + + + + + + + + + + + + + + + + + 确定 + 取消 + + + + + + + + diff --git a/src/views/modules/inspection/com_inspectionRequestAttachmentTab.vue b/src/views/modules/inspection/com_inspectionRequestAttachmentTab.vue index 3de215e..15132e5 100644 --- a/src/views/modules/inspection/com_inspectionRequestAttachmentTab.vue +++ b/src/views/modules/inspection/com_inspectionRequestAttachmentTab.vue @@ -1,7 +1,7 @@ - + 上传附件 diff --git a/src/views/modules/inspection/com_inspectionRequestFeeTab.vue b/src/views/modules/inspection/com_inspectionRequestFeeTab.vue new file mode 100644 index 0000000..b9feb1d --- /dev/null +++ b/src/views/modules/inspection/com_inspectionRequestFeeTab.vue @@ -0,0 +1,91 @@ + + + + + + + + + {{ scope.row.amount ? scope.row.amount.toFixed(2) : '0.00' }} + + + + + + + + + + + + diff --git a/src/views/modules/inspection/com_requestFeeTab.vue b/src/views/modules/inspection/com_requestFeeTab.vue new file mode 100644 index 0000000..49ea96a --- /dev/null +++ b/src/views/modules/inspection/com_requestFeeTab.vue @@ -0,0 +1,244 @@ + + + + 添加申请单 + + + + + + + + + {{ scope.row.createDate | formatDate }} + + + + + 删除 + + + + + + + + + + + + 查询 + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/inspection/inspectionPendingList.vue b/src/views/modules/inspection/inspectionPendingList.vue index aa7ff38..eb06d1d 100644 --- a/src/views/modules/inspection/inspectionPendingList.vue +++ b/src/views/modules/inspection/inspectionPendingList.vue @@ -1,63 +1,52 @@ - - + - - 供应商编码 - + + - - + + - - + - + - - + - - - + + - - - 申请人员 - + + - - - + + - - + - + - - + - - + - + - - + - - - - - 查询 + + 查询 + @@ -592,32 +581,40 @@ export default { diff --git a/src/views/modules/inspection/srmFeeList.vue b/src/views/modules/inspection/srmFeeList.vue new file mode 100644 index 0000000..06a1dec --- /dev/null +++ b/src/views/modules/inspection/srmFeeList.vue @@ -0,0 +1,518 @@ + + + + + + + + + + + + + + + + + + + + 查询 + 新增 + + + + + + + + {{ scope.row[item.columnProp] }} + + + + + 编辑 + 删除 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +