|
@@ -196,10 +196,7 @@ export default {
|
|
|
//遮罩
|
|
|
loading: false,
|
|
|
//单行明细
|
|
|
- rowData:{
|
|
|
- asItem:null,
|
|
|
- weight:null,
|
|
|
- },
|
|
|
+ rowData:{},
|
|
|
//是否显示行明细弹出层
|
|
|
rowDataOpen:false,
|
|
|
//当行明细校验规则
|
|
@@ -301,6 +298,9 @@ export default {
|
|
|
//单行明细确认
|
|
|
btnRowConfirm(){
|
|
|
this.rowData.asItem = this.rowData.asItem ? true : false;
|
|
|
+ if(this.rowData.asItem){
|
|
|
+ this.rowData.weight = 0;
|
|
|
+ }
|
|
|
if(this.rowData.asItem && this.rowData.weight > 0){
|
|
|
this.$modal.msgWarning("已勾选加减分项,不允许有权重!");
|
|
|
return;
|
|
@@ -440,7 +440,6 @@ export default {
|
|
|
},
|
|
|
//选择加减分项后
|
|
|
handleCheckedChange(value){
|
|
|
- this.rowData.weight = undefined;
|
|
|
},
|
|
|
//必选标识
|
|
|
addRedStar(h, { column }) {
|