Browse Source

提交

groupmealweb
gwbvipvip 8 months ago
parent
commit
99c516e6d6
4 changed files with 6 additions and 4 deletions
  1. +1
    -0
      src/pages/database/bom/components/BomBatching.jsx
  2. +2
    -1
      src/pages/database/bom/components/CreateBom.jsx
  3. +2
    -1
      src/pages/database/bom/components/UpdateBom.jsx
  4. +1
    -2
      src/pages/database/bom/index.jsx

+ 1
- 0
src/pages/database/bom/components/BomBatching.jsx View File

@@ -99,6 +99,7 @@ const GoodsbomFrom = (props) => {
<Modal
title={'配方详情'}
width={1040}
maskClosable={false}
visible={props.BomBatchingVisible}
bodyStyle={{ padding: '32px 40px 1px 48px' }}
okText="确认"


+ 2
- 1
src/pages/database/bom/components/CreateBom.jsx View File

@@ -93,8 +93,9 @@ const App = (props) => {
return (
<>

<Modal title="新增菜谱"
<Modal title="新增配方"
width={600}
maskClosable={false}
onCancel={props.onCancel}
open={props.modalVisible}
okText="确认"


+ 2
- 1
src/pages/database/bom/components/UpdateBom.jsx View File

@@ -39,8 +39,9 @@ const UpdateBom = (props) => {

return (
<Modal
title={'编辑'}
title={'编辑配方'}
width={640}
maskClosable={false}
visible={props.updateModalVisible}
bodyStyle={{ padding: '32px 40px 48px' }}
onCancel={() => {


+ 1
- 2
src/pages/database/bom/index.jsx View File

@@ -169,8 +169,7 @@ const GoodsBomsManage = (props) => {
form2
.validateFields()
.then((values) => {
console.log(values)
var parm = { id: values.id, name: values.bomName, IsMain: values.bomType == '1' ? true : false, bomTypeIds: values.bomTypeList }
var parm = { id: values.id, name: values.name, IsMain: values.bomType == '1' ? true : false, bomTypeIds: values.bomTypeList }
UpdateBomInfo(parm).then((r) => {
if (r.data) {
message.success('修改成功');


Loading…
Cancel
Save