借料入库代码覆盖处理

This commit is contained in:
mzr 2025-09-21 17:56:27 +08:00
parent 043986bdc2
commit 9016ae6e4d
2 changed files with 4 additions and 3 deletions

View File

@ -841,8 +841,8 @@ export default async function clickBtn(props, id, text, record, index) {
billstatus = props.form.getFormItemsValue(AREA.formArea, 'fbillstatus'); billstatus = props.form.getFormItemsValue(AREA.formArea, 'fbillstatus');
//审批态 //审批态
if (billstatus && billstatus.value && billstatus.value == 1) { if (billstatus && billstatus.value && billstatus.value == 1) {
// detailqueryBtnClick.call(this, this.props, record); detailqueryBtnClick.call(this, this.props, record);
borrowBtnClick.call(this, this.props, record); // borrowBtnClick.call(this, this.props, record);
} else { } else {
toast({color: 'warning', title: "只有审批后单据才能生产其他入库单"}); toast({color: 'warning', title: "只有审批后单据才能生产其他入库单"});
} }

View File

@ -11,7 +11,8 @@ const AREA = {
cardBodyBtnArea: 'card_body', //卡片表体按钮区域 cardBodyBtnArea: 'card_body', //卡片表体按钮区域
cardBodyInnerBtnArea: 'card_body_inner', //卡片表体操作按钮区域 cardBodyInnerBtnArea: 'card_body_inner', //卡片表体操作按钮区域
borrowMaterialDialog: 'NCTable_83c3abf9', //借料弹窗 borrowMaterialDialog: 'NCTable_83c3abf9', //借料弹窗
borrowList: 'borrow_list' //借料弹窗 borrowList: 'borrow_list', //借料弹窗页面编码
BORROW_DLG: 'BorrowDlg' //借料入库
}; };
const MANUFACTURE = 'fa';//製造場景 const MANUFACTURE = 'fa';//製造場景