update: 结算部分优化
This commit is contained in:
parent
b4f15aeb8b
commit
4b4c39ae5a
|
@ -19,8 +19,8 @@ const props = withDefaults(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
const navbarRect = reactive({
|
const navbarRect = reactive({
|
||||||
height: 32,
|
height: 42,
|
||||||
top: 28,
|
top: 48,
|
||||||
safeHeight: 500,
|
safeHeight: 500,
|
||||||
});
|
});
|
||||||
const getSafeHeight = () => {
|
const getSafeHeight = () => {
|
||||||
|
|
|
@ -67,8 +67,8 @@ const props = withDefaults(
|
||||||
);
|
);
|
||||||
|
|
||||||
const navbarRect = reactive({
|
const navbarRect = reactive({
|
||||||
height: 32,
|
height: 42,
|
||||||
top: 28,
|
top: 48,
|
||||||
msgCount: 10,
|
msgCount: 10,
|
||||||
});
|
});
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
const navbarRect = reactive({
|
const navbarRect = reactive({
|
||||||
height: 32,
|
height: 42,
|
||||||
top: 28,
|
top: 48,
|
||||||
msgCount: 10,
|
msgCount: 10,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -169,8 +169,8 @@ import pinia from "@/store";
|
||||||
|
|
||||||
const store = useMemberStore(pinia);
|
const store = useMemberStore(pinia);
|
||||||
const navbarRect = reactive({
|
const navbarRect = reactive({
|
||||||
height: 32,
|
height: 42,
|
||||||
top: 28,
|
top: 48,
|
||||||
safeHeight: 500,
|
safeHeight: 500,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -436,7 +436,16 @@ onLoad((option) => {
|
||||||
state.order[item.enName] = state.order["totalPrice"];
|
state.order[item.enName] = state.order["totalPrice"];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
if (item.enName === 'buckleMiscellaneous') {
|
||||||
|
if (state.order[item.enName as string]) {
|
||||||
item.num = state.order[item.enName as string];
|
item.num = state.order[item.enName as string];
|
||||||
|
} else {
|
||||||
|
item.num = 0
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
item.num = state.order[item.enName as string];
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,14 @@ const handleClear = (item: any) => {
|
||||||
};
|
};
|
||||||
const isShowFormItem = (item: any) => {
|
const isShowFormItem = (item: any) => {
|
||||||
if (model1.scaleStatusBtnType === ScaleStatusBtnType.ShipmentPay) {
|
if (model1.scaleStatusBtnType === ScaleStatusBtnType.ShipmentPay) {
|
||||||
|
if (
|
||||||
|
model1.order.deliveryMethod === 1 &&
|
||||||
|
["freight", "incidentals"].indexOf(item.key) > -1
|
||||||
|
) {
|
||||||
|
return false;
|
||||||
|
} else {
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
item.key !== "paymentMethodName" &&
|
item.key !== "paymentMethodName" &&
|
||||||
|
|
Loading…
Reference in New Issue