Browse Source

2025-05-08

master
qiezi 8 months ago
parent
commit
3706ff377c
  1. 47
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue
  2. BIN
      static/img/packageInfo.png

47
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_packageInfo.vue

@ -3,11 +3,12 @@
<PackageInfo ref="PackageInfo"></PackageInfo>
<div style="margin-top: 5px;text-align: center">
<el-image src="../../../../../static/img/packageInfo.png"></el-image>
</div>
<el-form label-position="top" style="margin-top: 10px; margin-left: 0px;text-align:center">
<!-- <div class="rq-bmPic" v-if="searchData.buNo==='Flexo'||searchData.buNo==='SS'">-->
<!-- <div class="rq-bmPic" v-if="searchData.buNo==='Flexo'||searchData.buNo==='SS'">-->
</el-form>
<Chooselist append-to-body ref="baseList" @getBaseData="getBaseData"></Chooselist>
@ -16,41 +17,41 @@
<script>
import {
import {
searchBMPackageInfo,
updateBMPackageInfo,
} from "@/api/sampleManagement/technicalSpecificationList.js"
import Chooselist from '@/views/modules/common/Chooselist'
import PackageInfo from "./com_bm_demoSlot";/*组件*/
export default {
} from "@/api/sampleManagement/technicalSpecificationList.js"
import Chooselist from '@/views/modules/common/Chooselist'
import PackageInfo from "./com_bm_demoSlot";/*组件*/
export default {
components: {
Chooselist,PackageInfo
Chooselist, PackageInfo
},
data() {
return {
pageRole:'',
pageRole: '',
searchData: {
site: '',
username: this.$store.state.user.name,
codeNo: '',
buNo:'',
type:'',
fieldId:'',
buNo: '',
type: '',
fieldId: '',
},
ifDisableFlag:false,
picUrl:this.$store.state.user.bmPicUrl+'defaultPaperOrientation.png',
ifDisableFlag: false,
picUrl: this.$store.state.user.bmPicUrl + 'defaultPaperOrientation.png',
}
},
methods: {
// S
getBaseList (val, type) {
getBaseList(val, type) {
this.tagNo = val
this.tagNo1 = type
this.$nextTick(() => {
let strVal = ''
if (val === 1013) {
if(type==1) {
if (type == 1) {
strVal = this.dataForm.partType
}
}
@ -58,9 +59,9 @@
})
},
/* 列表方法的回调 */
getBaseData (val) {
getBaseData(val) {
if (this.tagNo === 1013) {
if(this.tagNo1==1) {
if (this.tagNo1 == 1) {
this.dataForm.partType = val.Base_id
this.dataForm.partTypeDesc = val.Base_desc
}
@ -70,16 +71,16 @@
init(inData) {
//
this.searchData = JSON.parse(JSON.stringify(inData));
if(this.searchData.ifDisableFlag){
this.ifDisableFlag=true
if (this.searchData.ifDisableFlag) {
this.ifDisableFlag = true
}
//
this.searchData.type='PackageInfo'
this.searchData.type = 'PackageInfo'
this.$refs.PackageInfo.init(JSON.parse(JSON.stringify(this.searchData)))
},
},
}
}
</script>
<style scoped>

BIN
static/img/packageInfo.png

After

Width: 712  |  Height: 117  |  Size: 85 KiB

Loading…
Cancel
Save