Compare commits

..

No commits in common. "194b2f0e0db16366260c049ffa43359e314d1200" and "34d7b8682df4ec1c03049bfb9749ce3b388b591f" have entirely different histories.

54 changed files with 118 additions and 172 deletions

View File

@ -1 +0,0 @@
@media screen and (max-width:2104px){.searchStyle[data-v-018c1e50]{width:1000px}}@media screen and (min-width:2105px){.searchStyle[data-v-018c1e50]{width:100%}}

View File

@ -1 +0,0 @@
.tableInner .el-input__inner{border:none;padding:0;height:33px}.samplingAdd .form-box[data-v-2adb9530]{height:100%;padding:0 32px;position:relative}.samplingAdd .form-box .first-line[data-v-2adb9530]{border-bottom:1px solid #e9e9e9;margin-bottom:23px}.samplingAdd .bottom[data-v-2adb9530]{position:absolute;bottom:0;right:32px}.standardSetting .form-box[data-v-fbc9d82a]{height:100%;padding:0 32px;position:relative}.standardSetting .bottom[data-v-fbc9d82a]{position:absolute;bottom:0;right:32px}

View File

@ -1 +0,0 @@
.box[data-v-6ad9120b]{padding:0 32px}

View File

@ -1 +1 @@
.device-add .device-uploader{width:178px;height:178px;display:block}.device-add .device-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.device-add .device-uploader .el-upload:hover{border-color:#409eff}.device-add .device-uploader .avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.img-box[data-v-0a02c89e]{border:1px dashed #d9d9d9}.img-box .avatar[data-v-0a02c89e]{width:100%;cursor:pointer}.img-box .avatar-close-icon[data-v-0a02c89e]{font-size:24px;position:absolute;right:-10px;top:-10px;cursor:pointer}.main-box[data-v-50aec75c]{width:100%;padding:0 6px 0 16px}.main-box .left-box[data-v-50aec75c],.main-box .right-box[data-v-50aec75c]{border-radius:8px;background-color:#fff;overflow-y:auto;height:calc(100vh - 147px);margin-top:8px}.main-box .left-box[data-v-50aec75c]{padding:16px 0 0}.main-box .right-box[data-v-50aec75c]{padding:16px 10px 0}
.device-add .device-uploader{width:178px;height:178px;display:block}.device-add .device-uploader .el-upload{border:1px dashed #d9d9d9;border-radius:6px;cursor:pointer;position:relative;overflow:hidden}.device-add .device-uploader .el-upload:hover{border-color:#409eff}.device-add .device-uploader .avatar-uploader-icon{font-size:28px;color:#8c939d;width:178px;height:178px;line-height:178px;text-align:center}.img-box[data-v-170526ff]{border:1px dashed #d9d9d9}.img-box .avatar[data-v-170526ff]{width:100%;cursor:pointer}.img-box .avatar-close-icon[data-v-170526ff]{font-size:24px;position:absolute;right:-10px;top:-10px;cursor:pointer}.main-box[data-v-50aec75c]{width:100%;padding:0 6px 0 16px}.main-box .left-box[data-v-50aec75c],.main-box .right-box[data-v-50aec75c]{border-radius:8px;background-color:#fff;overflow-y:auto;height:calc(100vh - 147px);margin-top:8px}.main-box .left-box[data-v-50aec75c]{padding:16px 0 0}.main-box .right-box[data-v-50aec75c]{padding:16px 10px 0}

1
dist/css/4941.cb8dd88e.css vendored Normal file
View File

@ -0,0 +1 @@
.finalInspectionData[data-v-1932e535]{width:100%}.finalInspectionData .box-top[data-v-1932e535]{width:100%;padding:8px 16px 0}.finalInspectionData .box-top .search-box[data-v-1932e535]{height:62px;padding:10px 16px;box-sizing:border-box;border-radius:8px;background-color:#fff}.finalInspectionData .box[data-v-1932e535]{width:100%;padding:8px 8px 0 16px}.finalInspectionData .box .left-box[data-v-1932e535],.finalInspectionData .box .right-box[data-v-1932e535]{height:calc(100vh - 220px);padding:16px;border-radius:8px;background-color:#fff}.finalInspectionData .box .left-box .table-box[data-v-1932e535],.finalInspectionData .box .right-box .table-box[data-v-1932e535]{margin-top:16px;height:calc(100vh - 290px);overflow:auto}.finalInspectionData .box .left-box .table-button[data-v-1932e535]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.finalInspectionData .box .right-box .title[data-v-1932e535]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle}

View File

@ -1 +0,0 @@
.finalInspectionData[data-v-6863655e]{width:100%}.finalInspectionData .box-top[data-v-6863655e]{width:100%;padding:8px 16px 0}.finalInspectionData .box-top .search-box[data-v-6863655e]{height:62px;padding:10px 16px;box-sizing:border-box;border-radius:8px;background-color:#fff}.finalInspectionData .box[data-v-6863655e]{width:100%;padding:8px 8px 0 16px}.finalInspectionData .box .left-box[data-v-6863655e],.finalInspectionData .box .right-box[data-v-6863655e]{height:calc(100vh - 220px);padding:16px;border-radius:8px;background-color:#fff}.finalInspectionData .box .left-box .table-box[data-v-6863655e],.finalInspectionData .box .right-box .table-box[data-v-6863655e]{margin-top:16px;height:calc(100vh - 290px);overflow:auto}.finalInspectionData .box .left-box .table-button[data-v-6863655e]{display:inline-block;height:30px;width:100%;text-align:center;padding-top:4px;margin-bottom:16px;font-size:14px;color:#0b58ff;border-radius:4px;border:1px dotted #0b58ff;cursor:pointer}.finalInspectionData .box .right-box .title[data-v-6863655e]:before{content:"";display:inline-block;width:4px;height:16px;background:#0b58ff;border-radius:1px;margin-right:8px;vertical-align:middle}

1
dist/css/640.056a6a05.css vendored Normal file
View File

@ -0,0 +1 @@
.tableInner .el-input__inner{border:none;padding:0;height:33px}.samplingAdd .form-box[data-v-7b3115e1]{height:100%;padding:0 32px;position:relative}.samplingAdd .form-box .first-line[data-v-7b3115e1]{border-bottom:1px solid #e9e9e9;margin-bottom:23px}.samplingAdd .bottom[data-v-7b3115e1]{position:absolute;bottom:0;right:32px}.standardSetting .form-box[data-v-fbc9d82a]{height:100%;padding:0 32px;position:relative}.standardSetting .bottom[data-v-fbc9d82a]{position:absolute;bottom:0;right:32px}

1
dist/css/6781.770b0df0.css vendored Normal file
View File

@ -0,0 +1 @@
@media screen and (max-width:2104px){.searchStyle[data-v-09b450c4]{width:1000px}}@media screen and (min-width:2105px){.searchStyle[data-v-09b450c4]{width:100%}}

1
dist/css/7802.25e37ece.css vendored Normal file
View File

@ -0,0 +1 @@
.box[data-v-0592f1fa]{padding:0 32px}

2
dist/index.html vendored
View File

@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>tft-mes</title><script defer="defer" src="/js/chunk-vendors.a42f8636.js"></script><script defer="defer" src="/js/app.8ddc6159.js"></script><link href="/css/app.68cbc19b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but tft-mes doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/favicon.ico"><title>tft-mes</title><script defer="defer" src="/js/chunk-vendors.a42f8636.js"></script><script defer="defer" src="/js/app.8c6c63a4.js"></script><link href="/css/app.68cbc19b.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but tft-mes doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/2033.e713058b.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/2948.3c5a6a87.js vendored Normal file

File diff suppressed because one or more lines are too long

1
dist/js/2949.2b4c9508.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/640.fef43f27.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/7802.1470f15e.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/8311.a2fa96fb.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -114,15 +114,7 @@ export function consumableUpdate(data) {
data
})
}
// 获取耗材名称列表
export function getMaterialArr(data) {
return request({
url: '/basic/consumableConfiguration/getMaterialList',
method: 'post',
data
})
}
// 获取耗材名称ID规格和单位
export function materialList(data) {
return request({
url: '/basic/consumableConfiguration/materialAndUnit',

View File

@ -196,20 +196,3 @@ export function claGlassData(data) {
data
})
}
// 产品追溯-获取分页产品追溯
export function productTrace(data) {
return request({
url: '/quality/productTrace/page',
method: 'post',
data
})
}
// 产品追溯-获取分页工艺流程只用传玻璃ID
export function pageProcess(data) {
return request({
url: '/quality/productTrace/pageProcess',
method: 'post',
data
})
}

View File

@ -329,7 +329,6 @@ export default {
this.$refs.form.resetFields()
this.deviceImg = ''
this.srcList = []
this.unitModuleList = []
},
handleAvatarSuccess(res) {
this.form.imgId = res.data[0].id

View File

@ -178,7 +178,7 @@ import {
materialManageInsert,
materialManageDelete
} from '@/api/consumablesManagement'
import { sideLibraryList, getMaterialArr, getSpecList } from '@/api/basicConfig'
import { sideLibraryList, materialList, getSpecList } from '@/api/basicConfig'
export default {
name: 'inAndOutManagementAdd',
data() {
@ -273,7 +273,7 @@ export default {
})
},
getMaterialList() {
getMaterialArr().then((res) => {
materialList().then((res) => {
if (res.code === 0) {
this.consumablesNameList = res.data
}

View File

@ -28,8 +28,6 @@ export default {
this.tagType = 'info'
} else if (this.injectData.status === '未完成') {
this.tagType = 'warning'
} else if (this.injectData.status === '已超时') {
this.tagType = 'danger'
} else {
this.tagType = 'success'
}

View File

@ -198,9 +198,6 @@ export default {
this.form.remark = res.data.remark
})
}
this.form.recipient = this.$store.getters.username
? this.$store.getters.username
: ''
},
getBatchList(id) {
getBatchList({ id }).then((res) => {

View File

@ -238,9 +238,9 @@ const tableBtn = [
type: '&',
data: [
{
type: 'equal',
type: 'less',
name: 'status',
value: 0
value: 1
}
]
}

View File

@ -52,16 +52,14 @@
</template>
<script>
import { tableHeight } from '@/utils/index'
import { pageProcess } from '@/api/qualityManagement'
import { timeFormatter } from '@/utils'
const tableProps = [
{
prop: 'unitName',
prop: 'processName',
label: '工序名称',
minWidth: 120
},
{
prop: 'eqName',
prop: 'deviceName',
label: '设备名称',
minWidth: 120
},
@ -71,19 +69,17 @@ const tableProps = [
minWidth: 150
},
{
prop: 'inEquipmentTime',
prop: 'deviceLaunchTime',
label: '设备上片时间',
filter: timeFormatter,
minWidth: 160
},
{
prop: 'outEquipmentTime',
prop: 'deviceUnloadingTime',
label: '设备下片时间',
filter: timeFormatter,
minWidth: 160
},
{
prop: 'palletId',
prop: 'grindingTrayId',
label: '面磨托盘ID',
minWidth: 150
}
@ -164,22 +160,21 @@ export default {
}
},
methods: {
init(id) {
init() {
this.visible = true
window.addEventListener('resize', () => {
this.tableH = tableHeight(115)
})
pageProcess({
current: 1,
glassId: id,
size: 500
}).then((res) => {
if (res.code === 0) {
this.tableData = res.data.records
} else {
this.tableData = []
}
})
for (let i = 0; i < 30; i++) {
let obj = {}
obj.processName = '1'
obj.deviceName = '设备名称' + i
obj.glassId = '玻璃ID' + i
obj.deviceLaunchTime = '2022-08-22 08:12:15'
obj.deviceUnloadingTime = '2022-08-22 08:12:15'
obj.grindingTrayId = '面磨托盘ID' + i
this.tableData.push(obj)
}
},
handleClick(val) {
console.log(val)

View File

@ -168,8 +168,7 @@ export default {
this.tableH = tableHeight(250)
})
this.form.model = 'G8.5'
// this.form.detectTime = moment().format('yyyy-MM-DD HH:mm:ss')
this.form.detectTime = moment().format('yyyy-MM-DD HH:mm:ss')
this.form.detectTime = moment().format('yyyy-MM-DDTHH:mm:ss')
},
selectItem() {
this.getStandard()
@ -217,9 +216,7 @@ export default {
for (let i of this.tableData) {
let obj = {}
obj.detectStandardId = i.id
obj.detectTime = moment(this.form.detectTime).format(
'yyyy-MM-DDTHH:mm:ss'
)
obj.detectTime = this.form.detectTime
obj.detector = this.form.detector
obj.glassId = this.form.glassId
obj.remark = i.remark ? i.remark : ''

View File

@ -143,8 +143,8 @@ export default {
tableHL: tableHeight(300),
reportTitle: '',
listQuery: {
startTime: '',
endTime: '',
startTime: '2020-07-06T16:59:23',
endTime: '2023-07-06T16:59:23',
glassFrame: '',
current: 1,
size: 500

View File

@ -32,7 +32,6 @@
import { tableHeight, timeFormatter } from '@/utils/index'
import SamplingAdd from './components/samplingAdd'
import StandarSetting from './components/standardSetting'
import moment from 'moment'
import {
getProcessDetectPage,
processDetectExport
@ -138,7 +137,6 @@ export default {
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
param: 'timeVal',
defaultSelect: [],
width: 350
},
{
@ -147,6 +145,11 @@ export default {
name: 'search',
color: 'primary'
},
{
type: 'button',
btnName: '重置',
name: 'reset'
},
{
type: 'separate'
},
@ -195,12 +198,6 @@ export default {
window.addEventListener('resize', () => {
this.tableH = tableHeight(270)
})
this.formConfig[4].defaultSelect = [
moment().format('yyyy-MM-DD') + 'T00:00:00',
moment().format('yyyy-MM-DD') + 'T23:59:59'
]
this.listQuery.startTime = moment().format('yyyy-MM-DD') + 'T00:00:00'
this.listQuery.endTime = moment().format('yyyy-MM-DD') + 'T23:59:59'
this.formConfig[0].defaultSelect = 1
this.formConfig[1].type = 'input'
this.formConfig[1].label = '玻璃ID'
@ -226,6 +223,17 @@ export default {
this.listQuery.endTime = val.timeVal ? val.timeVal[1] : ''
this.getList()
break
case 'reset':
this.$refs.searchBarForm.resetForm()
this.listQuery.glassId = ''
this.listQuery.detector = ''
this.listQuery.detectItem = ''
this.listQuery.startTime = ''
this.listQuery.endTime = ''
this.$nextTick(() => {
this.getList()
})
break
case 'add':
this.addOrEditTitle = '抽检录入'
this.centervisible = true
@ -291,8 +299,6 @@ export default {
this.formConfig[3].type = 'select'
this.formConfig[3].label = '检验项目'
}
this.formConfig[4].defaultSelect =
this.$refs.searchBarForm.formInline.timeVal
}
}
}

View File

@ -22,12 +22,7 @@
@clickBtn="handleClick"
/>
</base-table>
<pagination
:page.sync="listQuery.current"
:limit.sync="listQuery.size"
:total="total"
@pagination="getList()"
/>
<pagination :limit="listQuery.size" :total="total" />
<!-- 抽屉 -->
<process-flow-detail v-if="processFlowVisible" ref="processFlowDetail" />
</div>
@ -35,17 +30,15 @@
<script>
import ProcessFlowDetail from './components/processFlowDetail'
import { tableHeight } from '@/utils/index'
import moment from 'moment'
import { productTrace } from '@/api/qualityManagement'
import { timeFormatter } from '@/utils'
import defaultSettings from '@/settings'
const tableProps = [
{
prop: 'proLineName',
prop: 'productionLine',
label: '产线',
minWidth: 120
},
{
prop: 'workOrderNo',
prop: 'orderCode',
label: '工单编号',
minWidth: 120
},
@ -55,34 +48,32 @@ const tableProps = [
minWidth: 150
},
{
prop: 'rackId',
prop: 'finishedRackId',
label: '成品架ID',
minWidth: 150
},
{
prop: 'loadTime',
prop: 'productLaunchTime',
label: '产品上片时间',
filter: timeFormatter,
minWidth: 160
},
{
prop: 'unloadTime',
prop: 'productUnloadingTime',
label: '产品下片时间',
filter: timeFormatter,
minWidth: 160
},
{
prop: 'grade',
prop: 'glassGrade',
label: '玻璃等级',
minWidth: 100
},
{
prop: 'palletId',
prop: 'grindingTrayId',
label: '面磨托盘ID',
minWidth: 150
},
{
prop: 'glassLength',
prop: 'supplier',
label: '玻璃长度',
minWidth: 100
},
@ -92,14 +83,14 @@ const tableProps = [
minWidth: 100
},
{
prop: 'glassHeight',
prop: 'glassThickness',
label: '玻璃厚度',
minWidth: 100
}
]
const tableBtn = [
{
type: 'view',
type: 'edit',
btnName: '点击查看'
}
]
@ -112,35 +103,30 @@ export default {
{
type: 'datePicker',
label: '产品上片时间',
dateType: 'datetimerange',
dateType: 'datetime',
format: 'yyyy-MM-dd HH:mm:ss',
valueFormat: 'yyyy-MM-ddTHH:mm:ss',
rangeSeparator: '-',
startPlaceholder: '开始时间',
endPlaceholder: '结束时间',
param: 'timeVal',
defaultSelect: [],
width: 350
valueFormat: 'yyyy-MM-dd HH:mm:ss',
placeholder: '产品上片时间',
param: 'testTime',
defaultSelect: '2022-08-17 08:20:10',
width: 200
},
{
type: 'select',
label: '产线',
selectOptions: JSON.parse(localStorage.getItem('publicList'))
.proLineVoList,
param: 'lineName',
labelField: 'dataName',
valueField: 'dataName',
selectOptions: defaultSettings.productionLineList,
param: 'productionLine',
defaultSelect: '',
onchange: true,
width: 150
width: 100
},
{
type: 'select',
label: '查询方式',
selectOptions: [
{ id: 'rackId', name: '成品架ID' },
{ id: 'glassId', name: '玻璃ID' },
{ id: 'palletId', name: '托盘ID' }
{ id: 1, name: '成品架ID' },
{ id: 2, name: '时间查询' },
{ id: 3, name: '玻璃ID' },
{ id: 4, name: '托盘ID' }
],
param: 'inquiryMode',
defaultSelect: '',
@ -170,8 +156,6 @@ export default {
tableH: tableHeight(270),
total: 0,
listQuery: {
startTime: '',
endTime: '',
current: 1,
size: 20
},
@ -182,50 +166,45 @@ export default {
window.addEventListener('resize', () => {
this.tableH = tableHeight(270)
})
this.formConfig[0].defaultSelect = [
moment().format('yyyy-MM-DD') + 'T00:00:00',
moment().format('yyyy-MM-DD') + 'T23:59:59'
]
this.listQuery.startTime = moment().format('yyyy-MM-DD') + 'T00:00:00'
this.listQuery.endTime = moment().format('yyyy-MM-DD') + 'T23:59:59'
this.getList()
for (let i = 0; i < 30; i++) {
let obj = {}
obj.productionLine = '产线1'
obj.orderCode = '工单编号' + i
obj.glassId = '玻璃ID' + i
obj.finishedRackId = '成品架ID' + i
obj.productLaunchTime = '2022-08-22 08:12:15'
obj.productUnloadingTime = '2022-08-22 08:12:15'
obj.glassGrade = i
obj.grindingTrayId = '面磨托盘ID' + i
obj.supplier = 2600
obj.glassWidth = 2250
obj.glassThickness = 5
obj.remark = '备注' + i
this.tableData.push(obj)
}
},
methods: {
getList() {
productTrace({ ...this.listQuery }).then((res) => {
if (res.code === 0) {
this.tableData = res.data.records
this.total = res.data.total
}
})
},
getList() {},
buttonClick(val) {
console.log(val)
if (val.btnName === 'search') {
this.listQuery.startTime = val.timeVal ? val.timeVal[0] : ''
this.listQuery.endTime = val.timeVal ? val.timeVal[1] : ''
this.listQuery.proLineName = val.lineName
this.listQuery.rackId =
val.inquiryMode === 'rackId' ? val.queryContent : ''
this.listQuery.glassId =
val.inquiryMode === 'glassId' ? val.queryContent : ''
this.listQuery.palletId =
val.inquiryMode === 'palletId' ? val.queryContent : ''
this.getList()
} else if (val.btnName === 'reset') {
this.$refs.searchBarForm.resetForm()
this.listQuery.startTime = moment().format('yyyy-MM-DD') + 'T00:00:00'
this.listQuery.endTime = moment().format('yyyy-MM-DD') + 'T23:59:59'
this.$nextTick(() => {
this.getList()
})
}
},
handleClick(val) {
handleClick() {
this.processFlowVisible = true
let id = val.data.glassId
let id = 1
this.$nextTick(() => {
this.$refs.processFlowDetail.init(id)
})
},
handleClose() {
console.log('========')
}
}
}