diff --git a/pages/entry/bill-to-store.vue b/pages/entry/bill-to-store.vue index 4fb91fd..2a75801 100644 --- a/pages/entry/bill-to-store.vue +++ b/pages/entry/bill-to-store.vue @@ -281,12 +281,12 @@ } else { this.index ='FStockId' } - this._getStructCount() + this._getStructCount(e) } }, - async _getStructCount () { + async _getStructCount (e) { try { - let res = await getStructCount() + let res = await getStructCount(e) if (res) { this.kwData = res } else { diff --git a/pages/entry/check-to-store.vue b/pages/entry/check-to-store.vue index 7e5ab33..4fc47bf 100644 --- a/pages/entry/check-to-store.vue +++ b/pages/entry/check-to-store.vue @@ -175,12 +175,12 @@ handleChange (e) { if (e) { this._queryMaterByVehicleCode(e) - this._getStructCount() + this._getStructCount(e) } }, - async _getStructCount () { + async _getStructCount (e) { try { - let res = await getStructCount() + let res = await getStructCount(e) if (res) { this.kwData = res } else { diff --git a/pages/entry/empty-tray-to-store.vue b/pages/entry/empty-tray-to-store.vue index c7c5dae..3250200 100644 --- a/pages/entry/empty-tray-to-store.vue +++ b/pages/entry/empty-tray-to-store.vue @@ -82,12 +82,12 @@ methods: { handleChange (e) { if (e) { - this._getStructCount() + this._getStructCount(e) } }, - async _getStructCount () { + async _getStructCount (e) { try { - let res = await getStructCount() + let res = await getStructCount(e) if (res) { this.kwData = res } else { diff --git a/pages/entry/mater-group-to-store.vue b/pages/entry/mater-group-to-store.vue index d485b4b..9d33921 100644 --- a/pages/entry/mater-group-to-store.vue +++ b/pages/entry/mater-group-to-store.vue @@ -151,7 +151,7 @@ } } if (this.currentData.vehicle_code) { - this._getStructCount() + this._getStructCount(this.currentData.vehicle_code) } else { this.kwData = {} } @@ -183,12 +183,12 @@ } else { this.index ='FStockId' } - this._getStructCount() + this._getStructCount(e) } }, - async _getStructCount () { + async _getStructCount (e) { try { - let res = await getStructCount() + let res = await getStructCount(e) if (res) { this.kwData = res } else { diff --git a/pages/entry/qualified-to-store.vue b/pages/entry/qualified-to-store.vue index 5a9f1a7..b359c49 100644 --- a/pages/entry/qualified-to-store.vue +++ b/pages/entry/qualified-to-store.vue @@ -162,12 +162,12 @@ } else { this.index ='FStockId' } - this._getStructCount() + this._getStructCount(e) } }, - async _getStructCount () { + async _getStructCount (e) { try { - let res = await getStructCount() + let res = await getStructCount(e) if (res) { this.kwData = res } else {