收票登记增加按钮事件
This commit is contained in:
parent
029f7b901a
commit
39275aa650
|
@ -258,6 +258,34 @@ export function buttonClick(props, id) {
|
|||
case BTN_GROUP.PRINTCIRCULATEDESC:
|
||||
doBatchCirculatePrint.call(this, props, URL_LIST.PRINTCIRCULATEDESC);
|
||||
break;
|
||||
case 'dztzts':
|
||||
// 可以在cardoperator.js定义方法,并通过import引用
|
||||
// let pros=getBusinessInfo();
|
||||
let successCallback = function (res) {
|
||||
this.setState({
|
||||
disabledComShow: false
|
||||
});
|
||||
|
||||
if (res.success) {
|
||||
BatchToast.call(
|
||||
this,
|
||||
BTN_GROUP.DISABLED,
|
||||
'1',
|
||||
res.data.yg,
|
||||
res.data.cg,
|
||||
res.data.sbl,
|
||||
'2',
|
||||
null
|
||||
);
|
||||
}
|
||||
// // 按钮使用规则
|
||||
// buttonVisiable.call(this);
|
||||
};
|
||||
let sendData = {
|
||||
pks: pks
|
||||
};
|
||||
doAjax.call(this, sendData, '/nccloud/fbm/gather/DzButton.do', successCallback);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue