|
|
@@ -14,7 +14,7 @@
|
|
|
<el-option value="signYear" label="年份"></el-option>
|
|
|
<el-option value="signDate" label="月份"></el-option>
|
|
|
</el-select>
|
|
|
- <el-select v-model="item.type" style="margin-right: 20px; width: 150px"
|
|
|
+ <el-select v-model="item.type" style="margin-right: 20px; width: 150px"
|
|
|
@change="val => signDateSelectChange(index, val)">
|
|
|
<el-option value="等于" label="等于"></el-option>
|
|
|
<el-option value="包含" label="包含"></el-option>
|
|
|
@@ -29,9 +29,20 @@
|
|
|
<el-date-picker v-if="item.name == 'signYear'" style="width: 350px" format="YYYY" value-format="YYYY"
|
|
|
v-model="yearrangesearch" type="yearrange" range-separator="-" :disabled="item.type == '为空'"
|
|
|
@change="handlePtlAgreementChange(index, $event)" />
|
|
|
- <el-date-picker v-if="item.name == 'signDate'" style="width: 350px" format="YYYY-MM" value-format="YYYY-MM"
|
|
|
- v-model="item.search" type="month" range-separator="-" :disabled="item.type == '为空'"
|
|
|
- @change="handlePtlAgreementChange(index, $event)" />
|
|
|
+ <el-select v-if="item.name == 'signDate'" v-model="item.search" style="width: 350px">
|
|
|
+ <el-option value="1" label="1月"></el-option>
|
|
|
+ <el-option value="2" label="2月"></el-option>
|
|
|
+ <el-option value="3" label="3月"></el-option>
|
|
|
+ <el-option value="4" label="4月"></el-option>
|
|
|
+ <el-option value="5" label="5月"></el-option>
|
|
|
+ <el-option value="6" label="6月"></el-option>
|
|
|
+ <el-option value="7" label="7月"></el-option>
|
|
|
+ <el-option value="8" label="8月"></el-option>
|
|
|
+ <el-option value="9" label="9月"></el-option>
|
|
|
+ <el-option value="10" label="10月"></el-option>
|
|
|
+ <el-option value="11" label="11月"></el-option>
|
|
|
+ <el-option value="12" label="12月"></el-option>
|
|
|
+ </el-select>
|
|
|
</div>
|
|
|
<el-button type="primary" class="w-88px" @click="initData">搜索</el-button>
|
|
|
|
|
|
@@ -62,8 +73,10 @@
|
|
|
</el-table>
|
|
|
<div class="footer">
|
|
|
<el-button plain @click="router.back()">取消</el-button>
|
|
|
- <el-button plain type="primary" :disabled="selectedList.some(item => item.receivablePremium <= 0)" @click="handleTicket(true)">开票并结算</el-button>
|
|
|
- <el-button type="primary" :disabled="selectedList.some(item => item.receivablePremium <= 0)" @click="handleTicket(false)">开票</el-button>
|
|
|
+ <el-button plain type="primary" :disabled="selectedList.some(item => item.receivablePremium <= 0)"
|
|
|
+ @click="handleTicket(true)">开票并结算</el-button>
|
|
|
+ <el-button type="primary" :disabled="selectedList.some(item => item.receivablePremium <= 0)"
|
|
|
+ @click="handleTicket(false)">开票</el-button>
|
|
|
</div>
|
|
|
<el-dialog :close-on-click-modal="false" v-model="countShow" width="600" :title="isSettlement ? '开票并结算' : '开票'">
|
|
|
<el-form ref="CountForm" :model="countForm" :rules="countRules" label-width="120">
|
|
|
@@ -93,9 +106,8 @@
|
|
|
<el-input v-model="countForm.paymentReason" placeholder="请输入"></el-input>
|
|
|
</el-form-item> -->
|
|
|
<el-form-item v-if="isSettlement" prop="actualReceivedAmount" label="实收金额">
|
|
|
- <el-input-number v-model="countForm.actualReceivedAmount" style="width: 100%;" :min="0"
|
|
|
- :precision="2" controls-position="right"
|
|
|
- @change="handleChange" />
|
|
|
+ <el-input-number v-model="countForm.actualReceivedAmount" style="width: 100%;" :min="0" :precision="2"
|
|
|
+ controls-position="right" @change="handleChange" />
|
|
|
</el-form-item>
|
|
|
<el-form-item v-if="isSettlement" prop="settlementPaymentDifference" label="回款差额">
|
|
|
<el-input v-model="countForm.settlementPaymentDifference" disabled></el-input>
|
|
|
@@ -204,7 +216,7 @@ const selCompanyId = ref('')
|
|
|
const handleSelection = (val: any) => {
|
|
|
console.log(val)
|
|
|
if (val.length) selCompanyId.value = val[0].partnerCompanyId
|
|
|
- if (!val.length){
|
|
|
+ if (!val.length) {
|
|
|
|
|
|
} selCompanyId.value = ''
|
|
|
selectedList.value = val
|