暂时去掉物料不让编辑的功能
This commit is contained in:
parent
2f8316532d
commit
263bcaf93d
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue