Sfoglia il codice sorgente

修改父清单只显示名称

Renxy 2 anni fa
parent
commit
4391bc9cdd

+ 2 - 0
src/pages/PurchaseAdmin/PurchaseList/Detail/FlowModal.js

@@ -159,6 +159,7 @@ function FlowModal(props) {
         title: '状态',
         width: '30%',
         render: item => {
+          if (item.isParent) return;
           let style = { color: getColor(item) };
           let txt = '';
           switch (item.audit_status) {
@@ -190,6 +191,7 @@ function FlowModal(props) {
         title: '操作',
         width: '20%',
         render: item =>
+          !item.isParent &&
           item.id != version.id && (
             <a
               onClick={() => {