szh-new
张同海 5 months ago
parent 2db0d5475b
commit 4783f582b6

@ -328,12 +328,11 @@
保存 保存
</a-button> </a-button>
</div> </div>
<a-button <a-button
class="order-btn" class="order-btn"
size="small" size="small"
type="primary" type="primary"
@click="CopyConsignee" @click="CopySFT('consignee', 'notifyParty')"
> >
复制通知人 复制通知人
</a-button> </a-button>
@ -431,8 +430,12 @@
保存 保存
</a-button> </a-button>
</div> </div>
<!-- @click="CopyNotifyparty" --> <a-button
<a-button class="order-btn" size="small" type="primary"> class="order-btn"
size="small"
type="primary"
@click="CopySFT('notifyParty', 'consignee')"
>
复制收货人 复制收货人
</a-button> </a-button>
</div> </div>
@ -1328,7 +1331,13 @@
} }
}) })
} }
function CopyConsignee() {} function CopySFT(type, Ctype) {
formState.value[`${type}Name`] = formState.value[`${Ctype}Name`]
formState.value[`${type}Address`] = formState.value[`${Ctype}Address`]
formState.value[`${type}Country`] = formState.value[`${Ctype}Country`]
formState.value[`${type}CountryName`] = formState.value[`${Ctype}CountryName`]
formState.value[`${type}CountryTel`] = formState.value[`${Ctype}CountryTel`]
}
function PortChange(data, type) { function PortChange(data, type) {
console.log(data, type) console.log(data, type)
portList.value.forEach((item) => { portList.value.forEach((item) => {

Loading…
Cancel
Save