46 lines
695 B
Vue
46 lines
695 B
Vue
|
|
<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>
|