Kaynağa Gözat

添加自定义code

asd26269546 2 yıl önce
ebeveyn
işleme
ac31cdc678
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  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: "单位",