|
|
|
@ -9,7 +9,7 @@
|
|
|
|
|
>
|
|
|
|
|
<div class="trips-box">
|
|
|
|
|
<div class="item-box">
|
|
|
|
|
<RePick
|
|
|
|
|
<!-- <RePick
|
|
|
|
|
v-model="form.type"
|
|
|
|
|
title="是否关联合同"
|
|
|
|
|
:name="`type`"
|
|
|
|
@ -22,8 +22,17 @@
|
|
|
|
|
isCell
|
|
|
|
|
clearable
|
|
|
|
|
required
|
|
|
|
|
/> -->
|
|
|
|
|
<van-field
|
|
|
|
|
v-model="form.type"
|
|
|
|
|
required
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="disabled"
|
|
|
|
|
:rules="[{ required: true, message: '请输入' }]"
|
|
|
|
|
label="是否关联合同"
|
|
|
|
|
clearable
|
|
|
|
|
input-align="right"
|
|
|
|
|
/>
|
|
|
|
|
|
|
|
|
|
<van-field
|
|
|
|
|
v-model="form.contractNumber"
|
|
|
|
|
required
|
|
|
|
@ -67,7 +76,15 @@
|
|
|
|
|
input-align="right"
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
<RePick
|
|
|
|
|
<van-field
|
|
|
|
|
v-model="form.payMentStatus"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="disabled"
|
|
|
|
|
label="付款状态"
|
|
|
|
|
clearable
|
|
|
|
|
input-align="right"
|
|
|
|
|
/>
|
|
|
|
|
<!-- <RePick
|
|
|
|
|
v-model="form.payMentStatus"
|
|
|
|
|
title="付款状态"
|
|
|
|
|
:name="`payMentStatus`"
|
|
|
|
@ -80,8 +97,16 @@
|
|
|
|
|
isCell
|
|
|
|
|
clearable
|
|
|
|
|
required
|
|
|
|
|
/> -->
|
|
|
|
|
<van-field
|
|
|
|
|
v-model="form.invoiceStatus"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="disabled"
|
|
|
|
|
label="开票状态"
|
|
|
|
|
clearable
|
|
|
|
|
input-align="right"
|
|
|
|
|
/>
|
|
|
|
|
<RePick
|
|
|
|
|
<!-- <RePick
|
|
|
|
|
v-model="form.invoiceStatus"
|
|
|
|
|
title="开票状态"
|
|
|
|
|
:name="`invoiceStatus`"
|
|
|
|
@ -94,7 +119,7 @@
|
|
|
|
|
isCell
|
|
|
|
|
clearable
|
|
|
|
|
required
|
|
|
|
|
/>
|
|
|
|
|
/> -->
|
|
|
|
|
<van-field
|
|
|
|
|
v-model="form.managerPhone"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
@ -288,6 +313,10 @@ export default {
|
|
|
|
|
this.form = {
|
|
|
|
|
...(res.data || {})
|
|
|
|
|
}
|
|
|
|
|
this.form.type = this.form.type == 1 ? '有合同' : '无合同'
|
|
|
|
|
this.form.invoiceStatus = this.form.type == 1 ? '已开票' : '未开票'
|
|
|
|
|
this.form.payMentStatus =
|
|
|
|
|
this.form.payMentStatus == 1 ? '已付款' : '未付款'
|
|
|
|
|
if (this.form.startTime && this.form.endTime) {
|
|
|
|
|
this.form.startEnd = `${dayjs(this.form.startTime).format(
|
|
|
|
|
'YYYY/MM/DD'
|
|
|
|
@ -295,10 +324,11 @@ export default {
|
|
|
|
|
} else {
|
|
|
|
|
this.form.startEnd = ''
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
this.form.reviewTime = this.form.reviewTime
|
|
|
|
|
? `${dayjs(this.form.reviewTime).format('YYYY/MM/DD')}`
|
|
|
|
|
: ''
|
|
|
|
|
if (this.form.paymentPlanDetailDOList[0].planTime) {
|
|
|
|
|
this.form.paymentPlanDetailDOList[0].planTime = dayjs(
|
|
|
|
|
this.form.paymentPlanDetailDOList[0].planTime
|
|
|
|
|
).format('YYYY/MM/DD')
|
|
|
|
|
}
|
|
|
|
|
this.isAuthorised = res.data.isAuthorised
|
|
|
|
|
this.$nextTick(() => {
|
|
|
|
|
this.$refs.BottomBtn.handleFilterBtnList()
|
|
|
|
|