Просмотр исходного кода

修改父清单只显示名称

Renxy 2 лет назад
Родитель
Сommit
4391bc9cdd
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/pages/PurchaseAdmin/PurchaseList/Detail/FlowModal.js

+ 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={() => {