收票登记增加按钮事件

This commit is contained in:
mzr 2025-04-16 12:28:52 +08:00
parent 029f7b901a
commit 39275aa650
1 changed files with 28 additions and 0 deletions

View File

@ -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;
}