evoxwht 2 лет назад
Родитель
Сommit
c9295aa4ec

+ 18 - 17
template/admin/src/pages/marketing/live/add_goods.vue

@@ -106,23 +106,24 @@ export default {
       columns1: [
         { key: 'id', title: '商品ID' },
         { slot: 'img', title: '商品信息' },
-        {
-          key: 'price',
-          title: '直播售价',
-          render: (h, params) => {
-            return h('Input', {
-              props: {
-                type: 'number',
-                value: params.row.price,
-              },
-              on: {
-                input: (val) => {
-                  this.tabList[params.index].price = val;
-                },
-              },
-            });
-          },
-        },
+        { slot: 'price', title: '直播售价' },
+        // {
+        //   key: 'price',
+        //   title: '直播售价',
+        //   render: (h, params) => {
+        //     return h('Input', {
+        //       props: {
+        //         type: 'number',
+        //         value: params.row.price,
+        //       },
+        //       on: {
+        //         input: (val) => {
+        //           this.tabList[params.index].price = val;
+        //         },
+        //       },
+        //     });
+        //   },
+        // },
         // {
         //   key: 'cost_price',
         //   title: '直播原价',

+ 2 - 2
template/admin/src/pages/marketing/live/live_goods.vue

@@ -38,14 +38,14 @@
             <Button v-auth="['setting-system_menus-add']" type="primary" @click="menusAdd('添加直播间')" icon="md-add"
               >添加商品
             </Button>
-            <Button
+            <!-- <Button
               v-auth="['setting-system_menus-add']"
               icon="md-list"
               type="success"
               @click="syncGoods"
               style="margin-left: 20px"
               >同步商品
-            </Button>
+            </Button> -->
           </Col>
         </Row>
       </Form>