Merge branch 'ww'

prod
wangwei 2 years ago
commit 0b9caeb230

@ -142,6 +142,7 @@ export default {
page: 1, page: 1,
limit: 20, limit: 20,
}, },
mainThirdSys:'',
addDialogVisible: false, addDialogVisible: false,
modifyDialogVisible: false, modifyDialogVisible: false,
list: [], list: [],
@ -174,7 +175,7 @@ export default {
path: "", path: "",
}); });
this.filterQuery = { this.filterQuery = {
thirdSys: "thirdId", thirdSys: this.mainThirdSys,
name: null, name: null,
enable: null, enable: null,
page: 1, page: 1,
@ -211,7 +212,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.getThirdSysDetail(); this.getThirdSysDetail();
}) })
.catch(() => { .catch(() => {

@ -105,6 +105,7 @@ export default {
limit: 20, limit: 20,
isDownThrSys: null, isDownThrSys: null,
}, },
mainThirdSys:'',
total: 0, total: 0,
list: [], list: [],
thirdSys: [], thirdSys: [],
@ -127,7 +128,7 @@ export default {
thrCorpEntities: [], thrCorpEntities: [],
unitId: null, unitId: null,
name: null, name: null,
thirdSys: null, thirdSys: this.mainThirdSys,
page: 1, page: 1,
limit: 20, limit: 20,
isDownThrSys: null, isDownThrSys: null,
@ -167,7 +168,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSys; this.uploadData.thirdSys = this.filterQuery.thirdSys;
this.getThirdSysDetail(); this.getThirdSysDetail();
this.selectSysParam(); this.selectSysParam();

@ -92,6 +92,7 @@ export default {
page: 1, page: 1,
limit: 20, limit: 20,
}, },
mainThirdSys:'',
total: 0, total: 0,
list: [], list: [],
thirdSys: [], thirdSys: [],
@ -113,7 +114,7 @@ export default {
this.filterQuery = { this.filterQuery = {
unitId: null, unitId: null,
name: null, name: null,
thirdSys: null, thirdSys: this.mainThirdSys,
page: 1, page: 1,
limit: 20, limit: 20,
}; };
@ -210,7 +211,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSys; this.uploadData.thirdSys = this.filterQuery.thirdSys;
this.getThirdSysDetail(); this.getThirdSysDetail();
this.selectSysParam(); this.selectSysParam();

@ -138,6 +138,7 @@ export default {
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: null,
}, },
mainThirdSys:'',
udiImportDetailVisible: false, udiImportDetailVisible: false,
thrCorpSelectVisible: false, thrCorpSelectVisible: false,
checked: false, checked: false,
@ -179,7 +180,7 @@ export default {
status: null, status: null,
page: 1, page: 1,
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: this.mainThirdSys,
}; };
this.getList(); this.getList();
}, },
@ -265,7 +266,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSysFk = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSysFk = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSysFk; this.uploadData.thirdSys = this.filterQuery.thirdSysFk;
this.getList(); this.getList();
this.getThirdSysDetail(); this.getThirdSysDetail();

@ -315,6 +315,7 @@ export default {
parentId: null, parentId: null,
thirdSysFk: null, thirdSysFk: null,
}, },
mainThirdSys:'',
mergeList: [], mergeList: [],
subList: [], subList: [],
subData: {}, subData: {},
@ -409,7 +410,7 @@ export default {
status: "", status: "",
page:1, page:1,
limit:20, limit:20,
thirdSysFk: null thirdSysFk: this.mainThirdSys
}; };
this.getList(); this.getList();
}, },
@ -649,6 +650,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.query.thirdSysFk = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.getThirdSysDetail(); this.getThirdSysDetail();
}) })
.catch(() => { .catch(() => {

@ -124,6 +124,7 @@ export default {
limit: 100, limit: 100,
filterCount: null, filterCount: null,
}, },
mainThirdSys:'',
total: 0, total: 0,
list: [], list: [],
thirdSys: [], thirdSys: [],
@ -144,7 +145,7 @@ export default {
this.filterQuery = { this.filterQuery = {
inventoryCode: null, inventoryCode: null,
inventoryName: null, inventoryName: null,
thirdSys: null, thirdSys: this.mainThirdSys,
spec: null, spec: null,
registerCertNo: null, registerCertNo: null,
manufactory: null, manufactory: null,
@ -250,7 +251,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSys; this.uploadData.thirdSys = this.filterQuery.thirdSys;
this.getThirdSysDetail(); this.getThirdSysDetail();
this.selectSysParam(); this.selectSysParam();

@ -185,6 +185,7 @@ export default {
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: null,
}, },
mainThirdSys:'',
selectType: 0, selectType: 0,
udiImportDetailVisible: false, udiImportDetailVisible: false,
thrInvProductsSelectVisible: false, thrInvProductsSelectVisible: false,
@ -227,7 +228,7 @@ export default {
status: null, status: null,
page: 1, page: 1,
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: this.mainThirdSys,
}; };
this.getList(); this.getList();
}, },
@ -311,7 +312,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSysFk = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSysFk = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSysFk; this.uploadData.thirdSys = this.filterQuery.thirdSysFk;
this.getList(); this.getList();
this.getThirdSysDetail(); this.getThirdSysDetail();

@ -136,6 +136,7 @@
limit: 100, limit: 100,
filterCount:null, filterCount:null,
}, },
mainThirdSys:'',
total: 0, total: 0,
list: [], list: [],
thirdSys: [], thirdSys: [],
@ -157,7 +158,7 @@
thrInvProductsEntities:[], thrInvProductsEntities:[],
inventoryCode: null, inventoryCode: null,
inventoryName: null, inventoryName: null,
thirdSys: null, thirdSys: this.mainThirdSys,
spec: null, spec: null,
registerCertNo: null, registerCertNo: null,
manufactory: null, manufactory: null,
@ -262,7 +263,12 @@
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSys; this.uploadData.thirdSys = this.filterQuery.thirdSys;
this.getThirdSysDetail(); this.getThirdSysDetail();
this.selectSysParam(); this.selectSysParam();

@ -138,6 +138,7 @@ export default {
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: null,
}, },
mainThirdSys:'',
udiImportDetailVisible: false, udiImportDetailVisible: false,
checked: false, checked: false,
list: [], list: [],
@ -180,7 +181,7 @@ export default {
status: null, status: null,
page: 1, page: 1,
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: this.mainThirdSys,
}; };
this.getList(); this.getList();
}, },
@ -262,7 +263,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSysFk = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSysFk = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSysFk; this.uploadData.thirdSys = this.filterQuery.thirdSysFk;
this.getList(); this.getList();
this.getThirdSysDetail(); this.getThirdSysDetail();

@ -143,6 +143,7 @@ export default {
page: 1, page: 1,
limit: 20, limit: 20,
}, },
mainThirdSys:'',
total: 0, total: 0,
thirdSys: [], thirdSys: [],
thirdSysDetail: null, thirdSysDetail: null,
@ -190,12 +191,12 @@ export default {
registerNo: null, registerNo: null,
manufactory: null, manufactory: null,
name: "", name: "",
thirdSys: this.thirdSys[0].thirdId, thirdSys: this.mainThirdSys,
page: 1, page: 1,
limit: 20, limit: 20,
}; };
this.getList(); this.getList();
this.filterQuery.thirdSys ="";
}, },
hideSearch() { hideSearch() {
this.showSearch = !this.showSearch; this.showSearch = !this.showSearch;
@ -267,7 +268,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSys; this.uploadData.thirdSys = this.filterQuery.thirdSys;
this.getThirdSysDetail(); this.getThirdSysDetail();
this.selectSysParam(); this.selectSysParam();

@ -145,6 +145,7 @@ export default {
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: null,
}, },
mainThirdSys:'',
udiImportDetailVisible: false, udiImportDetailVisible: false,
thrProductsSelectVisible: false, thrProductsSelectVisible: false,
checked: false, checked: false,
@ -186,7 +187,7 @@ export default {
status: null, status: null,
page: 1, page: 1,
limit: 20, limit: 20,
thirdSysFk: null, thirdSysFk: this.mainThirdSys,
}; };
this.getList(); this.getList();
}, },
@ -280,7 +281,13 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSysFk = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.filterQuery.thirdSysFk = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSysFk; this.uploadData.thirdSys = this.filterQuery.thirdSysFk;
this.getList(); this.getList();
this.getThirdSysDetail(); this.getThirdSysDetail();

@ -143,6 +143,7 @@ export default {
limit: 10, limit: 10,
isDownThrSys: null, isDownThrSys: null,
}, },
mainThirdSys:'',
total: 0, total: 0,
thirdSys: [], thirdSys: [],
thirdSysDetail: null, thirdSysDetail: null,
@ -166,7 +167,7 @@ export default {
thrProductsEntities: [], thrProductsEntities: [],
code: null, code: null,
name: "", name: "",
thirdSys: "", thirdSys: this.mainThirdSys,
page: 1, page: 1,
limit: 20, limit: 20,
}; };
@ -263,7 +264,12 @@ export default {
getBasicThirdSys(query) getBasicThirdSys(query)
.then((response) => { .then((response) => {
this.thirdSys = response.data.list || []; this.thirdSys = response.data.list || [];
this.filterQuery.thirdSys = this.thirdSys[0].thirdId; for(var i=0;i<this.thirdSys.length;i++){
if(this.thirdSys[i].mainSys){
this.filterQuery.thirdSys = this.thirdSys[i].thirdId;
this.mainThirdSys = this.thirdSys[i].thirdId;
}
}
this.uploadData.thirdSys = this.filterQuery.thirdSys; this.uploadData.thirdSys = this.filterQuery.thirdSys;
this.getThirdSysDetail(); this.getThirdSysDetail();
this.selectSysParam(); this.selectSysParam();

Loading…
Cancel
Save