|
|
@ -435,7 +435,7 @@ export default { |
|
|
searchCodeItemDefs(){ |
|
|
searchCodeItemDefs(){ |
|
|
let params = { |
|
|
let params = { |
|
|
...this.searchCodeItemDef, |
|
|
...this.searchCodeItemDef, |
|
|
site: this.$store.state.user.site, |
|
|
|
|
|
|
|
|
site: '*', |
|
|
} |
|
|
} |
|
|
this.loading = true; |
|
|
this.loading = true; |
|
|
searchCodeItemDefs(params).then(({data}) => { |
|
|
searchCodeItemDefs(params).then(({data}) => { |
|
|
@ -558,7 +558,7 @@ export default { |
|
|
if (this.saveCodeItemDef.itemNo){ |
|
|
if (this.saveCodeItemDef.itemNo){ |
|
|
this.editBatchCodeItemDef(arr) |
|
|
this.editBatchCodeItemDef(arr) |
|
|
}else { |
|
|
}else { |
|
|
this.saveCodeItemDef.site = this.$store.state.user.site; |
|
|
|
|
|
|
|
|
this.saveCodeItemDef.site = '*'; |
|
|
this.saveBatchCodeItemDef(arr) |
|
|
this.saveBatchCodeItemDef(arr) |
|
|
} |
|
|
} |
|
|
}else { |
|
|
}else { |
|
|
@ -658,7 +658,7 @@ export default { |
|
|
saveSeqNoGenerate(){ |
|
|
saveSeqNoGenerate(){ |
|
|
let arr = this.seqNoGenerateList.map(item=>{ |
|
|
let arr = this.seqNoGenerateList.map(item=>{ |
|
|
return { |
|
|
return { |
|
|
site:this.currentRow.site, |
|
|
|
|
|
|
|
|
site:'*', |
|
|
relatedItemNo:item, |
|
|
relatedItemNo:item, |
|
|
itemNo:this.currentRow.itemNo, |
|
|
itemNo:this.currentRow.itemNo, |
|
|
} |
|
|
} |
|
|
|