Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

肖康 / cloudSystem

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 404f5404 authored 2 years ago by 韩达's avatar 韩达
Browse files
Options
  • _('Browse Files')
  • Download
  • Email Patches
  • Plain Diff

fix

parent c92c28b9
Show whitespace changes
Inline Side-by-side
Showing with 15 additions and 15 deletions
  • src/views/OrderTrack/goodsDetail.vue
src/views/OrderTrack/goodsDetail.vue
View file @ 404f5404
......@@ -133,21 +133,6 @@ export default {
},
created() {
this.getData(this.$route.query.purchase_id);
// 1猎芯科技,2深茂电子
if( this.infos.company_id == 1 ){
this.langOptions = [
{ label: '中文', value: 1 },
];
this.selectedLang = 1;
}else{
this.langOptions = [
{ label: '中文', value: 2 },
{ label: '英文', value: 3 },
];
this.selectedLang = 2;
}
this.supplier_id = localStorage.getItem('supplier_id');
},
watch: {
......@@ -172,6 +157,21 @@ export default {
this.infos = res.data.purchase_info;
this.tableData = res.data.purchase_item_list || [];
this.contractData = res.data.pur_contract_list || [];
// 1猎芯科技,2深茂电子
if( this.infos.company_id == 1 ){
this.langOptions = [
{ label: '中文', value: 1 },
];
this.selectedLang = 1;
}else{
this.langOptions = [
{ label: '中文', value: 2 },
{ label: '英文', value: 3 },
];
this.selectedLang = 2;
}
} else {
this.$message({
message: res.msg,
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment