update: 补单不能重新过毛

This commit is contained in:
admin 2024-05-15 16:27:06 +08:00
parent 6118bbeccf
commit e5bb761556
1 changed files with 4 additions and 3 deletions

View File

@ -155,6 +155,7 @@
" "
> >
<u-button <u-button
v-if="!state.order.repairFlag"
text="重新过毛" text="重新过毛"
plain plain
:customStyle="{ :customStyle="{
@ -584,9 +585,9 @@ const init = () => {
} }
}); });
} }
} };
onShow(() => { onShow(() => {
init() init();
}); });
onLoad((option) => { onLoad((option) => {
state.order.id = (option as any).id; state.order.id = (option as any).id;
@ -596,7 +597,7 @@ onLoad((option) => {
console.log(data); console.log(data);
state.order.id = data.id; state.order.id = data.id;
state.scaleStatusBtnType = data.scaleStatusBtnType; state.scaleStatusBtnType = data.scaleStatusBtnType;
init() init();
}); });
}); });
onUnmounted(() => { onUnmounted(() => {