暂时去掉物料不让编辑的功能

This commit is contained in:
yangjun 2026-01-20 14:11:06 +08:00
parent 2f8316532d
commit 263bcaf93d
1 changed files with 9 additions and 9 deletions

View File

@ -456,15 +456,15 @@ function handleAdd(data) {
async function handleEdit(record: Recordable) {
var sfjx = "0";
var izEnabled = record.izEnabled;
if("Y"==izEnabled){
await defHttp.get({ url: '/invoicing/blWarehouseMaterialInfo/queryWlsfzy', params: { wlId: record.id,nuId:null } }).then(res => {
console.log("🚀 ~ handleQyty ~ res:", res)
if(!res.success){
createMessage.error(res.message);
sfjx = "1";
}
});
}
// if("Y"==izEnabled){
// await defHttp.get({ url: '/invoicing/blWarehouseMaterialInfo/queryWlsfzy', params: { wlId: record.id,nuId:null } }).then(res => {
// console.log("🚀 ~ handleQyty ~ res:", res)
// if(!res.success){
// createMessage.error(res.message);
// sfjx = "1";
// }
// });
// }
if(sfjx == '1'){
return;