Browse Source

2025-07-22

master
fengyuan_yang 6 months ago
parent
commit
18fd1efe26
  1. 6
      src/views/modules/part/bomManagement.vue
  2. 6
      src/views/modules/part/routingManagement.vue
  3. 8
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue

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

@ -231,8 +231,10 @@
<el-form-item v-else> <el-form-item v-else>
<el-button type="primary" @click="saveComponentModal" style="margin-left: 7px">新增</el-button> <el-button type="primary" @click="saveComponentModal" style="margin-left: 7px">新增</el-button>
<el-button type="primary" @click="deleteComponentPart">删除</el-button> <el-button type="primary" @click="deleteComponentPart">删除</el-button>
<el-button type="primary" :loading="saveComponentLoading" @click="copyComponent">复制</el-button>
<el-button type="primary" @click="pasteComponentModal">粘贴</el-button>
<template v-if="isAuth('104002001:copyAndPaste')">
<el-button type="primary" :loading="saveComponentLoading" @click="copyComponent">复制</el-button>
<el-button type="primary" @click="pasteComponentModal">粘贴</el-button>
</template>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table <el-table

6
src/views/modules/part/routingManagement.vue

@ -264,8 +264,10 @@
<el-form-item v-else> <el-form-item v-else>
<el-button type="primary" @click="saveComponentModal" style="margin-left: 7px">新增</el-button> <el-button type="primary" @click="saveComponentModal" style="margin-left: 7px">新增</el-button>
<el-button type="primary" @click="deleteComponentPart">删除</el-button> <el-button type="primary" @click="deleteComponentPart">删除</el-button>
<el-button type="primary" :loading="saveComponentLoading" @click="copyComponent">复制</el-button>
<el-button type="primary" @click="pasteComponentModal">粘贴</el-button>
<template v-if="isAuth('104003001:copyAndPaste')">
<el-button type="primary" :loading="saveComponentLoading" @click="copyComponent">复制</el-button>
<el-button type="primary" @click="pasteComponentModal">粘贴</el-button>
</template>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-table <el-table

8
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue

@ -719,12 +719,12 @@
this.searchTable() this.searchTable()
}, },
searchTable (type) {
getOADetailForBM(this.searchData).then(({data}) => {
async searchTable (type) {
await getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp == null ? '' : data.row.sp this.spForm.sp = data.row.sp == null ? '' : data.row.sp
}) })
searchBMBom(this.searchData).then(({data}) => {
await searchBMBom(this.searchData).then(({data}) => {
if (data&& data.code === 0) { if (data&& data.code === 0) {
this.bomList = data.rows this.bomList = data.rows
this.bomData = data.row this.bomData = data.row
@ -735,7 +735,7 @@
this.$message.error(data.msg) this.$message.error(data.msg)
} }
}) })
tsdBasicInformationSearch(this.searchData).then(({data}) => {
await tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm = data.row this.baseForm = data.row
this.bomData.site = data.row.site this.bomData.site = data.row.site
this.bomData.partNo = data.row.finalPartNo this.bomData.partNo = data.row.finalPartNo

Loading…
Cancel
Save