/* * @Author: zhp * @Date: 2024-04-18 09:27:54 * @LastEditTime: 2024-04-22 16:21:26 * @LastEditors: zhp * @Description: */ import request from '@/utils/request' // 更新质量检测类型基础 export function getOriginalData(data) { return request({ url: 'extend/customized-reports/original', method: 'post', data: data }) } export function getIngredientData(data) { return request({ url: 'extend/customized-reports/materialCost', method: 'post', data: data }) } export function getCuttingtData(data) { return request({ url: 'extend/customized-reports/cutting', method: 'post', data: data }) } export function getAutoDailyData(data) { return request({ url: 'base/report-auto-daily/listAll', method: 'post', data: data }) } export function getQualityRecordReport(data) { return request({ url: 'base/quality-inspection-record/qualityRecordReport', method: 'post', data: data }) } export function getProductChildData(data) { return request({ url: 'base/report-auto-ydaily-det/list', method: 'post', data: data }) } export function updateAutoDailyData(data) { return request({ url: 'base/report-auto-daily/update', method: 'put', data: data }) }