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

@ -328,12 +328,11 @@
保存
</a-button>
</div>
<a-button
class="order-btn"
size="small"
type="primary"
@click="CopyConsignee"
@click="CopySFT('consignee', 'notifyParty')"
>
复制通知人
</a-button>
@ -431,8 +430,12 @@
保存
</a-button>
</div>
<!-- @click="CopyNotifyparty" -->
<a-button class="order-btn" size="small" type="primary">
<a-button
class="order-btn"
size="small"
type="primary"
@click="CopySFT('notifyParty', 'consignee')"
>
复制收货人
</a-button>
</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) {
console.log(data, type)
portList.value.forEach((item) => {

Loading…
Cancel
Save