删除字段

main
陈伟 12 months ago
parent 32a3e38687
commit fe6c56862a
  1. 5
      src/common/model/goods/MultiSpec.js
  2. 6
      src/views/dataCenter/goods/modules/MultiSpec.vue

@ -16,12 +16,12 @@ const defaultColumns = [
width: 120, width: 120,
scopedSlots: { customRender: 'select_goods' } scopedSlots: { customRender: 'select_goods' }
}, },
{ /* {
title: '商品名称', title: '商品名称',
dataIndex: 'goods_name', dataIndex: 'goods_name',
width: 120, width: 120,
scopedSlots: { customRender: 'goods_name' } scopedSlots: { customRender: 'goods_name' }
}, }, */
{ {
title: '商品价格', title: '商品价格',
dataIndex: 'goods_price', dataIndex: 'goods_price',
@ -73,7 +73,6 @@ const defaultSkuItemData = {
image: {}, image: {},
// imageList: [], // imageList: [],
goods_id: '', goods_id: '',
goods_name: '',
goods_price: '', goods_price: '',
line_price: '', line_price: '',
cost_price: '', cost_price: '',

@ -104,9 +104,9 @@
<SelectGoods :multiple="false" @change="handleSelectGoods($event, item)" /> <SelectGoods :multiple="false" @change="handleSelectGoods($event, item)" />
</template> </template>
<!-- 商品名称 --> <!-- 商品名称 -->
<template slot="goods_name" slot-scope="text, item"> <!-- <template slot="goods_name" slot-scope="text, item">
{{ item.goods_name }} {{ item.goods_name }}
</template> </template> -->
<!-- 商品价格 --> <!-- 商品价格 -->
<template slot="goods_price" slot-scope="text, item"> <template slot="goods_price" slot-scope="text, item">
{{ item.goods_price }} {{ item.goods_price }}
@ -297,7 +297,7 @@ export default {
item.stock_num = sku.stock_num item.stock_num = sku.stock_num
item.goods_weight = sku.goods_weight item.goods_weight = sku.goods_weight
item.goods_sku_no = sku.goods_sku_no item.goods_sku_no = sku.goods_sku_no
item.goods_name = res.goods_name // item.goods_name = res.goods_name
item.goods_id = res.goods_id item.goods_id = res.goods_id
}) })
}, },

Loading…
Cancel
Save