<template>
	<lay-container fluid="true" class="content-box">
		<lay-table id="dataTable" v-if="dataColumn.length > 0" height="320px" :columns="dataColumn" :data-source="dataList"
			:cellStyle="cellStyle" :cellClassName="cellClassName">
			<template v-slot:toolbar v-if="dataInfoObj.FCanEdit != 2">
				<!-- <lay-button size="sm" @click="saveBatch" type="primary" :disabled="editColumn.length === 0">保存
				</lay-button> -->
				<lay-input :class="this.isShow ? 'isShow' : 'isHidden'" v-model="inputCodeValue" :readonly="true">
					<template #prepend>半成品编号：</template>
				</lay-input>
				<lay-input :class="this.isShow ? 'isShow' : 'isHidden'" v-model="inputDescValue" :readonly="true">
					<template #prepend>描述：</template>
				</lay-input>
				<lay-button size="sm" type="primary" :disabled="editColumn.length === 0"
					@click="_clickFreezingColumnSetting()">固定项
				</lay-button>
				<lay-button size="sm" style="float:right" type="primary">导出</lay-button>
				<lay-button size="sm" style="float:right">刷新</lay-button>
			</template>
			<template v-for="item in editColumn" v-slot:[item.key]="{ data }">
				<lay-select v-if="item.key == 'FTypeID1'" size="sm" v-model="data['FTypeID1']"
					@change="_changeType(data, 1)" :showEmpty="false">
					<lay-select-option v-for="(tIdv, tIdx) in typeList[0]" :key="tIdx" :value="tIdv.FID"
						:label="tIdv.FName"></lay-select-option>
				</lay-select>
				<lay-select v-else-if="item.key == 'FTypeID2'" size="sm" v-model="data['FTypeID2']"
					@change="_changeType(data, 2)" :showEmpty="false">
					<lay-select-option v-show="data.FTypeID1 == tIdv.FParentID" v-for="(tIdv, tIdx) in typeList[1]"
						:key="tIdx" :value="tIdv.FID" :label="tIdv.FName"></lay-select-option>
				</lay-select>
				<lay-select v-else-if="item.selectType" size="sm" v-model="data[item.key]" :showEmpty="false">
					<lay-select-option v-for="(tIdv, tIdx) in selectDataMap['FType' + item.selectTypeId]" :key="tIdx"
						:value="tIdv.FValue" :label="tIdv.FName"></lay-select-option>
				</lay-select>
				<lay-input v-else-if="!item.dataType" size="sm" v-model="data[item.key]"></lay-input>
			</template>
		</lay-table>
		<OperateLog v-if="dataInfoObj.FTeamID" ref="OperateLog" :dataInfoObj="dataInfoObj"></OperateLog>
	</lay-container>
</template>

<style scoped>
.content-box {
	margin: 30px 10px;
	display: block;
	position: relative;
	clear: both;
	float: none;
	min-height: 740px;
}


.row-select td {
	overflow: inherit;
}

.layui-select {
	width: 100%;
}

.edit {
	color: green;
}

:deep(.edit-item .layui-input) {
	border-color: #5FB878 !important;
}

:deep(.edit-item .layui-input:hover) {
	border-color: #009688 !important;
	color: #009688;
}

.isShow {
	width: 370px;
	height: 30px;
	border: none;
}

.isHidden {
	display: none;
}

.isBomHidden {
	display: none;
}
</style>
<script>
import {
	ref
} from 'vue';
import {
	getListByTeamId,
	updateBatchById2
} from "/src/api/api/view";
import {
	getBasicRoleList
} from "/src/api/api/user";
import {
	getDataCode,
	commonSave
} from "/src/api/api/common";

import {
	getInfoData,
	changeInfoData
} from "/src/api/api/materialType";
import OperateLog from "./OperateLog.vue";
import FormulaView from "./FormulaView.vue";
import FreezingColumnSetting from './FreezingColumnSetting.vue';

export default {
	components: {
		OperateLog,
		FormulaView,
		FreezingColumnSetting
	},
	setup() {
		const dataColumn = ref([]);
		const dataList = ref([]);
		const editColumn = ref([]);
		const selectDataMap = ref(null);
		const typeList = ref([
			[],
			[]
		]);
		const userPower = ref([
			[],
			[]
		]);
		const cellStyle = function (row, column, rowIndex, columnIndex) {
			let back = column.table == "TFS_ViewMaterial" ? "background:rgb(246, 246, 246)" : ""
			return back;
		}
		const cellClassName = function (row, column, rowIndex, columnIndex) {
			return column.cellClass || "";
		}
		const inputCodeValue = ref("");
		const inputDescValue = ref("");
		const visible2 = ref(false)
		const changeVisible2 = function () {
			visible2.value = !visible2.value
		};
		const showFreezingColumnSettingBox = ref(false);
		const freezingColumnSetting = ref([]);
		const originalColumns = ref([]);
		const tmpDataColumn = ref([]);
		return {
			dataColumn,
			dataList,
			editColumn,
			selectDataMap,
			typeList,
			userPower,
			cellStyle,
			cellClassName,
			inputCodeValue,
			inputDescValue,
			isShow: false,
			isBomShow: false,
			visible2,
			changeVisible2,
			showFreezingColumnSettingBox,
			freezingColumnSetting,
			originalColumns,
			tmpDataColumn
		};
	},
	props: {
		dataInfoObj: {
			type: Object,
			default: () => { },
		},
		viewDataList: {
			type: Object,
			default: () => [],
		}
	},
	mounted() {
		this.getUserPower();
	},
	methods: {
		async getUserPower() {
			if (this.dataInfoObj.FCanEdit != 2) {
				this.userPower[0] = (await getBasicRoleList({
					FRoleType: 40,
					FViewType: this.dataInfoObj.FViewType
				}) || []).map(it => parseInt(it.F2))
				this.userPower[1] = (await getBasicRoleList({
					FRoleType: 44,
					FViewType: this.dataInfoObj.FViewType
				}) || []).map(it => parseInt(it.F2))
			}
			this.initPage(layer.load(2));
		},
		async initPage(idx) {
			this.dataInfoObj["FTeamID"]=224;
			
			let _data = {"columns":[{"id":227,"key":"FTypeID1","table":"TFS_Material","title":"一级分类","category":"基础信息","width":"220px","align":"center","dataType":"","fieldType":7},{"id":228,"key":"FTypeID2","table":"TFS_Material","title":"二级分类","category":"基础信息","width":"300px","align":"center","dataType":"","fieldType":7},{"id":229,"key":"FK3Code","table":"TFS_Material","title":"K3系统代码","category":"基础信息","width":"170px","align":"center","dataType":"","fieldType":7},{"id":230,"key":"FK3Name","table":"TFS_Material","title":"K3系统名称","category":"基础信息","width":"260px","align":"center","dataType":"","fieldType":7},{"id":231,"key":"FK3ShortCode","table":"TFS_Material","title":"K3系统短代码","category":"基础信息","width":"140px","align":"center","dataType":"","fieldType":7},{"id":232,"key":"FTestCode","table":"TFS_Material","title":"产品试验号","category":"基础信息","width":"140px","align":"center","dataType":"","fieldType":7},{"id":233,"key":"FRelationCode","table":"TFS_Material","title":"关联物料代码","category":"基础信息","width":"140px","align":"center","dataType":"","fieldType":7},{"id":234,"key":"FRelationName","table":"TFS_Material","title":"关联物料名称","category":"基础信息","width":"140px","align":"center","dataType":"","fieldType":7},{"id":235,"key":"FSAPCode","table":"TFS_Material","title":"SAP系统代码","category":"基础信息","width":"140px","align":"center","dataType":"","fieldType":7},{"id":236,"key":"FSAPDescription","table":"TFS_Material","title":"SAP系统描述","category":"基础信息","width":"140px","align":"center","dataType":"","fieldType":7},{"id":205,"key":"FMaterialGroup","table":"TFS_MaterialInfo","title":"物料组","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":207,"key":"FMaterialType","table":"TFS_MaterialInfo","title":"物料主分类","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":208,"key":"FCustomerCode","table":"TFS_MaterialInfo","title":"客供料标识","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":209,"key":"FStoreHouse","table":"TFS_MaterialInfo","title":"总仓地址","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":210,"key":"FBomEntry","table":"TFS_MaterialInfo","title":"BOM录入情况","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":211,"key":"FLineHouse","table":"TFS_MaterialInfo","title":"线边仓地址","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":212,"key":"FProductDesc","table":"TFS_MaterialInfo","title":"产品说明","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":213,"key":"FWorkCenter","table":"TFS_MaterialInfo","title":"工作中心","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":214,"key":"FCraftExplain","table":"TFS_MaterialInfo","title":"工艺说明","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":215,"key":"FIidentifier","table":"TFS_MaterialInfo","title":"标识符","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":216,"key":"FGuaranteePeriod","table":"TFS_MaterialInfo","title":"保质期","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":217,"key":"FBStorageConditions","table":"TFS_MaterialInfo","title":"存储条件","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":218,"key":"FSafetyStock","table":"TFS_MaterialInfo","title":"安全库存","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":219,"key":"FTriggerRatio","table":"TFS_MaterialInfo","title":"触发比例","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":220,"key":"FMinAmount","table":"TFS_MaterialInfo","title":"最小量","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":221,"key":"FMaxAmount","table":"TFS_MaterialInfo","title":"最大量","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":222,"key":"FYield","table":"TFS_MaterialInfo","title":"得率","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":223,"key":"FFixedLoss","table":"TFS_MaterialInfo","title":"固损","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":224,"key":"FTheoryYield","table":"TFS_MaterialInfo","title":"理论得率","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":225,"key":"FQualityTest1","table":"TFS_MaterialInfo","title":"品质检验1","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":226,"key":"FQualityTest2","table":"TFS_MaterialInfo","title":"品质检验2","category":"基础信息","width":"160px","align":"center","dataType":"","fieldType":7},{"id":105,"key":"FOrganizeIndustryField","table":"TFS_ViewMaterial","title":"行业领域","category":"组织级别","width":"120px","align":"center","dataType":"","fieldType":1},{"id":106,"key":"FOrganizeMaterialType","table":"TFS_ViewMaterial","title":"物料类型","category":"组织级别","width":"120px","align":"center","dataType":"","fieldType":1},{"id":107,"key":"FOrganizeFactory","table":"TFS_ViewMaterial","title":"工厂","category":"组织级别","width":"120px","align":"center","dataType":"","fieldType":1},{"id":108,"key":"FOrganizeInventoryLocation","table":"TFS_ViewMaterial","title":"库存地点","category":"组织级别","width":"120px","align":"center","dataType":"","fieldType":1},{"id":109,"key":"FOrganizeSalesOrganize","table":"TFS_ViewMaterial","title":"销售组织","category":"组织级别","width":"120px","align":"center","dataType":"","fieldType":1},{"id":110,"key":"FOrganizeDistributionChannel","table":"TFS_ViewMaterial","title":"分销渠道","category":"组织级别","width":"120px","align":"center","dataType":"","fieldType":1},{"id":111,"key":"FBaseMaterialCode","table":"TFS_ViewMaterial","title":"物料编号","category":"基本视图","width":"200px","align":"center","dataType":"","fieldType":1},{"id":112,"key":"FBaseTestCode","table":"TFS_ViewMaterial","title":"试验号","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":113,"key":"FBaseBasicMeter","table":"TFS_ViewMaterial","title":"基本计量","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":114,"key":"FBaseMaterialDesc","table":"TFS_ViewMaterial","title":"物料描述","category":"基本视图","width":"300px","align":"center","dataType":"","fieldType":1},{"id":115,"key":"FBaseMaterialGroup","table":"TFS_ViewMaterial","title":"物料组","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":116,"key":"FBaseSpecification","table":"TFS_ViewMaterial","title":"大小/量纲(规格)","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":7},{"id":117,"key":"FBaseMaterialText","table":"TFS_ViewMaterial","title":"物料长文本","category":"基本视图","width":"120px","align":"center","dataType":"select:3","fieldType":1},{"id":118,"key":"FBaseIdentifier","table":"TFS_ViewMaterial","title":"标识符:固体/液体","category":"基本视图","width":"140px","align":"center","dataType":"select:4","fieldType":1},{"id":119,"key":"FBaseVolumeUnit","table":"TFS_ViewMaterial","title":"体积单位","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":120,"key":"FBaseGrossWeight","table":"TFS_ViewMaterial","title":"毛重","category":"基本视图","width":"120px","align":"center","dataType":"select:5","fieldType":7},{"id":121,"key":"FBaseNetWeight","table":"TFS_ViewMaterial","title":"净重","category":"基本视图","width":"120px","align":"center","dataType":"select:6","fieldType":7},{"id":122,"key":"FBaseWeightUnit","table":"TFS_ViewMaterial","title":"重量单位","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":124,"key":"FBaseFameCode","table":"TFS_ViewMaterial","title":"fame号","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":123,"key":"FBaseBusinessVolume","table":"TFS_ViewMaterial","title":"业务量","category":"基本视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":125,"key":"FPurchaseGroup","table":"TFS_ViewMaterial","title":"采购组","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":126,"key":"FPurchaseCompany","table":"TFS_ViewMaterial","title":"采购单位","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":127,"key":"FPurchaseCompanyCount","table":"TFS_ViewMaterial","title":"采购单位数量","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":128,"key":"FPurchaseBaseCompanyCount","table":"TFS_ViewMaterial","title":"采购基本单位数量","category":"采购视图","width":"140px","align":"center","dataType":"","fieldType":1},{"id":129,"key":"FPurchaseValueCode","table":"TFS_ViewMaterial","title":"采购价值码","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":130,"key":"FPurchaseFactorySpecificStatus","table":"TFS_ViewMaterial","title":"工厂特定状态","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":131,"key":"FPurchaseAutoOrder","table":"TFS_ViewMaterial","title":"自动采购单标识","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":132,"key":"FPurchaseGoodsSource","table":"TFS_ViewMaterial","title":"货源清单","category":"采购视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":133,"key":"FTypeCategoryType","table":"TFS_ViewMaterial","title":"类别种类","category":"分类视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":134,"key":"FTypeType","table":"TFS_ViewMaterial","title":"类别","category":"分类视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":135,"key":"FSaleDeliveryFactory","table":"TFS_ViewMaterial","title":"交货工厂","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":136,"key":"FSaleTaxType","table":"TFS_ViewMaterial","title":"税金分类","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":137,"key":"FSaleMaterialStatisticsGroup","table":"TFS_ViewMaterial","title":"物料统计组","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":138,"key":"FSaleSalesCompany","table":"TFS_ViewMaterial","title":"销售单位","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":139,"key":"FSaleBaseCompanyCount","table":"TFS_ViewMaterial","title":"基本单位数量","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":140,"key":"FSaleSalesCompanyCount","table":"TFS_ViewMaterial","title":"销售单位数量","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":141,"key":"FSaleAccountSettingGroup","table":"TFS_ViewMaterial","title":"科目设置组","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":142,"key":"FSaleGeneralProjectCategoryGroup","table":"TFS_ViewMaterial","title":"普通项目类别组","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":143,"key":"FSaleProjectCategoryGroup","table":"TFS_ViewMaterial","title":"项目类别组","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":144,"key":"FSaleAvailabilityCheck","table":"TFS_ViewMaterial","title":"可用性检查","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":145,"key":"FSaleOutfitGroup","table":"TFS_ViewMaterial","title":"装载组","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":146,"key":"FSaleOldMaterialCode","table":"TFS_ViewMaterial","title":"旧物料号","category":"销售视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":147,"key":"FStorageConditions","table":"TFS_ViewMaterial","title":"存储条件","category":"仓储视图","width":"120px","align":"center","dataType":"select:7","fieldType":1},{"id":148,"key":"FStorageBatchManage","table":"TFS_ViewMaterial","title":"批次管理","category":"仓储视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":149,"key":"FStorageMaxStoragePeriod","table":"TFS_ViewMaterial","title":"最大存储期间","category":"仓储视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":150,"key":"FStorageTimeUnit","table":"TFS_ViewMaterial","title":"时间单位","category":"仓储视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":151,"key":"FStorageMinSurplusShelfLife","table":"TFS_ViewMaterial","title":"最小剩余货架寿命","category":"仓储视图","width":"140px","align":"center","dataType":"","fieldType":1},{"id":152,"key":"FStorageTotalShelfLife","table":"TFS_ViewMaterial","title":"总货架寿命","category":"仓储视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":153,"key":"FStorageSLEDCode","table":"TFS_ViewMaterial","title":"SLED期间标识","category":"仓储视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":154,"key":"FMRP1Type","table":"TFS_ViewMaterial","title":"MRP类型","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":237,"key":"FMRP1ReorderLocation","table":"TFS_ViewMaterial","title":"再订货点","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":238,"key":"FMRP1RegularBatchSize","table":"TFS_ViewMaterial","title":"固定批量大小","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":239,"key":"FMRP1MaxInventorySize","table":"TFS_ViewMaterial","title":"最大库存水平","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":155,"key":"FMRP1Controller","table":"TFS_ViewMaterial","title":"MRP控制者","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":156,"key":"FMRP1BatchSize","table":"TFS_ViewMaterial","title":"批量大小","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":157,"key":"FMRP1MinBatchSize","table":"TFS_ViewMaterial","title":"最小批量大小","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":158,"key":"FMRP1MaxBatchSize","table":"TFS_ViewMaterial","title":"最大批量大小","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":159,"key":"FMRP1Group","table":"TFS_ViewMaterial","title":"MRP组","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":160,"key":"FMRP1RoundValue","table":"TFS_ViewMaterial","title":"舍入值","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":161,"key":"FMRP1ProductType","table":"TFS_ViewMaterial","title":"产品分类","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":162,"key":"FMRP1CustomerCode","table":"TFS_ViewMaterial","title":"客户代码","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":163,"key":"FMRP1SizeMaterial","table":"TFS_ViewMaterial","title":"大小料","category":"MRP1","width":"120px","align":"center","dataType":"","fieldType":1},{"id":240,"key":"FMRP1IgnoreLack","table":"TFS_ViewMaterial","title":"不计算缺料","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":241,"key":"FMRP1laminated","table":"TFS_ViewMaterial","title":"压膜","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":242,"key":"FMRP1SafeStock","table":"TFS_ViewMaterial","title":"安全库存带小样","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":243,"key":"FMRP1RequireCount","table":"TFS_ViewMaterial","title":"需求计算不考虑前置物料库存","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":164,"key":"FMRP1SmallMaterialStandard","table":"TFS_ViewMaterial","title":"小料标准（小于）","category":"MRP1","width":"140px","align":"center","dataType":"","fieldType":1},{"id":165,"key":"FMRP2PurchaseType","table":"TFS_ViewMaterial","title":"采购类型","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":166,"key":"FMRP2PlanMarginalCode","table":"TFS_ViewMaterial","title":"计划边际码","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":167,"key":"FMRP2SpecialProcurement","table":"TFS_ViewMaterial","title":"特殊采购类","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":168,"key":"FMRP2Recoil","table":"TFS_ViewMaterial","title":"反冲","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":169,"key":"FMRP2SelfProductTime","table":"TFS_ViewMaterial","title":"自制生产时间","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":170,"key":"FMRP2PlannDeliveryTime","table":"TFS_ViewMaterial","title":"计划交货时间","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":171,"key":"FMRP2ReceiveProcessTime","table":"TFS_ViewMaterial","title":"收货处理时间","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":172,"key":"FMRP2SafeStock","table":"TFS_ViewMaterial","title":"安全库存","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":173,"key":"FMRP2DeliveryInventoryPlace","table":"TFS_ViewMaterial","title":"发货库存地点","category":"MRP2","width":"120px","align":"center","dataType":"","fieldType":1},{"id":174,"key":"FMRP2ExternalStoragePlace","table":"TFS_ViewMaterial","title":"外部采购仓储地点","category":"MRP2","width":"140px","align":"center","dataType":"select:8","fieldType":1},{"id":175,"key":"FMRP3PolicyGroup","table":"TFS_ViewMaterial","title":"策略组","category":"MRP3","width":"120px","align":"center","dataType":"","fieldType":1},{"id":176,"key":"FMRP3ConsumePattern","table":"TFS_ViewMaterial","title":"消耗模式","category":"MRP3","width":"120px","align":"center","dataType":"","fieldType":1},{"id":177,"key":"FMRP3ForwardConsumePeriod","table":"TFS_ViewMaterial","title":"向前消耗期间","category":"MRP3","width":"120px","align":"center","dataType":"","fieldType":1},{"id":178,"key":"FMRP3ReverseConsumePeriod","table":"TFS_ViewMaterial","title":"逆向消耗期","category":"MRP3","width":"120px","align":"center","dataType":"","fieldType":1},{"id":179,"key":"FMRP3BlendMRP","table":"TFS_ViewMaterial","title":"混合MRP","category":"MRP3","width":"120px","align":"center","dataType":"","fieldType":1},{"id":180,"key":"FMRP3AvailabilityCheck","table":"TFS_ViewMaterial","title":"可用性检查","category":"MRP3","width":"120px","align":"center","dataType":"","fieldType":1},{"id":181,"key":"FMRP4AloneOrFocus","table":"TFS_ViewMaterial","title":"单独或集中","category":"MRP4","width":"120px","align":"center","dataType":"","fieldType":1},{"id":244,"key":"FMRP4DiscontinuousIidentifier","table":"TFS_ViewMaterial","title":"非连续标识","category":"MRP4","width":"140px","align":"center","dataType":"","fieldType":1},{"id":245,"key":"FMRP4EffectivePeriod","table":"TFS_ViewMaterial","title":"生效期","category":"MRP4","width":"140px","align":"center","dataType":"","fieldType":1},{"id":246,"key":"FMRP4FollowMaterial","table":"TFS_ViewMaterial","title":"后续的物料","category":"MRP4","width":"140px","align":"center","dataType":"","fieldType":1},{"id":182,"key":"FPlanProductPlanParam","table":"TFS_ViewMaterial","title":"生产计划参数文件","category":"工作计划视图","width":"140px","align":"center","dataType":"","fieldType":1},{"id":183,"key":"FPlanUnlimitedOverDelivery","table":"TFS_ViewMaterial","title":"无限制过量交货","category":"工作计划视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":184,"key":"FPlanUnderDeliveryTolerance","table":"TFS_ViewMaterial","title":"不足交货允差","category":"工作计划视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":185,"key":"FPlanOverDeliveryTolerance","table":"TFS_ViewMaterial","title":"过度交货允差","category":"工作计划视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":186,"key":"FPlanDeliverCompany","table":"TFS_ViewMaterial","title":"发货单位","category":"工作计划视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":187,"key":"FPlanDeliverCompanyCount","table":"TFS_ViewMaterial","title":"发货单位数量","category":"工作计划视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":188,"key":"FPlanBaseCompanyCount","table":"TFS_ViewMaterial","title":"发货基本单位数量","category":"工作计划视图","width":"140px","align":"center","dataType":"","fieldType":1},{"id":189,"key":"FQualityType1","table":"TFS_ViewMaterial","title":"检验类型1","category":"质检视图","width":"120px","align":"center","dataType":"select:9","fieldType":1},{"id":190,"key":"FQualityType2","table":"TFS_ViewMaterial","title":"检验类型2","category":"质检视图","width":"120px","align":"center","dataType":"select:10","fieldType":1},{"id":191,"key":"FQualityType3","table":"TFS_ViewMaterial","title":"检验类型3","category":"质检视图","width":"120px","align":"center","dataType":"select:11","fieldType":1},{"id":192,"key":"FQualityType4","table":"TFS_ViewMaterial","title":"检验类型4","category":"质检视图","width":"120px","align":"center","dataType":"select:12","fieldType":1},{"id":193,"key":"FQualityType5","table":"TFS_ViewMaterial","title":"检验类型5","category":"质检视图","width":"120px","align":"center","dataType":"select:13","fieldType":1},{"id":194,"key":"FQualityType6","table":"TFS_ViewMaterial","title":"检验类型6","category":"质检视图","width":"120px","align":"center","dataType":"select:14","fieldType":1},{"id":195,"key":"FAccountPriceControl","table":"TFS_ViewMaterial","title":"价格控制","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":196,"key":"FAccountPriceDetermine","table":"TFS_ViewMaterial","title":"价格确定","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":197,"key":"FAccountPriceUnit","table":"TFS_ViewMaterial","title":"价格单位","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":198,"key":"FAccountAccessType","table":"TFS_ViewMaterial","title":"评估分类","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":199,"key":"FAccountSaleOrderInventory","table":"TFS_ViewMaterial","title":"VC: 销售订单库存","category":"会计视图","width":"140px","align":"center","dataType":"","fieldType":1},{"id":200,"key":"FAccountStandardPrice","table":"TFS_ViewMaterial","title":"标准价格","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":201,"key":"FAccountProfitCenter","table":"TFS_ViewMaterial","title":"利润中心","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1},{"id":202,"key":"FAccountCostAccountBatch","table":"TFS_ViewMaterial","title":"成本核算批量","category":"会计视图","width":"120px","align":"center","dataType":"","fieldType":1}],"rows":[{"FID":124417,"FMaterialID":67945,"FTeamID":214,"FFactoryCode":"C310","FFactoryID":1,"FViewType":1,"FGroupCode":"","FLevel":1,"FDeleted":0,"FAddDate":"2023-04-12T18:22:14.47","FEditUser":2,"FEditDate":null,"FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"C310","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"C310","FOrganizeDistributionChannel":"99","FBaseMaterialCode":"1681323734","FBaseTestCode":"444","FBaseBasicMeter":"KG","FBaseMaterialDesc":"C444","FBaseMaterialGroup":"1301","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseBusinessVolume":"","FBaseFameCode":"","FPurchaseGroup":"G02","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"C310","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageConditions":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"ND","FMRP1Controller":"101","FMRP1BatchSize":"WB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"10","FMRP1CustomerCode":"","FMRP1SizeMaterial":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"F","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"30","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"40","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FPlanProductPlanParam":"","FPlanUnlimitedOverDelivery":"","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1","FAccountAccessType":"3000","FAccountSaleOrderInventory":"3010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1","FExtraQuantity":"","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FTypeID1":25,"FTypeID2":27,"FK3Code":"1681323734","FK3Name":"C444","FK3ShortCode":"1681323734"},{"FID":124418,"FMaterialID":67946,"FTeamID":214,"FFactoryCode":"C320","FFactoryID":3,"FViewType":1,"FGroupCode":"","FLevel":1,"FDeleted":0,"FAddDate":"2023-04-12T18:22:14.593","FEditUser":2,"FEditDate":null,"FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"C320","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"C320","FOrganizeDistributionChannel":"99","FBaseMaterialCode":"1681323734","FBaseTestCode":"444","FBaseBasicMeter":"KG","FBaseMaterialDesc":"C444","FBaseMaterialGroup":"1301","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseBusinessVolume":"","FBaseFameCode":"","FPurchaseGroup":"G12","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"C320","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageConditions":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"PD","FMRP1Controller":"101","FMRP1BatchSize":"MB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"10","FMRP1CustomerCode":"C310","FMRP1SizeMaterial":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"E","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"52","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FPlanProductPlanParam":"000001","FPlanUnlimitedOverDelivery":"X","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1","FAccountAccessType":"3000","FAccountSaleOrderInventory":"3010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1","FExtraQuantity":"","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FTypeID1":1,"FTypeID2":3,"FK3Code":"1681323734","FK3Name":"C444","FK3ShortCode":"1681323734"},{"FID":124419,"FMaterialID":67947,"FTeamID":214,"FFactoryCode":"C310","FFactoryID":1,"FViewType":1,"FGroupCode":"","FLevel":1,"FDeleted":0,"FAddDate":"2023-04-12T18:22:50.093","FEditUser":2,"FEditDate":null,"FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"C310","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"C310","FOrganizeDistributionChannel":"99","FBaseMaterialCode":"1681323734","FBaseTestCode":"444","FBaseBasicMeter":"KG","FBaseMaterialDesc":"C444","FBaseMaterialGroup":"1301","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseBusinessVolume":"","FBaseFameCode":"","FPurchaseGroup":"G02","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"C310","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageConditions":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"ND","FMRP1Controller":"101","FMRP1BatchSize":"WB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"10","FMRP1CustomerCode":"","FMRP1SizeMaterial":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"F","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"30","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"40","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FPlanProductPlanParam":"","FPlanUnlimitedOverDelivery":"","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1","FAccountAccessType":"3000","FAccountSaleOrderInventory":"3010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1","FExtraQuantity":"","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FTypeID1":0,"FTypeID2":0,"FK3Code":"1681323734","FK3Name":"C444","FK3ShortCode":"1681323734"},{"FID":124420,"FMaterialID":67948,"FTeamID":214,"FFactoryCode":"C320","FFactoryID":3,"FViewType":1,"FGroupCode":"","FLevel":1,"FDeleted":0,"FAddDate":"2023-04-12T18:22:50.14","FEditUser":2,"FEditDate":null,"FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"C320","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"C320","FOrganizeDistributionChannel":"99","FBaseMaterialCode":"1681323734","FBaseTestCode":"444","FBaseBasicMeter":"KG","FBaseMaterialDesc":"C444","FBaseMaterialGroup":"1301","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseBusinessVolume":"","FBaseFameCode":"","FPurchaseGroup":"G12","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"C320","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageConditions":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"PD","FMRP1Controller":"101","FMRP1BatchSize":"MB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"10","FMRP1CustomerCode":"C310","FMRP1SizeMaterial":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"E","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"52","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FPlanProductPlanParam":"000001","FPlanUnlimitedOverDelivery":"X","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1","FAccountAccessType":"3000","FAccountSaleOrderInventory":"3010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1","FExtraQuantity":"","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FTypeID1":0,"FTypeID2":0,"FK3Code":"1681323734","FK3Name":"C444","FK3ShortCode":"1681323734"}],"infos":[{"FID":475,"FType":2,"FDataID":67945,"FMaterialGroup":"","FMaterialType":"","FCustomerCode":"","FStoreHouse":"","FBomEntry":"","FLineHouse":"","FProductDesc":"","FWorkCenter":"","FCraftExplain":"","FIidentifier":"","FGuaranteePeriod":"","FStorageConditions":"","FSafetyStock":"","FTriggerRatio":"","FMinAmount":"","FMaxAmount":"","FYield":"","FFixedLoss":"","FTheoryYield":"","FQualityTest1":"","FQualityTest2":"","FAddUser":2,"FAddDate":"2023-04-12T18:22:23.857","FEditUser":0,"FEditDate":"2023-04-12T18:22:23.857","FTypeID1":"","FTypeID2":"","FK3Code":"","FK3Name":"","FK3ShortCode":"","FTestCode":"","FRelationCode":"","FRelationName":"","FSAPCode":"","FSAPDescription":"","FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"","FOrganizeDistributionChannel":"90","FBaseMaterialCode":"","FBaseTestCode":"","FBaseBasicMeter":"g","FBaseMaterialDesc":"","FBaseMaterialGroup":"4000","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseFameCode":"","FBaseBusinessVolume":"","FPurchaseGroup":"G12","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"PD","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1Controller":"","FMRP1BatchSize":"MB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"","FMRP1CustomerCode":"","FMRP1SizeMaterial":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"F","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"40","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FPlanProductPlanParam":"","FPlanUnlimitedOverDelivery":"","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1000","FAccountAccessType":"2000","FAccountSaleOrderInventory":"2010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1000","FMStorageConditions":"","FTypeID1Type":"0","FTypeID2Type":"0","FK3CodeType":"0","FK3NameType":"0","FK3ShortCodeType":"0","FTestCodeType":"0","FRelationCodeType":"0","FRelationNameType":"0","FSAPCodeType":"0","FSAPDescriptionType":"0","FMaterialGroupType":"0","FMaterialTypeType":"0","FCustomerCodeType":"0","FStoreHouseType":"0","FBomEntryType":"0","FLineHouseType":"0","FProductDescType":"0","FWorkCenterType":"0","FCraftExplainType":"0","FIidentifierType":"0","FGuaranteePeriodType":"0","FStorageConditionsType":"0","FSafetyStockType":"0","FTriggerRatioType":"0","FMinAmountType":"0","FMaxAmountType":"0","FYieldType":"0","FFixedLossType":"0","FTheoryYieldType":"0","FQualityTest1Type":"0","FQualityTest2Type":"0","FOrganizeIndustryFieldType":"0","FOrganizeMaterialTypeType":"0","FOrganizeFactoryType":"0","FOrganizeInventoryLocationType":"0","FOrganizeSalesOrganizeType":"0","FOrganizeDistributionChannelType":"0","FBaseMaterialCodeType":"0","FBaseTestCodeType":"0","FBaseBasicMeterType":"0","FBaseMaterialDescType":"0","FBaseMaterialGroupType":"0","FBaseSpecificationType":"0","FBaseMaterialTextType":"0","FBaseIdentifierType":"0","FBaseVolumeUnitType":"0","FBaseGrossWeightType":"0","FBaseNetWeightType":"0","FBaseWeightUnitType":"0","FBaseFameCodeType":"0","FBaseBusinessVolumeType":"0","FPurchaseGroupType":"0","FPurchaseCompanyType":"0","FPurchaseCompanyCountType":"0","FPurchaseBaseCompanyCountType":"0","FPurchaseValueCodeType":"0","FPurchaseFactorySpecificStatusType":"0","FPurchaseAutoOrderType":"0","FPurchaseGoodsSourceType":"0","FTypeCategoryTypeType":"0","FTypeTypeType":"0","FSaleDeliveryFactoryType":"0","FSaleTaxTypeType":"0","FSaleMaterialStatisticsGroupType":"0","FSaleSalesCompanyType":"0","FSaleBaseCompanyCountType":"0","FSaleSalesCompanyCountType":"0","FSaleAccountSettingGroupType":"0","FSaleGeneralProjectCategoryGroupType":"0","FSaleProjectCategoryGroupType":"0","FSaleAvailabilityCheckType":"0","FSaleOutfitGroupType":"0","FSaleOldMaterialCodeType":"0","FMStorageConditionsType":"0","FStorageBatchManageType":"0","FStorageMaxStoragePeriodType":"0","FStorageTimeUnitType":"0","FStorageMinSurplusShelfLifeType":"0","FStorageTotalShelfLifeType":"0","FStorageSLEDCodeType":"0","FMRP1TypeType":"0","FMRP1ReorderLocationType":"0","FMRP1RegularBatchSizeType":"0","FMRP1MaxInventorySizeType":"0","FMRP1ControllerType":"0","FMRP1BatchSizeType":"0","FMRP1MinBatchSizeType":"0","FMRP1MaxBatchSizeType":"0","FMRP1GroupType":"0","FMRP1RoundValueType":"0","FMRP1ProductTypeType":"0","FMRP1CustomerCodeType":"0","FMRP1SizeMaterialType":"0","FMRP1IgnoreLackType":"0","FMRP1laminatedType":"0","FMRP1SafeStockType":"0","FMRP1RequireCountType":"0","FMRP1SmallMaterialStandardType":"0","FMRP2PurchaseTypeType":"0","FMRP2PlanMarginalCodeType":"0","FMRP2SpecialProcurementType":"0","FMRP2RecoilType":"0","FMRP2SelfProductTimeType":"0","FMRP2PlannDeliveryTimeType":"0","FMRP2ReceiveProcessTimeType":"0","FMRP2SafeStockType":"0","FMRP2DeliveryInventoryPlaceType":"0","FMRP2ExternalStoragePlaceType":"0","FMRP3PolicyGroupType":"0","FMRP3ConsumePatternType":"0","FMRP3ForwardConsumePeriodType":"0","FMRP3ReverseConsumePeriodType":"0","FMRP3BlendMRPType":"0","FMRP3AvailabilityCheckType":"0","FMRP4AloneOrFocusType":"0","FMRP4DiscontinuousIidentifierType":"0","FMRP4EffectivePeriodType":"0","FMRP4FollowMaterialType":"0","FPlanProductPlanParamType":"0","FPlanUnlimitedOverDeliveryType":"0","FPlanUnderDeliveryToleranceType":"0","FPlanOverDeliveryToleranceType":"0","FPlanDeliverCompanyType":"0","FPlanDeliverCompanyCountType":"0","FPlanBaseCompanyCountType":"0","FQualityType1Type":"0","FQualityType2Type":"0","FQualityType3Type":"0","FQualityType4Type":"0","FQualityType5Type":"0","FQualityType6Type":"0","FAccountPriceControlType":"0","FAccountPriceDetermineType":"0","FAccountPriceUnitType":"0","FAccountAccessTypeType":"0","FAccountSaleOrderInventoryType":"0","FAccountStandardPriceType":"0","FAccountProfitCenterType":"0","FAccountCostAccountBatchType":"0"},{"FID":476,"FType":2,"FDataID":67946,"FMaterialGroup":"","FMaterialType":"","FCustomerCode":"","FStoreHouse":"","FBomEntry":"","FLineHouse":"","FProductDesc":"","FWorkCenter":"","FCraftExplain":"","FIidentifier":"","FGuaranteePeriod":"","FStorageConditions":"","FSafetyStock":"","FTriggerRatio":"","FMinAmount":"","FMaxAmount":"","FYield":"","FFixedLoss":"","FTheoryYield":"","FQualityTest1":"","FQualityTest2":"","FAddUser":2,"FAddDate":"2023-04-12T18:22:23.917","FEditUser":0,"FEditDate":"2023-04-12T18:22:23.917","FTypeID1":"","FTypeID2":"","FK3Code":"","FK3Name":"","FK3ShortCode":"","FTestCode":"","FRelationCode":"","FRelationName":"","FSAPCode":"","FSAPDescription":"","FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"","FOrganizeDistributionChannel":"90","FBaseMaterialCode":"","FBaseTestCode":"","FBaseBasicMeter":"g","FBaseMaterialDesc":"","FBaseMaterialGroup":"4000","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseFameCode":"","FBaseBusinessVolume":"","FPurchaseGroup":"G12","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"PD","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1Controller":"","FMRP1BatchSize":"MB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"","FMRP1CustomerCode":"","FMRP1SizeMaterial":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"F","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"40","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FPlanProductPlanParam":"","FPlanUnlimitedOverDelivery":"","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1000","FAccountAccessType":"2000","FAccountSaleOrderInventory":"2010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1000","FMStorageConditions":"","FTypeID1Type":"0","FTypeID2Type":"0","FK3CodeType":"0","FK3NameType":"0","FK3ShortCodeType":"0","FTestCodeType":"0","FRelationCodeType":"0","FRelationNameType":"0","FSAPCodeType":"0","FSAPDescriptionType":"0","FMaterialGroupType":"0","FMaterialTypeType":"0","FCustomerCodeType":"0","FStoreHouseType":"0","FBomEntryType":"0","FLineHouseType":"0","FProductDescType":"0","FWorkCenterType":"0","FCraftExplainType":"0","FIidentifierType":"0","FGuaranteePeriodType":"0","FStorageConditionsType":"0","FSafetyStockType":"0","FTriggerRatioType":"0","FMinAmountType":"0","FMaxAmountType":"0","FYieldType":"0","FFixedLossType":"0","FTheoryYieldType":"0","FQualityTest1Type":"0","FQualityTest2Type":"0","FOrganizeIndustryFieldType":"0","FOrganizeMaterialTypeType":"0","FOrganizeFactoryType":"0","FOrganizeInventoryLocationType":"0","FOrganizeSalesOrganizeType":"0","FOrganizeDistributionChannelType":"0","FBaseMaterialCodeType":"0","FBaseTestCodeType":"0","FBaseBasicMeterType":"0","FBaseMaterialDescType":"0","FBaseMaterialGroupType":"0","FBaseSpecificationType":"0","FBaseMaterialTextType":"0","FBaseIdentifierType":"0","FBaseVolumeUnitType":"0","FBaseGrossWeightType":"0","FBaseNetWeightType":"0","FBaseWeightUnitType":"0","FBaseFameCodeType":"0","FBaseBusinessVolumeType":"0","FPurchaseGroupType":"0","FPurchaseCompanyType":"0","FPurchaseCompanyCountType":"0","FPurchaseBaseCompanyCountType":"0","FPurchaseValueCodeType":"0","FPurchaseFactorySpecificStatusType":"0","FPurchaseAutoOrderType":"0","FPurchaseGoodsSourceType":"0","FTypeCategoryTypeType":"0","FTypeTypeType":"0","FSaleDeliveryFactoryType":"0","FSaleTaxTypeType":"0","FSaleMaterialStatisticsGroupType":"0","FSaleSalesCompanyType":"0","FSaleBaseCompanyCountType":"0","FSaleSalesCompanyCountType":"0","FSaleAccountSettingGroupType":"0","FSaleGeneralProjectCategoryGroupType":"0","FSaleProjectCategoryGroupType":"0","FSaleAvailabilityCheckType":"0","FSaleOutfitGroupType":"0","FSaleOldMaterialCodeType":"0","FMStorageConditionsType":"0","FStorageBatchManageType":"0","FStorageMaxStoragePeriodType":"0","FStorageTimeUnitType":"0","FStorageMinSurplusShelfLifeType":"0","FStorageTotalShelfLifeType":"0","FStorageSLEDCodeType":"0","FMRP1TypeType":"0","FMRP1ReorderLocationType":"0","FMRP1RegularBatchSizeType":"0","FMRP1MaxInventorySizeType":"0","FMRP1ControllerType":"0","FMRP1BatchSizeType":"0","FMRP1MinBatchSizeType":"0","FMRP1MaxBatchSizeType":"0","FMRP1GroupType":"0","FMRP1RoundValueType":"0","FMRP1ProductTypeType":"0","FMRP1CustomerCodeType":"0","FMRP1SizeMaterialType":"0","FMRP1IgnoreLackType":"0","FMRP1laminatedType":"0","FMRP1SafeStockType":"0","FMRP1RequireCountType":"0","FMRP1SmallMaterialStandardType":"0","FMRP2PurchaseTypeType":"0","FMRP2PlanMarginalCodeType":"0","FMRP2SpecialProcurementType":"0","FMRP2RecoilType":"0","FMRP2SelfProductTimeType":"0","FMRP2PlannDeliveryTimeType":"0","FMRP2ReceiveProcessTimeType":"0","FMRP2SafeStockType":"0","FMRP2DeliveryInventoryPlaceType":"0","FMRP2ExternalStoragePlaceType":"0","FMRP3PolicyGroupType":"0","FMRP3ConsumePatternType":"0","FMRP3ForwardConsumePeriodType":"0","FMRP3ReverseConsumePeriodType":"0","FMRP3BlendMRPType":"0","FMRP3AvailabilityCheckType":"0","FMRP4AloneOrFocusType":"0","FMRP4DiscontinuousIidentifierType":"0","FMRP4EffectivePeriodType":"0","FMRP4FollowMaterialType":"0","FPlanProductPlanParamType":"0","FPlanUnlimitedOverDeliveryType":"0","FPlanUnderDeliveryToleranceType":"0","FPlanOverDeliveryToleranceType":"0","FPlanDeliverCompanyType":"0","FPlanDeliverCompanyCountType":"0","FPlanBaseCompanyCountType":"0","FQualityType1Type":"0","FQualityType2Type":"0","FQualityType3Type":"0","FQualityType4Type":"0","FQualityType5Type":"0","FQualityType6Type":"0","FAccountPriceControlType":"0","FAccountPriceDetermineType":"0","FAccountPriceUnitType":"0","FAccountAccessTypeType":"0","FAccountSaleOrderInventoryType":"0","FAccountStandardPriceType":"0","FAccountProfitCenterType":"0","FAccountCostAccountBatchType":"0"},{"FID":478,"FType":2,"FDataID":67948,"FMaterialGroup":"","FMaterialType":"","FCustomerCode":"","FStoreHouse":"","FBomEntry":"","FLineHouse":"","FProductDesc":"","FWorkCenter":"","FCraftExplain":"","FIidentifier":"","FGuaranteePeriod":"","FStorageConditions":"","FSafetyStock":"","FTriggerRatio":"","FMinAmount":"","FMaxAmount":"","FYield":"","FFixedLoss":"","FTheoryYield":"","FQualityTest1":"","FQualityTest2":"","FAddUser":2,"FAddDate":"2023-04-13T00:42:45.127","FEditUser":0,"FEditDate":"2023-04-13T00:42:45.127","FTypeID1":"","FTypeID2":"","FK3Code":"","FK3Name":"","FK3ShortCode":"","FTestCode":"","FRelationCode":"","FRelationName":"","FSAPCode":"","FSAPDescription":"","FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"","FOrganizeDistributionChannel":"90","FBaseMaterialCode":"","FBaseTestCode":"","FBaseBasicMeter":"g","FBaseMaterialDesc":"","FBaseMaterialGroup":"4000","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseFameCode":"","FBaseBusinessVolume":"","FPurchaseGroup":"G12","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"PD","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1Controller":"","FMRP1BatchSize":"MB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"","FMRP1CustomerCode":"","FMRP1SizeMaterial":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"F","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"40","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FPlanProductPlanParam":"","FPlanUnlimitedOverDelivery":"","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1000","FAccountAccessType":"2000","FAccountSaleOrderInventory":"2010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1000","FMStorageConditions":"","FTypeID1Type":"0","FTypeID2Type":"0","FK3CodeType":"0","FK3NameType":"0","FK3ShortCodeType":"0","FTestCodeType":"0","FRelationCodeType":"0","FRelationNameType":"0","FSAPCodeType":"0","FSAPDescriptionType":"0","FMaterialGroupType":"0","FMaterialTypeType":"0","FCustomerCodeType":"0","FStoreHouseType":"0","FBomEntryType":"0","FLineHouseType":"0","FProductDescType":"0","FWorkCenterType":"0","FCraftExplainType":"0","FIidentifierType":"0","FGuaranteePeriodType":"0","FStorageConditionsType":"0","FSafetyStockType":"0","FTriggerRatioType":"0","FMinAmountType":"0","FMaxAmountType":"0","FYieldType":"0","FFixedLossType":"0","FTheoryYieldType":"0","FQualityTest1Type":"0","FQualityTest2Type":"0","FOrganizeIndustryFieldType":"0","FOrganizeMaterialTypeType":"0","FOrganizeFactoryType":"0","FOrganizeInventoryLocationType":"0","FOrganizeSalesOrganizeType":"0","FOrganizeDistributionChannelType":"0","FBaseMaterialCodeType":"0","FBaseTestCodeType":"0","FBaseBasicMeterType":"0","FBaseMaterialDescType":"0","FBaseMaterialGroupType":"0","FBaseSpecificationType":"0","FBaseMaterialTextType":"0","FBaseIdentifierType":"0","FBaseVolumeUnitType":"0","FBaseGrossWeightType":"0","FBaseNetWeightType":"0","FBaseWeightUnitType":"0","FBaseFameCodeType":"0","FBaseBusinessVolumeType":"0","FPurchaseGroupType":"0","FPurchaseCompanyType":"0","FPurchaseCompanyCountType":"0","FPurchaseBaseCompanyCountType":"0","FPurchaseValueCodeType":"0","FPurchaseFactorySpecificStatusType":"0","FPurchaseAutoOrderType":"0","FPurchaseGoodsSourceType":"0","FTypeCategoryTypeType":"0","FTypeTypeType":"0","FSaleDeliveryFactoryType":"0","FSaleTaxTypeType":"0","FSaleMaterialStatisticsGroupType":"0","FSaleSalesCompanyType":"0","FSaleBaseCompanyCountType":"0","FSaleSalesCompanyCountType":"0","FSaleAccountSettingGroupType":"0","FSaleGeneralProjectCategoryGroupType":"0","FSaleProjectCategoryGroupType":"0","FSaleAvailabilityCheckType":"0","FSaleOutfitGroupType":"0","FSaleOldMaterialCodeType":"0","FMStorageConditionsType":"0","FStorageBatchManageType":"0","FStorageMaxStoragePeriodType":"0","FStorageTimeUnitType":"0","FStorageMinSurplusShelfLifeType":"0","FStorageTotalShelfLifeType":"0","FStorageSLEDCodeType":"0","FMRP1TypeType":"0","FMRP1ReorderLocationType":"0","FMRP1RegularBatchSizeType":"0","FMRP1MaxInventorySizeType":"0","FMRP1ControllerType":"0","FMRP1BatchSizeType":"0","FMRP1MinBatchSizeType":"0","FMRP1MaxBatchSizeType":"0","FMRP1GroupType":"0","FMRP1RoundValueType":"0","FMRP1ProductTypeType":"0","FMRP1CustomerCodeType":"0","FMRP1SizeMaterialType":"0","FMRP1IgnoreLackType":"0","FMRP1laminatedType":"0","FMRP1SafeStockType":"0","FMRP1RequireCountType":"0","FMRP1SmallMaterialStandardType":"0","FMRP2PurchaseTypeType":"0","FMRP2PlanMarginalCodeType":"0","FMRP2SpecialProcurementType":"0","FMRP2RecoilType":"0","FMRP2SelfProductTimeType":"0","FMRP2PlannDeliveryTimeType":"0","FMRP2ReceiveProcessTimeType":"0","FMRP2SafeStockType":"0","FMRP2DeliveryInventoryPlaceType":"0","FMRP2ExternalStoragePlaceType":"0","FMRP3PolicyGroupType":"0","FMRP3ConsumePatternType":"0","FMRP3ForwardConsumePeriodType":"0","FMRP3ReverseConsumePeriodType":"0","FMRP3BlendMRPType":"0","FMRP3AvailabilityCheckType":"0","FMRP4AloneOrFocusType":"0","FMRP4DiscontinuousIidentifierType":"0","FMRP4EffectivePeriodType":"0","FMRP4FollowMaterialType":"0","FPlanProductPlanParamType":"0","FPlanUnlimitedOverDeliveryType":"0","FPlanUnderDeliveryToleranceType":"0","FPlanOverDeliveryToleranceType":"0","FPlanDeliverCompanyType":"0","FPlanDeliverCompanyCountType":"0","FPlanBaseCompanyCountType":"0","FQualityType1Type":"0","FQualityType2Type":"0","FQualityType3Type":"0","FQualityType4Type":"0","FQualityType5Type":"0","FQualityType6Type":"0","FAccountPriceControlType":"0","FAccountPriceDetermineType":"0","FAccountPriceUnitType":"0","FAccountAccessTypeType":"0","FAccountSaleOrderInventoryType":"0","FAccountStandardPriceType":"0","FAccountProfitCenterType":"0","FAccountCostAccountBatchType":"0"},{"FID":480,"FType":2,"FDataID":67947,"FMaterialGroup":"","FMaterialType":"","FCustomerCode":"","FStoreHouse":"","FBomEntry":"","FLineHouse":"","FProductDesc":"","FWorkCenter":"","FCraftExplain":"","FIidentifier":"","FGuaranteePeriod":"","FStorageConditions":"","FSafetyStock":"","FTriggerRatio":"","FMinAmount":"","FMaxAmount":"","FYield":"","FFixedLoss":"","FTheoryYield":"","FQualityTest1":"","FQualityTest2":"","FAddUser":2,"FAddDate":"2023-04-13T03:14:58.223","FEditUser":0,"FEditDate":"2023-04-13T03:14:58.223","FTypeID1":"","FTypeID2":"","FK3Code":"","FK3Name":"","FK3ShortCode":"","FTestCode":"","FRelationCode":"","FRelationName":"","FSAPCode":"","FSAPDescription":"","FOrganizeIndustryField":"M","FOrganizeMaterialType":"ZMAT","FOrganizeFactory":"","FOrganizeInventoryLocation":"","FOrganizeSalesOrganize":"","FOrganizeDistributionChannel":"90","FBaseMaterialCode":"","FBaseTestCode":"","FBaseBasicMeter":"g","FBaseMaterialDesc":"","FBaseMaterialGroup":"4000","FBaseSpecification":"","FBaseMaterialText":"","FBaseIdentifier":"","FBaseVolumeUnit":"M3","FBaseGrossWeight":"","FBaseNetWeight":"","FBaseWeightUnit":"kg","FBaseFameCode":"","FBaseBusinessVolume":"","FPurchaseGroup":"G12","FPurchaseCompany":"","FPurchaseCompanyCount":"","FPurchaseBaseCompanyCount":"","FPurchaseValueCode":"4","FPurchaseFactorySpecificStatus":"","FPurchaseAutoOrder":"X","FPurchaseGoodsSource":"","FTypeCategoryType":"023","FTypeType":"ZBATCLS","FSaleDeliveryFactory":"","FSaleTaxType":"1","FSaleMaterialStatisticsGroup":"1","FSaleSalesCompany":"","FSaleBaseCompanyCount":"","FSaleSalesCompanyCount":"","FSaleAccountSettingGroup":"10","FSaleGeneralProjectCategoryGroup":"","FSaleProjectCategoryGroup":"NORM","FSaleAvailabilityCheck":"02","FSaleOutfitGroup":"0001","FSaleOldMaterialCode":"","FStorageBatchManage":"X","FStorageMaxStoragePeriod":"","FStorageTimeUnit":"","FStorageMinSurplusShelfLife":"1","FStorageTotalShelfLife":"","FStorageSLEDCode":"D","FMRP1Type":"PD","FMRP1ReorderLocation":"","FMRP1RegularBatchSize":"","FMRP1MaxInventorySize":"","FMRP1Controller":"","FMRP1BatchSize":"MB","FMRP1MinBatchSize":"","FMRP1MaxBatchSize":"","FMRP1Group":"0099","FMRP1RoundValue":"","FMRP1ProductType":"","FMRP1CustomerCode":"","FMRP1SizeMaterial":"","FMRP1IgnoreLack":"","FMRP1laminated":"","FMRP1SafeStock":"","FMRP1RequireCount":"","FMRP1SmallMaterialStandard":"","FMRP2PurchaseType":"F","FMRP2PlanMarginalCode":"000","FMRP2SpecialProcurement":"","FMRP2Recoil":"","FMRP2SelfProductTime":"","FMRP2PlannDeliveryTime":"","FMRP2ReceiveProcessTime":"","FMRP2SafeStock":"","FMRP2DeliveryInventoryPlace":"","FMRP2ExternalStoragePlace":"3000","FMRP3PolicyGroup":"40","FMRP3ConsumePattern":"2","FMRP3ForwardConsumePeriod":"365","FMRP3ReverseConsumePeriod":"90","FMRP3BlendMRP":"3","FMRP3AvailabilityCheck":"02","FMRP4AloneOrFocus":"2","FMRP4DiscontinuousIidentifier":"","FMRP4EffectivePeriod":"","FMRP4FollowMaterial":"","FPlanProductPlanParam":"","FPlanUnlimitedOverDelivery":"","FPlanUnderDeliveryTolerance":"","FPlanOverDeliveryTolerance":"","FPlanDeliverCompany":"","FPlanDeliverCompanyCount":"","FPlanBaseCompanyCount":"","FQualityType1":"","FQualityType2":"","FQualityType3":"","FQualityType4":"","FQualityType5":"","FQualityType6":"","FAccountPriceControl":"S","FAccountPriceDetermine":"3","FAccountPriceUnit":"1000","FAccountAccessType":"2000","FAccountSaleOrderInventory":"2010","FAccountStandardPrice":"","FAccountProfitCenter":"PC30","FAccountCostAccountBatch":"1000","FMStorageConditions":"","FTypeID1Type":"0","FTypeID2Type":"0","FK3CodeType":"0","FK3NameType":"0","FK3ShortCodeType":"0","FTestCodeType":"0","FRelationCodeType":"0","FRelationNameType":"0","FSAPCodeType":"0","FSAPDescriptionType":"0","FMaterialGroupType":"0","FMaterialTypeType":"0","FCustomerCodeType":"0","FStoreHouseType":"0","FBomEntryType":"0","FLineHouseType":"0","FProductDescType":"0","FWorkCenterType":"0","FCraftExplainType":"0","FIidentifierType":"0","FGuaranteePeriodType":"0","FStorageConditionsType":"0","FSafetyStockType":"0","FTriggerRatioType":"0","FMinAmountType":"0","FMaxAmountType":"0","FYieldType":"0","FFixedLossType":"0","FTheoryYieldType":"0","FQualityTest1Type":"0","FQualityTest2Type":"0","FOrganizeIndustryFieldType":"0","FOrganizeMaterialTypeType":"0","FOrganizeFactoryType":"0","FOrganizeInventoryLocationType":"0","FOrganizeSalesOrganizeType":"0","FOrganizeDistributionChannelType":"0","FBaseMaterialCodeType":"0","FBaseTestCodeType":"0","FBaseBasicMeterType":"0","FBaseMaterialDescType":"0","FBaseMaterialGroupType":"0","FBaseSpecificationType":"0","FBaseMaterialTextType":"0","FBaseIdentifierType":"0","FBaseVolumeUnitType":"0","FBaseGrossWeightType":"0","FBaseNetWeightType":"0","FBaseWeightUnitType":"0","FBaseFameCodeType":"0","FBaseBusinessVolumeType":"0","FPurchaseGroupType":"0","FPurchaseCompanyType":"0","FPurchaseCompanyCountType":"0","FPurchaseBaseCompanyCountType":"0","FPurchaseValueCodeType":"0","FPurchaseFactorySpecificStatusType":"0","FPurchaseAutoOrderType":"0","FPurchaseGoodsSourceType":"0","FTypeCategoryTypeType":"0","FTypeTypeType":"0","FSaleDeliveryFactoryType":"0","FSaleTaxTypeType":"0","FSaleMaterialStatisticsGroupType":"0","FSaleSalesCompanyType":"0","FSaleBaseCompanyCountType":"0","FSaleSalesCompanyCountType":"0","FSaleAccountSettingGroupType":"0","FSaleGeneralProjectCategoryGroupType":"0","FSaleProjectCategoryGroupType":"0","FSaleAvailabilityCheckType":"0","FSaleOutfitGroupType":"0","FSaleOldMaterialCodeType":"0","FMStorageConditionsType":"0","FStorageBatchManageType":"0","FStorageMaxStoragePeriodType":"0","FStorageTimeUnitType":"0","FStorageMinSurplusShelfLifeType":"0","FStorageTotalShelfLifeType":"0","FStorageSLEDCodeType":"0","FMRP1TypeType":"0","FMRP1ReorderLocationType":"0","FMRP1RegularBatchSizeType":"0","FMRP1MaxInventorySizeType":"0","FMRP1ControllerType":"0","FMRP1BatchSizeType":"0","FMRP1MinBatchSizeType":"0","FMRP1MaxBatchSizeType":"0","FMRP1GroupType":"0","FMRP1RoundValueType":"0","FMRP1ProductTypeType":"0","FMRP1CustomerCodeType":"0","FMRP1SizeMaterialType":"0","FMRP1IgnoreLackType":"0","FMRP1laminatedType":"0","FMRP1SafeStockType":"0","FMRP1RequireCountType":"0","FMRP1SmallMaterialStandardType":"0","FMRP2PurchaseTypeType":"0","FMRP2PlanMarginalCodeType":"0","FMRP2SpecialProcurementType":"0","FMRP2RecoilType":"0","FMRP2SelfProductTimeType":"0","FMRP2PlannDeliveryTimeType":"0","FMRP2ReceiveProcessTimeType":"0","FMRP2SafeStockType":"0","FMRP2DeliveryInventoryPlaceType":"0","FMRP2ExternalStoragePlaceType":"0","FMRP3PolicyGroupType":"0","FMRP3ConsumePatternType":"0","FMRP3ForwardConsumePeriodType":"0","FMRP3ReverseConsumePeriodType":"0","FMRP3BlendMRPType":"0","FMRP3AvailabilityCheckType":"0","FMRP4AloneOrFocusType":"0","FMRP4DiscontinuousIidentifierType":"0","FMRP4EffectivePeriodType":"0","FMRP4FollowMaterialType":"0","FPlanProductPlanParamType":"0","FPlanUnlimitedOverDeliveryType":"0","FPlanUnderDeliveryToleranceType":"0","FPlanOverDeliveryToleranceType":"0","FPlanDeliverCompanyType":"0","FPlanDeliverCompanyCountType":"0","FPlanBaseCompanyCountType":"0","FQualityType1Type":"0","FQualityType2Type":"0","FQualityType3Type":"0","FQualityType4Type":"0","FQualityType5Type":"0","FQualityType6Type":"0","FAccountPriceControlType":"0","FAccountPriceDetermineType":"0","FAccountPriceUnitType":"0","FAccountAccessTypeType":"0","FAccountSaleOrderInventoryType":"0","FAccountStandardPriceType":"0","FAccountProfitCenterType":"0","FAccountCostAccountBatchType":"0"}],"types":[{"FID":1,"FName":"(甜味)中间品-(C320受托C310)自制物料类","FValue":1,"FDepth":1,"FParentID":-1},{"FID":7,"FName":"甜味香基类","FValue":7,"FDepth":1,"FParentID":-1},{"FID":11,"FName":"甜味中间品基料类","FValue":11,"FDepth":1,"FParentID":-1},{"FID":25,"FName":"甜味中间品色素液类","FValue":25,"FDepth":1,"FParentID":-1},{"FID":29,"FName":"甜味其他中间品类","FValue":29,"FDepth":1,"FParentID":-1},{"FID":37,"FName":"嘉萃甜味中间品类","FValue":37,"FDepth":1,"FParentID":-1},{"FID":42,"FName":"甜味半成品类","FValue":42,"FDepth":1,"FParentID":-1},{"FID":57,"FName":"嘉萃甜味半成品类","FValue":57,"FDepth":1,"FParentID":-1},{"FID":63,"FName":"甜味其他代工或受托半成品类","FValue":63,"FDepth":1,"FParentID":-1},{"FID":67,"FName":"甜味成品类","FValue":67,"FDepth":1,"FParentID":-1},{"FID":79,"FName":"嘉萃甜味成品类","FValue":79,"FDepth":1,"FParentID":-1},{"FID":81,"FName":"甜味其他代工或受托成品类","FValue":81,"FDepth":1,"FParentID":-1},{"FID":85,"FName":"原料类","FValue":85,"FDepth":1,"FParentID":-1},{"FID":93,"FName":"嘉萃原料类","FValue":93,"FDepth":1,"FParentID":-1},{"FID":95,"FName":"包装物类","FValue":95,"FDepth":1,"FParentID":-1},{"FID":102,"FName":"嘉萃包装物类","FValue":102,"FDepth":1,"FParentID":-1},{"FID":106,"FName":"低值易耗品类","FValue":106,"FDepth":1,"FParentID":-1},{"FID":2,"FName":"K1.24.(受托C310)其他自制物料","FValue":2,"FDepth":2,"FParentID":1},{"FID":3,"FName":"K1.26.C320受托C310自制物料(甜味)","FValue":3,"FDepth":2,"FParentID":1},{"FID":4,"FName":"K1.28.C320受托C310自制稀释液(甜味)","FValue":4,"FDepth":2,"FParentID":1},{"FID":5,"FName":"K1.29.C320受托C310配制物料(甜味)","FValue":5,"FDepth":2,"FParentID":1},{"FID":6,"FName":"K1.30.C320受托C310自制物料副产品(甜味)","FValue":6,"FDepth":2,"FParentID":1},{"FID":8,"FName":"K2.01.C320受托C310再客供芯荟香基","FValue":8,"FDepth":2,"FParentID":7},{"FID":9,"FName":"K2.01.C320受托C310香基类","FValue":9,"FDepth":2,"FParentID":7},{"FID":10,"FName":"K2.11.C320受托C610香基类","FValue":10,"FDepth":2,"FParentID":7},{"FID":12,"FName":"K2.01.01.C320受托C310液体基料(液体用)","FValue":12,"FDepth":2,"FParentID":11},{"FID":13,"FName":"K2.01.02.C320受托C310液体基料(粉末用)","FValue":13,"FDepth":2,"FParentID":11},{"FID":14,"FName":"K2.01.03.C320受托C310液体基料(乳化用)","FValue":14,"FDepth":2,"FParentID":11},{"FID":15,"FName":"K2.01.04.C320受托C310液体基料(喷粉用)","FValue":15,"FDepth":2,"FParentID":11},{"FID":16,"FName":"K2.01.05.C320受托C310液体基料(浆膏用)","FValue":16,"FDepth":2,"FParentID":11},{"FID":17,"FName":"K2.01.09.C320受托C310乳化基料(液体用)","FValue":17,"FDepth":2,"FParentID":11},{"FID":18,"FName":"K2.01.10.C320受托C310乳化基料(乳化用)","FValue":18,"FDepth":2,"FParentID":11},{"FID":19,"FName":"K2.01.11.C320受托C310乳化基料(浆膏用)","FValue":19,"FDepth":2,"FParentID":11},{"FID":20,"FName":"K2.01.17.C320受托C310拌合型粉末基料(粉末用)","FValue":20,"FDepth":2,"FParentID":11},{"FID":21,"FName":"K2.01.25.C320受托C310微胶囊粉末基料(粉末用)","FValue":21,"FDepth":2,"FParentID":11},{"FID":22,"FName":"K2.01.28.C310客供C320原料再客供给芯荟原料(需转化为基料再客供芯荟基料)","FValue":22,"FDepth":2,"FParentID":11},{"FID":23,"FName":"K2.01.29.C320受托C310香精专用基料(处理用)","FValue":23,"FDepth":2,"FParentID":11},{"FID":24,"FName":"K2.01.31.C320受托C310粉末复配调味料基料(粉末调味料用)","FValue":24,"FDepth":2,"FParentID":11},{"FID":26,"FName":"K2.02.01.C320受托C310(乳化用)色素液","FValue":26,"FDepth":2,"FParentID":25},{"FID":27,"FName":"K2.02.02.C320受托C310(液体用)色素液","FValue":27,"FDepth":2,"FParentID":25},{"FID":28,"FName":"K2.02.03.C320受托C310(胶囊用)色素液","FValue":28,"FDepth":2,"FParentID":25},{"FID":30,"FName":"K2.03.01.C320受托C310乳化油相(乳化用)","FValue":30,"FDepth":2,"FParentID":29},{"FID":31,"FName":"K2.04.01.C320受托C310乳化水相(乳化用)","FValue":31,"FDepth":2,"FParentID":29},{"FID":32,"FName":"K2.05.01.C320受托C310反应物","FValue":32,"FDepth":2,"FParentID":29},{"FID":33,"FName":"K2.06.01.C320受托C310倍司预处理","FValue":33,"FDepth":2,"FParentID":29},{"FID":34,"FName":"K2.06.02.C320受托C310倍司预处理副产品油萜","FValue":34,"FDepth":2,"FParentID":29},{"FID":35,"FName":"K2.06.03.C320受托C310液体预处理","FValue":35,"FDepth":2,"FParentID":29},{"FID":36,"FName":"K2.06.04.C320受托C310提取","FValue":36,"FDepth":2,"FParentID":29},{"FID":38,"FName":"K2.01.71.C320受托上海嘉萃乳化基料(喷粉用)","FValue":38,"FDepth":2,"FParentID":37},{"FID":39,"FName":"K2.01.72.C320受托上海嘉萃研磨基料(喷粉用)","FValue":39,"FDepth":2,"FParentID":37},{"FID":40,"FName":"K2.03.02.C320受托上海嘉萃油相","FValue":40,"FDepth":2,"FParentID":37},{"FID":41,"FName":"K2.04.02.C320受托上海嘉萃水相","FValue":41,"FDepth":2,"FParentID":37},{"FID":43,"FName":"K4.01.01.C320受托C310油质香精(甜味)","FValue":43,"FDepth":2,"FParentID":42},{"FID":44,"FName":"K4.01.02.C320受托C310水质香精(甜味)","FValue":44,"FDepth":2,"FParentID":42},{"FID":45,"FName":"K4.01.03.C320受托C310水油香精(甜味)","FValue":45,"FDepth":2,"FParentID":42},{"FID":46,"FName":"K4.01.04.C320受托C310(乳化配制)水油香精(甜味)","FValue":46,"FDepth":2,"FParentID":42},{"FID":47,"FName":"K4.02.C320受托C310乳化香精(甜味)","FValue":47,"FDepth":2,"FParentID":42},{"FID":48,"FName":"K4.03.C320受托C310拌合型粉末香精(甜味)","FValue":48,"FDepth":2,"FParentID":42},{"FID":49,"FName":"K4.04.C320受托C310胶囊型粉末香精(甜味)","FValue":49,"FDepth":2,"FParentID":42},{"FID":50,"FName":"K4.05.01.C320受托C310(液体配制)浆(膏)状香精(甜味)","FValue":50,"FDepth":2,"FParentID":42},{"FID":51,"FName":"K4.05.02.C320受托C310(乳化配制)浆(膏)状香精(甜味)","FValue":51,"FDepth":2,"FParentID":42},{"FID":52,"FName":"K4.05.03.C320受托C310(反应配制)浆(膏)状香精(甜味)","FValue":52,"FDepth":2,"FParentID":42},{"FID":53,"FName":"K4.39.C320受托C310复合调味料(甜味)","FValue":53,"FDepth":2,"FParentID":42},{"FID":54,"FName":"K4.41.C320受托C310复配着色剂","FValue":54,"FDepth":2,"FParentID":42},{"FID":55,"FName":"K4.51.C320受托C310固体饮料","FValue":55,"FDepth":2,"FParentID":42},{"FID":56,"FName":"K4.01.11.C320受托C310再客供芯荟芯液类","FValue":56,"FDepth":2,"FParentID":42},{"FID":58,"FName":"K4.71.C320受托上海嘉萃液体香精","FValue":58,"FDepth":2,"FParentID":57},{"FID":59,"FName":"K4.72.C320受托上海嘉萃乳化香精","FValue":59,"FDepth":2,"FParentID":57},{"FID":60,"FName":"K4.74.C320受托上海嘉萃胶囊型粉末香精","FValue":60,"FDepth":2,"FParentID":57},{"FID":61,"FName":"K4.75.C320受托上海嘉萃复配着色剂","FValue":61,"FDepth":2,"FParentID":57},{"FID":62,"FName":"K4.76.C320受托上海嘉萃固体饮料","FValue":62,"FDepth":2,"FParentID":57},{"FID":64,"FName":"K4.81.C320其他代工类","FValue":64,"FDepth":2,"FParentID":63},{"FID":65,"FName":"4.91.C320香精委外(湖南)","FValue":65,"FDepth":2,"FParentID":63},{"FID":66,"FName":"4.99.C320委外爆珠类","FValue":66,"FDepth":2,"FParentID":63},{"FID":68,"FName":"3.01.C320受托C310油质香精(甜味)","FValue":68,"FDepth":2,"FParentID":67},{"FID":69,"FName":"3.02.C320受托C310水质香精(甜味)","FValue":69,"FDepth":2,"FParentID":67},{"FID":70,"FName":"3.03.C320受托C310水油香精(甜味)","FValue":70,"FDepth":2,"FParentID":67},{"FID":71,"FName":"3.03.C320受托C310液体香精乳化包装(甜味)","FValue":71,"FDepth":2,"FParentID":67},{"FID":72,"FName":"3.04.C320受托C310乳化香精(甜味)","FValue":72,"FDepth":2,"FParentID":67},{"FID":73,"FName":"3.05.C320受托C310拌合型粉末香精(甜味)","FValue":73,"FDepth":2,"FParentID":67},{"FID":74,"FName":"3.06.C320受托C310胶囊型粉末香精(甜味)","FValue":74,"FDepth":2,"FParentID":67},{"FID":75,"FName":"3.07.C320受托C310浆(膏)状(液体包装)香精(甜味)","FValue":75,"FDepth":2,"FParentID":67},{"FID":76,"FName":"3.07.C320受托C310浆(膏)状(乳化包装)香精(甜味)","FValue":76,"FDepth":2,"FParentID":67},{"FID":77,"FName":"3.39.C320受托C310复合调味料(甜味)","FValue":77,"FDepth":2,"FParentID":67},{"FID":78,"FName":"3.51.C320受托C310固体饮料","FValue":78,"FDepth":2,"FParentID":67},{"FID":80,"FName":"3.71.C320受托上海嘉萃成品类","FValue":80,"FDepth":2,"FParentID":79},{"FID":82,"FName":"3.91.C320香精委外(湖南)","FValue":82,"FDepth":2,"FParentID":81},{"FID":83,"FName":"3.92.C320香精委外(广州华宝)","FValue":83,"FDepth":2,"FParentID":81},{"FID":84,"FName":"3.99.C320爆珠委外类","FValue":84,"FDepth":2,"FParentID":81},{"FID":86,"FName":"C310客供原料","FValue":86,"FDepth":2,"FParentID":85},{"FID":87,"FName":"C310客供原料(需转化为基料再客供芯荟)","FValue":87,"FDepth":2,"FParentID":85},{"FID":88,"FName":"C310客供原料(广州华宝)","FValue":88,"FDepth":2,"FParentID":85},{"FID":89,"FName":"C310客供原料(化学品)","FValue":89,"FDepth":2,"FParentID":85},{"FID":90,"FName":"C310客供非食品级原料","FValue":90,"FDepth":2,"FParentID":85},{"FID":91,"FName":"C320自购原料","FValue":91,"FDepth":2,"FParentID":85},{"FID":92,"FName":"第三方客供C320原料","FValue":92,"FDepth":2,"FParentID":85},{"FID":94,"FName":"上海嘉萃客供原料","FValue":94,"FDepth":2,"FParentID":93},{"FID":96,"FName":"C310客供外包装物","FValue":96,"FDepth":2,"FParentID":95},{"FID":97,"FName":"C310客供内包装物","FValue":97,"FDepth":2,"FParentID":95},{"FID":98,"FName":"C310客供胶带","FValue":98,"FDepth":2,"FParentID":95},{"FID":99,"FName":"C310客供托盘","FValue":99,"FDepth":2,"FParentID":95},{"FID":100,"FName":"C310客供标签","FValue":100,"FDepth":2,"FParentID":95},{"FID":101,"FName":"C310客供其他包材","FValue":101,"FDepth":2,"FParentID":95},{"FID":103,"FName":"上海嘉萃客供外包装物","FValue":103,"FDepth":2,"FParentID":102},{"FID":104,"FName":"上海嘉萃客供内包装物","FValue":104,"FDepth":2,"FParentID":102},{"FID":105,"FName":"上海嘉萃客供标签","FValue":105,"FDepth":2,"FParentID":102},{"FID":107,"FName":"C320自购低值易耗品","FValue":107,"FDepth":2,"FParentID":106},{"FID":108,"FName":"K1.24.(受托C310)其他自制物料（测试）","FValue":108,"FDepth":2,"FParentID":1}]};
			if (this.dataInfoObj.FViewType == 1) {
				this.inputCodeValue = _data.rows[0].HalfCode;
				this.inputDescValue = _data.rows[0].HalfDesc;
				this.isShow = true;
			} else if (this.dataInfoObj.FViewType == 2 || this.dataInfoObj.FViewType == 3 || this.dataInfoObj.FViewType == 4) {
				this.isBomShow = true;
			}

			this.typeList[0] = _data.types.filter(s => s.FDepth == 1) || [];
			this.typeList[1] = _data.types.filter(s => s.FDepth != 1) || [];
			let dataColumn = _data.columns || [];
			let editColumn = dataColumn.filter(it => {

				let b = false;
				if (this.dataInfoObj.FCanEdit != 2) {
					if (it.fieldType == 7) b = this.userPower[1].indexOf(it.id) >= 0;
					else b = this.userPower[0].indexOf(it.id) >= 0;
					if (b) {
						it.customSlot = it.key;
						it.cellClass = "edit-item"
					}
				}
				return b;
			});
			if (editColumn.length > 0) {
				if (this.selectDataMap == null) {
					let dataTypeIds = editColumn.filter(it => {
						it.selectType = it.dataType.startsWith('select:');
						if (it.selectType) {
							it.selectTypeId = it.dataType.substring(7)
						}
						return it.selectType;
					}).map(it => it.selectTypeId);
					if (dataTypeIds.length > 0) {
						this.selectDataMap = await getDataCode({
							FType: dataTypeIds.join(",")
						});
					}
				}
				// //修改项移到前面
				// if (this.dataInfoObj.FCanEdit != 2) {
				// 	let tempColumn1 = dataColumn.filter(s => s.customSlot) || [];
				// 	let tempColumn2 = dataColumn.filter(s => s.customSlot == undefined) || [];
				// 	dataColumn = [...tempColumn1, ...tempColumn2];
				// }
			}
			let columnsList = [];
			let col7 = dataColumn.filter(s => s.fieldType == 7) || [];

			_data.rows.forEach((item, i) => {

				columnsList = _data.columns.map(function (items) {
					let str = _data.infos[i][items.key + "Type"];
					if (typeof (str) != "undefined") {
						switch (str) {
							case "1":
								return items.cellClass = items.cellClass + " one";
							case "2":
								return items.cellClass = items.cellClass + " twe";
							case "3":
								return items.cellClass = items.cellClass + " three";
							case "4":
								return items.cellClass = items.cellClass + " four";
						}
					}

					return items["cellClass"]="";
				})
				let k3Code = item.FBaseMaterialDesc;
				if (k3Code.indexOf("@") > 0) {
					item.FK3Code = k3Code.substr(0, k3Code.indexOf("@"));
					item.FK3Name = k3Code.substr(k3Code.indexOf("@") + 1);
				} else {
					item.FK3Code = "";
					item.FK3Name = "";
				}
				if (k3Code.lastIndexOf(".") > 0) {
					item.FK3ShortCode = item.FK3Code.substr(item.FK3Code.lastIndexOf(".") + 1);
				} else {
					item.FK3ShortCode = "";
				}
				let info = _data.infos.find(s => s.FDataID == item.FMaterialID) || null;
				if (info != null) {
					col7.forEach((col) => {
						item[col.key] = info[col.key] || item[col.key] || "";
					});
				}
				item.FTypeID1 = (item.FTypeID1 == 0 || item.FTypeID1 == -1) ? "" : item.FTypeID1;
				item.FTypeID2 = (item.FTypeID2 == 0 || item.FTypeID2 == -1) ? "" : item.FTypeID2;
			});
			let saveId = this.dataInfoObj.FViewType + "_" + this.dataInfoObj.FID;
			localStorage.setItem('EditView' + saveId, JSON.stringify(_data.rows));



			this.editColumn = editColumn;
			this.dataList = [
	{
		"FID": 124417,
		"FMaterialID": 67945,
		"FTeamID": 214,
		"FFactoryCode": "C310",
		"FFactoryID": 1,
		"FViewType": 1,
		"FGroupCode": "",
		"FLevel": 1,
		"FDeleted": 0,
		"FAddDate": "2023-04-12T18:22:14.47",
		"FEditUser": 2,
		"FEditDate": null,
		"FOrganizeIndustryField": "M",
		"FOrganizeMaterialType": "ZMAT",
		"FOrganizeFactory": "C310",
		"FOrganizeInventoryLocation": "",
		"FOrganizeSalesOrganize": "C310",
		"FOrganizeDistributionChannel": "99",
		"FBaseMaterialCode": "1681323734",
		"FBaseTestCode": "444",
		"FBaseBasicMeter": "KG",
		"FBaseMaterialDesc": "C444",
		"FBaseMaterialGroup": "1301",
		"FBaseSpecification": "",
		"FBaseMaterialText": "",
		"FBaseIdentifier": "",
		"FBaseVolumeUnit": "M3",
		"FBaseGrossWeight": "",
		"FBaseNetWeight": "",
		"FBaseWeightUnit": "kg",
		"FBaseBusinessVolume": "",
		"FBaseFameCode": "",
		"FPurchaseGroup": "G02",
		"FPurchaseCompany": "",
		"FPurchaseCompanyCount": "",
		"FPurchaseBaseCompanyCount": "",
		"FPurchaseValueCode": "4",
		"FPurchaseFactorySpecificStatus": "",
		"FPurchaseAutoOrder": "X",
		"FPurchaseGoodsSource": "",
		"FTypeCategoryType": "023",
		"FTypeType": "ZBATCLS",
		"FSaleDeliveryFactory": "C310",
		"FSaleTaxType": "1",
		"FSaleMaterialStatisticsGroup": "1",
		"FSaleSalesCompany": "",
		"FSaleBaseCompanyCount": "",
		"FSaleSalesCompanyCount": "",
		"FSaleAccountSettingGroup": "10",
		"FSaleGeneralProjectCategoryGroup": "",
		"FSaleProjectCategoryGroup": "NORM",
		"FSaleAvailabilityCheck": "02",
		"FSaleOutfitGroup": "0001",
		"FSaleOldMaterialCode": "",
		"FStorageConditions": "",
		"FStorageBatchManage": "X",
		"FStorageMaxStoragePeriod": "",
		"FStorageTimeUnit": "",
		"FStorageMinSurplusShelfLife": "1",
		"FStorageTotalShelfLife": "",
		"FStorageSLEDCode": "D",
		"FMRP1Type": "ND",
		"FMRP1Controller": "101",
		"FMRP1BatchSize": "WB",
		"FMRP1MinBatchSize": "",
		"FMRP1MaxBatchSize": "",
		"FMRP1Group": "0099",
		"FMRP1RoundValue": "",
		"FMRP1ProductType": "10",
		"FMRP1CustomerCode": "",
		"FMRP1SizeMaterial": "",
		"FMRP1SmallMaterialStandard": "",
		"FMRP2PurchaseType": "F",
		"FMRP2PlanMarginalCode": "000",
		"FMRP2SpecialProcurement": "30",
		"FMRP2Recoil": "",
		"FMRP2SelfProductTime": "",
		"FMRP2PlannDeliveryTime": "",
		"FMRP2ReceiveProcessTime": "",
		"FMRP2SafeStock": "",
		"FMRP2DeliveryInventoryPlace": "",
		"FMRP2ExternalStoragePlace": "3000",
		"FMRP3PolicyGroup": "40",
		"FMRP3ConsumePattern": "2",
		"FMRP3ForwardConsumePeriod": "365",
		"FMRP3ReverseConsumePeriod": "90",
		"FMRP3BlendMRP": "3",
		"FMRP3AvailabilityCheck": "02",
		"FMRP4AloneOrFocus": "2",
		"FPlanProductPlanParam": "",
		"FPlanUnlimitedOverDelivery": "",
		"FPlanUnderDeliveryTolerance": "",
		"FPlanOverDeliveryTolerance": "",
		"FPlanDeliverCompany": "",
		"FPlanDeliverCompanyCount": "",
		"FPlanBaseCompanyCount": "",
		"FQualityType1": "",
		"FQualityType2": "",
		"FQualityType3": "",
		"FQualityType4": "",
		"FQualityType5": "",
		"FQualityType6": "",
		"FAccountPriceControl": "S",
		"FAccountPriceDetermine": "3",
		"FAccountPriceUnit": "1",
		"FAccountAccessType": "3000",
		"FAccountSaleOrderInventory": "3010",
		"FAccountStandardPrice": "",
		"FAccountProfitCenter": "PC30",
		"FAccountCostAccountBatch": "1",
		"FExtraQuantity": "",
		"FMRP1ReorderLocation": "",
		"FMRP1RegularBatchSize": "",
		"FMRP1MaxInventorySize": "",
		"FMRP1IgnoreLack": "",
		"FMRP1laminated": "",
		"FMRP1SafeStock": "",
		"FMRP1RequireCount": "",
		"FMRP4DiscontinuousIidentifier": "",
		"FMRP4EffectivePeriod": "",
		"FMRP4FollowMaterial": "",
		"FTypeID1": 25,
		"FTypeID2": 27,
		"FK3Code": "",
		"FK3Name": "",
		"FK3ShortCode": "",
		"FTestCode": "",
		"FRelationCode": "",
		"FRelationName": "",
		"FSAPCode": "",
		"FSAPDescription": "",
		"FMaterialGroup": "",
		"FMaterialType": "",
		"FCustomerCode": "",
		"FStoreHouse": "",
		"FBomEntry": "",
		"FLineHouse": "",
		"FProductDesc": "",
		"FWorkCenter": "",
		"FCraftExplain": "",
		"FIidentifier": "",
		"FGuaranteePeriod": "",
		"FBStorageConditions": "",
		"FSafetyStock": "",
		"FTriggerRatio": "",
		"FMinAmount": "",
		"FMaxAmount": "",
		"FYield": "",
		"FFixedLoss": "",
		"FTheoryYield": "",
		"FQualityTest1": "",
		"FQualityTest2": ""
	},
	{
		"FID": 124418,
		"FMaterialID": 67946,
		"FTeamID": 214,
		"FFactoryCode": "C320",
		"FFactoryID": 3,
		"FViewType": 1,
		"FGroupCode": "",
		"FLevel": 1,
		"FDeleted": 0,
		"FAddDate": "2023-04-12T18:22:14.593",
		"FEditUser": 2,
		"FEditDate": null,
		"FOrganizeIndustryField": "M",
		"FOrganizeMaterialType": "ZMAT",
		"FOrganizeFactory": "C320",
		"FOrganizeInventoryLocation": "",
		"FOrganizeSalesOrganize": "C320",
		"FOrganizeDistributionChannel": "99",
		"FBaseMaterialCode": "1681323734",
		"FBaseTestCode": "444",
		"FBaseBasicMeter": "KG",
		"FBaseMaterialDesc": "C444",
		"FBaseMaterialGroup": "1301",
		"FBaseSpecification": "",
		"FBaseMaterialText": "",
		"FBaseIdentifier": "",
		"FBaseVolumeUnit": "M3",
		"FBaseGrossWeight": "",
		"FBaseNetWeight": "",
		"FBaseWeightUnit": "kg",
		"FBaseBusinessVolume": "",
		"FBaseFameCode": "",
		"FPurchaseGroup": "G12",
		"FPurchaseCompany": "",
		"FPurchaseCompanyCount": "",
		"FPurchaseBaseCompanyCount": "",
		"FPurchaseValueCode": "4",
		"FPurchaseFactorySpecificStatus": "",
		"FPurchaseAutoOrder": "X",
		"FPurchaseGoodsSource": "",
		"FTypeCategoryType": "023",
		"FTypeType": "ZBATCLS",
		"FSaleDeliveryFactory": "C320",
		"FSaleTaxType": "1",
		"FSaleMaterialStatisticsGroup": "1",
		"FSaleSalesCompany": "",
		"FSaleBaseCompanyCount": "",
		"FSaleSalesCompanyCount": "",
		"FSaleAccountSettingGroup": "10",
		"FSaleGeneralProjectCategoryGroup": "",
		"FSaleProjectCategoryGroup": "NORM",
		"FSaleAvailabilityCheck": "02",
		"FSaleOutfitGroup": "0001",
		"FSaleOldMaterialCode": "",
		"FStorageConditions": "",
		"FStorageBatchManage": "X",
		"FStorageMaxStoragePeriod": "",
		"FStorageTimeUnit": "",
		"FStorageMinSurplusShelfLife": "1",
		"FStorageTotalShelfLife": "",
		"FStorageSLEDCode": "D",
		"FMRP1Type": "PD",
		"FMRP1Controller": "101",
		"FMRP1BatchSize": "MB",
		"FMRP1MinBatchSize": "",
		"FMRP1MaxBatchSize": "",
		"FMRP1Group": "0099",
		"FMRP1RoundValue": "",
		"FMRP1ProductType": "10",
		"FMRP1CustomerCode": "C310",
		"FMRP1SizeMaterial": "",
		"FMRP1SmallMaterialStandard": "",
		"FMRP2PurchaseType": "E",
		"FMRP2PlanMarginalCode": "000",
		"FMRP2SpecialProcurement": "",
		"FMRP2Recoil": "",
		"FMRP2SelfProductTime": "",
		"FMRP2PlannDeliveryTime": "",
		"FMRP2ReceiveProcessTime": "",
		"FMRP2SafeStock": "",
		"FMRP2DeliveryInventoryPlace": "",
		"FMRP2ExternalStoragePlace": "3000",
		"FMRP3PolicyGroup": "52",
		"FMRP3ConsumePattern": "2",
		"FMRP3ForwardConsumePeriod": "365",
		"FMRP3ReverseConsumePeriod": "90",
		"FMRP3BlendMRP": "3",
		"FMRP3AvailabilityCheck": "02",
		"FMRP4AloneOrFocus": "2",
		"FPlanProductPlanParam": "000001",
		"FPlanUnlimitedOverDelivery": "X",
		"FPlanUnderDeliveryTolerance": "",
		"FPlanOverDeliveryTolerance": "",
		"FPlanDeliverCompany": "",
		"FPlanDeliverCompanyCount": "",
		"FPlanBaseCompanyCount": "",
		"FQualityType1": "",
		"FQualityType2": "",
		"FQualityType3": "",
		"FQualityType4": "",
		"FQualityType5": "",
		"FQualityType6": "",
		"FAccountPriceControl": "S",
		"FAccountPriceDetermine": "3",
		"FAccountPriceUnit": "1",
		"FAccountAccessType": "3000",
		"FAccountSaleOrderInventory": "3010",
		"FAccountStandardPrice": "",
		"FAccountProfitCenter": "PC30",
		"FAccountCostAccountBatch": "1",
		"FExtraQuantity": "",
		"FMRP1ReorderLocation": "",
		"FMRP1RegularBatchSize": "",
		"FMRP1MaxInventorySize": "",
		"FMRP1IgnoreLack": "",
		"FMRP1laminated": "",
		"FMRP1SafeStock": "",
		"FMRP1RequireCount": "",
		"FMRP4DiscontinuousIidentifier": "",
		"FMRP4EffectivePeriod": "",
		"FMRP4FollowMaterial": "",
		"FTypeID1": 1,
		"FTypeID2": 3,
		"FK3Code": "",
		"FK3Name": "",
		"FK3ShortCode": "",
		"FTestCode": "",
		"FRelationCode": "",
		"FRelationName": "",
		"FSAPCode": "",
		"FSAPDescription": "",
		"FMaterialGroup": "",
		"FMaterialType": "",
		"FCustomerCode": "",
		"FStoreHouse": "",
		"FBomEntry": "",
		"FLineHouse": "",
		"FProductDesc": "",
		"FWorkCenter": "",
		"FCraftExplain": "",
		"FIidentifier": "",
		"FGuaranteePeriod": "",
		"FBStorageConditions": "",
		"FSafetyStock": "",
		"FTriggerRatio": "",
		"FMinAmount": "",
		"FMaxAmount": "",
		"FYield": "",
		"FFixedLoss": "",
		"FTheoryYield": "",
		"FQualityTest1": "",
		"FQualityTest2": ""
	}
];
			this.dataColumn = [
	{
		"id": 227,
		"key": "FK3Code",
		"table": "TFS_Material",
		"title": "实验号",
		"category": "基础信息",
		"width": "220px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"customSlot": "FK3Code",
		"cellClass": "",
		"selectType": false
	},
	{
		"id": 227,
		"key": "FTypeID1",
		"table": "TFS_Material",
		"title": "一级分类",
		"category": "基础信息",
		"width": "220px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"customSlot": "FTypeID1",
		"cellClass": "",
		"selectType": false
	},
	{
		"id": 228,
		"key": "FTypeID2",
		"table": "TFS_Material",
		"title": "二级分类",
		"category": "基础信息",
		"width": "300px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"customSlot": "FTypeID2",
		"cellClass": "",
		"selectType": false
	},
	{
		"id": 229,
		"key": "FK3Code",
		"table": "TFS_Material",
		"title": "视图模板",
		"category": "基础信息",
		"width": "170px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"customSlot": "FK3Code",
		"cellClass": "",
		"selectType": false
	},
	{
		"id": 230,
		"key": "FK3Name",
		"table": "TFS_Material",
		"title": "物料号",
		"category": "基础信息",
		"width": "260px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"customSlot": "FK3Name",
		"cellClass": "",
		"selectType": false
	},
	{
		"id": 231,
		"key": "FK3ShortCode",
		"table": "TFS_Material",
		"title": "物料描述",
		"category": "基础信息",
		"width": "140px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"cellClass": ""
	},
	{
		"id": 232,
		"key": "FTestCode",
		"table": "TFS_Material",
		"title": "存储条件",
		"category": "基础信息",
		"width": "140px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"cellClass": ""
	},
	{
		"id": 233,
		"key": "FRelationCode",
		"table": "TFS_Material",
		"title": "基础信息",
		"category": "基础信息",
		"width": "140px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"cellClass": ""
	},
	{
		"id": 234,
		"key": "FRelationName",
		"table": "TFS_Material",
		"title": "物料视图",
		"category": "基础信息",
		"width": "140px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"cellClass": ""
	},
	{
		"id": 235,
		"key": "FSAPCode",
		"table": "TFS_Material",
		"title": "操作",
		"category": "基础信息",
		"width": "140px",
		"align": "center",
		"dataType": "",
		"fieldType": 7,
		"cellClass": ""
	}
];
			this.originalColumns = this.deepCopy(dataColumn);
			debugger
			this._changeType(_data.rows[0],2);
			setTimeout(function () {
				layer.close(idx);
			}, 500);
		},
		cancelClick(isRefresh) {
			isRefresh = isRefresh == undefined ? false : isRefresh;
			this.$emit('cancelClick', isRefresh);
		},
		async _changeType(data, type) {
			if (type == 1) {
				data.FTypeID2 = -1;
			} else {
				if (data.FTypeID2) {
					let result = await getInfoData({
						"FDataID": data.FTypeID2,
						"FType": 1
					}) || null;

					if (result != null && result.FID) {
						let col7 = this.dataColumn.filter(s => s.fieldType == 7) || [];
						col7.forEach((item) => {
							if (item.table == "TFS_MaterialInfo") {
								data[item.key] = result[item.key] || data[item.key] || "";
							}
						});

						this.dataColumn.map(function (item) {
							let str = result[item.key + "Type"];

							if (typeof (str) != "undefined") {
								switch (str) {
									case "1":
										if (typeof (item.cellClass) == "undefined") {
											return item["cellClass"] = "one";
										}
										return item.cellClass = item.cellClass.split(" ")[0] + " one";
									case "2":
										if (typeof (item.cellClass) == "undefined") {
											return item["cellClass"] = "twe";
										}
										return item.cellClass = item.cellClass.split(" ")[0] + " twe";
									case "3":
										if (typeof (item.cellClass) == "undefined") {
											return item["cellClass"] = "three";
										}
										return item.cellClass = item.cellClass.split(" ")[0] + " three";
									case "4":
										if (typeof (item.cellClass) == "undefined") {
											return item["cellClass"] = "four";
										}
										return item.cellClass = item.cellClass.split(" ")[0] + " four";
								}
							}

							return item["cellClass"]="";
						})
					}
				}
			}
		},
		async saveBatch() {
			let idx = layer.load(2);
			let updateObj = {
				LogList: [],
				FTeamID: this.dataInfoObj['FTeamID'],
				FViewType: this.dataInfoObj.FViewType
			};
			let saveId = this.dataInfoObj.FViewType + "_" + this.dataInfoObj.FID;
			let cacheDataList = JSON.parse(localStorage.getItem('EditView' + saveId));
			this.dataList.forEach((row, index) => {
				let cache = cacheDataList[index];
				let dataObj = {};
				for (let col of this.editColumn) {
					let valTemp = row[col.key];
					if (valTemp != cache[col.key]) {
						if (!dataObj[col.table]) {
							dataObj[col.table] = {};
							dataObj[col.table].FMaterialID = row["FMaterialID"];
						}
						dataObj[col.table][col.key] = valTemp;
						if (col.key == "FTypeID1" || col.key == "FTypeID2") {
							let temps = this.typeList[col.key == "FTypeID1" ? 0 : 1] || [];
							let temp = temps.find(s => s.FID == valTemp) || null;
							valTemp = temp == null ? "" : temp.FName;
						}
						updateObj.LogList.push(col.title + "：" + (valTemp == "" ? "删除" : valTemp));
					}
				}
				for (let key in dataObj) {
					if (!updateObj[key]) updateObj[key] = [];
					updateObj[key].push(dataObj[key]);
				}
			});
			let updateLog = updateObj.LogList.join("、");
			if (updateLog != "") {
				delete updateObj.LogList
				// 发送保存请求
				let _result = await updateBatchById2(updateObj);
				if (_result.Code === 200) {
					await commonSave({
						teamId: updateObj.FTeamID,
						type: this.dataInfoObj['FType'],
						desc: updateLog
					}, "OperateLog");
					let $this = this;
					//$this.initPage();
					localStorage.setItem('EditView' + saveId, JSON.stringify(this.dataList));
					setTimeout(function () {
						layer.close(idx);
						layer.msg('保存成功');
						$this.$emit('cancelClick', true, true);
						$this.$refs.OperateLog._getPageList();
					}, 500);
				}
			} else {
				layer.close(idx);
				layer.msg('您没有做任何更改')
			}
		},
		_clickFreezingColumnSetting() {
			this.dataColumn = ref([]);
			this.showFreezingColumnSettingBox = true;
		},
		setFreezingColumns() {
			this.tmpDataColumn = this.deepCopy(this.originalColumns);
			let freezingColumns = [];
			if (this.freezingColumnSetting && this.freezingColumnSetting.length > 0) {
				this.freezingColumnSetting.forEach(column => {
					let colIndex = this.tmpDataColumn.findIndex(d => d.key === column);
					if (colIndex >= 0) {
						let fc = this.tmpDataColumn.splice(colIndex, 1)[0];
						if (fc) {
							fc.fixed = "left";
							freezingColumns.push(fc);
						}
					}
				})

				this.dataColumn = freezingColumns.concat(this.tmpDataColumn);
			} else {
				this.dataColumn = this.tmpDataColumn;
			}
		},
		setFreezingColumnsSetting(fcs) {
			this.freezingColumnSetting = fcs;
			if (fcs && fcs.length > 0) {
			} else {
				this.dataColumn = this.originalColumns;
			}
			this.showFreezingColumnSettingBox = false;
		},
		closeFreezingSetting() {
			this.setFreezingColumns();
		},
		deepCopy(arr) {
			return JSON.parse(JSON.stringify(arr))
		}
	}
}
</script>
