|
|
@@ -29,9 +29,9 @@
|
|
|
<!--按钮弹窗部分-->
|
|
|
<!--U8投料试算-->
|
|
|
<el-dialog v-model="tlsslist" title="U8投料试算" style="height: 100%;width: 100%;margin: 0;padding: 0">
|
|
|
- <!-- <el-button type="primary" icon="" disabled @click="ontlssclicks" class="bt">投料试算</el-button>-->
|
|
|
- <!-- <el-button type="primary" icon="" disabled @click="onbxgxclicks" class="bt">备选工序</el-button>-->
|
|
|
- <!-- <el-button type="primary" icon="" disabled @click="onsjgxclicks" class="bt">实际工序</el-button>-->
|
|
|
+ <el-button type="primary" icon="" disabled @click="ontlssclicks" class="bt">投料试算</el-button>
|
|
|
+ <el-button type="primary" icon="" disabled @click="onbxgxclicks" class="bt">备选工序</el-button>
|
|
|
+ <el-button type="primary" icon="" disabled @click="onsjgxclicks" class="bt">实际工序</el-button>
|
|
|
<el-button type="primary" icon="" @click="oncloneclick" style="margin: 5px">退出</el-button>
|
|
|
<div style="width: 100%; height: 60px; padding: 0px; margin: 10px 0px 0px 0px; display: flex; align-items: center;">
|
|
|
<!-- 第一行 -->
|
|
|
@@ -152,7 +152,7 @@
|
|
|
</el-form-item>
|
|
|
<div class="dialog-footer" style="margin-top: 20px; text-align: right ">
|
|
|
<el-button @click="gxclhshandleCancel">取消</el-button>
|
|
|
- <el-button type="primary" @click="gxclhshandleConfirm">确定</el-button>
|
|
|
+ <el-button type="primary" disabled @click="gxclhshandleConfirm">确定</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
@@ -326,68 +326,6 @@
|
|
|
</el-table-column>
|
|
|
</template>
|
|
|
</el-table>
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- <el-table ref="multipleTable"-->
|
|
|
- <!-- :show-overflow-tooltip="true"-->
|
|
|
- <!-- :row-style="{ height: '0px' }"-->
|
|
|
- <!-- :cell-style="{ padding: '0px' }" :header-row-style="{ height: '0px' }"-->
|
|
|
- <!-- :header-cell-style="{ padding: '0px' }"-->
|
|
|
- <!-- style="width: 100%;height: 70vh" border tooltip-effect="dark"-->
|
|
|
- <!-- :data="scfjfpxstableData" row-key="ID" @selection-change="handleSelectionChange">-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=产品编号 width="120" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.产品编号" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=产品名称 width="200" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.产品名称" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=印件工序及工艺 width="220" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.印件工序及工艺" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=原人工正品板 width="110" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.scfjfpxsold_人工正品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=原人工次品板 width="110" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.scfjfpxsold_人工次品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=原人工废检 width="110" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.scfjfpxsold_人工废检" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=原机检正品板 width="110" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.scfjfpxsold_机检正品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=原机检次品板 width="110" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.scfjfpxsold_机检次品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=原机检废检 width="110" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.scfjfpxsold_机检废检" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=新人工正品板 width="110" >-->
|
|
|
- <!-- <el-input v-model="scope.row.人工正品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=新人工次品板 width="110" >-->
|
|
|
- <!-- <el-input v-model="scope.row.人工次品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=新人工废检 width="110" >-->
|
|
|
- <!-- <el-input v-model="scope.row.人工废检" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=新机检正品板 width="110" >-->
|
|
|
- <!-- <el-input v-model="scope.row.机检正品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=新机检次品板 width="110" >-->
|
|
|
- <!-- <el-input v-model="scope.row.机检次品板" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=新机检废检 width="110" >-->
|
|
|
- <!-- <el-input v-model="scope.row.机检废检" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=设备编号 width="100" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.设备编号" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- <el-table-column v-slot="scope" align="left" label=客户名称 width="200" >-->
|
|
|
- <!-- <el-input disabled v-model="scope.row.客户名称" :clearable="false"/>-->
|
|
|
- <!-- </el-table-column>-->
|
|
|
- <!-- </el-table>-->
|
|
|
</el-dialog>
|
|
|
|
|
|
<!--工序产量核查【弹窗】-->
|
|
|
@@ -409,8 +347,7 @@
|
|
|
highlight-current-row="true"
|
|
|
@row-click="gxclhc_tableRowClick"
|
|
|
:data="gxclhc_Data" row-key="ID"
|
|
|
- :cell-class-name="gxclhcCellClass"
|
|
|
- >
|
|
|
+ :cell-class-name="gxclhcCellClass">
|
|
|
<template v-for="(item, idx) in gxclhc_Columns">
|
|
|
<el-table-column #default="{ row, column, $index }" align="left" :label="item.label" :width="item.width" >
|
|
|
{{row[item.prop]}}
|
|
|
@@ -486,7 +423,7 @@
|
|
|
@row-dblclick="updateCompanyFunc"
|
|
|
@selection-change="handleSelectionChange"
|
|
|
:show-overflow-tooltip="true">
|
|
|
- <el-table-column align="center" type="selection" width="30"/>
|
|
|
+<!-- <el-table-column align="center" type="selection" width="30"/>-->
|
|
|
<el-table-column align="left" label="获取状态" prop="status" width="81" />
|
|
|
<el-table-column align="left" label="工单编号" prop="工单编号" width="81" />
|
|
|
<el-table-column align="left" label="生产分类" prop="生产分类" width="81" />
|
|
|
@@ -1980,10 +1917,7 @@ const openSearchZhiModal = (code, idx) => {
|
|
|
const addgdyj_onclick = () => {
|
|
|
if(_Gd_gdbh.value == null){
|
|
|
cgugdlist.value = false;
|
|
|
- ElMessage({
|
|
|
- type: 'warning',
|
|
|
- message: '请选择具体的工单后,再操作此功能'
|
|
|
- })
|
|
|
+ ElMessage({type: 'warning',message: '请选择具体的工单后,再操作此功能' })
|
|
|
}else{
|
|
|
gdyj_clearFormData();
|
|
|
// console.log(yjzuidahaoma.value)
|
|
|
@@ -1993,6 +1927,18 @@ const addgdyj_onclick = () => {
|
|
|
//印件新增确定
|
|
|
const add_gdyjenterDialog = async () => {
|
|
|
// console.log(add_yjzlformdata)
|
|
|
+ if(add_yjzlformdata['yjno'] === ''){
|
|
|
+ ElMessage({type: 'warning',message: '印件号不能为空'})
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(add_yjzlformdata['yjdh'] === ''){
|
|
|
+ ElMessage({type: 'warning',message: '印件代号不能为空'})
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ if(add_yjzlformdata['zzdh'] === ''){
|
|
|
+ ElMessage({type: 'warning',message: '纸张编号不能为空'})
|
|
|
+ return false;
|
|
|
+ }
|
|
|
const formattedData = {
|
|
|
Yj_Gdbh: _Gd_gdbh.value,
|
|
|
yj_cpdh: _Gd_cpdh.value,
|