jufubao-admin-library 1.1.159 → 1.1.160
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="
|
|
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 => {
|