Lexie 1 vuosi sitten
vanhempi
commit
2a40761bee

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

@@ -2766,8 +2766,8 @@ const getbzyg = async (value,key) => {
   bzxm=`name${key}`
   const response = await getYg({sczl_bh:formDatas.value[bzyg]});
   if (response.code === 0) {
-    formDatas.value[bzxm]=response.data.ygxm
-	formDatas.value[bzyg]=response.data.员工编号
+    formDatas.value[bzxm]=response.data[0].ygxm
+	formDatas.value[bzyg]=response.data[0].员工编号
   }
 }
 

+ 4 - 4
src/view/yunyin/shengchanguanli/shebeiyunxing.vue

@@ -9,11 +9,11 @@
 			<el-button type="primary" class="bt" @click="onyinban">印版领退</el-button>
 			<!-- <el-button type="primary" @click="onstatus" >设置机台状态</el-button> -->
 			<el-button type="primary" class="bt" @click="oncomplaints" >客诉记录</el-button>
-			<el-button type="primary" class="bt" @click="onClear" >换型清场</el-button>
-			<el-button type="primary" class="bt" @click="onDel"  v-if="DelType === true" >删除</el-button>
-			<el-button type="primary" class="bt" @click="onADD" v-if="AddType === true">新增</el-button>
+			<el-button type="primary" class="bt" @click="onClear" >换型清场</el-button>
 			<el-button type="primary" class="bt" @click="hesuan" v-if="AddType === true">核算参数调整</el-button>
-			<el-button type="primary" icon="edit"   @click="onxzhscsclick"     class="bt" title="修正核算参数">修正核算参数</el-button>
+			<el-button type="primary" icon="edit"   @click="onxzhscsclick"     class="bt" title="修正核算参数">修正核算参数</el-button>
+			<el-button type="primary" class="bt" @click="onADD" v-if="AddType === true">新增</el-button>
+			<el-button type="primary" class="bt" @click="onDel"  v-if="DelType === true" >删除</el-button>
 			<!-- <el-button type="primary" @click="onClear2" >换型清场</el-button> -->
 		</header>