xyc
2024-08-02 7abc95a191d2c1a9bb9ff8fd7fb05470a0d4e86b
web/src/views/modules/basicInfo/XhProductModel-AddOrUpdate.vue
@@ -43,11 +43,12 @@
          id: '',
          pid: '',
          name: '',
          shipId: '',
          productType: '',
          operatImg: '',
          operatImgName: '',
          sort: '',
          equipType:'',
          equipType: '',
          status: ''
        }
      }
@@ -57,6 +58,9 @@
    },
    methods: {
      init(id, params) {
        if (params.shipId) {
          this.dataForm.shipId = params.shipId
        }
        if (params.type === 'xh') {
          this.isShow = false
          this.dataForm.pid = null
@@ -88,7 +92,7 @@
          productType: selected
        }
        let res = await this.$http.get(`/sysPictureBase/getDefaultImg`, {params: params})
        if (res.data){
        if (res.data) {
          this.dataForm.operatImgName = res.data.name
          this.dataForm.operatImg = res.data.id
        }