|
|
@@ -146,6 +146,57 @@
|
|
|
<el-button type="primary" @click="handleAddSubmit">确定</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog v-model="countShow" width="600" title="开票并结算">
|
|
|
+ <el-form ref="CountForm" :model="countForm" :rules="countRules" label-width="120">
|
|
|
+ <el-form-item prop="invoiceParty" label="开票方">
|
|
|
+ <el-input v-model="countForm.invoiceParty" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="receivableSupervisePremium" label="应收手续费">
|
|
|
+ <el-input v-model="countForm.receivableSupervisePremium" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="overinflatedAmount" label="虚增金额">
|
|
|
+ <el-input v-model="countForm.overinflatedAmount" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="taxPoint" label="税点">
|
|
|
+ <el-input v-model="countForm.taxPoint" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="receivableSupervisePremium" label="应收金额">
|
|
|
+ <el-input v-model="countForm.receivableSupervisePremium" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="actualReceivedAmount" label="是实收金额">
|
|
|
+ <el-input v-model="countForm.actualReceivedAmount" placeholder="请输入"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="receivePaymentDate" label="收款日期">
|
|
|
+ <el-date-picker v-model="countForm.receivePaymentDate" type="datetime" value-format="YYYY-MM-DD HH:mm:ss"
|
|
|
+ format="YYYY-MM-DD HH:mm:ss" />
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item prop="attachmentIds" label="收款凭证" class="upload-btn">
|
|
|
+ <el-upload style="margin: 0 10px 10px 0" :auto-upload="false" multiple v-if="!countForm.h"
|
|
|
+ :show-file-list="false" accept=".png, .jpg, .jpeg" @change="uploadImage" drag>
|
|
|
+ <el-button size="large" icon="Plus" />
|
|
|
+ </el-upload>
|
|
|
+ <div class="imageDiv" v-for="(item, index) in imageUrl" :key="item">
|
|
|
+ <img :src="item" />
|
|
|
+ <div class="model">
|
|
|
+ <span class="icon-view" @click="handelViewImage(item, index)">
|
|
|
+ <el-icon>
|
|
|
+ <View />
|
|
|
+ </el-icon>
|
|
|
+ </span>
|
|
|
+ <span class="icon-del" @click="handelDelImage(item, index)">
|
|
|
+ <el-icon>
|
|
|
+ <Delete />
|
|
|
+ </el-icon>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-form-item>
|
|
|
+ </el-form>
|
|
|
+ <template #footer>
|
|
|
+ <el-button plain @click="handelCancel">取消</el-button>
|
|
|
+ <el-button type="primary" @click="handelComfirm(CountForm)">确定</el-button>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -164,6 +215,8 @@ const multipleSearch = ref('')
|
|
|
const orderTypesearch = ref('')
|
|
|
const yearrangesearch = ref('')
|
|
|
const datesearch = ref('')
|
|
|
+const countShow = ref(false)
|
|
|
+const countForm = ref({})
|
|
|
//获取保险公司协议
|
|
|
const getByCompanyId = () => {
|
|
|
api.dispatchApi.getByCompanyIdt(route.query.id).then((res: any) => {
|
|
|
@@ -321,6 +374,7 @@ const handleBack = () => {
|
|
|
router.back()
|
|
|
}
|
|
|
const handleTicket = () => {
|
|
|
+ countShow.value = true
|
|
|
api.financeApi.invoicingCheck({
|
|
|
incomeIds: selectedList.value.map(v => v.id),
|
|
|
companyId: route.query.id,
|
|
|
@@ -394,6 +448,7 @@ const initCompany = () => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
initData()
|
|
|
initCompany()
|
|
|
@@ -456,4 +511,4 @@ onMounted(() => {
|
|
|
height: 80px;
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|