This commit is contained in:
陈裕财
2025-04-13 21:58:27 +08:00
parent f594ef9e66
commit 9677704d02

View File

@@ -220,7 +220,7 @@
</el-form-item>
</el-tab-pane>
<el-tab-pane label="概算" name="budget">
<el-row :gutter="30" style="height:10px;">
<el-row :gutter="40" style="height:10px;">
<el-col :span="3">类型</el-col>
<el-col :span="4">人数</el-col>
<el-col :span="6">工作量</el-col>
@@ -229,61 +229,60 @@
</el-row>
<el-divider />
<el-row :gutter="30" style="height:10px;">
<el-row :gutter="40" style="height:10px;">
<el-col :span="3">内购</el-col>
<el-col :span="4"><el-input style="width:100%;" type="number" v-model="editForm.planIuserCnt" :precision="0"
:step="1" :min="0" placeholder="内购人数" @change="editSomeFields(editForm, 'planIuserCnt', $event)"/>
</el-col>
<el-col :span="6">{{ autoParams.planIuserWorkload }}h</el-col>
<el-col :span="6">{{ autoParams.planIuserWorkload }}H</el-col>
<el-col :span="3"><el-input style="width:100%;" type="number" v-model="editForm.planIuserPrice" :precision="0"
:step="1" :min="0" placeholder="内购单价" @change="editSomeFields(editForm, 'planIuserPrice', $event)"/> </el-col>
:step="1" :min="0" placeholder="内购单价" @change="editSomeFields(editForm, 'planIuserPrice', $event)"><template #suffix> /H</template></el-input> </el-col>
<el-col :span="8">{{ this.toFixed(autoParams.planIuserAt) }} <el-text type="info">{{ this.toFixed(autoParams.planIuserAt / 10000) }}
万元</el-text></el-col>
</el-row>
<el-divider />
<el-row :gutter="30" style="height:10px;">
<el-row :gutter="40" style="height:10px;">
<el-col :span="3">外购</el-col>
<el-col :span="4"><el-input style="width:100%;" type="number" v-model="editForm.planOuserCnt" :precision="0"
:step="1" :min="0" placeholder="外购人数" @change="editSomeFields(editForm, 'planOuserCnt', $event)"/>
</el-col>
<el-col :span="6">{{ autoParams.planOuserWorkload }}h</el-col>
<el-col :span="6">{{ autoParams.planOuserWorkload }}H</el-col>
<el-col :span="3"><el-input style="width:100%;" type="number" v-model="editForm.planOuserPrice" :precision="0"
:step="1" :min="0" placeholder="外购单价" @change="editSomeFields(editForm, 'planOuserPrice', $event)"/> </el-col>
:step="1" :min="0" placeholder="外购单价" @change="editSomeFields(editForm, 'planOuserPrice', $event)"><template #suffix> /H</template></el-input> </el-col>
<el-col :span="8">{{ autoParams.planOuserAt }} <el-text type="info">{{ autoParams.planOuserAt / 10000 }}万元</el-text></el-col>
</el-row>
<el-divider />
<el-row :gutter="30" style="height:10px;">
<el-row :gutter="40" style="height:10px;">
<el-col :span="3">小计</el-col>
<el-col :span="4"> {{ autoParams.planOuserCnt + autoParams.planIuserCnt }}
</el-col>
<el-col :span="6">{{ autoParams.planOuserWorkload + autoParams.planIuserWorkload }}h <el-text type="info">{{
<el-col :span="6">{{ autoParams.planOuserWorkload + autoParams.planIuserWorkload }}H <el-text type="info">{{
(autoParams.planOuserWorkload + autoParams.planIuserWorkload) / 8 / 20 }}人月</el-text> </el-col>
<el-col :span="3"> {{ (parseFloat2(autoParams.planOuserPrice) +
parseFloat2(autoParams.planIuserPrice)) / 2 }}/h</el-col>
parseFloat2(autoParams.planIuserPrice)) / 2 }}/H</el-col>
<el-col :span="8">{{ autoParams.planIuserAt+autoParams.planOuserAt }} <el-text type="info">{{ (autoParams.planIuserAt+autoParams.planOuserAt) / 10000 }} 万元</el-text></el-col>
</el-row>
<el-divider />
<el-row :gutter="10">
<el-row :gutter="40">
<el-col :span="8">
内购人力() <el-input style="width:150px;" type="number" v-model="editForm.planIuserAt" :precision="2" :step="1000"
:min="0" placeholder="内部人力成本总预算" @change="editSomeFields(editForm, 'planIuserAt', $event)"><template #suffix></template></el-input> <el-text >
参考值{{ this.toFixed(autoParams.planIuserAt / 10000) }}万元</el-text>
内购人力 <el-input style="width:200px;" type="number" v-model="editForm.planIuserAt" :precision="2" :step="1000"
:min="0" placeholder="内部人力成本总预算" @change="editSomeFields(editForm, 'planIuserAt', $event)"><template #suffix></template></el-input>
</el-col>
<el-col :span="8">
外购人力() <el-input style="width:150px;" type="number" v-model="editForm.planOuserAt" :precision="2" :step="1000"
:min="0" placeholder="外购人力成本总预算" @change="editSomeFields(editForm, 'planOuserAt', $event)"><template #suffix></template></el-input><el-text>参考值{{ this.toFixed(autoParams.planOuserAt / 10000) }}万元</el-text>
外购人力 <el-input style="width:200px;" type="number" v-model="editForm.planOuserAt" :precision="2" :step="1000"
:min="0" placeholder="外购人力成本总预算" @change="editSomeFields(editForm, 'planOuserAt', $event)"><template #suffix></template></el-input>
</el-col>
<el-col :span="8">
其它成本()<el-input style="width:150px;" type="number" v-model="editForm.planNouserAt" :precision="2" :step="1000"
其它成本<el-input style="width:200px;" type="number" v-model="editForm.planNouserAt" :precision="2" :step="1000"
:min="0" placeholder="人力成本总预算" @change="editSomeFields(editForm, 'planNouserAt', $event)"><template #suffix></template></el-input><el-text>&nbsp;{{ this.toFixed(editForm.planNouserAt / 10000) }}万元</el-text>
</el-col>
</el-row>
<el-divider />
<el-row>
<el-input style="width:150px;" type="number" v-model="editForm.planTotalCost" :precision="2" :step="1000"
体预算 <el-input style="width:200px;" type="number" v-model="editForm.planTotalCost" :precision="2" :step="1000"
:min="0" placeholder="总成本预算" @change="editSomeFields(editForm, 'planTotalCost', $event)"><template #suffix></template></el-input> &nbsp;<el-text type="info">
参考值{{ this.toFixed(autoParams.planTotalCost / 10000) }}万元</el-text>
{{ this.toFixed(editForm.planTotalCost / 10000) }}万元</el-text>
</el-row>
</el-tab-pane>
<el-tab-pane label="收入及盈利水平" name="totalAmount">