Commit ce3a7d05 authored by Mac's avatar Mac

修改样式

parent a58c8498
...@@ -1292,6 +1292,13 @@ ...@@ -1292,6 +1292,13 @@
titleAlign: "left", titleAlign: "left",
columnAlign: "right", columnAlign: "right",
isResize: true, isResize: true,
formatter: function (rowData, rowIndex, pagingIndex, field) {
if(rowData.SchoolName=='合计'){
return `<span class='cell-edit-color' >${rowData.ConsumeNum}</span>`;
}else{
return `<span class='cell-edit-color' style="text-decoration: underline">${rowData.ConsumeNum}</span>`;
}
},
}, },
{ {
field: "ConsumeMoney", field: "ConsumeMoney",
...@@ -1457,6 +1464,13 @@ ...@@ -1457,6 +1464,13 @@
blank: 'y' blank: 'y'
} }
}) })
}else if(column.title == '已上课时'){
if(rowData.ClassId>0){
this.OpenNewUrl('/course/monthLessonCost' , {
ClassId: rowData.ClassId,
ClassName:rowData.ClassName,
});
}
} }
}, },
submitKaiqiZzBox: function () { submitKaiqiZzBox: function () {
......
...@@ -340,7 +340,7 @@ ...@@ -340,7 +340,7 @@
this.getList() this.getList()
}, },
checkSelectable(row){ checkSelectable(row){
return row.showInventoryNum==2 return row.IsGiveOut==2
}, },
handleSelectionChange(val) { handleSelectionChange(val) {
this.multipleSelection = val; this.multipleSelection = val;
...@@ -352,6 +352,14 @@ ...@@ -352,6 +352,14 @@
}, },
preservetransaction(){ preservetransaction(){
let that = this let that = this
if( this.multipleSelection.length == 0){
this.$q.notify({
type: 'negative',
position: "top",
message: `请选择您要发放的用户`
})
return
}
this.$q.dialog({ this.$q.dialog({
title: "设置用户状态", title: "设置用户状态",
message: "确认后无法更改用户制单状态,如果需修改请联系管理员", message: "确认后无法更改用户制单状态,如果需修改请联系管理员",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment