|
@@ -569,7 +569,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-item flex flex-col-center">
|
|
<div class="form-item flex flex-col-center">
|
|
|
- <span> </span>
|
|
|
|
|
|
|
+ <span v-if="itemEditData.singleNumber !== '0'">*</span><span v-else> </span>
|
|
|
<div class="name">详情累计项:</div>
|
|
<div class="name">详情累计项:</div>
|
|
|
<div class="input">
|
|
<div class="input">
|
|
|
<el-select
|
|
<el-select
|
|
@@ -588,7 +588,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="form-item flex flex-col-center">
|
|
<div class="form-item flex flex-col-center">
|
|
|
- <span> </span>
|
|
|
|
|
|
|
+ <span v-if="itemEditData.singleNumber !== '0'">*</span><span v-else> </span>
|
|
|
<div class="name">计数系数:</div>
|
|
<div class="name">计数系数:</div>
|
|
|
<div class="input">
|
|
<div class="input">
|
|
|
<el-input
|
|
<el-input
|
|
@@ -1055,7 +1055,7 @@ export default {
|
|
|
openEditProject(row) {
|
|
openEditProject(row) {
|
|
|
this.currentProjectRow = row;
|
|
this.currentProjectRow = row;
|
|
|
this.currentProjectPid = row.pid;
|
|
this.currentProjectPid = row.pid;
|
|
|
- this.projectDialogTitle = (row.name || "") + "非药物目录";
|
|
|
|
|
|
|
+ this.projectDialogTitle = (row.name || "");
|
|
|
this.projectPage = 1;
|
|
this.projectPage = 1;
|
|
|
this.showProjectDialog = true;
|
|
this.showProjectDialog = true;
|
|
|
this.getProjectList();
|
|
this.getProjectList();
|
|
@@ -1166,6 +1166,12 @@ export default {
|
|
|
if (!d.detailIsnull && d.detailIsnull !== 0)
|
|
if (!d.detailIsnull && d.detailIsnull !== 0)
|
|
|
return this.$message.error("请选择详情是否必填");
|
|
return this.$message.error("请选择详情是否必填");
|
|
|
if (!d.singleNumber) return this.$message.error("请选择单次数量");
|
|
if (!d.singleNumber) return this.$message.error("请选择单次数量");
|
|
|
|
|
+ if (d.singleNumber !== '0') {
|
|
|
|
|
+ if (!d.detailCumulative || !d.detailCumulative.length)
|
|
|
|
|
+ return this.$message.error("请选择详情累计项");
|
|
|
|
|
+ if (!d.countCoefficient)
|
|
|
|
|
+ return this.$message.error("请输入计数系数");
|
|
|
|
|
+ }
|
|
|
if (!d.minTreatmentDuration)
|
|
if (!d.minTreatmentDuration)
|
|
|
return this.$message.error("请输入最少治疗时长");
|
|
return this.$message.error("请输入最少治疗时长");
|
|
|
if (!/^\d+$/.test(String(d.minTreatmentDuration)) || Number(d.minTreatmentDuration) <= 0)
|
|
if (!/^\d+$/.test(String(d.minTreatmentDuration)) || Number(d.minTreatmentDuration) <= 0)
|