@@ -191,6 +385,16 @@
append-to-body
v-if="workOrderListVisible"
>
+
-->
-
+
+
+
+ 采购总金额:
+ ¥{{ purchaseAmount.toFixed(2) }}
+
+
@@ -277,7 +283,7 @@ import SupplierChoose from "@/views/repair/Components/SupplierChoose.vue";
import CorpChoose from "@/views/repair/Components/CorpChoose.vue";
import StaffChoose from "@/views/repair/Components/StaffChoose.vue";
import {DICT_TYPE} from "@/utils/dict";
-import {getRepairSoPage, voidSo, getRepairSoById, inWare, exportData} from "@/api/repair/stockOperate/stockOperate";
+import {getRepairSoPage, voidSo, getRepairSoById, inWare, exportData, purchase} from "@/api/repair/stockOperate/stockOperate";
import SoShow from "@/views/repair/stockOperate/Components/SoSow.vue";
import {getRepairSoiByIds, getMapBySoIdAndQuery} from "@/api/repair/stockOperate/stockOperateItem";
import {createUniqueCodeByHead} from "@/utils/createUniqueCode";
@@ -356,6 +362,7 @@ export default {
list: [],
loading: false,
total: 0,
+ purchaseAmount: 0,
dialogVisible: false,
inItems: [],
inItemsQuery: null,
@@ -523,6 +530,8 @@ export default {
const res = await getRepairSoPage(this.queryParams)
this.list = res.data.records
this.total = res.data.total
+ const purchaseRes = await purchase(this.queryParams)
+ this.purchaseAmount = purchaseRes.data
} finally {
this.loading = false
}
@@ -784,4 +793,22 @@ export default {
cursor: text;
}
}
+
+.amount-card {
+ margin-bottom: 20px;
+ .amount-info {
+ display: flex;
+ align-items: center;
+ .amount-label {
+ font-size: 14px;
+ color: #606266;
+ margin-right: 8px;
+ }
+ .amount-value {
+ font-size: 18px;
+ font-weight: bold;
+ color: #f56c6c;
+ }
+ }
+}
diff --git a/src/views/repair/tickets/Components/TicketManagerItem.vue b/src/views/repair/tickets/Components/TicketManagerItem.vue
index f2a87a9..3c2189e 100644
--- a/src/views/repair/tickets/Components/TicketManagerItem.vue
+++ b/src/views/repair/tickets/Components/TicketManagerItem.vue
@@ -209,6 +209,31 @@
prop="handleMobile"
width="180"
/>
+
+
+
+
+
+
+
+ {{ formatDateValue(scope.row.inTime) }}
+
+