diff --git a/src/views/products/Audit.jsx b/src/views/products/Audit.jsx index 4498cb3..c513a33 100644 --- a/src/views/products/Audit.jsx +++ b/src/views/products/Audit.jsx @@ -52,10 +52,11 @@ const PriceTable = ({ productType, dataSource, refresh }) => { }; const rowStyle = (r, tri) => { - const trCls = tri%2 !== 0 ? ' bg-stone-50' : ''; + const trCls = tri%2 !== 0 ? ' bg-stone-50' : ''; // 奇偶行 const [infoI, quoteI] = r.rowSpanI; - const bigTrCls = quoteI === 0 && tri !== 0 ? 'border-collapse border-double border-0 border-t-4 border-stone-300' : ''; - return [trCls, bigTrCls].join(' '); + const bigTrCls = quoteI === 0 && tri !== 0 ? 'border-collapse border-double border-0 border-t-4 border-stone-300' : ''; // 合并行双下划线 + const editedCls = (r.audit_state_id === 0 && isNotEmpty(r.lastedit_changed)) ? 'bg-red-100' : ''; // 待审核, 变更: 红色 + return [trCls, bigTrCls, editedCls].join(' '); }; const columns = [ diff --git a/src/views/products/Detail/ProductInfoForm.jsx b/src/views/products/Detail/ProductInfoForm.jsx index ffa79be..8f95d8c 100644 --- a/src/views/products/Detail/ProductInfoForm.jsx +++ b/src/views/products/Detail/ProductInfoForm.jsx @@ -97,7 +97,7 @@ const InfoForm = ({ onSubmit, onReset, onValuesChange, editable: _editable, show )} */} {/* */} - ({ @@ -110,6 +110,7 @@ const InfoForm = ({ onSubmit, onReset, onValuesChange, editable: _editable, show .map((x) => HTLanguageSetsMapVal[x.lgc].label) .join(', '); if (isNotEmpty(invalidLgcName)) { + // Please complete multi -language information return Promise.reject(new Error(`请完善多语种信息: ${invalidLgcName}`)); } return Promise.resolve();