1、调整合同
2、调整项目 3、调整付款管理
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="6">
|
||||
<el-form-item label="结算单" prop="settlementIds">
|
||||
<el-input :model-value="settlementLabel" readonly placeholder="请选择正式结算单">
|
||||
<el-input :model-value="settlementLabel" readonly placeholder="请选择应付正式结算单">
|
||||
<template v-if="!readonly" #append>
|
||||
<el-button @click="openSettlementDialog">选择</el-button>
|
||||
</template>
|
||||
@@ -429,7 +429,12 @@
|
||||
</div>
|
||||
</el-form>
|
||||
|
||||
<el-dialog v-model="settlementDialog.visible" title="选择正式结算单" width="86%" append-to-body>
|
||||
<el-dialog
|
||||
v-model="settlementDialog.visible"
|
||||
title="选择应付正式结算单"
|
||||
width="86%"
|
||||
append-to-body
|
||||
>
|
||||
<div class="invoice-form-page__dialog-search">
|
||||
<el-input
|
||||
v-model="settlementDialog.keyword"
|
||||
@@ -723,8 +728,10 @@ export default {
|
||||
async loadSettlementCandidates() {
|
||||
this.settlementDialog.loading = true;
|
||||
try {
|
||||
this.settlementDialog.rows =
|
||||
this.unwrapData(await api.getSettlementCandidates(this.settlementDialog.keyword)) || [];
|
||||
const data = this.unwrapData(
|
||||
await api.getSettlementCandidates(this.settlementDialog.keyword)
|
||||
);
|
||||
this.settlementDialog.rows = Array.isArray(data) ? data : data?.records || [];
|
||||
} finally {
|
||||
this.settlementDialog.loading = false;
|
||||
}
|
||||
@@ -732,7 +739,7 @@ export default {
|
||||
async confirmSettlements() {
|
||||
const rows = this.settlementDialog.selection;
|
||||
if (!rows.length) {
|
||||
this.$message.warning('请至少选择一张正式结算单');
|
||||
this.$message.warning('请至少选择一张应付正式结算单');
|
||||
return;
|
||||
}
|
||||
const first = rows[0];
|
||||
|
||||
Reference in New Issue
Block a user