|
|
|
@ -77,10 +77,12 @@
|
|
|
|
|
<el-input v-model="formInfo.brand" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="一口价"> |
|
|
|
|
<!-- <el-form-item label="一口价"> |
|
|
|
|
<el-input v-model="formInfo.fixedPrice" /> |
|
|
|
|
</el-form-item> --> |
|
|
|
|
<el-form-item label="发货单位"> |
|
|
|
|
<el-input v-model="formInfo.forwardingUnitName" /> |
|
|
|
|
</el-form-item> |
|
|
|
|
|
|
|
|
|
<el-form-item label="品类"> |
|
|
|
|
<el-input v-model="formInfo.categoryName" /> |
|
|
|
|
</el-form-item> |
|
|
|
@ -451,7 +453,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '发货单位', |
|
|
|
|
prop: 'name', |
|
|
|
|
prop: 'forwardingUnitName', |
|
|
|
|
type: 'input', |
|
|
|
|
width: '150px', |
|
|
|
|
span: 12, |
|
|
|
@ -524,7 +526,7 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
label: '品类', |
|
|
|
|
prop: 'brandName', |
|
|
|
|
prop: 'categoryName', |
|
|
|
|
type: 'select', |
|
|
|
|
search: false, |
|
|
|
|
dicData: [], |
|
|
|
@ -732,8 +734,9 @@ export default {
|
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
// 上传成功 |
|
|
|
|
doubledCountSuce(res) { |
|
|
|
|
popmsg(res); |
|
|
|
|
async doubledCountSuce(res) { |
|
|
|
|
await popmsg(res); |
|
|
|
|
this.onLoad(this.page); |
|
|
|
|
}, |
|
|
|
|
uploadAfter(res, done, loading, column) { |
|
|
|
|
console.log('121221'); |
|
|
|
@ -897,6 +900,7 @@ export default {
|
|
|
|
|
this.formInfo.categoryName = this.form.categoryName ? this.form.categoryName : '暂无'; //品类 |
|
|
|
|
this.formInfo.effectiveTime = this.form.effectiveTime ? this.form.effectiveTime : '暂无'; //生效时间 |
|
|
|
|
this.formInfo.expirationTime = this.form.expirationTime ? this.form.expirationTime : '暂无'; //截止时间 |
|
|
|
|
this.formInfo.forwardingUnitName= this.form.forwardingUnitName ? this.form.forwardingUnitName : '暂无'; |
|
|
|
|
this.formInfo.brand = this.form.brandName ? this.form.brandName : '暂无'; //品牌 |
|
|
|
|
this.formInfo.details = res.data.data.details |
|
|
|
|
? res.data.data.details.map(res => res.typeName).join(',') |
|
|
|
@ -912,7 +916,7 @@ export default {
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
this.formInfo.details= [...new Set( this.formInfo.details.split(','))];;//服务类型去重 |
|
|
|
|
this.enrichDictionaryWithCosts(this.groundlineZd, this.groundlineInfo, 'itemName'); |
|
|
|
|
this.enrichDictionaryWithCosts(this.DeliveryZd, this.DeliveryInfo, 'itemName'); |
|
|
|
|
this.enrichDictionaryWithCosts(this.warehouseZd, this.warehouseInfo, 'itemName'); |
|
|
|
|