|
|
|
@ -1,6 +1,6 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<lay-container style="height:700px;overflow: auto;" fluid="true" class="content-box">
|
|
|
|
<lay-container style="height:700px;overflow: auto;" fluid="true" class="content-box">
|
|
|
|
<MaterialList :teamId="dataInfoObj.FTeamID" :halfId="dataInfoObj.FMaterialHalfIDs"></MaterialList>
|
|
|
|
<FormulaView :teamId="dataInfoObj.FTeamID" :halfId="dataInfoObj.FMaterialHalfIDs"></FormulaView>
|
|
|
|
|
|
|
|
|
|
|
|
<lay-table id="dataTable" v-if="dataColumn.length > 0" height="320px" :columns="dataColumn" :data-source="dataList"
|
|
|
|
<lay-table id="dataTable" v-if="dataColumn.length > 0" height="320px" :columns="dataColumn" :data-source="dataList"
|
|
|
|
:cellStyle="cellStyle" :cellClassName="cellClassName">
|
|
|
|
:cellStyle="cellStyle" :cellClassName="cellClassName">
|
|
|
|
@ -98,12 +98,12 @@ import {
|
|
|
|
import { EditTypeList } from "/src/api/api/teamwork";
|
|
|
|
import { EditTypeList } from "/src/api/api/teamwork";
|
|
|
|
|
|
|
|
|
|
|
|
import OperateLog from "./OperateLog.vue";
|
|
|
|
import OperateLog from "./OperateLog.vue";
|
|
|
|
import MaterialList from "./MaterialList.vue";
|
|
|
|
import FormulaView from "./FormulaView.vue";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
components: {
|
|
|
|
OperateLog,
|
|
|
|
OperateLog,
|
|
|
|
MaterialList,
|
|
|
|
FormulaView,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
setup() {
|
|
|
|
setup() {
|
|
|
|
let dataColumn = [{
|
|
|
|
let dataColumn = [{
|
|
|
|
@ -237,7 +237,6 @@ export default {
|
|
|
|
this.initPage(layer.load(2));
|
|
|
|
this.initPage(layer.load(2));
|
|
|
|
},
|
|
|
|
},
|
|
|
|
async initPage(idx) {
|
|
|
|
async initPage(idx) {
|
|
|
|
debugger
|
|
|
|
|
|
|
|
let _data = await GetMaterialInfoListByTeamId({
|
|
|
|
let _data = await GetMaterialInfoListByTeamId({
|
|
|
|
tempId: this.dataInfoObj.FTeamID
|
|
|
|
tempId: this.dataInfoObj.FTeamID
|
|
|
|
});
|
|
|
|
});
|
|
|
|
@ -313,7 +312,6 @@ export default {
|
|
|
|
updateInfo.FSuccedaneumType = "";
|
|
|
|
updateInfo.FSuccedaneumType = "";
|
|
|
|
updateInfo.FSuccedaneumCode = "";
|
|
|
|
updateInfo.FSuccedaneumCode = "";
|
|
|
|
let result = await UpdateDataModel(updateInfo) || 0;
|
|
|
|
let result = await UpdateDataModel(updateInfo) || 0;
|
|
|
|
debugger
|
|
|
|
|
|
|
|
// 发送保存请求
|
|
|
|
// 发送保存请求
|
|
|
|
if (result.Code==200) {
|
|
|
|
if (result.Code==200) {
|
|
|
|
await commonSave({
|
|
|
|
await commonSave({
|
|
|
|
|