This commit is contained in:
parent
dd7a2a6be3
commit
3f6aa783f6
|
|
@ -70,6 +70,12 @@
|
|||
<view class="cont">{{ item.typeRepairNum }}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<uni-row :gutter="24">
|
||||
<uni-col :span="6">拆后数量:</uni-col>
|
||||
<uni-col :span="16">
|
||||
<view class="cont">{{Number(item.typeRepairedNum) + Number(item.typeScrapNum)}}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<uni-row :gutter="24">
|
||||
<!-- <uni-col :span="2" style="color: transparent">{{ index + 1 }}</uni-col> -->
|
||||
<uni-col :span="6">已修数量:</uni-col>
|
||||
|
|
@ -88,7 +94,7 @@
|
|||
<!-- <uni-col :span="2" style="color: transparent">{{ index + 1 }}</uni-col> -->
|
||||
<uni-col :span="6">待修数量:</uni-col>
|
||||
<uni-col :span="16">
|
||||
<view class="cont">{{ Number(item.typeRepairNum)-Number(item.typeRepairedNum)-Number(item.typeScrapNum) }}</view>
|
||||
<view class="cont">{{ 0 }}</view>
|
||||
</uni-col>
|
||||
</uni-row>
|
||||
<uni-row :gutter="24">
|
||||
|
|
@ -123,7 +129,7 @@
|
|||
|
||||
<script setup>
|
||||
import { ref, onUnmounted, computed } from 'vue'
|
||||
import { getRepairDetailsAPI, auditRepairPass } from '@/services/repair/repair.js'
|
||||
import { getRepairDetailsAPINew, auditRepairPass } from '@/services/repair/repair.js'
|
||||
import { onLoad, onShow } from '@dcloudio/uni-app'
|
||||
const detailsList = ref([])
|
||||
// const query = defineProps() // 获取上级页面传递的路由参数
|
||||
|
|
@ -135,7 +141,7 @@ const search = () => {
|
|||
}
|
||||
// 获取列表详情
|
||||
const getRepairDetailsData = async () => {
|
||||
const res = await getRepairDetailsAPI({ taskId: taskId.value,keyword:keyWord.value })
|
||||
const res = await getRepairDetailsAPINew({ taskId: taskId.value,keyword:keyWord.value })
|
||||
detailsList.value = res.data
|
||||
detailsList.value = detailsList.value.map((e) => {
|
||||
return { ...e, isChecked: false }
|
||||
|
|
@ -223,6 +229,7 @@ onUnmounted(() => {
|
|||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
.page-container {
|
||||
display: flex;
|
||||
height: 100vh;
|
||||
|
|
|
|||
|
|
@ -21,6 +21,14 @@ export const getRepairDetailsAPI = (data) => {
|
|||
})
|
||||
}
|
||||
|
||||
export const getRepairDetailsAPINew = (data) => {
|
||||
return http({
|
||||
method: 'GET',
|
||||
url: '/material/repair/getAppRepairMaTypeListNew',
|
||||
data,
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 维修 ---- 列表详情,3级
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue