This commit is contained in:
2021-02-23 23:21:18 +00:00
parent fe886939b6
commit 9d6a1c4b20
2 changed files with 81 additions and 39 deletions

View File

@@ -808,11 +808,6 @@ export default {
return;
}
//might be an indexed item
//this is what we're dealing with
// { "code": "2200", "details": [ { "message": "LT:PurchaseOrderReceiptItemQuantityReceivedErrorInvalid", "target": "Items[0].QuantityReceived", "error": "2203" } ], "message": "ErrorAPI2200" }
//let rowErrorTargetStart = `${collectionName}[${rowIndex}].`.toLowerCase();
//# REMOVE SERVER ERRORS FOR THIS FIELD REF
let targetRef = ref.toLowerCase();
@@ -877,19 +872,10 @@ export default {
//---------------
}); //next tick end
},
////////////////////////////////////
// set calling form Valid state
//
// {vm:vm,dirty:bool | undefined,
// valid:bool | undefined,
// loading:bool | undefined}
//
setFormState(newState) {
//this returns a promise so any function that needs to wait for this can utilize that
// if (newState.valid != null && newState.valid == false) {
// console.trace(newState);
// // debugger;
// }
return Vue.nextTick(function() {
if (newState.valid != null) {
newState.vm.formState.valid = newState.valid;