diff --git a/api/hj.js b/api/hj.js index 1786320..f5d11e2 100644 --- a/api/hj.js +++ b/api/hj.js @@ -118,3 +118,9 @@ export const reqDeletePackagingFromTrain = (id='')=>get(`TrainNumberManage/Delet * @param {Object} params - { projectId, pageindex, pagesize, state } */ export const reqPipelineComponentList = (params={})=>get(`/PipelineComponent/GetPipelineComponentList?projectId=${params.projectId}&pageindex=${params.pageindex}&pagesize=${params.pagesize}&state=${params.state}`) + +/** + * 预制组件验收 + * @param {Object} params - { PipelineComponentId, PersonId, Message } + */ +export const reqPipelineComponentAccept = (params={})=>get(`/PipelineComponent/GetComponentConfirmArrival?PipelineComponentId=${params.PipelineComponentId}&PersonId=${params.PersonId}&Message=${params.Message}`) diff --git a/pipe/precast/detail.vue b/pipe/precast/detail.vue index bca7a7c..ce7794f 100644 --- a/pipe/precast/detail.vue +++ b/pipe/precast/detail.vue @@ -3,108 +3,211 @@ - 预制图纸名称 - {{ form.DrawingName || '--' }} + 组件编号 + {{ info.PipelineComponentCode || '--' }} - 组件编号 - {{ form.PipelineComponentCode || '--' }} + 预制图纸名称 + {{ info.DrawingName || '--' }} 物流箱号 - {{ form.BoxNumber || '--' }} + {{ info.BoxNumber || '--' }} + + + 组件状态 + {{ getStatus(info.State) }} + + + 验收意见 + {{ info.Remark || '--' }} 计划安装日期 - {{ form.PlanStartDate || '--' }} + {{ info.PlanStartDate || '--' }} 验收人 - {{ form.ReceiveMan || '--' }} + {{ info.ReceiveMan || '--' }} 验收日期 - {{ form.ReceiveDate || '--' }} - - - 状态 - {{ getStatus(form.State) }} + {{ info.ReceiveDate || '--' }} + + + + + 是否通过 + + + + + + + 验收意见 + + + + + + + 验收 + + + + \ No newline at end of file +