暂时去掉物料不让编辑的功能
This commit is contained in:
parent
2f8316532d
commit
263bcaf93d
|
|
@ -456,15 +456,15 @@ function handleAdd(data) {
|
||||||
async function handleEdit(record: Recordable) {
|
async function handleEdit(record: Recordable) {
|
||||||
var sfjx = "0";
|
var sfjx = "0";
|
||||||
var izEnabled = record.izEnabled;
|
var izEnabled = record.izEnabled;
|
||||||
if("Y"==izEnabled){
|
// if("Y"==izEnabled){
|
||||||
await defHttp.get({ url: '/invoicing/blWarehouseMaterialInfo/queryWlsfzy', params: { wlId: record.id,nuId:null } }).then(res => {
|
// await defHttp.get({ url: '/invoicing/blWarehouseMaterialInfo/queryWlsfzy', params: { wlId: record.id,nuId:null } }).then(res => {
|
||||||
console.log("🚀 ~ handleQyty ~ res:", res)
|
// console.log("🚀 ~ handleQyty ~ res:", res)
|
||||||
if(!res.success){
|
// if(!res.success){
|
||||||
createMessage.error(res.message);
|
// createMessage.error(res.message);
|
||||||
sfjx = "1";
|
// sfjx = "1";
|
||||||
}
|
// }
|
||||||
});
|
// });
|
||||||
}
|
// }
|
||||||
|
|
||||||
if(sfjx == '1'){
|
if(sfjx == '1'){
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue