Explorar el Código

弹窗修改

master
zhaoy hace 8 meses
padre
commit
b945b8ba04
Se han modificado 2 ficheros con 10 adiciones y 141 borrados
  1. +2
    -2
      config/proxy.js
  2. +8
    -139
      src/pages/database/basic/batching/components/CreateForm.jsx

+ 2
- 2
config/proxy.js Ver fichero

@@ -9,7 +9,7 @@
export default {
dev: {
'/kitchbase/': {
target: 'http://192.168.1.19:5006/',
target: 'http://localhost:5006/',
changeOrigin: true,
secure: false, //关闭证书验证
pathRewrite: {
@@ -17,7 +17,7 @@
},
},
'/kitchorder/': {
target: 'http://192.168.1.19:5007',
target: 'http://localhost:5007',
changeOrigin: true,
secure: false, //关闭证书验证
pathRewrite: {


+ 8
- 139
src/pages/database/basic/batching/components/CreateForm.jsx Ver fichero

@@ -207,67 +207,8 @@ const CreateForm = (props) => {
placeholder="请输入原料名称"
/>
</Col>
{/* <Col lg={8} md={12} sm={24}>
<ProFormText
label={fieldLabels.specs}
name="specs"
rules={[
{
required: true,
max: 500,
},
]}
placeholder="请输入规格型号"
/>
</Col> */}
</Row>
{/* <Row gutter={16}>
<Col lg={8} md={12} sm={24}>
<ProFormSelect
label={fieldLabels.aittribute}
name="aittribute"
rules={[
{
required: true,
message: '请选择物料属性',
},
]}
options={[
{
value: '0',
label: '成品',
},
{
value: '1',
label: '半成品',
},
{
value: '2',
label: '易耗品',
},
]}
placeholder="请选择物料属性"
/>
</Col>
<Col lg={8} md={12} sm={24}>
<ProFormDigit
label={fieldLabels.price}
name="price"
placeholder="请输入成本价"
min={1}
/>
</Col>
<Col lg={8} md={12} sm={24}>
<ProFormDigit
label={fieldLabels.netrecovery}
name="netrecovery"
min={1}
max={100}
placeholder="请输入净料率"
/>
</Col>
</Row> */}
<Row gutter={16}>
<Col lg={12} md={12} sm={24}>
@@ -359,85 +300,13 @@ const CreateForm = (props) => {
options={itemsuity}
/>
</Col>
{/* <Col lg={8} md={12} sm={24}>
<ProFormSelect
label={fieldLabels.OutstockUint}
name="outstockUint"
rules={[
{
required: true,
message: '请选择出库单位',
},
]}
request={async () => itemsuity}
placeholder="请选择出库单位"
/>
</Col> */}
{/* <Col lg={8} md={12} sm={24}>
<ProFormDigit
label={fieldLabels.proportion}
name="proportion"
rules={[
{
required: true,
message: '请输入出入库换算比例',
},
]}
placeholder="请输入换算比例"
/>
</Col> */}
{/* <Col lg={8} md={12} sm={24}>
<ProFormSelect
label={fieldLabels.status}
name="status"
rules={[
{
required: true,
message: '请选择状态',
},
]}
options={[
{
value: '0',
label: '正常',
},
{
value: '1',
label: '停用',
},
]}
placeholder="请选择状态"
/>
</Col> */}
{/* <Col lg={8} md={12} sm={24}>
<ProFormText
label={fieldLabels.foreignKeyRe}
name="foreignKeyRe"
placeholder="请输入关联外键"
/>
</Col> */}
</Row>
{/* <ProForm.Item name="membersList" trigger="onValuesChange">
<EditableProTable
rowKey="id"
toolBarRender={false}
columns={columns}
recordCreatorProps={{
newRecordType: 'dataSource',
record: () => ({
id: Date.now(),
}),
}}
editable={{
type: 'multiple',
editableKeys,
onChange: setEditableRowKeys,
actionRender: (row, _, dom) => {
return [dom.delete];
},
}}
/>
</ProForm.Item> */}
</Row>
{/* <Row>
<Col>
<Button htmlType="button" style={{float:'right',left:10}} onClick={onCancel} >取消</Button>
<Button type="primary" htmlType="submit" style={{float:'right'}} >保存</Button>
</Col>
</Row> */}
</ProForm>
</Modal>
);


Cargando…
Cancelar
Guardar