Browse Source

报工优化

liuhairui 1 year ago
parent
commit
551dcac454
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/view/performance/chejianbaogong.vue

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

@@ -8,7 +8,7 @@
 			<el-button type="primary" size="large" @click="onzhicheng"  >制程检验</el-button>
 			<el-button type="primary" size="large" @click="ondianjian"  >设备点检</el-button>
 			<el-button type="primary" size="large" @click="onxuncha" >管理巡查</el-button>
-			<el-button type="primary" size="large" @click="onstatus" >设置机台状态</el-button>
+<!--			<el-button type="primary" size="large" @click="onstatus" >设置机台状态</el-button>-->
 			<el-button type="primary" size="large" @click="onyinban">印版领退</el-button>
 			<el-button type="primary" size="large" @click="onClear" >换型清场</el-button>
 			<el-button type="primary" size="large" @click="oncomplaints" >客诉记录</el-button>
@@ -2098,7 +2098,7 @@ const FacilityProduction = async (addr) => {
       formData.value.产品名称 = response.data.产品名称;
       formData.value.班组Id=response.data.班组Id
       formData.value.machine=JTMC
-      formData.value.状态='生产'
+      formData.value.状态=response.data.状态
       formData.value.定额代号=response.data.定额代号
       formData.value.addr=addr
       BZMC.value=response.data.班组编号
@@ -3008,7 +3008,7 @@ const GetMachineMac = async (addr) => {
   if (response.code === 0) {
     if(response.data===null){
       JTMC = 'MQ07#';
-      CJMC='模车间';
+      CJMC='模车间';
       FacilityProduction(addr);
     }else{
       // 将接口返回的数据添加到树型结构中