diff --git a/src/components/resource/resourceStoreTimes.vue b/src/components/resource/resourceStoreTimes.vue index f134d47..0d962ce 100644 --- a/src/components/resource/resourceStoreTimes.vue +++ b/src/components/resource/resourceStoreTimes.vue @@ -13,9 +13,9 @@ -
+ @@ -49,17 +49,15 @@ export default { }, async _loadAllResourceStoreTimes(page, rows, resCode, shId) { try { - const params = { - params: { + + const { data, totalPrice } = await listResourceStoreTimes({ page: page, row: rows, resCode: resCode, shId: shId - } - } - const { data, totalPrice } = await listResourceStoreTimes(params) + }) this.resourceStoreTimesInfo.timeses = data - this.resourceStoreTimesInfo.totalPrice = totalPrice.toFixed(2) + this.resourceStoreTimesInfo.totalPrice = totalPrice } catch (error) { this.$message.error(this.$t('common.fetchError')) } diff --git a/src/views/resource/resourceStoreManageLang.js b/src/views/resource/resourceStoreManageLang.js index c778f11..5e974b9 100644 --- a/src/views/resource/resourceStoreManageLang.js +++ b/src/views/resource/resourceStoreManageLang.js @@ -118,6 +118,14 @@ export const messages = { fetchTotalPriceError: 'Failed to get total price details', storehouse: 'Storehouse', selectType: 'Please select resource type' + }, + resourceStoreTimes:{ + title: 'Total Price Details', + itemCode: 'Item Code', + inboundTime: 'Inbound Time', + unitPrice: 'Unit Price', + stock: 'Stock', + totalPrice: 'Total Price', } }, zh: { @@ -239,6 +247,14 @@ export const messages = { fetchTotalPriceError: '获取物品总价详情失败', storehouse: '仓库', selectType: '请选择物品类型' + }, + resourceStoreTimes:{ + title: '物品总价详情', + itemCode: '物品编码', + inboundTime: '入库时间', + unitPrice: '单价', + stock: '库存', + totalPrice: '总价', } } } \ No newline at end of file diff --git a/src/views/resource/resourceStoreManageList.vue b/src/views/resource/resourceStoreManageList.vue index 0f275d2..a47cf23 100644 --- a/src/views/resource/resourceStoreManageList.vue +++ b/src/views/resource/resourceStoreManageList.vue @@ -27,8 +27,8 @@ - + @@ -46,7 +46,7 @@ :label="item.specName" :value="item.rssId"> - +
- + - +