|
|
@@ -1,6 +1,6 @@
|
|
|
<!-- 订单管理-我的履约-修改联络信息 -->
|
|
|
<template>
|
|
|
- <app-drawer title="修改联络信息" width="80%" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
+ <app-drawer title="修改联络信息" :width="800" v-model:show="show" :loading="loading" :refresh="refresh">
|
|
|
<el-form ref="formRef" class="el-form--horizontal" label-width="80px" :model="formData" :rules="formRules">
|
|
|
<el-form-item label="履约计划">
|
|
|
<span>{{ handleNoneValue(selectedRow.curstepid) }}</span>
|
|
|
@@ -8,7 +8,7 @@
|
|
|
<el-form-item label="联络信息">
|
|
|
<el-input type="textarea" :rows="3" v-model="Contract" />
|
|
|
</el-form-item>
|
|
|
- <template v-if="code === 'order_buy_edit'">
|
|
|
+ <template v-if="selectedRow.buyorsell === 0">
|
|
|
<el-form-item label="收货地址">
|
|
|
<div class="el-form-item--col">
|
|
|
<el-input type="textarea" :rows="2" v-model="Receive" />
|
|
|
@@ -162,8 +162,8 @@ const onSubmit = () => {
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
- switch (props.code) {
|
|
|
- case 'order_buy_edit':
|
|
|
+ switch (props.selectedRow.buyorsell) {
|
|
|
+ case 0:
|
|
|
if (props.selectedRow.buyerinfo) {
|
|
|
const res = JSON.parse(props.selectedRow.buyerinfo)
|
|
|
Contract.value = res.ContactInfo
|
|
|
@@ -171,7 +171,7 @@ onMounted(() => {
|
|
|
Receipt .value= res.ReceiptInfo
|
|
|
}
|
|
|
break
|
|
|
- case 'order_sell_edit':
|
|
|
+ case 1:
|
|
|
if (props.selectedRow.sellerinfo) {
|
|
|
const res = JSON.parse(props.selectedRow.sellerinfo)
|
|
|
Contract.value = res.ContactInfo
|