|
@@ -4,7 +4,7 @@
|
|
:loading="addNodeLoading" @save="modalSave" @close="closeDialog"
|
|
:loading="addNodeLoading" @save="modalSave" @close="closeDialog"
|
|
>
|
|
>
|
|
<hc-body scrollbar :contents="!isTable">
|
|
<hc-body scrollbar :contents="!isTable">
|
|
- <el-form ref="formRef" label-position="left" label-width="auto" :model="formModel" :rules="formRules">
|
|
|
|
|
|
+ <el-form ref="formRef" label-position="top" :model="formModel" :rules="formRules">
|
|
<el-row :gutter="20">
|
|
<el-row :gutter="20">
|
|
<el-col :span="6">
|
|
<el-col :span="6">
|
|
<el-form-item label="工程名称:">
|
|
<el-form-item label="工程名称:">
|
|
@@ -341,6 +341,7 @@ const tableColumn = ref([
|
|
|
|
|
|
//计算数据
|
|
//计算数据
|
|
const changeBuildPictureTotal = (row) => {
|
|
const changeBuildPictureTotal = (row) => {
|
|
|
|
+ if (row.citeStatus === 1) return
|
|
//如果为空
|
|
//如果为空
|
|
let buildPictureTotal = row.buildPictureTotal
|
|
let buildPictureTotal = row.buildPictureTotal
|
|
const isMeter = isNumberReg(buildPictureTotal)
|
|
const isMeter = isNumberReg(buildPictureTotal)
|
|
@@ -361,6 +362,7 @@ const changeBuildPictureTotal = (row) => {
|
|
// residueNum 分解剩余量, changeTotal 变更后合同数量
|
|
// residueNum 分解剩余量, changeTotal 变更后合同数量
|
|
// residueNum = changeTotal - poseNum
|
|
// residueNum = changeTotal - poseNum
|
|
row.residueNum = (BigNumber(row.changeTotal).minus(row.poseNum)).toString()
|
|
row.residueNum = (BigNumber(row.changeTotal).minus(row.poseNum)).toString()
|
|
|
|
+ console.log('residueNum:', row.residueNum)
|
|
|
|
|
|
// buildPictureMoney 施工图金额
|
|
// buildPictureMoney 施工图金额
|
|
// buildPictureMoney = buildPictureTotal * currentPrice(单价)
|
|
// buildPictureMoney = buildPictureTotal * currentPrice(单价)
|