feat(hand-factory): 新增移库和查看钢卷功能并优化UI
- 新增移库操作流程,包括扫描钢卷和目标库区 - 添加查看存储钢卷功能,支持快速查看库区钢卷信息 - 优化material-picker组件,显示物料类型信息 - 更新版本号至1.3.13并调整API基础地址 - 改进UI样式,包括按钮布局和扫码界面 - 修复更新弹窗取消按钮文本问题
This commit is contained in:
45
apps/hand-factory/pages/easycode/tranfer.vue
Normal file
45
apps/hand-factory/pages/easycode/tranfer.vue
Normal file
@@ -0,0 +1,45 @@
|
||||
<template>
|
||||
<view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { getMaterialCoil, updateMaterialCoil } from '@/api/wms/coil';
|
||||
import { addPendingAction } from '@/api/wms/pendingAction';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
form: {
|
||||
|
||||
}
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
fetchCoil(coilId) {
|
||||
getMaterialCoil(coilId).then(res => {
|
||||
this.form = res.data;
|
||||
})
|
||||
},
|
||||
async confirm() {
|
||||
// 1. 更新钢卷
|
||||
|
||||
// 2. 创建操作记录
|
||||
|
||||
// 3. 提示操作成功
|
||||
|
||||
// 4. 延时0.5s后返回上一级页面
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
// 根据传递来的信息展示在表单上
|
||||
const coilId = options.coilId;
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user