2 Commits 496c714622 ... becb86f785

Author SHA1 Message Date
  lxf becb86f785 Merge branch 'A8账号增加新建订单流程' into 测试 1 year ago
  lxf 9dbb418829 1 1 year ago
1 changed files with 20 additions and 0 deletions
  1. 20 0
      src/views/subsidiary/order/management/index.vue

+ 20 - 0
src/views/subsidiary/order/management/index.vue

@@ -62,6 +62,7 @@
 import byTable from "/src/components/byTable/index";
 import { ElMessage, ElMessageBox } from "element-plus";
 import refreshStore from "/src/store/modules/refresh";
+import { flowStatus } from "/src/utils/flowStatus";
 
 const { proxy } = getCurrentInstance();
 const sourceList = ref({
@@ -135,6 +136,22 @@ const config = computed(() => {
         width: 140,
       },
     },
+    judgeUserA8()
+      ? {
+          attrs: {
+            label: "流程状态",
+            prop: "flowStatus",
+            width: 120,
+          },
+          render(val) {
+            return proxy.dictKeyValue(val, flowStatus());
+          },
+        }
+      : {
+          attrs: {
+            width: 1,
+          },
+        },
     {
       attrs: {
         label: "订单状态",
@@ -532,6 +549,9 @@ const clickSubmitUser = () => {
     }
   });
 };
+const judgeUserA8 = () => {
+  return proxy.useUserStore().user.userId === "1689164615204569090";
+};
 </script>
 
 <style lang="scss" scoped>