Browse Source

做法编码手动输入

tags/小炒逻辑变更前
DESKTOP-BP1469S\1 2 years ago
parent
commit
a483c2022c
2 changed files with 6 additions and 3 deletions
  1. +5
    -2
      src/pages/goods/goodsPractice/components/createRecordForm.jsx
  2. +1
    -1
      src/pages/goods/goodsPractice/index.jsx

+ 5
- 2
src/pages/goods/goodsPractice/components/createRecordForm.jsx View File

@@ -41,10 +41,13 @@ const CreateRecordForm = (props) => {
}
</Select>
</Form.Item>
<Form.Item label='加价' name={'raise'}>
<Form.Item label='做法编码' name={'code'} >
<Input disabled={props.values.code}></Input>
</Form.Item>
<Form.Item label='加价' name={'raise'} initialValue={props.values.raise || 0}>
<Input></Input>
</Form.Item>
<Form.Item label='加价方式' name={'raiseType'} initialValue={props.values.raiseType}>
<Form.Item label='加价方式' name={'raiseType'} initialValue={props.values.raiseType}>
<Select style={{ width: '300px' }}>
<Select.Option value={1} key={1} index={1} >
按出品数量加价


+ 1
- 1
src/pages/goods/goodsPractice/index.jsx View File

@@ -271,7 +271,7 @@ const PageIndex = (props) => {
},
{
title: '做法编码',
dataIndex: 'practiceTypeId',
dataIndex: 'code',
},
{
title: '做法类别',


Loading…
Cancel
Save