Browse Source

优化出入口记录页面,IQC检验等页面加上打印报告按钮,维修出库加上必填备注

master
qiankanghui 3 days ago
parent
commit
91dbb4249d
  1. 3
      src/views/modules/qc/FQCResultEntry.vue
  2. 3
      src/views/modules/qc/IPQCResultEntry.vue
  3. 3
      src/views/modules/qc/IQCResultEntry.vue
  4. 3
      src/views/modules/qc/SQCResultEntry.vue
  5. 1
      src/views/modules/tool/sceneDynamicControlModel.vue
  6. 29
      src/views/modules/tool/toolInventoryLog.vue

3
src/views/modules/qc/FQCResultEntry.vue

@ -171,12 +171,13 @@
fixed="right"
header-align="center"
align="center"
width="130"
width="180"
label="操作">
<template slot-scope="scope">
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state === '未开始'" @click="actionModal(scope.row)">开始检验</el-link>
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state !== '未开始'" @click="detailModal(scope.row)">检验单</el-link>
<el-link v-if="!authFile" style="cursor: pointer" @click="getFileContentData(scope.row)">工作文件</el-link>
<el-link style="cursor: pointer; margin-left: 8px" v-if="scope.row.state === '已完成' && scope.row.refInfo1" @click="toPrintForQMS(scope.row.site, scope.row.refInfo1)">报告打印</el-link>
</template>
</el-table-column>
</el-table>

3
src/views/modules/qc/IPQCResultEntry.vue

@ -174,12 +174,13 @@
fixed="right"
header-align="center"
align="center"
width="130"
width="180"
label="操作">
<template slot-scope="scope">
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state === '未开始'" @click="actionModal(scope.row)">开始检验</el-link>
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state !== '未开始'" @click="detailModal(scope.row)">检验单</el-link>
<el-link style="cursor: pointer" v-if="!authFile" @click="getFileContentData(scope.row)">工作文件</el-link>
<el-link style="cursor: pointer; margin-left: 8px" v-if="scope.row.state === '已完成' && scope.row.refInfo1" @click="toPrintForQMS(scope.row.site, scope.row.refInfo1)">报告打印</el-link>
</template>
</el-table-column>
</el-table>

3
src/views/modules/qc/IQCResultEntry.vue

@ -180,12 +180,13 @@
fixed="right"
header-align="center"
align="center"
width="130"
width="180"
label="操作">
<template slot-scope="scope">
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state === '未开始'" @click="actionModal(scope.row)">开始检验</el-link>
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state !== '未开始'" @click="detailModal(scope.row)">检验单</el-link>
<el-link style="cursor: pointer" v-if="!authFile" @click="getFileContentData(scope.row)">工作文件</el-link>
<el-link style="cursor: pointer; margin-left: 8px" v-if="scope.row.state === '已完成' && scope.row.refInfo1" @click="toPrintForQMS(scope.row.site, scope.row.refInfo1)">报告打印</el-link>
<!-- <a type="text" size="small" @click="submitResult(scope.row)">审核</a>-->
<!-- <a type="text" size="small" @click="deleteModal(scope.row)">删除</a>-->
</template>

3
src/views/modules/qc/SQCResultEntry.vue

@ -171,13 +171,14 @@
fixed="right"
header-align="center"
align="center"
width="200"
width="250"
label="操作">
<template slot-scope="scope">
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state === '未开始'" @click="actionModal(scope.row)">开始检验</el-link>
<el-link style="cursor: pointer" v-if="!authDetail && scope.row.state !== '未开始'" @click="detailModal(scope.row)">检验单</el-link>
<el-link style="cursor: pointer" v-if="!authFile" @click="getFileContentData(scope.row)">工作文件</el-link>
<el-link style="cursor: pointer" @click="showBatchDetails(scope.row)">批次明细</el-link>
<el-link style="cursor: pointer; margin-left: 8px" v-if="scope.row.state === '已完成' && scope.row.refInfo1" @click="toPrintForQMS(scope.row.site, scope.row.refInfo1)">报告打印</el-link>
</template>
</el-table-column>
</el-table>

1
src/views/modules/tool/sceneDynamicControlModel.vue

@ -41,6 +41,7 @@
v-loading="dataListLoading"
style="width: 100%;">
<el-table-column prop="controlNo" label="编码" header-align="center" align="center" min-width="80"/>
<el-table-column prop="site" label="工厂" header-align="center" align="center" min-width="70"/>
<el-table-column prop="baseDesc" label="控制内容" header-align="center" align="left" min-width="180" show-overflow-tooltip/>
<el-table-column prop="controlStyle" label="控制方式" header-align="center" align="center" min-width="90"/>
<el-table-column prop="baseData" label="状态" header-align="center" align="center" min-width="80"/>

29
src/views/modules/tool/toolInventoryLog.vue

@ -32,21 +32,27 @@
<el-option label="出库" value="-"/>
</el-select>
</el-form-item>
<el-form-item label="经手人">
<el-input v-model="searchForm.receiver" style="width: 120px" clearable/>
</el-form-item>
<el-form-item label="工具实例编码">
<el-input v-model="searchForm.toolInstanceId" style="width: 160px" clearable/>
</el-form-item>
<el-form-item label="工具规格型号">
<el-input v-model="searchForm.toolSpec" style="width: 160px" clearable/>
</el-form-item>
<el-form-item label="仓库编码">
<el-input v-model="searchForm.wareHouseId" style="width: 120px" clearable/>
</el-form-item>
<el-form-item label="库位编码">
<el-input v-model="searchForm.locationId" style="width: 120px" clearable/>
</el-form-item>
<el-form-item label="派工单号">
<el-form-item label="转入派工单">
<el-input v-model="searchForm.orderRef3" style="width: 140px" clearable/>
</el-form-item>
<el-form-item label="操作人">
<el-input v-model="searchForm.operatorName" style="width: 120px" clearable/>
</el-form-item>
<el-form-item label="经手人">
<el-input v-model="searchForm.receiver" style="width: 120px" clearable/>
</el-form-item>
<el-form-item :label="'供应商'">
<span slot="label" @click="getBaseList(73)"><a >供应商名称</a></span>
<el-input v-model="searchForm.supplierName" style="width: 180px" clearable @input="onSupplierInput"></el-input>
@ -124,18 +130,21 @@ const MERGE_COLUMN_SPECS = [
{ prop: 'transNo', label: '出入库单号', width: 150, align: 'left', tooltip: true },
{ prop: 'transDate', label: '出入库日期', width: 110, align: 'center' },
{ prop: 'transType', label: '出入库类型', width: 130, align: 'left', tooltip: true },
{ prop: 'receiver', label: '经手人', width: 90, align: 'left' },
{ prop: 'status', label: '状态', width: 80, align: 'center' },
{ prop: 'direction', label: '出入库方向', width: 90, align: 'center' },
{ prop: 'toolInstanceId', label: '工具实例编码', width: 130, align: 'left', tooltip: true },
{ prop: 'toolSpec', label: '工具规格型号', width: 160, align: 'left', tooltip: true },
{ prop: 'itemNo', label: '行号', width: 70, align: 'center' },
{ prop: 'wareHouseId', label: '仓库编码', width: 90, align: 'left' },
{ prop: 'locationId', label: '库位编码', width: 90, align: 'left' },
{ prop: 'orderRef3', label: '派工单号', width: 110, align: 'left', tooltip: true },
{ prop: 'orderRef3', label: '派工单', width: 110, align: 'left', tooltip: true },
{ prop: 'operatorName', label: '操作人', width: 90, align: 'left' },
{ prop: 'useQty', label: '使用次数', width: 90, align: 'right' },
{ prop: 'receiver', label: '经手人', width: 90, align: 'left' },
{ prop: 'supplierName', label: '供应商', width: 140, align: 'left', tooltip: true },
{ prop: 'remark', label: '备注', width: 180, align: 'left', tooltip: true },
{ prop: 'createdBy', label: '创建人', width: 90, align: 'left' },
{ prop: 'createdDate', label: '创建时间', width: 145, align: 'center' },
{ prop: 'remark', label: '备注', width: 180, align: 'left', tooltip: true }
{ prop: 'createdDate', label: '创建时间', width: 145, align: 'center' }
]
/** 出入库类型大类名(固定展示顺序) */
@ -202,7 +211,9 @@ export default {
transType: '',
direction: '',
receiver: '',
operatorName: '',
toolInstanceId: '',
toolSpec: '',
wareHouseId: '',
locationId: '',
orderRef3: '',
@ -259,7 +270,9 @@ export default {
transType: this.searchForm.transType ? this.searchForm.transType.trim() : undefined,
direction: this.searchForm.direction ? this.searchForm.direction : undefined,
receiver: this.searchForm.receiver ? this.searchForm.receiver.trim() : undefined,
operatorName: this.searchForm.operatorName ? this.searchForm.operatorName.trim() : undefined,
toolInstanceId: this.searchForm.toolInstanceId ? this.searchForm.toolInstanceId.trim() : undefined,
toolSpec: this.searchForm.toolSpec ? this.searchForm.toolSpec.trim() : undefined,
wareHouseId: this.searchForm.wareHouseId ? this.searchForm.wareHouseId.trim() : undefined,
locationId: this.searchForm.locationId ? this.searchForm.locationId.trim() : undefined,
orderRef3: this.searchForm.orderRef3 ? this.searchForm.orderRef3.trim() : undefined,

Loading…
Cancel
Save