瀏覽代碼

Merge branch 'A8账号增加新建订单流程' into 测试

lxf 1 年之前
父節點
當前提交
becb86f785
共有 1 個文件被更改,包括 20 次插入0 次删除
  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>