| | |
| | | width="32%"> |
| | | <span>{{ dialogMessage }}</span> |
| | | <span slot="footer" class="dialog-footer"> |
| | | <el-button type="primary" @click="this.goBack()">确 定</el-button> |
| | | <el-button type="primary" @click="goBack()">确 定</el-button> |
| | | </span> |
| | | </el-dialog> |
| | | <el-dialog |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import ValueTable from "@/components/Table/value-table.vue"; |
| | | import { |
| | | addInsOrder, |
| | | addRawMaterOrderTemplate, delRawMaterOrderTemplate, |
| | |
| | | export default { |
| | | name: "CustomsInspection", |
| | | dicts: ['check_type', 'urgency_level'], |
| | | components: { |
| | | ValueTable, |
| | | }, |
| | | components: {}, |
| | | props: { |
| | | currentId: { |
| | | type: Number, |
| | |
| | | this.selectTree = str.join(' - ') |
| | | this.addListInfo(this.codeLevel, res.data) // 原材料样品是固定的,就默认赋值一条数据,可拆分 |
| | | this.selectInsOrderTemplate() // 原材料模板列表查询 |
| | | } else { |
| | | this.dialogVisible = true |
| | | this.dialogMessage = res.message |
| | | } |
| | | }).catch(err => { |
| | | console.log('err---', err) |
| | | this.dialogVisible = true |
| | | this.dialogMessage = err.message |
| | | }) |
| | | } |
| | | }, |