|
@@ -87,6 +87,12 @@
|
|
|
<a-input style="width:100%" type="text" v-model="record.smallPo" @change="changeSmallPo(record)"/>
|
|
|
</a-form-model-item>
|
|
|
</template>
|
|
|
+ <!-- 分销点 -->
|
|
|
+ <template slot="distributionPoint" slot-scope="text, record, index">
|
|
|
+ <a-form-model-item prop="distributionPoint">
|
|
|
+ <a-input style="width:100%" type="text" v-model="record.distributionPoint" @change="changeDistributionPoint(record)"/>
|
|
|
+ </a-form-model-item>
|
|
|
+ </template>
|
|
|
<!-- 运输方式 -->
|
|
|
<template slot="typeOfShipping" slot-scope="text, record, index">
|
|
|
<a-form-model-item prop="typeOfShipping">
|
|
@@ -375,6 +381,7 @@ export default {
|
|
|
width: 110,
|
|
|
className: 'replacecolor',
|
|
|
ellipsis: true,
|
|
|
+ scopedSlots: { customRender: 'distributionPoint' },
|
|
|
},
|
|
|
{
|
|
|
title: '存货编码',
|
|
@@ -842,6 +849,12 @@ export default {
|
|
|
item.smallPo = record.smallPo
|
|
|
})
|
|
|
},
|
|
|
+ // 修改分销点
|
|
|
+ changeDistributionPoint(record){
|
|
|
+ this.syShippingDetailsItemList.map(item=>{
|
|
|
+ item.distributionPoint = record.distributionPoint
|
|
|
+ })
|
|
|
+ },
|
|
|
changeTypeOfShipping(record){
|
|
|
this.syShippingDetailsItemList.map(item=>{
|
|
|
item.typeOfShipping = record.typeOfShipping
|