Kaynağa Gözat

异常订单调整

lxf 1 yıl önce
ebeveyn
işleme
b4f20653f3
1 değiştirilmiş dosya ile 25 ekleme ve 0 silme
  1. 25 0
      src/views/group/order/abnormal/index.vue

+ 25 - 0
src/views/group/order/abnormal/index.vue

@@ -29,6 +29,7 @@ import { ElMessage, ElMessageBox } from "element-plus";
 
 const { proxy } = getCurrentInstance();
 const departmentList = ref([{ dictKey: "0", dictValue: "胜德体育" }]);
+const exceptionTypeList = ref([]);
 const sourceList = ref({
   data: [],
   pagination: {
@@ -39,6 +40,7 @@ const sourceList = ref({
     code: "",
     wlnCode: "",
     exception: "1",
+    exceptionType: "",
   },
 });
 const loading = ref(false);
@@ -60,6 +62,12 @@ const searchConfig = computed(() => {
       data: departmentList.value,
       label: "事业部",
     },
+    {
+      type: "select",
+      prop: "exceptionType",
+      data: exceptionTypeList.value,
+      label: "异常类型",
+    },
   ];
 });
 const config = computed(() => {
@@ -104,6 +112,13 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "异常时间",
+        prop: "exceptionTime",
+        width: 160,
+      },
+    },
+    {
+      attrs: {
         label: "操作",
         width: 140,
         align: "center",
@@ -155,6 +170,16 @@ const getDemandData = () => {
       );
     }
   });
+  proxy.post("/orderInfo/getExceptionTypeList", {}).then((res) => {
+    if (res && res.length > 0) {
+      exceptionTypeList.value = res.map((item) => {
+        return {
+          dictKey: item.key,
+          dictValue: item.value,
+        };
+      });
+    }
+  });
 };
 getDemandData();
 const getList = async (req, status) => {