jufubao-admin-library 1.1.159 → 1.1.161

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,7 +110,10 @@
110
110
  width="460px"
111
111
  @onConfirm="handlePublicSet"
112
112
  >
113
- <el-form ref="setForm" :model="setForm" :rules="setRules" label-width="80px">
113
+ <el-form ref="setForm" :model="setForm" :rules="setRules" label-width="120px">
114
+ <el-form-item prop="product_name" label="商品名称">
115
+ {{ dialogRow['product_name'] }}
116
+ </el-form-item>
114
117
  <el-form-item prop="public" label="是否公开">
115
118
  <el-radio-group v-model="setForm.public">
116
119
  <el-radio
@@ -128,6 +131,9 @@
128
131
  <el-checkbox v-for="(item,index) in tagData" :label="item.value" :key="index">{{item.label}}</el-checkbox>
129
132
  </el-checkbox-group>
130
133
  </el-form-item>
134
+ <el-form-item prop="spider_url" label="产品来源地址">
135
+ <el-input v-model="setForm.spider_url" placeholder="请输入"></el-input>
136
+ </el-form-item>
131
137
  </el-form>
132
138
  </xd-dialog>
133
139
  <xd-dialog :show.sync="showOpen" title="发票名称设置" width="600px" @onConfirm="handleOpenConfirm">
@@ -209,6 +215,7 @@ export default {
209
215
  setForm: {
210
216
  public: 'mall',
211
217
  partner_product_tags:['mall'],
218
+ spider_url:''
212
219
  },
213
220
  tagData:[],
214
221
  showOpen: false,
@@ -401,6 +408,7 @@ export default {
401
408
  this.is_allow_public_product = info.data['entity']['is_allow_public_product']
402
409
  this.setForm.partner_product_tags = info.data['entity']['partner_product_tags']
403
410
  this.setForm.public = info.data['entity']['is_public']
411
+ this.setForm.spider_url = info.data['entity']['spider_url']
404
412
  this.showPublicSet = true
405
413
  }
406
414
  //开票设置
@@ -851,6 +859,7 @@ export default {
851
859
  entity: {
852
860
  is_public: this.setForm.public,
853
861
  partner_product_tags:this.setForm.partner_product_tags,
862
+ spider_url:this.setForm.spider_url,
854
863
  }
855
864
  }).then(res => {
856
865
  console.log(res)
@@ -860,6 +869,7 @@ export default {
860
869
  })
861
870
  this.showPublicSet = false
862
871
  this.setForm.public = 'Y'
872
+ this.setForm.spider_url = ''
863
873
  this.handleDialogSuccess()
864
874
  loading.close()
865
875
  }).catch(err => {
@@ -141,6 +141,7 @@
141
141
  uiSkusHeaders(){
142
142
  let purchase_price_name = this.$setting['system'] === 'supplier' ? '供货商' :this.$setting['system'] === 'open-dist' ?'分销价':'进货价';
143
143
  return [
144
+ {"type": "normal", "prop": "product_sku", "align": "center", "min-width": 200, "label": "规格ID"},
144
145
  {"type": "normal", "prop": "stands", "align": "left", "min-width": 200, "label": "规格"},
145
146
  this.isShowPurchasePrice && {"type": "price", "prop": "purchase_price", "align": "center", "min-width": 80, "label": purchase_price_name},
146
147
  {"type": "price", "prop": "jfb_price", "align": "center", "min-width": 80, "label": "建议零售价"},
@@ -181,7 +182,7 @@
181
182
  getTableDataFromResponseData(data = []) {
182
183
  let list = this.$xdHelper.cloneDeep(data);
183
184
  return list.map((item) => {
184
- let {specs, stocks, sku_uniq_id, standards} = item;
185
+ let {specs, stocks, sku_uniq_id, standards,product_sku} = item;
185
186
  let imgStandIndex = standards.findIndex((ss) => ss.image);
186
187
  if (imgStandIndex > -1) {
187
188
  let imgUrl = standards[imgStandIndex].image;
@@ -215,6 +216,7 @@
215
216
  ...specs,
216
217
  ...stocks,
217
218
  sku_uniq_id,
219
+ product_sku,
218
220
  standards,
219
221
  };
220
222
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-admin-library",
3
- "version": "1.1.159",
3
+ "version": "1.1.161",
4
4
  "description": "聚福宝福利后台管理系统公共模块",
5
5
  "author": "goashiyong <gaoshiyong1272@vip.163.com>",
6
6
  "scripts": {