Browse Source

修改

dev_kxc
xzt 11 months ago
parent
commit
864b4a4f3d
  1. 173
      jwtech-admin-page/src/components/securityDeposit/index.vue
  2. 1104
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/QualityBond.vue
  3. 1105
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/performanceBond.vue
  4. 1090
      jwtech-admin-page/src/views/building/projectInfo/projectProcess/peasantWorkerSystem/options/marginAccount.vue

173
jwtech-admin-page/src/components/securityDeposit/index.vue

@ -63,7 +63,7 @@
icon="el-icon-plus" icon="el-icon-plus"
size="mini" size="mini"
@click="handleAdd" @click="handleAdd"
v-hasPermi="[`system:${type}:add`]" v-hasPermi="[`bzj:${type}:add`]"
>新增</el-button >新增</el-button
> >
</el-col> </el-col>
@ -74,7 +74,7 @@
size="mini" size="mini"
:disabled="single" :disabled="single"
@click="handleUpdate" @click="handleUpdate"
v-hasPermi="[`system:${type}:edit`]" v-hasPermi="[`bzj:${type}:edit`]"
>修改</el-button >修改</el-button
> >
</el-col> </el-col>
@ -85,7 +85,7 @@
size="mini" size="mini"
:disabled="multiple" :disabled="multiple"
@click="handleDelete" @click="handleDelete"
v-hasPermi="[`system:${type}:remove`]" v-hasPermi="[`bzj:${type}:remove`]"
>删除</el-button >删除</el-button
> >
</el-col> </el-col>
@ -129,12 +129,7 @@
min-width="180" min-width="180"
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{ {{ getAmount(scope.row) }}
scope.row.depositAmount +
scope.row.bankGuaranteeLetterAmount +
scope.row.guaranteeCompanyAmount +
scope.row.insuranceAmount
}}
</template> </template>
</el-table-column> </el-table-column>
@ -151,7 +146,7 @@
type="text" type="text"
icon="el-icon-edit" icon="el-icon-edit"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
v-hasPermi="[`system:${type}:edit`]" v-hasPermi="[`bzj:${type}:edit`]"
>修改</el-button >修改</el-button
> >
<el-button <el-button
@ -159,7 +154,7 @@
type="text" type="text"
icon="el-icon-delete" icon="el-icon-delete"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"
v-hasPermi="[`system:${type}:remove`]" v-hasPermi="[`bzj:${type}:remove`]"
>删除</el-button >删除</el-button
> >
</template> </template>
@ -496,7 +491,14 @@
<script> <script>
export default { export default {
name: "Bzj", name: "Bzj",
props: ["proNo", "projectCode", "projectName", "formMethods", "type"], props: [
"proNo",
"projectCode",
"projectName",
"formMethods",
"contractNumber",
"type",
],
data() { data() {
return { return {
// //
@ -523,30 +525,31 @@ export default {
pageSize: 10, pageSize: 10,
ids: null, ids: null,
data: { data: {
differentiatedDepositAmount: null,
amountPayable: null,
paidAmount: null,
depositMethods: null, depositMethods: null,
depositBankSalaryDeposit: null,
salaryDepositBankAccount: null,
cashAmount: null,
guaranteeBankName: null, guaranteeBankName: null,
depositAmount: null,
depositAmountDate: null,
depositBank: null,
depositBankNumber: null,
accountBankAddress: null,
voucherNumber: null,
bankGuaranteeLetterNo: null, bankGuaranteeLetterNo: null,
bankGuaranteeLetterAmount: null, bankGuaranteeLetterAmount: null,
bankGuaranteeStartYear: null, bankGuaranteeStartYear: null,
bankGuaranteeEndYear: null, bankGuaranteeEndYear: null,
guaranteeCompanyName: null,
guaranteeCompanyLetterNo: null,
guaranteeCompanyAmount: null,
guaranteeCompanyStartYear: null,
guaranteeCompanyEndYear: null,
insuranceCompanyName: null, insuranceCompanyName: null,
insuranceNo: null, insuranceNo: null,
insuranceAmount: null, insuranceAmount: null,
insuranceStartTime: null, insuranceStartTime: null,
insuranceEndTime: null, insuranceEndTime: null,
otherAmount: null,
incomeTime: null, payAmountInsurance: null,
payAmountInsuranceTime: null,
guaranteeCompanyName: null,
guaranteeCompanyLetterNo: null,
guaranteeCompanyAmount: null,
guaranteeCompanyStartYear: null,
guaranteeCompanyEndYear: null,
createUid: null, createUid: null,
updateUid: null, updateUid: null,
projectCode: null, projectCode: null,
@ -596,6 +599,11 @@ export default {
], ],
depositAmount: [ depositAmount: [
{
required: true,
message: "请输入缴存金额",
trigger: "blur",
},
{ {
pattern: pattern:
/(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/, /(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/,
@ -627,7 +635,11 @@ export default {
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
], ],
bankGuaranteeLetterAmount: [ bankGuaranteeLetterAmount: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, {
required: true,
message: "请输入银行保函金额",
trigger: "blur",
},
{ {
pattern: pattern:
/(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/, /(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/,
@ -644,7 +656,11 @@ export default {
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
], ],
insuranceAmount: [ insuranceAmount: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, {
required: true,
message: "请输入保险金额",
trigger: "blur",
},
{ {
pattern: pattern:
/(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/, /(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/,
@ -671,7 +687,11 @@ export default {
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, { max: 250, message: "字符长度最大为250", trigger: "blur" },
], ],
guaranteeCompanyAmount: [ guaranteeCompanyAmount: [
{ max: 250, message: "字符长度最大为250", trigger: "blur" }, {
required: true,
message: "请输入担保公司担保金额",
trigger: "blur",
},
{ {
pattern: pattern:
/(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/, /(^[1-9]([0-9]{0,6})?(\.[0-9]{1,2})?$|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$))/,
@ -709,6 +729,22 @@ export default {
}); });
}, },
methods: { methods: {
getAmount(row) {
let res = 0;
if (row.depositAmount) {
res = res + Number(row.depositAmount);
}
if (row.bankGuaranteeLetterAmount) {
res = res + Number(row.bankGuaranteeLetterAmount);
}
if (row.guaranteeCompanyAmount) {
res = res + Number(row.guaranteeCompanyAmount);
}
if (row.insuranceAmount) {
res = res + Number(row.insuranceAmount);
}
return res.toFixed(2);
},
/** 查询投标保证金列表 */ /** 查询投标保证金列表 */
getList() { getList() {
this.loading = true; this.loading = true;
@ -738,40 +774,38 @@ export default {
}, },
// //
reset() { reset() {
this.fileList = [];
this.form = { this.form = {
id: null, id: null,
differentiatedDepositAmount: null,
amountPayable: null,
paidAmount: null,
depositMethods: null, depositMethods: null,
depositBankSalaryDeposit: null,
salaryDepositBankAccount: null,
cashAmount: null,
guaranteeBankName: null, guaranteeBankName: null,
depositAmount: null,
depositAmountDate: null,
depositBank: null,
depositBankNumber: null,
accountBankAddress: null,
voucherNumber: null,
bankGuaranteeLetterNo: null, bankGuaranteeLetterNo: null,
bankGuaranteeLetterAmount: null, bankGuaranteeLetterAmount: null,
bankGuaranteeStartYear: null, bankGuaranteeStartYear: null,
bankGuaranteeEndYear: null, bankGuaranteeEndYear: null,
guaranteeCompanyName: null,
guaranteeCompanyLetterNo: null,
guaranteeCompanyAmount: null,
guaranteeCompanyStartYear: null,
guaranteeCompanyEndYear: null,
insuranceCompanyName: null, insuranceCompanyName: null,
insuranceNo: null, insuranceNo: null,
insuranceAmount: null, insuranceAmount: null,
insuranceStartTime: null, insuranceStartTime: null,
insuranceEndTime: null, insuranceEndTime: null,
otherAmount: null, payAmountInsurance: null,
incomeTime: null, payAmountInsuranceTime: null,
guaranteeCompanyName: null,
guaranteeCompanyLetterNo: null,
guaranteeCompanyAmount: null,
guaranteeCompanyStartYear: null,
guaranteeCompanyEndYear: null,
createUid: null, createUid: null,
updateUid: null, updateUid: null,
createTime: null,
updateTime: null,
projectCode: null, projectCode: null,
proNo: null, proNo: null,
owerDept: null, owerDept: null,
remark: null,
}; };
this.resetForm("form"); this.resetForm("form");
}, },
@ -782,38 +816,35 @@ export default {
pageSize: 10, pageSize: 10,
data: { data: {
id: null, id: null,
differentiatedDepositAmount: null,
amountPayable: null,
paidAmount: null,
depositMethods: null, depositMethods: null,
depositBankSalaryDeposit: null,
salaryDepositBankAccount: null,
cashAmount: null,
guaranteeBankName: null, guaranteeBankName: null,
depositAmount: null,
depositAmountDate: null,
depositBank: null,
depositBankNumber: null,
accountBankAddress: null,
voucherNumber: null,
bankGuaranteeLetterNo: null, bankGuaranteeLetterNo: null,
bankGuaranteeLetterAmount: null, bankGuaranteeLetterAmount: null,
bankGuaranteeStartYear: null, bankGuaranteeStartYear: null,
bankGuaranteeEndYear: null, bankGuaranteeEndYear: null,
guaranteeCompanyName: null,
guaranteeCompanyLetterNo: null,
guaranteeCompanyAmount: null,
guaranteeCompanyStartYear: null,
guaranteeCompanyEndYear: null,
insuranceCompanyName: null, insuranceCompanyName: null,
insuranceNo: null, insuranceNo: null,
insuranceAmount: null, insuranceAmount: null,
insuranceStartTime: null, insuranceStartTime: null,
insuranceEndTime: null, insuranceEndTime: null,
otherAmount: null, payAmountInsurance: null,
incomeTime: null, payAmountInsuranceTime: null,
guaranteeCompanyName: null,
guaranteeCompanyLetterNo: null,
guaranteeCompanyAmount: null,
guaranteeCompanyStartYear: null,
guaranteeCompanyEndYear: null,
createUid: null, createUid: null,
updateUid: null, updateUid: null,
createTime: null,
updateTime: null,
projectCode: null, projectCode: null,
proNo: null, proNo: null,
owerDept: null, owerDept: null,
remark: null,
}, },
conditionViews: [ conditionViews: [
{ {
@ -889,8 +920,13 @@ export default {
} }
}); });
} else { } else {
this.form.proNo = this.proNo; if (this.type === "tbbzj" || this.type === "nmgbzj") {
this.form.projectCode = this.projectCode; this.form.proNo = this.proNo;
this.form.projectCode = this.projectCode;
} else if (this.type === "zlbzj" || this.type === "lybzj") {
this.form.contractNumber = this.contractNumber;
console.log(777777, this.contractNumber);
}
this.formMethods.add(this.form).then((response) => { this.formMethods.add(this.form).then((response) => {
if (response.code === 200) { if (response.code === 200) {
this.msgSuccess("新增成功"); this.msgSuccess("新增成功");
@ -911,7 +947,7 @@ export default {
cancelButtonText: "取消", cancelButtonText: "取消",
type: "warning", type: "warning",
}) })
.then(function () { .then(() => {
return this.formMethods.del(ids); return this.formMethods.del(ids);
}) })
.then(() => { .then(() => {
@ -950,9 +986,10 @@ export default {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
@import "@/assets/css/dialog.scss"; @import "@/assets/css/dialog.scss";
//::v-deep { ::v-deep {
// .el-dialog { .el-dialog {
// margin-top: 10vh !important; margin-top: 10vh !important;
// } // min-height: 800px;
//} }
}
</style> </style>

1104
jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/QualityBond.vue

File diff suppressed because it is too large

1105
jwtech-admin-page/src/views/building/projectInfo/projectProcess/contract/options/performanceBond.vue

File diff suppressed because it is too large

1090
jwtech-admin-page/src/views/building/projectInfo/projectProcess/peasantWorkerSystem/options/marginAccount.vue

File diff suppressed because it is too large
Loading…
Cancel
Save