Browse Source

修改了 参数

bding 1 year ago
parent
commit
85ca9c8e78

+ 3 - 3
src/views/contract_manage/components/allocationNumber.vue

@@ -19,7 +19,7 @@
         <div v-for="item in listArr" :key="item.ChartPermissionName">
           <div class="industry-ul">
             <span :class="['industry-name', item.ChartPermissionId == '31' && 'name-yanxuan',item.ChartPermissionId == '52' && 'points-name']">{{ item.ChartPermissionName }}</span>
-            <template v-if="item.ChartPermissionName !== '买方研选'">
+            <template v-if="item.ChartPermissionId != '31' && item.ChartPermissionId != '52'">
               <el-input :min="-100" :max="100" type="number" v-model="item.Proportion" size="small" @input="restrictInput(item)" style="width: 76px; margin: 0 5px 0 8px">
                 <div class="per_cent_" slot="suffix">%</div>
               </el-input>
@@ -29,7 +29,7 @@
           </div>
           <div v-for="study in item.List" :key="study.RealName" class="industry-ul">
             <span :class="['study-name', item.ChartPermissionId == '31' && 'name-yanxuan',item.ChartPermissionId == '52' && 'points-name']">{{ study.RealName }}</span>
-            <template v-if="study.RealName !== '买方研选'">
+            <template v-if="!study.RealName.includes('研选')">
               <el-input :min="-100" :max="100" type="number" v-model="study.Proportion" size="small" style="width: 76px; margin: 0 5px 0 8px">
                 <div class="per_cent_" slot="suffix">%</div>
               </el-input>
@@ -37,7 +37,7 @@
             </template>
             <p style="width: 38px; height: 32px; line-height: 32px; text-align: center" v-else>{{ study.Money }}</p>
           </div>
-          <div class="all-item" v-if="item.ChartPermissionName != '买方研选'">
+          <div class="all-item" v-if="item.ChartPermissionId != '31' && item.ChartPermissionId != '52'">
             <span> {{ allPerCentHandler(item) == 0 ? "" : `总占比:` }}</span>
             <span> {{ allPerCentHandler(item) == 0 ? "" : `${allPerCentHandler(item)}` }}</span>
           </div>

+ 1 - 1
src/views/custom_manage/customList/applyTurn.vue

@@ -385,7 +385,7 @@ export default {
 							PackageType:this.formData.setmeal ? this.formData.setmeal : 0,
 							PermissionNames:checkArrName.length? checkArrName.join(','):'',
 							RaiPackageType:this.formData.qyBigServeCheck||0,
-							Points:hasMinusSignVal
+							Points:hasMinusSignVal||0
 						}
 						// console.log(params);
 						customInterence.applyTurn(params).then(res => {

+ 2 - 2
src/views/custom_manage/customList/components/raiPermissionbox.vue

@@ -47,7 +47,7 @@
             {{ itP.PermissionName }}
             <p v-if="itP.ChartPermissionId == 31" class="checkbox-text">(30000元/年)</p>
             <p v-if="itP.ChartPermissionId == 52" class="checkbox-text">(点/2000元)</p>
-            <input @click.stop @input="validateInteger"  style="margin-left:10px" v-if="itP.ChartPermissionId == 52 && data.CheckList.includes(52)" v-model="minus_sign_val" />
+            <input @click.stop @input="validateInteger" placeholder="请输入点数" style="margin-left:10px" v-if="itP.ChartPermissionId == 52 && data.CheckList.includes(52)" v-model="minus_sign_val" />
             </el-checkbox>
           </div>
         </el-checkbox-group>
@@ -293,7 +293,7 @@
             left: 20px;
           }
           input {
-            width: 80px;
+            width: 90px;
             height: 30px;
             border-radius: 4px;
             padding-left: 10px;

+ 1 - 1
src/views/custom_manage/customList/updateServe.vue

@@ -736,7 +736,7 @@ export default {
 							PermissionIds:PermissionIds,
 							PackageType:Number(this.dataForm.setmeal),
 							RaiPackageType:this.dataForm.qyBigServeCheck||0,
-							Points:hasMinusSignVal
+							Points:hasMinusSignVal||0
 						}
 
 						console.log(params);