Browse Source

2024-06-03 更新3

master
fengyuan_yang 2 years ago
parent
commit
31592df35f
  1. 19
      src/views/modules/part/bomManagement.vue

19
src/views/modules/part/bomManagement.vue

@ -480,7 +480,7 @@
<el-input class="inlineNumber numInput" v-model="componentData.lineSequence" type="number" style="width: 49px"></el-input>
</el-form-item>
<el-form-item prop="componentPart" :rules="componentRules.componentPart">
<span v-if="!componentDisableFlag" slot="label" @click="queryComponentPartList"><a herf="#">子物料编码</a></span>
<span v-if="!componentDisableFlag" slot="label" @click="queryComponentPartModal"><a herf="#">子物料编码</a></span>
<span v-if="componentDisableFlag" slot="label">子物料编码</span>
<el-input v-model="componentData.componentPart" :disabled="componentDisableFlag" @blur="componentPartBlur" style="width: 130px"></el-input>
</el-form-item>
@ -3204,7 +3204,8 @@ export default {
/**
* 物料列表
*/
queryComponentPartList () {
queryComponentPartModal () {
this.componentPartData.status = 'Y'
//
queryPartList(this.componentPartData).then(({data}) => {
if (data && data.code === 0) {
@ -3218,6 +3219,20 @@ export default {
})
},
/**
* 物料列表
*/
queryComponentPartList () {
//
queryPartList(this.componentPartData).then(({data}) => {
if (data && data.code === 0) {
this.componentPartList = data.rows
} else {
this.componentPartList = []
}
})
},
//
componentPartBlur () {
this.componentPartData.partNo = this.componentData.componentPart

Loading…
Cancel
Save