zck 9 bulan lalu
induk
melakukan
85bd12ab91

+ 4 - 2
src/view/performance/chukubaogong.vue

@@ -402,7 +402,8 @@ const resbom_tableColumns = ref(
 		{ label: '物料名称', prop: '物料名称', width: '160' },
 		{ label: '计划用料', prop: '计划用料', width: '105' },
 		{ label: '定额用料', prop: '定额用料', width: '110' },
-		{ label: '门封', prop: '门封', width: '100' },
+		{ label: '计划门幅', prop: '计划门幅', width: '100' },
+		{ label: '定额门幅', prop: '定额门幅', width: '100' },
 		{ label: '裁床实际用料', prop: '裁床实际用料', width: '115' },
 		{ label: '裁床领用面料', prop: '裁床领用面料', width: '115' },
 		{ label: '裁床退回仓库面料', prop: '裁床退回仓库面料', width: '150' },
@@ -424,7 +425,8 @@ const Fabriccollar_tableColumns = ref(
 		{ label: '物料名称', prop: '物料名称', width: '160' },
 		{ label: '计划用料', prop: '计划用料', width: '105' },
 		{ label: '定额用料', prop: '定额用料', width: '110' },
-		{ label: '门封', prop: '门封', width: '100' },
+		{ label: '计划门幅', prop: '计划门幅', width: '100' },
+		{ label: '定额门幅', prop: '定额门幅', width: '100' },
 		{ label: '裁床实际用料', prop: '裁床实际用料', width: '115' },
 		{ label: '裁床领用面料', prop: '裁床领用面料', width: '115' },
 		{ label: '裁床退回仓库面料', prop: '裁床退回仓库面料', width: '150' },

+ 18 - 11
src/view/yunyin/shengchanguanli/gongdanziliao.vue

@@ -197,6 +197,8 @@
                   <el-table-column align="left" label="物料名称" prop="物料名称"  width="170"/>
                   <el-table-column align="left" label="计划用料" prop="计划用料"  width="100" />
                   <el-table-column align="left" label="定额用料" prop="定额用料"  width="90"/>
+				  <el-table-column align="left" label="计划门幅" prop="计划门幅"  width="100"/>
+				  <el-table-column align="left" label="定额门幅" prop="定额门幅"  width="100"/>
 				  <el-table-column align="left" label="门封" prop="门封"  width="80"/>
 				  <el-table-column align="left" label="单位" prop="投料单位"  width="60"/>
 				  <el-table-column align="left" label="备注" prop="备注"  width="180"/>
@@ -223,7 +225,8 @@
                   <el-table-column align="left" label="物料名称" prop="物料名称"  width="170"/>
                   <el-table-column align="left" label="计划用料" prop="计划用料"  width="100" />
                   <el-table-column align="left" label="定额用料" prop="定额用料"  width="90"/>
-				  <el-table-column align="left" label="门封" prop="门封"  width="80"/>
+				  <el-table-column align="left" label="计划门幅" prop="计划门幅"  width="100"/>
+				  <el-table-column align="left" label="定额门幅" prop="定额门幅"  width="100"/>
                   <el-table-column align="left" label="裁床实际用料" prop="裁床实际用料"  width="120"/>
                   <el-table-column align="left" label="裁床领用面料" prop="裁床领用面料"  width="120"/>
 				  <el-table-column align="left" label="裁床退回仓库面料" prop="裁床退回仓库面料"  width="140"/>
@@ -550,7 +553,7 @@
 				          :cell-class-name="scfjfpxsCellClass">
 				  <template v-for="(item, idx) in edit_resbom_tableColumns">
 				    <el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
-				      <div v-if="['物料名称', '计划用料', '定额用料', '门封', '备注'].includes(item.prop)">
+				      <div v-if="['物料名称', '计划用料', '定额用料','计划门幅','定额门幅', '备注'].includes(item.prop)">
 				        <el-input v-model="row[item.prop]" :clearable="false"
 				                  :id="`input${idx}${$index}`" @keyup="resbom_handleKeyDown($event, idx, $index, item.prop)" @input="handleInput($event, row, item.prop)"/>
 				      </div>
@@ -591,7 +594,7 @@
 				          :cell-class-name="scfjfpxsCellClass">
 				  <template v-for="(item, idx) in resbom_tableColumns">
 				    <el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
-				      <div v-if="['物料名称', '计划用料', '定额用料','门封', '备注'].includes(item.prop)">
+				      <div v-if="['物料名称', '计划用料', '定额用料','计划门幅','定额门幅', '备注'].includes(item.prop)">
 							<el-input
 							v-model="row[item.prop]"
 							:clearable="false"
@@ -2088,7 +2091,8 @@ const resbom_tableColumns = ref(
       { label: '物料名称', prop: '物料名称', width: '170' },
       { label: '计划用料', prop: '计划用料', width: '130' },
 	  { label: '定额用料', prop: '定额用料', width: '130' },
-	  { label: '门封', prop: '门封', width: '170' },
+	  { label: '计划门幅', prop: '计划门幅', width: '170' },
+	  { label: '定额门幅', prop: '定额门幅', width: '170' },
 	  { label: '裁床实际用料', prop: '裁床实际用料', width: '130' },
 	  { label: '裁床领用面料', prop: '裁床领用面料', width: '130' },
 	  { label: '裁床退回仓库面料', prop: '裁床退回仓库面料', width: '170' },
@@ -2195,7 +2199,8 @@ const resbom_handleKeyDown = (event, x, y, prop) => {
 //质检废品系数颜色
 const scfjfpxsCellClass = ({row, column, rowIndex, columnIndex}) =>{
   if (
-		column.label === '门封' ||
+		column.label === '计划门幅' ||
+		column.label === '定额门幅' ||
 		column.label === '计划用料' || 
 		column.label === '备注' || 
 		column.label === '物料名称' || 
@@ -2241,7 +2246,8 @@ const res_bomenterDialog = async () => {
 		Bom_领用数量: item.裁床领用面料 !== null ? item.裁床领用面料 : "",
 		BOM_退还数量: item.裁床退回仓库面料 !== null ? item.裁床退回仓库面料 : "",
 		BOM_desc: item.备注 !== null ? item.备注 : "",
-		BOM_门封: item.门封 !== null ? item.门封 : "",
+		BOM_计划门幅: item.计划门幅 !== null ? item.计划门幅 : "",
+		BOM_定额门幅: item.定额门幅 !== null ? item.定额门幅 : "",
 		BOM_投料单位: "米",
 		Sys_ID: userStore.userInfo.nickName,
 		Sys_rq: currentDate
@@ -2276,7 +2282,8 @@ const edit_resbom_tableColumns = ref(
       { label: '物料名称', prop: '物料名称', width: '170' },
       { label: '计划用料', prop: '计划用料', width: '130' },
 	  { label: '定额用料', prop: '定额用料', width: '130' },
-	  { label: '门封', prop: '门封', width: '170' },
+	  { label: '计划门幅', prop: '计划门幅', width: '170' },
+	  { label: '定额门幅', prop: '定额门幅', width: '170' },
 	  { label: '裁床实际用料', prop: '裁床实际用料', width: '130' },
 	  { label: '裁床领用面料', prop: '裁床领用面料', width: '130' },
 	  { label: '裁床退回仓库面料', prop: '裁床退回仓库面料', width: '170' },
@@ -2316,11 +2323,10 @@ const _editTestCoefficient = async () => {
       裁床领用面料: item.裁床领用面料,
       裁床退回仓库面料: item.裁床退回仓库面料,
       备注: item.备注,
-	  门封: item.门封,
-	  投料单位 : "米",
+      计划门幅: item.计划门幅,
+      定额门幅: item.定额门幅,
       UNIQID: item.UNIQID // 保留 UNIQID 以便后续使用
     }));
-
   } catch (error) {
     console.error(error);
   }
@@ -2342,7 +2348,8 @@ const editres_bomenterDialog = async () => {
 		Bom_领用数量: item.裁床领用面料 !== null ? item.裁床领用面料 : "",
 		BOM_退还数量: item.裁床退回仓库面料 !== null ? item.裁床退回仓库面料 : "",
 		BOM_desc: item.备注 !== null ? item.备注 : "",
-		BOM_门封: item.门封 !== null ? item.门封 : "",
+		BOM_计划门幅: item.计划门幅 !== null ? item.计划门幅 : "",
+		BOM_定额门幅: item.定额门幅 !== null ? item.定额门幅 : "",
 		BOM_投料单位: "米",
 		Sys_ID: userStore.userInfo.nickName,
 		Sys_rq: currentDate