3 Commits b8ec22a082 ... f201813310

Author SHA1 Message Date
  peter f201813310 fix: indent创建询价.sku分类搜索. 2 weeks ago
  peter d31f0dd07a style: fix. 2 weeks ago
  peter 2d6fa3cc6d change: indent导出计价.note内容支持换行. 2 weeks ago

+ 1 - 1
src/pages/indent-manage/indent/components/exportQuota2.vue

@@ -298,7 +298,7 @@
         </tr>
         <tr>
           <td colspan="2">
-            <p style="padding-top: 20px">{{ exportForm.notes }}</p>
+            <p style="padding-top: 20px" v-html="exportForm.notes.replace(/\n/g, '<br>')"></p>
           </td>
         </tr>
 

+ 2 - 2
src/pages/indent-manage/indent/components/skuSelect.vue

@@ -170,7 +170,7 @@ const selectSku = (item: any) => {
   close()
 }
 const clickNode = (obj: any) => {
-  currentCategory.value = obj.path
+  currentCategory.value = obj.name
 }
 const getCategory = () => {
   getCategoryTree().then((response: any) => {
@@ -202,7 +202,7 @@ const initAI = () => {
 const getSku = () => {
   loading.value = true
   index.value
-    .search(keywords.value, {
+    .search(currentCategory.value || keywords.value, {
       hitsPerPage: pageForm.value.limit,
       page: pageForm.value.page - 1,
     })