inspection-edit.vue 762 B

12345678910111213141516171819202122232425262728293031323334
  1. <template>
  2. <add :use-type="useType" :project-quantity-list="projectQuantityList" :sbId="sbId" :id="id" />
  3. </template>
  4. <script>
  5. import add from '@/pages/fill/add'
  6. export default {
  7. components: {
  8. add
  9. },
  10. onLoad(options) {
  11. this.sbId = options.sbId
  12. this.id = options.id
  13. },
  14. data() {
  15. return {
  16. sbId: null,
  17. projectQuantityList: [],
  18. id: null,
  19. useType: this.$DictCache.VALUE.FILL_INFO_USE_TYPE.FILL_INFO_USE_TYPE_XUN_JIAN
  20. };
  21. },
  22. created () {
  23. // 下拉框map
  24. this.$Http.queryFillProjectQuantityDeptProject().then(res => {
  25. this.projectQuantityList = res.data
  26. })
  27. },
  28. methods: {
  29. }
  30. };
  31. </script>
  32. <style></style>