diff --git a/klp-ui/src/api/wms/product.js b/klp-ui/src/api/wms/product.js index da91a7c5..b68be1f2 100644 --- a/klp-ui/src/api/wms/product.js +++ b/klp-ui/src/api/wms/product.js @@ -26,6 +26,15 @@ export function addProduct(data) { }) } +// 新增产品带默认BOM +export function addProductWithBom(data) { + return request({ + url: '/wms/product/addWithBom', + method: 'post', + data: data + }) +} + // 修改产品 export function updateProduct(data) { return request({ diff --git a/klp-ui/src/api/wms/rawMaterial.js b/klp-ui/src/api/wms/rawMaterial.js index b8f5cad1..da8c80c7 100644 --- a/klp-ui/src/api/wms/rawMaterial.js +++ b/klp-ui/src/api/wms/rawMaterial.js @@ -26,6 +26,15 @@ export function addRawMaterial(data) { }) } +// 新增原材料带默认BOM +export function addRawMaterialWithBom(data) { + return request({ + url: '/wms/rawMaterial/addWithBom', + method: 'post', + data: data + }) +} + // 修改原材料 export function updateRawMaterial(data) { return request({ diff --git a/klp-ui/src/assets/icons/svg/coil.svg b/klp-ui/src/assets/icons/svg/coil.svg new file mode 100644 index 00000000..88bea929 --- /dev/null +++ b/klp-ui/src/assets/icons/svg/coil.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/klp-ui/src/components/HomeModules/DetailTable.vue b/klp-ui/src/components/HomeModules/DetailTable.vue new file mode 100644 index 00000000..e69de29b diff --git a/klp-ui/src/components/HomeModules/StatisticGroup.vue b/klp-ui/src/components/HomeModules/StatisticGroup.vue new file mode 100644 index 00000000..2ca56f93 --- /dev/null +++ b/klp-ui/src/components/HomeModules/StatisticGroup.vue @@ -0,0 +1,291 @@ + + + + + + \ No newline at end of file diff --git a/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue b/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue index beac18ec..5928b3ce 100644 --- a/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue +++ b/klp-ui/src/components/KLPService/Renderer/ProductInfo.vue @@ -1,6 +1,6 @@