Browse Source

车间报工产品资料

liuhairui 1 year ago
parent
commit
f87540e470

+ 7 - 2
src/view/performance/chejianbaogong.vue

@@ -379,7 +379,7 @@
 			 </el-col>
 			</el-row>
 			<div style="display: flex;font-weight: bold;color:purple">
-			<div class="groupbox float-div" style="height: 17vh; width: 130vh;font-weight: bold;color:purple;font-size: 2.5vh;">
+			<div class="groupbox float-div" style="height: 20vh; width: 130vh;font-weight: bold;color:purple;font-size: 2.5vh;">
 			    <span class="grouptitle">组员及分配比例</span>
 				<el-row :gutter="10" style="margin-top: 0px; height: 5vh;">
 								 <el-col :span="2">
@@ -3463,6 +3463,8 @@ const tableCols2 = [
 
 //员工工资查询
 const gzSel = () =>{
+
+  console.log(formData)
 	if(formData.value.班组成员.length==0){
 		ElMessage({ type: 'warning', message: '未获取到员工' });
 		return
@@ -5094,7 +5096,10 @@ const blplanUsageCellClass = ({row, column, rowIndex, columnIndex}) =>{
 ::v-deep .el-tabs__item {
   /*color: #000000 !important;*/
   font-weight: bold;
-
+}
+::v-deep .el-dialog__headerbtn {
+  width: 100px;
+  height: 85px;
 }
 :deep(.plan-usage-low div) {
   color: blue !important;

+ 3 - 2
src/view/yunyin/chanpinziliao/chanpinziliao.vue

@@ -3397,18 +3397,19 @@ const addgyenterDialog = async () =>{
   };
   console.log(formattedData)
   const res=addProductGyInfo(formattedData)
+  console.log(_Gd_gdbh.value)
+  const getProductData_data = await getProductData({product_code:_Gd_gdbh.value});
+  gytableData.splice(0, gytableData.length, ...getProductData_data.data.gyData);
   res.then(result => {
     if(result.code===0){
   		ElMessage({
   		  type: 'success',
   		  message: '成功'
   		})
-     GetInfo()
 	 addgydialogFormVisible.value = false
 	 Object.keys(add_gyformData).forEach(key => {
 			add_gyformData[key] = '';
 		  });
-
   	}else{
   		ElMessage({
   		  type: 'error',