commit by yzf

master
Yang 3 years ago
parent 14142f6448
commit c01a285f92

@ -3,8 +3,8 @@ import { layer } from '@layui/layer-vue'
const config = {
timeout: 600000,
//baseURL: "http://124.222.104.55:58178/",
baseURL: "http://localhost:58178/",
baseURL: "http://124.222.104.55:58178/",
//baseURL: "http://localhost:58178/",
// baseURL: "http://plm-pw-test.hbflavor.com:81/",
headers: {
'Content-Type': 'application/json;charset=UTF-8',

@ -209,7 +209,7 @@ export default {
},
mounted() {
this.getUserPower();
this.initPage(this.idx);
//this.initPage(this.idx);
},
methods: {
async getUserPower() {

@ -312,6 +312,7 @@ export default {
},
//
async _getPageList(isFirst) {
debugger
if (isFirst) {
this.pageInfo.current = 1;
this.pageInfo.total = 0;

@ -1,6 +1,6 @@
<template>
<lay-container fluid="true" class="content-box">
<FormulaView :teamId="dataInfoObj.FTeamID" :halfId="dataInfoObj.FMaterialHalfIDs"></FormulaView>
<FormulaView :teamId="dataInfoObj.FTeamID" :dataInfoObj="dataInfoObj" :halfId="dataInfoObj.FMaterialHalfIDs"></FormulaView>
<lay-layer area="90%" v-model="showFreezingColumnSettingBox" title="固定列设置" :end="closeFreezingSetting">
<FreezingColumnSetting v-if="showFreezingColumnSettingBox" :columns="originalColumns"
:freezingColumns="freezingColumnSetting" @cancelClick="setFreezingColumnsSetting"></FreezingColumnSetting>
@ -209,7 +209,7 @@ export default {
},
mounted() {
this.getUserPower();
this.initPage(this.idx);
//this.initPage(this.idx);
},
methods: {
async getUserPower() {
@ -227,12 +227,10 @@ export default {
},
async initPage(idx) {
this.idx = idx;
debugger
let _data = await getListByHalfMaterialTeamId({
teamId: this.dataInfoObj.FTeamID,
viewType: this.dataInfoObj.FViewType
});
this.materialInfoList = await GetMaterialInfoList() || null;

@ -84,7 +84,7 @@
width: "56"
}];
let dataList = [];
debugger
let postData = {
FTeamID: this.dataInfoObj.FTeamID,
FViewType: 2,

@ -285,7 +285,10 @@ export default {
},
showEditMaterial(i,data) {
debugger
data["FTeamID"]=data.FID;
if(data)
{
data["FTeamID"]=data.FID;
}
this.objInfoObj=data;
this.showEditBox[i] = true;

@ -209,7 +209,7 @@ export default {
},
mounted() {
this.getUserPower();
this.initPage(this.idx);
//this.initPage(this.idx);
},
methods: {
async getUserPower() {

Loading…
Cancel
Save