销售订单手动推送启源qms

This commit is contained in:
lihao 2025-10-22 17:43:24 +08:00
parent c14625d46c
commit 8878b4b89c
1 changed files with 15 additions and 0 deletions

View File

@ -300,6 +300,21 @@ export default function clickBtn(index, props, id, value) {
// Export 导出模板
case 'Export':
return props.modal.show('exportFileModal');
// 推送qms
case 'pushtoqms':
let rowIds = [];
let billId = props.form.getFormItemsValue(formId, HEADATTRCODE.CPMOHID).value;
// 生产订单手动推艾普MES
rowIds[0] = billId;
ajax({
url: '/nccloud/so/refer/SaleOrderToQms.do',
data: {pk: rowIds},
success: (res) => {
if (res.success) {
toast({content: "传递生产订单成功", color: 'success'});
}
}
});
default:
break;
}