From 4fb6273ed10c01acb04c033b48df241d0289ff60 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Thu, 4 Jul 2024 14:16:17 +0800 Subject: [PATCH] # --- src/views/products/Detail.jsx | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/products/Detail.jsx b/src/views/products/Detail.jsx index 57cd8e7..1b8ba14 100644 --- a/src/views/products/Detail.jsx +++ b/src/views/products/Detail.jsx @@ -307,7 +307,7 @@ function Detail() { const handleBatchImportOK = () => { setBatchImportPriceVisible(false); } - + const EditableCell = ({ editing, dataIndex, title, inputType, record, children, handleDateSelect, ...restProps }) => { let inputNode = inputType === 'number' ? : ; @@ -422,14 +422,14 @@ const handleBatchImportOK = () => { const editable = isEditing(record); return editable ? ( - handleSave(record.id)} style={{ marginRight: 8 }}>{t('products:save')} - {t('products:cancel')} + handleSave(record.id)} style={{ marginRight: 8 }}>{t('Save')} + {t('Cancel')} ) : ( - edit(record)} style={{ marginRight: 8 }}>{t('products:edit')} - handleDelete(record.id)}> - {t('products:delete')} + edit(record)} style={{ marginRight: 8 }}>{t('Edit')} + handleDelete(record.id)}> + {t('Delete')} ); @@ -514,7 +514,7 @@ const handleBatchImportOK = () => { if (selectedNodeid === node.key) return; const fatherKey = node.key.split('-')[0]; setSelectedCategory(productProject[fatherKey]) - + console.log("remainderLanguage",remainderLanguage) let initialQuotationData = null; let infoData = null; @@ -596,16 +596,16 @@ const handleBatchImportOK = () => { style={{ width: "80%" }} title={ 供应商 }, + // { title: 供应商 }, { title: 综费 }, { title: '文章列表' } ]} /> } > -

{t('products:productProject')}

+

{t('products:EditComponents.info')}

{selectedCategory.map((item, index) => ( - + {item.code === "duration" ? ( @@ -621,6 +621,7 @@ const handleBatchImportOK = () => {
{tags.map(tag => ( handleTagClick(tag)} color={tag === selectedTag ? 'blue' : undefined} @@ -681,7 +682,7 @@ const handleBatchImportOK = () => { - + @@ -692,7 +693,7 @@ const handleBatchImportOK = () => {