Răsfoiți Sursa

添加自定义code

asd26269546 2 ani în urmă
părinte
comite
ac31cdc678
1 a modificat fișierele cu 6 adăugiri și 1 ștergeri
  1. 6 1
      src/views/WDLY/basic/product/index.vue

+ 6 - 1
src/views/WDLY/basic/product/index.vue

@@ -392,7 +392,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "产品编码",
-        prop: "code",
+        prop: "customCode",
       },
     },
     {
@@ -573,6 +573,11 @@ const formConfig = computed(() => {
       label: "规格型号",
     },
     {
+      type: "input",
+      prop: "customCode",
+      label: "产品编码",
+    },
+    {
       type: "select",
       prop: "unit",
       label: "单位",