lxf 1 ano atrás
pai
commit
31791aa311
1 arquivos alterados com 27 adições e 0 exclusões
  1. 27 0
      src/views/group/order/after-sale/index.vue

+ 27 - 0
src/views/group/order/after-sale/index.vue

@@ -30,9 +30,20 @@ const sourceList = ref({
     orderCode: "",
     orderWlnCode: "",
     departmentId: "",
+    status: 0,
   },
 });
 const loading = ref(false);
+const status = ref([
+  {
+    dictKey: 0,
+    dictValue: "待质检",
+  },
+  {
+    dictKey: 1,
+    dictValue: "已质检入库",
+  },
+]);
 const searchConfig = computed(() => {
   return [
     {
@@ -56,6 +67,12 @@ const searchConfig = computed(() => {
       data: departmentList.value,
       label: "事业部",
     },
+    {
+      type: "select",
+      prop: "status",
+      data: status.value,
+      label: "质检状态",
+    },
   ];
 });
 const config = computed(() => {
@@ -114,6 +131,16 @@ const config = computed(() => {
     },
     {
       attrs: {
+        label: "质检状态",
+        prop: "status",
+        width: 120,
+      },
+      render(val) {
+        return proxy.dictKeyValue(val, status.value);
+      },
+    },
+    {
+      attrs: {
         label: "操作人",
         prop: "createUserName",
       },