- 在 manifest.json 中添加 Android 包名配置 - 在 package.json 中添加 pnpm 依赖覆盖配置 - 在 pages.json 中注册坯布出库相关页面路由 - 重命名 storefabricBusinessOutAdd.vue 为 storeFabricBusinessOutAdd.vue - 重构坯布出库新增页面,优化界面布局和交互逻辑 - 添加坯布出库列表、编辑、查看等功能页面 - 集成订单状态栏、面料信息弹窗、细码弹窗等组件 - 实现坯布出库详情列表和扫码功能模块 - 优化表单验证和数据提交流程
28 lines
652 B
Vue
28 lines
652 B
Vue
<template>
|
|
<view v-if="buttons.length" class="fabric-out-submitView">
|
|
<view v-for="btn in buttons" :key="btn.action" class="fabric-out-actionBtnWrap">
|
|
<u-button type="primary" :class="singleBtnClass" @click="$emit('action', btn.action)">
|
|
{{ btn.label }}
|
|
</u-button>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
buttons: { type: Array, default: () => [] },
|
|
single: { type: Boolean, default: false },
|
|
},
|
|
computed: {
|
|
singleBtnClass() {
|
|
return this.single ? 'fabric-out-actionBtn' : '';
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
@import '@/pages/storefabric/storeFabricBusinessOutPage.scss';
|
|
</style>
|