Browse Source

fix(bugs): 修改对应文案

tangning 3 years ago
parent
commit
1aa7ae0fc4

+ 3 - 0
src/views/order/confirmModal.vue

@@ -45,6 +45,9 @@
           label: '快递单号',
           component: 'Input',
           required: true,
+          componentProps: {
+            maxLength: 100,
+          },
         },
       ];
       const [registerForm, { validate, resetFields }] = useForm({

+ 1 - 1
src/views/order/list.vue

@@ -2,7 +2,7 @@
   <div class="p-4">
     <BasicTable @register="registerTable" :rowSelection="{ type: 'checkbox' }">
       <template #toolbar>
-        <a-button type="primary" @click="exportExcel"> 导出</a-button>
+        <!-- <a-button type="primary" @click="exportExcel"> 导出</a-button> -->
       </template>
       <template #cover="{ record }">
         <TableImg :size="150" :simpleShow="true" :imgList="[record.cover]" />

+ 3 - 2
src/views/product/goodsSpecs.vue

@@ -199,6 +199,7 @@
         if (props.editdata.guigeArr) {
           let guigeArr = JSON.parse(props.editdata.guigeArr);
           guigeArr.map((ele, index) => {
+            console.log('ele', ele);
             if (index == 0) {
               if (ele.val.length == 1) {
                 //不需要新增form item 可直接赋值
@@ -351,8 +352,8 @@
           });
           console.log('ggList', val, specsObj.value);
           let item = {
-            name: name,
-            specificationId: specsObj.value[name],
+            name: specsObj.value[name],
+            specificationId: name,
             val,
           };
           goodsSpecificationList.push(item);

+ 3 - 3
src/views/product/ref.vue

@@ -2,7 +2,7 @@
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button type="primary" @click="handleCreate"> 新增商品分类</a-button>
+        <a-button type="primary" @click="handleCreate"> 新增商品属性</a-button>
       </template>
       <template #action="{ record, column }">
         <TableAction :actions="createActions(record, column)" />
@@ -71,7 +71,7 @@
       ];
 
       const [registerTable, { expandAll, reload, collapseAll }] = useTable({
-        title: '商品分类',
+        title: '商品属性',
         api: attributeListApi,
         columns: columns,
         useSearchForm: true,
@@ -104,7 +104,7 @@
         },
         actionColumn: {
           width: 160,
-          title: 'Action',
+          title: '操作',
           dataIndex: 'action',
           slots: { customRender: 'action' },
         },