|
@@ -14,7 +14,7 @@
|
|
{{ model[field] }}
|
|
{{ model[field] }}
|
|
</template>
|
|
</template>
|
|
<template #add>
|
|
<template #add>
|
|
- <Button @click="add">添加备件</Button>
|
|
|
|
|
|
+ <a-button type="primary" @click="add">添加备件</a-button>
|
|
</template>
|
|
</template>
|
|
<template #del="{ field }">
|
|
<template #del="{ field }">
|
|
<Button @click="del(field)">删除</Button>
|
|
<Button @click="del(field)">删除</Button>
|
|
@@ -201,8 +201,10 @@
|
|
checkResult: '',
|
|
checkResult: '',
|
|
checkImg: [],
|
|
checkImg: [],
|
|
};
|
|
};
|
|
|
|
+ fileFlow.type = data.type;
|
|
|
|
+ fileFlow.cameraType = data.cameraType;
|
|
if (data.status == 20) {
|
|
if (data.status == 20) {
|
|
- let res = await checkRegisterInfo({repairId:'20230506152208120'||data.repairId})
|
|
|
|
|
|
+ let res = await checkRegisterInfo({repairId:data.repairId})
|
|
console.log('repairId',res)
|
|
console.log('repairId',res)
|
|
let index = n.value
|
|
let index = n.value
|
|
res.partList.map((ele,b) => {
|
|
res.partList.map((ele,b) => {
|
|
@@ -227,8 +229,6 @@
|
|
ifShow: data.warrantyType == 0,
|
|
ifShow: data.warrantyType == 0,
|
|
},
|
|
},
|
|
]);
|
|
]);
|
|
- fileFlow.type = data.type;
|
|
|
|
- fileFlow.cameraType = data.cameraType;
|
|
|
|
setFieldsValue({
|
|
setFieldsValue({
|
|
...data,
|
|
...data,
|
|
...backfill,
|
|
...backfill,
|