perf/export-docx
Lei OT 1 year ago
parent 3f4fcc3789
commit 4fb6273ed1

@ -422,14 +422,14 @@ const handleBatchImportOK = () => {
const editable = isEditing(record);
return editable ? (
<span>
<a href="#!" onClick={() => handleSave(record.id)} style={{ marginRight: 8 }}>{t('products:save')}</a>
<Popconfirm title={t('products:sureCancel')} onConfirm={cancel}><a>{t('products:cancel')}</a></Popconfirm>
<a href="#!" onClick={() => handleSave(record.id)} style={{ marginRight: 8 }}>{t('Save')}</a>
<Popconfirm title={t('sureCancel')} onConfirm={cancel}><a>{t('Cancel')}</a></Popconfirm>
</span>
) : (
<span>
<a disabled={editingid !== ''} onClick={() => edit(record)} style={{ marginRight: 8 }}>{t('products:edit')}</a>
<Popconfirm title={t('products:sureDelete')} onConfirm={() => handleDelete(record.id)}>
<a>{t('products:delete')}</a>
<a disabled={editingid !== ''} onClick={() => edit(record)} style={{ marginRight: 8 }}>{t('Edit')}</a>
<Popconfirm title={t('sureDelete')} onConfirm={() => handleDelete(record.id)}>
<a>{t('Delete')}</a>
</Popconfirm>
</span>
);
@ -596,16 +596,16 @@ const handleBatchImportOK = () => {
style={{ width: "80%" }}
title={
<Breadcrumb items={[
{ title: <Link to={'/'}>供应商</Link> },
// { title: <Link to={'/'}></Link> },
{ title: <Link to={'/products'}>综费</Link> },
{ title: '文章列表' }
]} />
}
>
<h2>{t('products:productProject')}</h2>
<h2>{t('products:EditComponents.info')}</h2>
<Row gutter={16}>
{selectedCategory.map((item, index) => (
<Col span={8} id={index}>
<Col span={8} key={item.code}>
<Form.Item name={['info', item.code]} label={item.name}>
{item.code === "duration" ? (
<Input suffix="H"/>
@ -621,6 +621,7 @@ const handleBatchImportOK = () => {
<div>
{tags.map(tag => (
<Tag
key={tag}
id={tag}
onClick={() => handleTagClick(tag)}
color={tag === selectedTag ? 'blue' : undefined}
@ -692,7 +693,7 @@ const handleBatchImportOK = () => {
<Button type="primary" htmlType="submit" style={{ marginTop: 16, float: "right", marginRight: "20%" }}>
{t('products:save')}
{t('Save')}
</Button>
<Button type="primary" htmlType="submit" style={{ marginTop: 16, float: "right", marginRight: "5%" }}>
提交审核

Loading…
Cancel
Save