Browse Source

plm BMM

master
ruanqi 10 months ago
parent
commit
ea100ba94f
  1. 2
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_bom.vue
  2. 4
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue
  3. 4
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue
  4. 2
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue
  5. 8
      src/views/modules/sampleManagement/technicalSpecificationDetail/com_tsd_basicInformation.vue

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

@ -472,7 +472,7 @@
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
searchBMBom(this.searchData).then(({data}) => { searchBMBom(this.searchData).then(({data}) => {
if(data&& data.code===0){ if(data&& data.code===0){

4
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_customerInformation.vue

@ -329,7 +329,7 @@
}) })
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
// console.log(''+this.spForm.sp) // console.log(''+this.spForm.sp)
// console.log(''+this.searchData.username) // console.log(''+this.searchData.username)
// console.log(this.spForm.sp.includes(this.searchData.username)) // console.log(this.spForm.sp.includes(this.searchData.username))
@ -350,7 +350,7 @@
searchTable(){ searchTable(){
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
tsdBasicInformationSearch(this.searchData).then(({data}) => { tsdBasicInformationSearch(this.searchData).then(({data}) => {
this.baseForm=data.row; this.baseForm=data.row;

4
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_demoSlot.vue

@ -189,7 +189,7 @@
// this.searchTable(); // this.searchTable();
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
searchBMPropertiesValue(this.searchData).then(({data}) => { searchBMPropertiesValue(this.searchData).then(({data}) => {
@ -218,7 +218,7 @@
searchTable(){ searchTable(){
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
searchBMPropertiesValue(this.searchData).then(({data}) => { searchBMPropertiesValue(this.searchData).then(({data}) => {

2
src/views/modules/sampleManagement/technicalSpecificationDetail/com_bm_routing.vue

@ -1001,7 +1001,7 @@
}); });
getOADetailForBM(this.searchData).then(({data}) => { getOADetailForBM(this.searchData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
if(this.searchData.buNo==='RDC'){ if(this.searchData.buNo==='RDC'){
searchBMRoutingDetail(this.searchData).then(({data}) => { searchBMRoutingDetail(this.searchData).then(({data}) => {

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

@ -543,7 +543,7 @@
} }
getOADetailForBM(inData).then(({data}) => { getOADetailForBM(inData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
searchTechnicalSpecificationTeamStr(inData).then(({data}) => { searchTechnicalSpecificationTeamStr(inData).then(({data}) => {
this.dataForm.quotationOfficerList = data.rows this.dataForm.quotationOfficerList = data.rows
@ -605,7 +605,7 @@
}) })
getOADetailForBM(inData).then(({data}) => { getOADetailForBM(inData).then(({data}) => {
this.spForm.nodeName = data.row.nodeName this.spForm.nodeName = data.row.nodeName
this.spForm.sp = data.row.sp
this.spForm.sp = data.row.sp==null?'':data.row.sp
}) })
let inData2 = { let inData2 = {
site: this.dataForm.site, site: this.dataForm.site,
@ -870,7 +870,7 @@
} }
issueChange(tempData).then(({data}) => { issueChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.refresh()
this.searchTable()
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})
} else { } else {
this.$alert(data.msg, '错误', { this.$alert(data.msg, '错误', {
@ -911,7 +911,7 @@
if (data && data.code === 0) { if (data && data.code === 0) {
submitChange(tempData).then(({data}) => { submitChange(tempData).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.refresh();
this.searchTable()
this.submitModalFlag = false this.submitModalFlag = false
this.$message({message: '操作成功', type: 'success'}) this.$message({message: '操作成功', type: 'success'})
} else { } else {

Loading…
Cancel
Save