|
@@ -45,7 +45,7 @@ function GoodsAdd({ id, closePage, upTableList, addTableList }: Props) {
|
|
const data: GoodsTableSearch = res.data;
|
|
const data: GoodsTableSearch = res.data;
|
|
FormBoxRef.current.setFieldsValue(data);
|
|
FormBoxRef.current.setFieldsValue(data);
|
|
|
|
|
|
- setDirCode(data.dirCode!)
|
|
|
|
|
|
+ setDirCode(data.dirCode!);
|
|
setCover(data.thumb!);
|
|
setCover(data.thumb!);
|
|
setType(data.type!);
|
|
setType(data.type!);
|
|
|
|
|
|
@@ -343,6 +343,15 @@ function GoodsAdd({ id, closePage, upTableList, addTableList }: Props) {
|
|
/>
|
|
/>
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
|
|
|
|
|
+ <Form.Item
|
|
|
|
+ label="出土地"
|
|
|
|
+ name="source"
|
|
|
|
+ rules={[{ required: true, message: "请输入出土地!" }]}
|
|
|
|
+ getValueFromEvent={(e) => e.target.value.trim()}
|
|
|
|
+ >
|
|
|
|
+ <Input maxLength={50} showCount placeholder="请输入内容" />
|
|
|
|
+ </Form.Item>
|
|
|
|
+
|
|
<Form.Item label="简介" name="description">
|
|
<Form.Item label="简介" name="description">
|
|
<TextArea
|
|
<TextArea
|
|
rows={3}
|
|
rows={3}
|