批量审核

This commit is contained in:
wangshiming
2022-01-18 16:57:24 +08:00
parent ae8d1eef2a
commit a8a9565b40
2 changed files with 2 additions and 191 deletions

View File

@ -19,34 +19,13 @@ import { WaybillManagementServe } from '../../services/waybill-management.servic
export class WaybillManagementVehicleComponent implements OnInit {
ui: SFUISchema = {};
schema: SFSchema = {};
auditMany = false;
isVisibleView = false;
isVisibleEvaluate = false;
isVisible = false;
_$expand = false;
resourceStatus: any;
@ViewChild('st') private readonly st!: STComponent;
@ViewChild('stFloat') private readonly stFloat!: STComponent;
@ViewChild('stFloatView') private readonly stFloatView!: STComponent;
@ViewChild('sf', { static: false }) sf!: SFComponent;
@ViewChild('sfFre', { static: false }) sfFre!: SFComponent;
columns: STColumn[] = [];
columnsFloat: STColumn[] = [];
columnsFloatView: STColumn[] = [];
datass: any = [
{
one: '1',
two: '1',
three: '1',
id: 1
},
{
one: '2',
two: '2',
three: '2',
id: 2
}
];
tabs = {
signQuantity: 0,
cancelQuantity: 0,
@ -86,8 +65,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
this.initSF();
this.initST();
this.getGoodsSourceStatistical();
this.initSTFloat();
this.initSTFloatView();
}
/**
@ -355,58 +332,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
}
];
}
initSTFloat() {
this.columnsFloat = [
{
title: '序号',
className: 'text-center',
index: 'one'
},
{
title: '操作时间',
className: 'text-center',
index: 'two'
},
{
title: '操作人',
className: 'text-center',
index: 'three'
},
{ title: '状态', index: 'externalSn', className: 'text-center' },
{
title: '操作',
fixed: 'right',
className: 'text-left',
buttons: [
{
text: '查看',
click: _record => this.FloatView(_record)
},
{
text: '撤销',
click: _record => this.audit(_record)
}
]
}
];
}
initSTFloatView() {
this.columnsFloatView = [
{
title: '费用名称',
width: '100px',
className: 'text-center',
render: 'goodsId'
},
{
title: '变更前',
width: '100px',
className: 'text-center'
},
{ title: '变更值', index: 'externalSn', width: '120px', className: 'text-center' },
{ title: '变更后', index: 'externalSn', width: '120px', className: 'text-center' }
];
}
/**
* 查询字段个数
*/
@ -447,42 +372,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
* 导入货源
*/
importGoodsSource() {}
audit(item: any) {
console.log(item);
}
/*
* 审核关闭弹窗
view: 1
浮动费用: 0
查看评价: 3
*/
handleCancel(type: string) {
console.log(type);
if (type === '0') {
this.isVisible = false;
} else if (type === '1') {
console.log(type);
this.isVisibleView = false;
} else if (type === '2') {
console.log(type);
this.isVisibleEvaluate = false;
}
}
/**
* 审核通过按钮
*/
handleOK() {}
OpenPrice() {
this.isVisible = true;
}
/**
* 浮动费用查看
*/
FloatView(item: any) {
console.log(item);
this.isVisibleView = true;
}
/**
*查看评价
*/