|
|
@@ -174,18 +174,18 @@
|
|
|
<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="100" />
|
|
|
- <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="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="100"/>
|
|
|
- <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="100" />
|
|
|
- <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="100" />
|
|
|
+ <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="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="100"/>
|
|
|
+ <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="100" />
|
|
|
+ <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="100" />
|
|
|
</el-table>
|
|
|
</el-tab-pane>
|
|
|
|
|
|
@@ -1839,6 +1839,307 @@
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ <el-dialog
|
|
|
+ v-model="bzchanliangVisible"
|
|
|
+ title="班组产量修改"
|
|
|
+ destroy-on-close
|
|
|
+ width="160vh"
|
|
|
+ style="height: 60vh;"
|
|
|
+ >
|
|
|
+ <el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="工单编号" prop="id" style="margin-top=0px; margin-bottom: 0px;">
|
|
|
+ <el-input style="margin-top=0px; margin-bottom: 1px;" v-model="dbformData.order" id="工单编号" disabled @keydown="ent($event, 'rate10', '工单编号', '产品名称')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="10" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="产品名称" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.product_name" id="产品名称" style="margin-top=0px; margin-bottom: 1px;" disabled @keydown="ent($event, '工单编号', '产品名称', '工序名称')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="10" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="工序名称" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.gxmc" id="工序名称" style="margin-top=0px; margin-bottom: 1px;" disabled @keydown="ent($event, '产品名称', '工序名称', '印件号')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="印件号" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.yjno" style="margin-top=0px; margin-bottom: 1px;" id="印件号" disabled @keydown="ent($event, '工序名称', '印件号', '印件名称')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="10" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="印件名称" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.yj_name" id="印件名称" style="margin-top=0px; margin-bottom: 1px;" disabled @keydown="ent($event, '印件号', '印件名称', '工艺名称')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="工艺名称" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.gy_name" id="工艺名称" style="margin-top=0px; margin-bottom: 1px;" disabled @keydown="ent($event, '印件名称', '工艺名称', 'gxh')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.gxh" id="gxh" style="margin-top=0px; margin-bottom: 1px;" disabled @keydown="ent($event, '工艺名称', 'gxh', '日期')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-col :span="1" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="日期" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.日期" id="日期" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, 'gxh', '日期', '流程标牌')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+
|
|
|
+ <el-col :span="5" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="流程标牌" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.流程标牌" id="流程标牌" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '日期', '流程标牌', '上机时间')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="上机时间" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.上机时间" id="上机时间" disabled style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '流程标牌', '上机时间', '下机时间')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="下机时间" prop="" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.下机时间" style="margin-top=0px; margin-bottom: 1px;" id="下机时间" disabled @keydown="ent($event, '上机时间', '下机时间', '产量')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3">
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-row :gutter="24" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-col :span="1" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="产量" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.产量" id="产量" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '下机时间', '产量', '制程废品')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="制程废品" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.制程废品" id="制程废品" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '产量', '制程废品', '制程次品')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="制程次品" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.制程次品" id="制程次品" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '制程废品', '制程次品', '前工序废')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="前工序废" prop="" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.前工序废" id="前工序废" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '制程次品', '前工序废', '来料异常')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="来料异常" prop="" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.来料异常" id="来料异常" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '前工序废', '来料异常', '联数')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="联数" prop="" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.联数" id="联数" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '来料异常', '联数', '墨色')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="3" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="墨色" prop="" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.墨色" id="墨色" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '联数', '墨色', '装版总时长')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+
|
|
|
+ <el-row :gutter="20" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="装版总时长" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.装版总时长" id="装版总时长" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '墨色', '装版总时长', '打样总工时')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="打样总工时" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.打样总工时" style="margin-top=0px; margin-bottom: 1px;" id="打样总工时" @keydown="ent($event, '装版总时长', '打样总工时', '通电工时')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="通电工时" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.通电工时" style="margin-top=0px; margin-bottom: 1px;" id="通电工时" @keydown="ent($event, '打样总工时', '通电工时', '定额代号')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+
|
|
|
+ <el-row :gutter="20" style="margin-top=0px; margin-bottom: 1vh;">
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="定额代号" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.定额代号" id="定额代号" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '通电工时', '定额代号', '码包')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="码包" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.码包" style="margin-top=0px; margin-bottom: 1px;" id="码包" @keydown="ent($event, '定额代号', '码包', '主电表')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="主电表" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.主电表" style="margin-top=0px; margin-bottom: 1px;" id="主电表" @keydown="ent($event, '码包', '主电表', '辅电表')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="4" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-form-item label="辅电表" prop="id" style="margin-top=0px; margin-bottom: 1px;">
|
|
|
+ <el-input v-model="dbformData.辅电表" id="辅电表" style="margin-top=0px; margin-bottom: 1px;" @keydown="ent($event, '主电表', '辅电表', 'bzdh')" placeholder="" />
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <div style="display: flex;">
|
|
|
+ <div style="width: 131vh;">组员及分配比例</div>
|
|
|
+ <div style="width: 13vh;">特殊组员</div>
|
|
|
+ <div>拉料人员</div>
|
|
|
+ </div>
|
|
|
+ <el-row :gutter="10" style="margin-top: 1vh;">
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="BZMC" id="bzdh" disabled @keydown="ent($event, '辅电表', 'bzdh', 'bh1')" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh1" id="bh1" disabled @keydown="ent($event, 'bzdh', 'bh1', 'bh2')" @keyup.enter.native="getygsubmit($event, '1')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh2" id="bh2" disabled @keydown="ent($event, 'bh1', 'bh2', 'bh3')" @keyup.enter.native="getygsubmit($event, '2')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh3" id="bh3" disabled @keydown="ent($event, 'bh2', 'bh3', 'bh4')" @keyup.enter.native="getygsubmit($event, '3')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh4" id="bh4" disabled @keydown="ent($event, 'bh3', 'bh4', 'bh5')" @keyup.enter.native="getygsubmit($event, '4')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh5" id="bh5" disabled @keydown="ent($event, 'bh4', 'bh5', 'bh6')" @keyup.enter.native="getygsubmit($event, '5')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh6" id="bh6" disabled @keydown="ent($event, 'bh5', 'bh6', 'bh7')" @keyup.enter.native="getygsubmit($event, '6')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh7" id="bh7" disabled @keydown="ent($event, 'bh6', 'bh7', 'bh8')" @keyup.enter.native="getygsubmit($event, '7')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh8" id="bh8" disabled @keydown="ent($event, 'bh7', 'bh8', 'bh9')" @keyup.enter.native="getygsubmit($event, '8')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh9" id="bh9" disabled @keydown="ent($event, 'bh8', 'bh9', 'bh10')" @keyup.enter.native="getygsubmit($event, '9')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh10" id="bh10" disabled @keydown="ent($event, 'bh9', 'bh10', 'bh11')" @keyup.enter.native="getygsubmit($event, '10')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_bh11" id="bh11" @keydown="ents($event, 'bh10', 'bh11', 'name1')" @keyup.enter.native="getlaliaoyg($event)" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <el-row :gutter="10" style="margin-top: 10px;">
|
|
|
+ <el-col :span="2">
|
|
|
+
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name1" id="name1" disabled @keydown="ent($event, 'bh11', 'name1', 'name2')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name2" id="name2" disabled @keydown="ent($event, 'name1', 'name2', 'name3')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name3" id="name3" disabled @keydown="ent($event, 'name2', 'name3', 'name4')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name4" id="name4" disabled @keydown="ent($event, 'name3', 'name4', 'name5')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name5" id="name5" disabled @keydown="ent($event, 'name4', 'name5', 'name6')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name6" id="name6" disabled @keydown="ent($event, 'name5', 'name6', 'name7')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name7" id="name7" disabled @keydown="ent($event, 'name6', 'name7', 'name8')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name8" id="name8" disabled @keydown="ent($event, 'name7', 'name8', 'name9')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name9" id="name9" disabled @keydown="ent($event, 'name8', 'name9', 'name10')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name10" id="name10" disabled @keydown="ent($event, 'name9', 'name10', 'name11')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_name11" id="name11" @keydown="ent($event, 'name10', 'name11', 'rate1')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+
|
|
|
+ <el-row :gutter="10" style="margin-top: 10px;">
|
|
|
+ <el-col :span="2">
|
|
|
+
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate1" id="rate1" disabled @keydown="ent($event, 'name11', 'rate1', 'rate2')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate2" id="rate2" disabled @keydown="ent($event, 'rate1', 'rate2', 'rate3')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate3" id="rate3" disabled @keydown="ent($event, 'rate2', 'rate3', 'rate4')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate4" id="rate4" disabled @keydown="ent($event, 'rate3', 'rate4', 'rate5')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate5" id="rate5" disabled @keydown="ent($event, 'rate4', 'rate5', 'rate6')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate6" id="rate6" disabled @keydown="ent($event, 'rate5', 'rate6', 'rate7')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate7" id="rate7" disabled @keydown="ent($event, 'rate6', 'rate7', 'rate8')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate8" id="rate8" disabled @keydown="ent($event, 'rate7', 'rate8', 'rate9')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate9" id="rate9" disabled @keydown="ent($event, 'rate8', 'rate9', 'rate10')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ <el-input v-model="dbformData.sczl_rate10" id="rate10" disabled @keydown="ent($event, 'rate9', 'rate10', '工单编号')" placeholder="" />
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="2">
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <!-- </el-scrollbar> -->
|
|
|
+ <template #footer>
|
|
|
+ <div class="dialog-footer">
|
|
|
+ <el-button @click="bzcloseDialog">取 消</el-button>
|
|
|
+ <el-button type="primary" @click="bzchanliangenterDialog">确 定</el-button>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-dialog>
|
|
|
+
|
|
|
+
|
|
|
<Shebeizhuangtai
|
|
|
v-if="dialogSbyxgl"
|
|
|
v-model="dialogSbyxgl"
|
|
|
@@ -1887,7 +2188,8 @@ import {
|
|
|
remodelDataEdit,
|
|
|
remodelDataDel,
|
|
|
PrintDetailAdd,
|
|
|
- PrintDetailEdit
|
|
|
+ PrintDetailEdit,
|
|
|
+ chanliangEdit
|
|
|
} from '@/api/jixiaoguanli/baogong'
|
|
|
|
|
|
import {
|
|
|
@@ -1946,6 +2248,7 @@ const treeData=ref([])
|
|
|
const huanxingtreeData=ref([])
|
|
|
const huanxingselectData = ref([])
|
|
|
const huanxingData = ref({})
|
|
|
+const dbformData=ref({})
|
|
|
const huanxingstatus=ref(false)
|
|
|
const zhichengtreeData=ref([{
|
|
|
label: '首件与过程确认'
|
|
|
@@ -2172,6 +2475,154 @@ const FacilityWorklist = async () => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+const bzcloseDialog = async () => {
|
|
|
+ bzchanliangVisible.value=false
|
|
|
+}
|
|
|
+const ybupdateCompanyFunc = async (row) => {
|
|
|
+ console.log(currentBz.value)
|
|
|
+ dbformData.value = {};
|
|
|
+ if(currentBz.value){
|
|
|
+ let sczl_bhkey = ''
|
|
|
+ let sczl_namekey = ''
|
|
|
+ let percentagekey = ''
|
|
|
+ if (currentBz.value[9]) {
|
|
|
+ for (let i = 1; i <= 10; i++) {
|
|
|
+ sczl_bhkey = `sczl_bh${i}`
|
|
|
+ sczl_namekey = `sczl_name${i}`
|
|
|
+ percentagekey = `sczl_rate${i}`
|
|
|
+ dbformData.value[sczl_bhkey] = '';
|
|
|
+ dbformData.value[sczl_namekey] = '';
|
|
|
+ dbformData.value[percentagekey] = '';
|
|
|
+ }
|
|
|
+ dbformData.value.code10 = currentBz.value[9].split(' ')[0];
|
|
|
+ dbformData.value.name10 = currentBz.value[9].split(' ')[1]
|
|
|
+ dbformData.value.percentage10 = parseFloat(currentBz.value[9].split(' ')[2].split('(')[1].split(')')[0])/100
|
|
|
+ for (let i = 1; i <= Math.min(Object.keys(currentBz.value).length - 4, 6); i++) {
|
|
|
+ sczl_bhkey = `sczl_bh${i}`
|
|
|
+ sczl_namekey = `sczl_name${i}`
|
|
|
+ percentagekey = `sczl_rate${i}`
|
|
|
+ dbformData.value[sczl_bhkey] = currentBz.value[i - 1].split(' ')[0];
|
|
|
+ dbformData.value[sczl_namekey] = currentBz.value[i - 1].split(' ')[1];
|
|
|
+ if(isNaN(parseFloat(currentBz.value[i - 1].split(' ')[2].split('(')[1].split(')')[0]))){
|
|
|
+ dbformData.value[percentagekey] = currentBz.value[i - 1].split(' ')[2].split('(')[1].split(')')[0];
|
|
|
+ }else{
|
|
|
+ dbformData.value[percentagekey] = parseFloat(currentBz.value[i - 1].split(' ')[2].split('(')[1].split(')')[0])/100;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ for (let i = 1; i <= 10; i++) {
|
|
|
+ sczl_bhkey = `sczl_bh${i}`
|
|
|
+ sczl_namekey = `sczl_name${i}`
|
|
|
+ percentagekey = `sczl_rate${i}`
|
|
|
+ dbformData.value[sczl_bhkey] = '';
|
|
|
+ dbformData.value[sczl_namekey] = '';
|
|
|
+ dbformData.value[percentagekey] = '';
|
|
|
+ }
|
|
|
+ for (let i = 1; i <= Math.min(Object.keys(currentBz.value).length - 3, 6); i++) {
|
|
|
+ sczl_bhkey = `sczl_bh${i}`
|
|
|
+ sczl_namekey = `sczl_name${i}`
|
|
|
+ percentagekey = `sczl_rate${i}`
|
|
|
+ dbformData.value[sczl_bhkey] = currentBz.value[i - 1].split(' ')[0];
|
|
|
+ dbformData.value[sczl_namekey] = currentBz.value[i - 1].split(' ')[1];
|
|
|
+ if(isNaN(parseFloat(currentBz.value[i - 1].split(' ')[2].split('(')[1].split(')')[0]))){
|
|
|
+ dbformData.value[percentagekey] = currentBz.value[i - 1].split(' ')[2].split('(')[1].split(')')[0];
|
|
|
+ }else{
|
|
|
+ dbformData.value[percentagekey] = parseFloat(currentBz.value[i - 1].split(' ')[2].split('(')[1].split(')')[0])/100;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ console.log(row)
|
|
|
+ dbformData.value.order=row.工单编号
|
|
|
+ dbformData.value.product_name=row.产品名称
|
|
|
+ dbformData.value.gxmc=row.gxmc
|
|
|
+ dbformData.value.yjno=row.yjno
|
|
|
+ dbformData.value.yj_name=row.产品名称
|
|
|
+ dbformData.value.gy_name=row.gxmc
|
|
|
+ dbformData.value.gxh=row.gxmc.split('-')[0]
|
|
|
+ dbformData.value.日期=row.sj1.split(' ')[0]
|
|
|
+ dbformData.value.流程标牌=row.标牌号
|
|
|
+ dbformData.value.上机时间=row.sj1
|
|
|
+ dbformData.value.下机时间=row.sj2
|
|
|
+ dbformData.value.下机时间=row.sj2
|
|
|
+ dbformData.value.产量=row.产量
|
|
|
+ dbformData.value.制程废品=row.制程废品
|
|
|
+ dbformData.value.制程次品=row.制程次品
|
|
|
+ dbformData.value.前工序废=row.前工序废
|
|
|
+ dbformData.value.来料异常=row.来料异常
|
|
|
+ dbformData.value.联数=row.ls
|
|
|
+ dbformData.value.墨色=row.色度
|
|
|
+ dbformData.value.装版总时长=row.装版工时
|
|
|
+ dbformData.value.打样总工时=row.打样工时
|
|
|
+ dbformData.value.通电工时=row.通电工时
|
|
|
+ dbformData.value.定额代号=row.dedh
|
|
|
+ dbformData.value.码包=row.码包
|
|
|
+ dbformData.value.主电表=row.主电表
|
|
|
+ dbformData.value.辅电表=row.辅电表
|
|
|
+ dbformData.value.sczl_bh11=row.拉料
|
|
|
+ dbformData.value.sczl_name11=row.拉料姓名
|
|
|
+ dbformData.value.UniqId=row.UniqId
|
|
|
+ bzchanliangVisible.value=true
|
|
|
+}
|
|
|
+const chanliangEdits = async() => {
|
|
|
+ const response = await chanliangEdit({
|
|
|
+ sczl_num: dbformData.value.流程标牌,
|
|
|
+ sczl_rq: `${dbformData.value.日期} 00:00:00`,
|
|
|
+ sczl_cl: dbformData.value.产量,
|
|
|
+ sczl_zcfp:dbformData.value.制程废品,
|
|
|
+ sczl_zccp:dbformData.value.制程次品,
|
|
|
+ sczl_前工序废:dbformData.value.前工序废,
|
|
|
+ sczl_来料少数:dbformData.value.来料异常,
|
|
|
+ sczl_ls:dbformData.value.联数,
|
|
|
+ sczl_ms:dbformData.value.墨色,
|
|
|
+ sczl_装版总工时:dbformData.value.装版总时长,
|
|
|
+ sczl_打样总工时:dbformData.value.打样总工时,
|
|
|
+ sczl_设备运行工时:dbformData.value.通电工时,
|
|
|
+ sczl_dedh:dbformData.value.定额代号,
|
|
|
+ 码包:dbformData.value.码包,
|
|
|
+ 主电表:dbformData.value.主电表,
|
|
|
+ 辅电表:dbformData.value.辅电表,
|
|
|
+ sczl_bh98:dbformData.value.sczl_bh11,
|
|
|
+ UniqId:dbformData.value.UniqId
|
|
|
+ })
|
|
|
+ if (response.code === 0) {
|
|
|
+ bzchanliangVisible.value=false
|
|
|
+ FacilityProduction()
|
|
|
+ ElMessage({
|
|
|
+ type: 'success',
|
|
|
+ message: '成功'
|
|
|
+ })
|
|
|
+ }
|
|
|
+}
|
|
|
+const gyupdateCompanyFunc = async (row) => {
|
|
|
+ ElMessageBox.confirm('确定切换班组吗?', '提示', {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ SetMachineTeams(row)
|
|
|
+ })
|
|
|
+}
|
|
|
+const SetMachineTeams = async(row) => {
|
|
|
+ const res = await setMachineTeam({
|
|
|
+ machine: JTMC.split("#")[0],
|
|
|
+ order: formData.value.工单编号,
|
|
|
+ yjno: formData.value.印件号,
|
|
|
+ gy_name:formData.value.工序名称,
|
|
|
+ sczl_bzdh:row.班组号,
|
|
|
+ status:'生产',
|
|
|
+ production_now:0,
|
|
|
+ production_all:0,
|
|
|
+ team_id:row.ID
|
|
|
+ })
|
|
|
+ if (res.code === 0) {
|
|
|
+ FacilityProduction()
|
|
|
+ ElMessage({
|
|
|
+ type: 'success',
|
|
|
+ message: '成功'
|
|
|
+ })
|
|
|
+ }
|
|
|
+}
|
|
|
const clickybupdate = async (row) => {
|
|
|
formData.value.班组Id=row.ID
|
|
|
BZMC.value=row.班组号
|
|
|
@@ -2263,7 +2714,7 @@ const FacilityDetail = async () => {
|
|
|
}else{
|
|
|
formData.value.上机时间=currentDate.split('-')[0]+'-'+response.data[0]['生产时间段'].split('>')[1]+':00'
|
|
|
}
|
|
|
- console.log(formData.value.上机时间)
|
|
|
+ console.log(response.data)
|
|
|
CLMXData.splice(0, CLMXData.length, ...Object.values(response.data));
|
|
|
formData.value.production_now=response.data[0].产量
|
|
|
formData.value.production_all=response.data.total.产量
|
|
|
@@ -2297,6 +2748,12 @@ const getxunchayg = async (value) => {
|
|
|
xunchaData.value.sczl_name=response.data.ygxm
|
|
|
}
|
|
|
}
|
|
|
+const getlaliaoyg = async (value) => {
|
|
|
+ const response = await getYg({sczl_bh:dbformData.value.sczl_bh11});
|
|
|
+ if (response.code === 0) {
|
|
|
+ dbformData.value.sczl_name11=response.data.ygxm
|
|
|
+ }
|
|
|
+}
|
|
|
//获取员工信息
|
|
|
const GetYg = async (value,inputName) => {
|
|
|
const response = await getYg({sczl_bh:value});
|
|
|
@@ -2740,6 +3197,7 @@ const onzhicheng = async () => {
|
|
|
|
|
|
const chanliangselectData = reactive([])
|
|
|
const chanliangVisible = ref(false)
|
|
|
+const bzchanliangVisible = ref(false)
|
|
|
const huanxingVisible = ref(false)
|
|
|
const xunchaVisible = ref(false)
|
|
|
//客诉记录
|
|
|
@@ -3168,6 +3626,9 @@ const ReportInfo = async () => {
|
|
|
const chanliangenterDialog = async () => {
|
|
|
SubmitDailyProduction()
|
|
|
}
|
|
|
+const bzchanliangenterDialog = async () => {
|
|
|
+ chanliangEdits()
|
|
|
+}
|
|
|
//日报表上传
|
|
|
const SubmitDailyProduction = async () => {
|
|
|
|