yuansh 1 napja
szülő
commit
ecac7625b2

+ 1 - 1
src/views/BasicData/components/productCassificationModel.vue

@@ -41,7 +41,7 @@
               res.result.records.forEach(element => {
                   var obj = {
                     label: element.name,
-                    value: element.name
+                    value: element.id
                   };
                   option.push(obj)
               });  

+ 2 - 2
src/views/BasicData/productCassification.vue

@@ -49,7 +49,7 @@
     },
     {
       title: '上级分类(parent)',
-      dataIndex: 'parentId',
+      dataIndex: 'parentId_dictText',
       key: 'parentId',
     },
     {
@@ -150,4 +150,4 @@
     async function batchHandleDelete() {
      await batchDelete({ids: selectedRowKeys.value}, handleSuccess);
    }
-</script>
+</script>