商品编码

main
fanfan 2 months ago
parent 8be703d0eb
commit da71d982e1
  1. 22
      src/views/goods/modules/Update.vue

@ -84,13 +84,13 @@
</a-form-item>
<a-form-item label="商品来源" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-radio-group v-decorator="['goods_source', { initialValue: 0, rules: [{ required: true }] }]">
<a-radio value="GC">工厂</a-radio>
<a-radio value="CC">仓储</a-radio>
<a-radio value="ZC">自采</a-radio>
<a-radio value="JD">京东</a-radio>
<a-radio value="SN">苏宁</a-radio>
<a-radio value="TM">天猫</a-radio>
<a-radio value="PF">批发平台</a-radio>
<a-radio value="GC">工厂</a-radio>
<a-radio value="CC">仓储</a-radio>
<a-radio value="ZC">自采</a-radio>
<a-radio value="JD">京东</a-radio>
<a-radio value="SN">苏宁</a-radio>
<a-radio value="TM">天猫</a-radio>
<a-radio value="PF">批发平台</a-radio>
</a-radio-group>
</a-form-item>
<a-form-item label="发货时效" :labelCol="labelCol" :wrapperCol="wrapperCol">
@ -422,7 +422,12 @@
</a-form-item>
<div>
<a-divider orientation="left">销售区域</a-divider>
<a-form-item label="销售区域" :labelCol="labelCol" extra="默认是全国,指定供货区域请点击添加销售区域" :wrapperCol="{ span: 15 }">
<a-form-item
label="销售区域"
:labelCol="labelCol"
extra="默认是全国,指定供货区域请点击添加销售区域"
:wrapperCol="{ span: 15 }"
>
<a-table
v-show="ruleList.length"
class="table-rules"
@ -678,6 +683,7 @@ export default {
this.formData.goods.goods_name = result.data.name
this.formData.goods.content = result.data.content
this.formData.goods.goods_price = result.data.proxyPrice
this.formData.goods.cmmdty_model = result.data.model
this.form.setFieldsValue(this.formData.goods)
this.isLoading = false
})

Loading…
Cancel
Save