add
This commit is contained in:
parent
5faf914fde
commit
3c5db877b6
@ -42,16 +42,16 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||
<el-table-column label="开票编号" prop="invoicing_code" show-overflow-tooltip />
|
||||
<el-table-column label="开票公司" prop="invoicing_company_name" show-overflow-tooltip />
|
||||
<el-table-column label="开票日期" prop="invoicing_date" show-overflow-tooltip />
|
||||
<el-table-column label="期次" prop="period" show-overflow-tooltip />
|
||||
<el-table-column label="发票类型" prop="invoice_type" show-overflow-tooltip />
|
||||
<el-table-column label="开票金额(含税)" prop="invoicing_amount" show-overflow-tooltip />
|
||||
<el-table-column label="开票金额(非税)" prop="amount_including_tax" show-overflow-tooltip />
|
||||
<el-table-column label="开票金额(含税)" prop="invoicing_amount" show-overflow-tooltip width="120" />
|
||||
<el-table-column label="开票金额(非税)" prop="amount_including_tax" show-overflow-tooltip width="120" />
|
||||
<el-table-column label="税率(%)" prop="tax_rate" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="160" fixed="right" align="center">
|
||||
<template #default="{ row }">
|
||||
|
@ -37,7 +37,7 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="账户编码" prop="account_sn" show-overflow-tooltip />
|
||||
<el-table-column label="账户编码" prop="account_sn" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="开户银行" prop="deposit_bank" show-overflow-tooltip />
|
||||
<el-table-column label="开户名称" prop="account_name" show-overflow-tooltip />
|
||||
<el-table-column label="账号" prop="account" show-overflow-tooltip />
|
||||
|
@ -17,8 +17,7 @@
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="resetPage">查询</el-button>
|
||||
<el-button @click="resetParams">重置</el-button>
|
||||
<export-data class="ml-2.5" :fetch-fun="bidapplyLists" :params="queryParams"
|
||||
:page-size="pager.size" />
|
||||
<export-data class="ml-2.5" :fetch-fun="bidapplyLists" :params="queryParams" :page-size="pager.size" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-card>
|
||||
@ -29,8 +28,7 @@
|
||||
</template>
|
||||
新增
|
||||
</el-button>
|
||||
<el-button v-perms="['refund.refund/delete']" :disabled="!selectData.length"
|
||||
@click="handleDelete(selectData)">
|
||||
<el-button v-perms="['refund.refund/delete']" :disabled="!selectData.length" @click="handleDelete(selectData)">
|
||||
删除
|
||||
</el-button>
|
||||
|
||||
@ -38,9 +36,9 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="投标编号" prop="security_apply_code" show-overflow-tooltip />
|
||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="投标编号" prop="security_apply_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="客户名称" prop="custom_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="投标时间" prop="bidding_time" show-overflow-tooltip />
|
||||
<el-table-column label="预计退还时间" prop="refund_date" show-overflow-tooltip />
|
||||
<el-table-column label="保证金金额" prop="margin_amount" show-overflow-tooltip />
|
||||
@ -54,8 +52,7 @@
|
||||
<el-button v-perms="['refund.refund/edit']" type="primary" link @click="handleEdit(row)">
|
||||
编辑
|
||||
</el-button>
|
||||
<el-button v-perms="['refund.refund/delete']" type="danger" link
|
||||
@click="handleDelete(row.id)">
|
||||
<el-button v-perms="['refund.refund/delete']" type="danger" link @click="handleDelete(row.id)">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button v-perms="['refund.refund/detail']" link @click="handledetail(row)">
|
||||
|
@ -15,18 +15,18 @@
|
||||
</el-form>
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" :default-sort="{ prop: 'create_time', order: 'descending' }">
|
||||
<el-table-column label="合同编号" :width="250" prop="contract_code" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目编号" prop="project_code" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目编号" prop="project_code" align="center" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="客户名称" prop="custom_name" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="签订日期" prop="contract_date" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已回款金额" prop="has_refund_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已开票金额" prop="has_invoice_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="开票未回款金额" prop="has_invoice_not_refund_amount" align="center"
|
||||
<el-table-column label="开票未回款金额" prop="has_invoice_not_refund_amount" align="center" width="140px"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="回款未开票金额" prop="has_refund_not_invoice_amount" align="center"
|
||||
<el-table-column label="回款未开票金额" prop="has_refund_not_invoice_amount" align="center" width="140px"
|
||||
show-overflow-tooltip />
|
||||
</el-table>
|
||||
</div>
|
||||
|
@ -42,10 +42,10 @@
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
|
||||
<el-table-column label="付款单号" prop="payment_apply_code" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="付款单号" prop="payment_apply_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="付款日期" prop="pay_date" show-overflow-tooltip />
|
||||
<el-table-column label="付款金额" prop="amount" show-overflow-tooltip />
|
||||
<el-table-column label="付款方式" prop="pay_type_text" show-overflow-tooltip />
|
||||
|
@ -34,9 +34,9 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="计划付款日期" prop="pay_date" show-overflow-tooltip />
|
||||
<el-table-column label="金额" prop="amount" show-overflow-tooltip />
|
||||
<el-table-column label="期次" prop="period_text" show-overflow-tooltip />
|
||||
|
@ -37,19 +37,19 @@
|
||||
</el-button>
|
||||
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange" ref="table">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="收票日期" prop="receipt_date" show-overflow-tooltip />
|
||||
<el-table-column label="开票日期" prop="invoicing_date" show-overflow-tooltip />
|
||||
<el-table-column label="提交人" prop="commitor" show-overflow-tooltip />
|
||||
<el-table-column label="发票税率" prop="invoice_tax_rate_text" show-overflow-tooltip />
|
||||
<el-table-column label="发票金额" prop="invoice_amount" show-overflow-tooltip />
|
||||
<el-table-column label="不含税金额" prop="amount_excluding_tax" show-overflow-tooltip />
|
||||
<el-table-column label="不含税金额" prop="amount_excluding_tax" show-overflow-tooltip width="120" />
|
||||
<el-table-column label="税额" prop="tax_amount" show-overflow-tooltip />
|
||||
<el-table-column label="发票类型" prop="invoice_type_text" show-overflow-tooltip />
|
||||
<el-table-column label="发票编号" prop="invoice_no" show-overflow-tooltip />
|
||||
@ -160,6 +160,17 @@ const handledetail = async (data: any) => {
|
||||
}
|
||||
|
||||
|
||||
|
||||
const table = ref('')
|
||||
|
||||
setTimeout(() => {
|
||||
table.value.doLayout()
|
||||
|
||||
console.log(table.value)
|
||||
console.log("出发了")
|
||||
}, 3000);
|
||||
|
||||
|
||||
if (route.query?.listId) {
|
||||
handledetail({ id: route.query.listId })
|
||||
}
|
||||
|
@ -35,10 +35,10 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="供应商编码" prop="supplier_code" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商编码" prop="supplier_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同类型" prop="contract_type_text" show-overflow-tooltip />
|
||||
<el-table-column label="退款日期" prop="refund_date" show-overflow-tooltip />
|
||||
<el-table-column label="退款金额" prop="refund_amount" show-overflow-tooltip />
|
||||
|
@ -15,19 +15,19 @@
|
||||
</el-form>
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" :default-sort="{ prop: 'create_time', order: 'descending' }">
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商编号" :width="250" prop="supplier_code" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="项目编号" prop="project_code" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="签订日期" prop="signing_date" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_payment_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已收票金额" prop="has_receipt_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已收票未付款金额" prop="has_receipt_not_payment_amount" align="center"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="已付款未收票金额" prop="has_payment_not_receipt_amount" align="center"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商编号" prop="supplier_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目编号" prop="project_code" show-overflow-tooltip />
|
||||
<el-table-column label="签订日期" prop="signing_date" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_payment_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已收票金额" prop="has_receipt_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已收票未付款金额" prop="has_receipt_not_payment_amount" show-overflow-tooltip
|
||||
width="140" />
|
||||
<el-table-column label="已付款未收票金额" prop="has_payment_not_receipt_amount" show-overflow-tooltip
|
||||
width="140" />
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="flex justify-end mt-4">
|
||||
|
@ -35,20 +35,20 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
|
||||
<el-table-column label="签订日期" prop="signing_date" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_pay_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已开票金额" prop="has_invoice_amount" show-overflow-tooltip />
|
||||
<el-table-column label="未付款金额" prop="not_pay_amount" show-overflow-tooltip />
|
||||
<el-table-column label="未开票金额" prop="not_invoice_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_pay_amount" width="100" />
|
||||
<el-table-column label="已开票金额" prop="has_invoice_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="未付款金额" prop="not_pay_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="未开票金额" prop="not_invoice_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="退款金额" prop="refund_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已入库数量" prop="has_storage_num" show-overflow-tooltip />
|
||||
<el-table-column label="未入库数量" prop="not_storage_num" show-overflow-tooltip />
|
||||
<el-table-column label="已入库数量" prop="has_storage_num" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="未入库数量" prop="not_storage_num" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="数量" prop="num" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="160" fixed="right">
|
||||
<template #default="{ row }">
|
||||
@ -60,8 +60,7 @@
|
||||
@click="handleDelete(row.id)">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button v-perms="['contract.procurement_contract/detail']" link
|
||||
@click="handleDetail(row)">
|
||||
<el-button v-perms="['contract.procurement_contract/detail']" link @click="handleDetail(row)">
|
||||
详情
|
||||
</el-button>
|
||||
</template>
|
||||
|
@ -28,10 +28,10 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同类型" prop="contract_type_text" show-overflow-tooltip />
|
||||
<el-table-column label="税率" prop="tax_rate_text" show-overflow-tooltip />
|
||||
<el-table-column label="材料小类" prop="material_three_level" show-overflow-tooltip />
|
||||
|
@ -34,9 +34,9 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_code" show-overflow-tooltip />
|
||||
<el-table-column label="客户名称" prop="custom_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="日期" prop="return_date" show-overflow-tooltip />
|
||||
<el-table-column label="期次" prop="period" show-overflow-tooltip />
|
||||
<el-table-column label="金额" prop="amount" show-overflow-tooltip />
|
||||
|
@ -36,10 +36,10 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="退款单号" prop="refund_code" show-overflow-tooltip />
|
||||
<el-table-column label="退款单号" prop="refund_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_code" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="退款原因" prop="reason" show-overflow-tooltip />
|
||||
<el-table-column label="退款日期" prop="refund_date" show-overflow-tooltip />
|
||||
<el-table-column label="退款金额" prop="amount" show-overflow-tooltip />
|
||||
|
@ -33,8 +33,7 @@
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="投标编号" prop="bidding_decision_code" show-overflow-tooltip />
|
||||
<el-table-column label="投标编号" prop="bidding_decision_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目编码" prop="project_code" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
|
@ -63,8 +63,8 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="客户名称" prop="custom_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
|
||||
<el-table-column label="期次" prop="period" show-overflow-tooltip />
|
||||
|
@ -15,19 +15,19 @@
|
||||
</el-form>
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" :default-sort="{ prop: 'create_time', order: 'descending' }">
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商编号" :width="250" prop="supplier_code" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="项目编号" prop="project_code" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="签订日期" prop="signing_date" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_payment_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已收票金额" prop="has_receipt_amount" align="center" show-overflow-tooltip />
|
||||
<el-table-column label="已收票未付款金额" prop="has_receipt_not_payment_amount" align="center"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="已付款未收票金额" prop="has_payment_not_receipt_amount" align="center"
|
||||
show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商编号" prop="supplier_code" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目编号" prop="project_code" show-overflow-tooltip />
|
||||
<el-table-column label="签订日期" prop="signing_date" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_payment_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已收票金额" prop="has_receipt_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已收票未付款金额" prop="has_receipt_not_payment_amount" show-overflow-tooltip
|
||||
width="140" />
|
||||
<el-table-column label="已付款未收票金额" prop="has_payment_not_receipt_amount" show-overflow-tooltip
|
||||
width="140" />
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="flex justify-end mt-4">
|
||||
|
@ -34,21 +34,21 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<!-- <el-table-column type="selection" width="55" /> -->
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="签订日期" prop="signing_date" show-overflow-tooltip />
|
||||
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
|
||||
<el-table-column label="合同金额" prop="contract_amount" show-overflow-tooltip />
|
||||
<el-table-column label="洽商金额" prop="negotiation_amount" show-overflow-tooltip />
|
||||
<el-table-column label="不含税金额" prop="excluding_tax_amount" show-overflow-tooltip />
|
||||
<el-table-column label="实际合同金额" prop="reality_contract_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已付款金额" prop="has_pay_amount" show-overflow-tooltip />
|
||||
<el-table-column label="未付款金额" prop="not_pay_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已开票金额" prop="invoice_amount" show-overflow-tooltip />
|
||||
<el-table-column label="未开票金额" prop="not_invoice_amount" show-overflow-tooltip />
|
||||
<el-table-column label="已退款金额" prop="refund_amount" show-overflow-tooltip />
|
||||
<el-table-column label="不含税金额" prop="excluding_tax_amount" show-overflow-tooltip width="94" />
|
||||
<el-table-column label="实际合同金额" prop="reality_contract_amount" show-overflow-tooltip width="120" />
|
||||
<el-table-column label="已付款金额" prop="has_pay_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="未付款金额" prop="not_pay_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="已开票金额" prop="invoice_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="未开票金额" prop="not_invoice_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="已退款金额" prop="refund_amount" show-overflow-tooltip width="100" />
|
||||
<el-table-column label="结算差异" prop="settlement_difference" show-overflow-tooltip />
|
||||
|
||||
|
||||
|
@ -1,20 +1,20 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-card class="!border-none mb-4" shadow="never">
|
||||
<el-form class="mb-[-16px]" :model="queryParams" inline>
|
||||
<el-form-item label="分包合同" prop="contract_id">
|
||||
<selectRemote :formData="queryParams" model="contract_id" :api="apiSubcontractingContractSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="resetPage">查询</el-button>
|
||||
<el-button @click="resetParams">重置</el-button>
|
||||
<export-data class="ml-2.5" :fetch-fun="apiSubcontractingContractDetailLists" :params="queryParams"
|
||||
:page-size="pager.size" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-card>
|
||||
<el-card class="!border-none" v-loading="pager.loading" shadow="never">
|
||||
<!-- <el-button v-perms="['contract.subcontracting_contract/add']" type="primary" @click="handleAdd">
|
||||
<div>
|
||||
<el-card class="!border-none mb-4" shadow="never">
|
||||
<el-form class="mb-[-16px]" :model="queryParams" inline>
|
||||
<el-form-item label="分包合同" prop="contract_id">
|
||||
<selectRemote :formData="queryParams" model="contract_id" :api="apiSubcontractingContractSearch" />
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" @click="resetPage">查询</el-button>
|
||||
<el-button @click="resetParams">重置</el-button>
|
||||
<export-data class="ml-2.5" :fetch-fun="apiSubcontractingContractDetailLists" :params="queryParams"
|
||||
:page-size="pager.size" />
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
</el-card>
|
||||
<el-card class="!border-none" v-loading="pager.loading" shadow="never">
|
||||
<!-- <el-button v-perms="['contract.subcontracting_contract/add']" type="primary" @click="handleAdd">
|
||||
<template #icon>
|
||||
<icon name="el-icon-Plus" />
|
||||
</template>
|
||||
@ -25,55 +25,56 @@
|
||||
删除
|
||||
</el-button> -->
|
||||
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同编号" prop="contract_no" show-overflow-tooltip />
|
||||
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
|
||||
<el-table-column label="工作类型" prop="work_type" show-overflow-tooltip />
|
||||
<el-table-column label="工作内容" prop="work_content" show-overflow-tooltip />
|
||||
<el-table-column label="项目特征" prop="project_features" show-overflow-tooltip />
|
||||
<el-table-column label="单位" prop="unit" show-overflow-tooltip />
|
||||
<el-table-column label="税率(%)" prop="tax_rate_text" show-overflow-tooltip />
|
||||
<el-table-column label="工作量" prop="num" show-overflow-tooltip />
|
||||
<el-table-column label="不含税金额" prop="amount_excluding_tax" show-overflow-tooltip />
|
||||
<el-table-column label="含税金额" prop="amount_including_tax" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="160" fixed="right" align="center">
|
||||
<template #default="{ row }">
|
||||
<!-- <el-button v-perms="['contract.subcontracting_contract/edit']" type="primary" link @click="handleEdit(row)">
|
||||
<div class="mt-4">
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同编号" prop="contract_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同类型" prop="contract_type" show-overflow-tooltip />
|
||||
<el-table-column label="工作类型" prop="work_type" show-overflow-tooltip />
|
||||
<el-table-column label="工作内容" prop="work_content" show-overflow-tooltip />
|
||||
<el-table-column label="项目特征" prop="project_features" show-overflow-tooltip />
|
||||
<el-table-column label="单位" prop="unit" show-overflow-tooltip />
|
||||
<el-table-column label="税率(%)" prop="tax_rate_text" show-overflow-tooltip />
|
||||
<el-table-column label="工作量" prop="num" show-overflow-tooltip />
|
||||
<el-table-column label="不含税金额" prop="amount_excluding_tax" show-overflow-tooltip width="94" />
|
||||
<el-table-column label="含税金额" prop="amount_including_tax" show-overflow-tooltip />
|
||||
<el-table-column label="操作" width="160" fixed="right" align="center">
|
||||
<template #default="{ row }">
|
||||
<!-- <el-button v-perms="['contract.subcontracting_contract/edit']" type="primary" link @click="handleEdit(row)">
|
||||
编辑
|
||||
</el-button>-->
|
||||
<el-button v-perms="['contract.subcontracting_contract/delete']" type="danger" link
|
||||
@click="handleDelete(row.id)">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button v-perms="['contract.subcontracting_contract/detail']" link @click="handleDetail(row)">
|
||||
详情
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="flex justify-end mt-4">
|
||||
<pagination v-model="pager" @change="getLists" />
|
||||
</div>
|
||||
</el-card>
|
||||
<detail-popup v-if="showDtail" ref="detailRef" :dict-data="dictData" @close="showDtail = false" />
|
||||
<!-- <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> -->
|
||||
</div>
|
||||
<el-button v-perms="['contract.subcontracting_contract/delete']" type="danger" link
|
||||
@click="handleDelete(row.id)">
|
||||
删除
|
||||
</el-button>
|
||||
<el-button v-perms="['contract.subcontracting_contract/detail']" link
|
||||
@click="handleDetail(row)">
|
||||
详情
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<div class="flex justify-end mt-4">
|
||||
<pagination v-model="pager" @change="getLists" />
|
||||
</div>
|
||||
</el-card>
|
||||
<detail-popup v-if="showDtail" ref="detailRef" :dict-data="dictData" @close="showDtail = false" />
|
||||
<!-- <edit-popup v-if="showEdit" ref="editRef" :dict-data="dictData" @success="getLists" @close="showEdit = false" /> -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup name="subcontractingContractLists">
|
||||
import { usePaging } from "@/hooks/usePaging";
|
||||
import { useDictData } from "@/hooks/useDictOptions";
|
||||
import {
|
||||
apiSubcontractingContractDetailLists,
|
||||
apiSubcontractingContractDetailDelete,
|
||||
apiSubcontractingContractDetailDetail,
|
||||
apiSubcontractingContractDetailLists,
|
||||
apiSubcontractingContractDetailDelete,
|
||||
apiSubcontractingContractDetailDetail,
|
||||
} from "@/api/subcontracting_contract_detail";
|
||||
import { apiSubcontractingContractSearch } from "@/api/subcontracting_contract";
|
||||
import feedback from "@/utils/feedback";
|
||||
@ -87,7 +88,7 @@ const showDtail = ref(false);
|
||||
|
||||
// 查询条件
|
||||
const queryParams = reactive({
|
||||
contract_id: "",
|
||||
contract_id: "",
|
||||
});
|
||||
|
||||
// 选中数据
|
||||
@ -95,48 +96,48 @@ const selectData = ref<any[]>([]);
|
||||
|
||||
// 表格选择后回调事件
|
||||
const handleSelectionChange = (val: any[]) => {
|
||||
selectData.value = val.map(({ id }) => id);
|
||||
selectData.value = val.map(({ id }) => id);
|
||||
};
|
||||
|
||||
// 获取字典数据
|
||||
const { dictData } = useDictData(
|
||||
"contract_type,account_period,tax_rate,pay_type,pay_period "
|
||||
"contract_type,account_period,tax_rate,pay_type,pay_period "
|
||||
);
|
||||
|
||||
// 分页相关
|
||||
const { pager, getLists, resetParams, resetPage } = usePaging({
|
||||
fetchFun: apiSubcontractingContractDetailLists,
|
||||
params: queryParams,
|
||||
fetchFun: apiSubcontractingContractDetailLists,
|
||||
params: queryParams,
|
||||
});
|
||||
|
||||
// 添加
|
||||
const handleAdd = async () => {
|
||||
showEdit.value = true;
|
||||
await nextTick();
|
||||
editRef.value?.open("add");
|
||||
showEdit.value = true;
|
||||
await nextTick();
|
||||
editRef.value?.open("add");
|
||||
};
|
||||
|
||||
// 编辑
|
||||
const handleEdit = async (data: any) => {
|
||||
let res = await apiSubcontractingContractDetailDetail({ id: data.id });
|
||||
showEdit.value = true;
|
||||
await nextTick();
|
||||
editRef.value?.open("edit");
|
||||
editRef.value?.setFormData(res);
|
||||
let res = await apiSubcontractingContractDetailDetail({ id: data.id });
|
||||
showEdit.value = true;
|
||||
await nextTick();
|
||||
editRef.value?.open("edit");
|
||||
editRef.value?.setFormData(res);
|
||||
};
|
||||
|
||||
// 删除
|
||||
const handleDelete = async (id: number | any[]) => {
|
||||
await feedback.confirm("确定要删除?");
|
||||
await apiSubcontractingContractDetailDelete({ id });
|
||||
getLists();
|
||||
await feedback.confirm("确定要删除?");
|
||||
await apiSubcontractingContractDetailDelete({ id });
|
||||
getLists();
|
||||
};
|
||||
const handleDetail = async (data: any) => {
|
||||
let res = await apiSubcontractingContractDetailDetail({ id: data.id });
|
||||
showDtail.value = true;
|
||||
await nextTick();
|
||||
detailRef.value?.open();
|
||||
detailRef.value?.setFormData(res);
|
||||
let res = await apiSubcontractingContractDetailDetail({ id: data.id });
|
||||
showDtail.value = true;
|
||||
await nextTick();
|
||||
detailRef.value?.open();
|
||||
detailRef.value?.setFormData(res);
|
||||
};
|
||||
|
||||
getLists();
|
||||
|
@ -43,15 +43,15 @@
|
||||
<el-table :data="pager.lists" @selection-change="handleSelectionChange">
|
||||
<el-table-column type="selection" width="55" />
|
||||
<el-table-column label="序号" type="index" width="55" />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" show-overflow-tooltip />
|
||||
<el-table-column label="项目名称" prop="project_name" show-overflow-tooltip />
|
||||
<el-table-column label="合同名称" prop="contract_name" show-overflow-tooltip />
|
||||
<el-table-column label="洽商编号" prop="negotiation_no" show-overflow-tooltip />
|
||||
<el-table-column label="供应商名称" prop="supplier_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="项目名称" prop="project_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="合同名称" prop="contract_name" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="洽商编号" prop="negotiation_no" :render-header="pager.calcWidth" />
|
||||
<el-table-column label="洽商单名称" prop="negotiation_name" show-overflow-tooltip />
|
||||
<el-table-column label="洽商金额" prop="negotiation_amount" show-overflow-tooltip />
|
||||
<el-table-column label="洽商类别" prop="negotiation_type_text" show-overflow-tooltip />
|
||||
<el-table-column label="洽商质保金额" prop="warranty_amount" show-overflow-tooltip />
|
||||
<el-table-column label="洽商质保到期时间" prop="warranty_expire_date" show-overflow-tooltip />
|
||||
<el-table-column label="洽商质保到期时间" prop="warranty_expire_date" width="150" />
|
||||
<el-table-column label="操作" width="160" fixed="right" align='center'>
|
||||
<template #default="{ row }">
|
||||
<el-button v-perms="['contract.subcontracting_contract_negotiation/edit']" type="primary" link
|
||||
|
Loading…
x
Reference in New Issue
Block a user