diff --git a/ayanova/src/api/gzform.js b/ayanova/src/api/gzform.js index 5724ea04..59cdbf2b 100644 --- a/ayanova/src/api/gzform.js +++ b/ayanova/src/api/gzform.js @@ -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; diff --git a/ayanova/src/views/inv-purchase-order.vue b/ayanova/src/views/inv-purchase-order.vue index fccb0f67..d62b0dfd 100644 --- a/ayanova/src/views/inv-purchase-order.vue +++ b/ayanova/src/views/inv-purchase-order.vue @@ -236,14 +236,6 @@ dense :item-class="poItemsRowClasses" > - -