Browse Source

fis页面产线下拉排序调整

branch_ccpg_220107
yu.wu 3 years ago
parent
commit
3abb90f4b1
  1. 4
      vue/src/views/pg-fis/basedate/m100BIll/index.vue
  2. 7
      vue/src/views/pg-fis/basedate/m100Online/index.vue
  3. 4
      vue/src/views/pg-fis/basedate/r100Online/index.vue
  4. 4
      vue/src/views/pg-fis/basedate/weldingAssembly/index.vue

4
vue/src/views/pg-fis/basedate/m100BIll/index.vue

@ -1410,7 +1410,7 @@ export default {
.then((response) => {
//console.log(response);
this.PLList = response.item;
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList);
})
.catch(() => {
@ -1423,7 +1423,7 @@ export default {
this.listQuery.productLine = "";
//console.log(this.listQuery.productType);
//console.log(this.PLChildList)
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList)
//console.log(this.listQuery.productType)
//console.log(this.PLChildList)

7
vue/src/views/pg-fis/basedate/m100Online/index.vue

@ -1300,7 +1300,7 @@ export default {
else
{
//grid++jsonbase64
//this.fileQuery.report = "menban";
//this.fileQuery.report = "zhuhuban";
this.fileQuery.dataname = JSON.stringify(response.item);
//this.fileQuery.dataname = "";
console.log("打印json");
@ -1330,7 +1330,7 @@ export default {
.then((response) => {
//console.log(response);
this.PLList = response.item;
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList)
})
.catch(() => {
@ -1342,7 +1342,7 @@ export default {
this.$forceUpdate();
//console.log(this.listQuery.productType);
this.listQuery.productLine = "";
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList)
//
if(this.listQuery.productType === 1)
@ -1418,6 +1418,7 @@ export default {
document.body.appendChild(ifr)
this.doPrint('printPdf' + date)
window.URL.revokeObjectURL(ifr.src) // URL
this.dialogFormVisible = false;
},
httpPost(URL, PARAMS) {
var temp = document.createElement("form");

4
vue/src/views/pg-fis/basedate/r100Online/index.vue

@ -720,7 +720,7 @@ export default {
.then((response) => {
//console.log(response);
this.PLList = response.item;
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList)
})
.catch(() => {
@ -732,7 +732,7 @@ export default {
this.$forceUpdate();
//console.log(this.listQuery.productType);
this.listQuery.productLine = "";
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList)
},
/*单据状态变更 */

4
vue/src/views/pg-fis/basedate/weldingAssembly/index.vue

@ -820,7 +820,7 @@ export default {
.then((response) => {
//console.log(response);
this.PLList = response.item;
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
})
.catch(() => {
});
@ -830,7 +830,7 @@ export default {
{
//console.log(this.listQuery.productType);
this.listQuery.productLine = "";
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType));
this.PLChildList = this.PLList.filter(u => u.productType === parseInt(this.listQuery.productType)).sort((a,b)=>{return a.productLineCode-b.productLineCode});
//console.log(this.PLList);
},
},

Loading…
Cancel
Save