소스 검색

Merge branch 'storemanagementweb' of http://10.2.1.24:10244/zhaoy/BPA.SAAS.Web into storemanagementweb

storemanagementweb
gwbvipvip 10 달 전
부모
커밋
27f8985c5a
3개의 변경된 파일16개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -0
      src/pages/database/bom/index.jsx
  2. +9
    -3
      src/pages/device/productmanage/components/CreateForm.jsx
  3. +6
    -0
      src/pages/device/productmanage/index.jsx

+ 1
- 0
src/pages/database/bom/index.jsx 파일 보기

@@ -215,6 +215,7 @@ const GoodsBomsManage = (props) => {
columns={columns}
actionRef={actionRef}
rowKey="id"
pagination={{ defaultPageSize: 10 }}
toolBarRender={() => [
<Button
type="primary"


+ 9
- 3
src/pages/device/productmanage/components/CreateForm.jsx 파일 보기

@@ -13,6 +13,7 @@ const CreateForm = (props) => {
const [displaybool,setdisplaybool]=useState('none');
const [displaylength,setdisplaylength]=useState('none');
const [displaytxtjson,setdisplaytxtjson]=useState('none');
const [disabledname,setdisabledname]=useState('false');
const [minnumber, setminnumber] = useState(0);
const [maxnumber, setmaxnumber] = useState(1);
const [ReadWrite, setReadWrite] = useState(0);
@@ -43,6 +44,7 @@ const CreateForm = (props) => {
if(props?.values?.type==1){
setdisplay("none")
setdisanumbled('none')
setdisplaytxtjson('none')
}else if(props?.values?.type==0){
setdisplay("block")
}
@@ -82,9 +84,13 @@ const CreateForm = (props) => {
setminnumber(0);
setmaxnumber(1);
}
if(props?.values?.isDefault){
setdisabledname(true)
}else{
setdisabledname(false)
}
}else{
setdisabledname(false)
console.log("xinjian")
setDisabled(false);
setdisplay("block")
@@ -233,7 +239,7 @@ const onChangeboolLabel1=(e)=>{
</Form.Item>
<Form.Item name="name" label="功能名称" rules={[{ required: true, max: 64, whitespace: true }]}>
<Input placeholder="请输入功能名称" />
<Input placeholder="请输入功能名称" disabled={disabledname} />
</Form.Item>
<Form.Item style={{display:display}} label={'数据类型'} name="dataType" rules={[{ required: false }]}>
<Select onChange={onChangedataType} defaultValue="digit">


+ 6
- 0
src/pages/device/productmanage/index.jsx 파일 보기

@@ -211,6 +211,12 @@ const bomtechnology = (props) => {
// search: true,
// valueEnum:DeviceVesionEnum
// },
{
title: '描述',
dataIndex: 'description',
valueType: 'textarea',
hideInSearch: true,
},
{
title: '创建时间',
dataIndex: 'createAt',


불러오는 중...
취소
저장