12 changed files with 2262 additions and 54 deletions
-
336src/views/modules/yieldReport/com_defect_roll.vue
-
382src/views/modules/yieldReport/com_finish_roll.vue
-
152src/views/modules/yieldReport/com_merge_roll.vue
-
317src/views/modules/yieldReport/com_produce_down.vue
-
115src/views/modules/yieldReport/com_produce_material.vue
-
252src/views/modules/yieldReport/com_produce_report_normal.vue
-
148src/views/modules/yieldReport/com_produce_tool.vue
-
168src/views/modules/yieldReport/com_separate_roll.vue
-
158src/views/modules/yieldReport/com_start_produce.vue
-
145src/views/modules/yieldReport/com_start_tuning.vue
-
8src/views/modules/yieldReport/com_switch_operator.vue
-
135src/views/modules/yieldReport/com_switch_roll.vue
@ -0,0 +1,336 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="630px" style="height: 680px;" class="customer-dialog"> |
|||
<el-container> |
|||
<el-container style="height: 140px;"> |
|||
<el-form :inline="true" label-position="top" label-width="80px"> |
|||
<!-- 不良代码 和日期 --> |
|||
<el-row> |
|||
<el-col :span="6"> |
|||
<el-form-item :label="'不良代码:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 120px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="6"> |
|||
<el-form-item :label="'不良数量:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 120px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="6"> |
|||
<el-form-item :label="'检验日期:'"> |
|||
<el-date-picker v-model="scheduleData.reportDate" |
|||
style="width: 120px" format="yyyy-MM-dd" |
|||
value-format="yyyy-MM-dd"> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="18"> |
|||
<el-form-item :label="'不良原因:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 495px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</el-container> |
|||
<el-container style="margin-left: 60px;"> |
|||
<el-form :inline="true" label-position="top" label-width="80px"> |
|||
<!-- 不良代码 和日期 --> |
|||
<el-row> |
|||
<el-col :span="6"> |
|||
<el-form-item style="margin-top: 10px;"> |
|||
<el-button type="primary" |
|||
style="margin-left: -10px; margin-bottom: 5px;"> |
|||
列表</el-button> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="6"> |
|||
<el-form-item style="margin-top: 15px;"> |
|||
<el-button type="primary" |
|||
style="margin-left: -10px; margin-bottom: 5px;"> |
|||
插入</el-button> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="6"> |
|||
<el-form-item style="margin-top: 15px;"> |
|||
<el-button type="primary" @click="closeDialog" |
|||
style="margin-left: -10px; margin-bottom: 5px;"> |
|||
关闭</el-button> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
|
|||
</el-form> |
|||
</el-container> |
|||
</el-container> |
|||
|
|||
<!-- 不良记录 --> |
|||
<el-container> |
|||
<fieldset class="customer-fieldset" style="margin-top: -35px; margin-bottom: 15px;"> |
|||
<legend>不良记录</legend> |
|||
<el-container style="width: 580px;"> |
|||
<el-table |
|||
height="250" |
|||
:data="sfdcDefectList" |
|||
border |
|||
v-loading="dataListLoading" |
|||
style="width: 100%; margin-top: -5px;"> |
|||
<el-table-column |
|||
v-for="(item,index) in columnDefectArray" :key="index" |
|||
:sortable="item.columnSortable" |
|||
:prop="item.columnProp" |
|||
:header-align="item.headerAlign" |
|||
:show-overflow-tooltip="item.showOverflowTooltip" |
|||
:align="item.align" |
|||
:fixed="item.fixed" |
|||
:width="item.columnWidth" |
|||
:label="item.columnLabel"> |
|||
<template slot-scope="scope"> |
|||
<span v-if="!item.columnHidden"> {{scope.row[item.columnProp]}}</span> |
|||
<span v-if="item.columnImage"><img :src="scope.row[item.columnProp]" |
|||
style="width: 100px; height: 80px"/></span> |
|||
</template> |
|||
</el-table-column> |
|||
</el-table> |
|||
</el-container> |
|||
|
|||
</fieldset> |
|||
</el-container> |
|||
|
|||
|
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_defect_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '报告不良', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportDate: this.dayjs(new Date()).format('YYYY-MM-DD'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
sfdcDefectList: [], |
|||
columnDefectArray: [ |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectHistSeqNo', |
|||
tableId: "5305Material", |
|||
tableName: "不良卷", |
|||
columnProp: "histSeqNo", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "序号", |
|||
columnWidth: 60, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectDefectCode', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "defectCode", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "不良代码", |
|||
columnWidth: 80, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectDefectCode', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "defectDesc", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "不良描述", |
|||
columnWidth: 160, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectDefectQty', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "defectQty", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "不良数量", |
|||
columnWidth: 80, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectReportedDate', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "reportedDate", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "报告日期", |
|||
columnWidth: 125, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectReportedBy', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "reportedBy", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "报告人", |
|||
columnWidth: 75, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectRemark', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "remark", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "备注", |
|||
columnWidth: 160, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
} |
|||
], |
|||
buttonTags:{ |
|||
createRollFlag: true, |
|||
switchRollFlag: true, |
|||
separatorRollFlag: true, |
|||
finishRollFlag: true, |
|||
mergeRollFlag: true, |
|||
tuningFlag: true, |
|||
produceFlag: true, |
|||
defectFlag: true, |
|||
toolFlag: true, |
|||
materialFlag: true, |
|||
downTimeFlag: true |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
|
|||
</style> |
|||
@ -0,0 +1,152 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="360px" style="height: 680px;" class="customer-dialog"> |
|||
<el-form :inline="true" label-position="top" style="height: 130px;" |
|||
label-width="80px"> |
|||
<!-- 当前卷 --> |
|||
<el-row> |
|||
<el-col :span="8"> |
|||
<el-form-item class="customer-item" label="当前卷号:"> |
|||
<el-input v-model="scheduleData.orderNo" readonly style="width: 80px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item class="customer-item" label="当前卷数量:"> |
|||
<el-input v-model="scheduleData.partNo" readonly style="width: 80px;"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item class="customer-item" label=""> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<!-- 新卷 --> |
|||
<el-row> |
|||
<el-col :span="8"> |
|||
<el-form-item class="customer-item" label="新卷卷号:"> |
|||
<el-input v-model="scheduleData.seqNo" readonly style="width: 80px;"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item class="customer-item" label="新卷数量:"> |
|||
<el-input v-model="scheduleData.orderNo" readonly style="width: 80px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8"> |
|||
<el-form-item class="customer-item" label="总数量:"> |
|||
<el-input v-model="scheduleData.partNo" readonly style="width: 80px;"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_merge_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '合并卷', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportTime: this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/*调节页面button和input的上下间距*/ |
|||
.customer-css .customer-button{ |
|||
margin-top: 25px; |
|||
} |
|||
|
|||
/*调节fieldset下的样式*/ |
|||
.customer-fieldset .customer-item{ |
|||
margin-top: -15px; |
|||
} |
|||
|
|||
/*fieldset下table的样式*/ |
|||
.customer-fieldset /deep/ .el-table__header th.is-leaf{ |
|||
line-height: 16px; |
|||
} |
|||
|
|||
/deep/ .customer-tab .el-tabs__content{ |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
</style> |
|||
@ -0,0 +1,317 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="450px" style="height: 680px;" class="customer-dialog"> |
|||
<el-container> |
|||
<el-container style="height: 120px;"> |
|||
<el-form :inline="true" label-position="top" label-width="80px"> |
|||
<!-- 停机时间和时长 --> |
|||
<el-row style="margin-top: -10px;"> |
|||
<el-col :span="8" > |
|||
<el-form-item :label="'开始时间:'"> |
|||
<el-date-picker style="width: 100px;" |
|||
v-model="scheduleData.reportDate" |
|||
format="yyyy-MM-dd" |
|||
value-format="yyyy-MM-dd" |
|||
placeholder=""> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8" style="margin-top: 40px;"> |
|||
<el-form-item :label="''"> |
|||
<el-form-item :label="''"> |
|||
<el-time-picker style="width: 80px;" |
|||
v-model="scheduleData.reportTime" |
|||
format="HH:mm:ss" |
|||
value-format="HH:mm:ss" |
|||
placeholder=""> |
|||
</el-time-picker> |
|||
</el-form-item> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8" > |
|||
<el-form-item :label="'时长:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 120px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="8"> |
|||
<el-form-item :label="'停机代码:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 100px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="16"> |
|||
<el-form-item :label="'停机描述:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 180px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</el-container> |
|||
<el-container style="margin-left: 50px;"> |
|||
<el-form :inline="true" label-position="top" label-width="80px"> |
|||
<!-- 不良代码 和日期 --> |
|||
<el-row> |
|||
<el-col> |
|||
<el-form-item style="margin-top: 10px;"> |
|||
<el-button type="primary" |
|||
style="margin-left: -10px; margin-bottom: 5px;"> |
|||
列表</el-button> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col> |
|||
<el-form-item style="margin-top: 15px;"> |
|||
<el-button type="primary" |
|||
style="margin-left: -10px; margin-bottom: 5px;"> |
|||
插入</el-button> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col> |
|||
<el-form-item style="margin-top: 15px;"> |
|||
<el-button type="primary" @click="closeDialog" |
|||
style="margin-left: -10px; margin-bottom: 5px;"> |
|||
关闭</el-button> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
|
|||
</el-form> |
|||
</el-container> |
|||
</el-container> |
|||
|
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_defect_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '报告停机', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportDate: this.dayjs(new Date()).format('YYYY-MM-DD'), |
|||
reportTime: this.dayjs(new Date()).format('HH:mm:ss'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
sfdcDefectList: [], |
|||
columnDefectArray: [ |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectHistSeqNo', |
|||
tableId: "5305Material", |
|||
tableName: "不良卷", |
|||
columnProp: "histSeqNo", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "序号", |
|||
columnWidth: 60, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectDefectCode', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "defectCode", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "不良代码", |
|||
columnWidth: 80, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectDefectCode', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "defectDesc", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "不良描述", |
|||
columnWidth: 160, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectDefectQty', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "defectQty", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "不良数量", |
|||
columnWidth: 80, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectReportedDate', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "reportedDate", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "报告日期", |
|||
columnWidth: 125, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectReportedBy', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "reportedBy", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "报告人", |
|||
columnWidth: 75, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
}, |
|||
{ |
|||
userId: this.$store.state.user.name, |
|||
functionId: 5303, |
|||
serialNumber: '5305DefectRemark', |
|||
tableId: "5305Defect", |
|||
tableName: "不良卷", |
|||
columnProp: "remark", |
|||
headerAlign: "center", |
|||
align: "center", |
|||
columnLabel: "备注", |
|||
columnWidth: 160, |
|||
columnHidden: false, |
|||
columnImage: false, |
|||
columnSortable: false, |
|||
sortLv: 0, |
|||
status: true, |
|||
fixed: false |
|||
} |
|||
], |
|||
buttonTags:{ |
|||
createRollFlag: true, |
|||
switchRollFlag: true, |
|||
separatorRollFlag: true, |
|||
finishRollFlag: true, |
|||
mergeRollFlag: true, |
|||
tuningFlag: true, |
|||
produceFlag: true, |
|||
defectFlag: true, |
|||
toolFlag: true, |
|||
materialFlag: true, |
|||
downTimeFlag: true |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
|
|||
</style> |
|||
@ -0,0 +1,115 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="225px" style="height: 680px;" class="customer-dialog"> |
|||
<el-container style="height: 125px;"> |
|||
<el-form :inline="true" label-position="top" label-width="80px"> |
|||
<!-- 材料卷号和BOM序号 --> |
|||
<el-row> |
|||
<el-col :span="16"> |
|||
<el-form-item :label="'材料卷号:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 120px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="16"> |
|||
<el-form-item :label="'BOM 序号:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 120px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
</el-container> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary">列表</el-button> |
|||
<el-button type="primary">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_defect_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '材料', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
|
|||
</style> |
|||
@ -0,0 +1,148 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="325px" style="height: 680px;" class="customer-dialog"> |
|||
<el-container style="height: 225px;"> |
|||
<el-form :inline="true" label-position="top" label-width="80px"> |
|||
<!-- 扫描工具实例编码 --> |
|||
<el-row> |
|||
<el-col :span="12"> |
|||
<el-form-item :label="'工具实例编号:'"> |
|||
<el-input v-model="scheduleData.seqNo" style="width: 120px"></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<!-- 换刀模 --> |
|||
<el-container> |
|||
<fieldset class="customer-fieldset" style="width: 280px;"> |
|||
<legend>换刀模</legend> |
|||
<el-row> |
|||
<el-col :span="16"> |
|||
<el-form-item class="customer-item"> |
|||
<el-checkbox disabled="disabled" true-label="Y" false-label="N" |
|||
v-model="scheduleData.reportedFlag">换刀模</el-checkbox> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<!-- 原工具信息 --> |
|||
<el-row> |
|||
<el-col :span="12"> |
|||
<el-form-item class="customer-item" label="原工具实例编码:"> |
|||
<el-input v-model="scheduleData.orderNo" readonly style="width: 100px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="12"> |
|||
<el-form-item class="customer-item" label="本卷生产数量:"> |
|||
<el-input v-model="scheduleData.orderNo" readonly style="width: 100px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<el-row> |
|||
<el-col :span="12"> |
|||
<el-form-item class="customer-item" label="之前卷以生产数量:"> |
|||
<el-input v-model="scheduleData.orderNo" readonly style="width: 100px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="12"> |
|||
<el-form-item class="customer-item" label="累计生产数量:"> |
|||
<el-input v-model="scheduleData.orderNo" readonly style="width: 100px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</fieldset> |
|||
</el-container> |
|||
|
|||
</el-form> |
|||
</el-container> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary">列表</el-button> |
|||
<el-button type="primary">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_defect_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '刀模板', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
|
|||
|
|||
</style> |
|||
@ -0,0 +1,168 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="360px" style="height: 680px;" class="customer-dialog"> |
|||
<el-form :inline="true" label-position="top" style="height: 100px;" |
|||
label-width="80px"> |
|||
<!-- 时间 --> |
|||
<el-row style="margin-top: -10px;"> |
|||
<el-col :span="8" > |
|||
<el-form-item :label="'当前时间:'"> |
|||
<el-date-picker style="width: 100px;" |
|||
v-model="scheduleData.reportDate" |
|||
format="yyyy-MM-dd" |
|||
value-format="yyyy-MM-dd" |
|||
placeholder=""> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8" style="margin-top: 40px;"> |
|||
<el-form-item :label="''"> |
|||
<el-form-item :label="''"> |
|||
<el-time-picker style="width: 80px;" |
|||
v-model="scheduleData.reportTime" |
|||
format="HH:mm:ss" |
|||
value-format="HH:mm:ss" |
|||
placeholder=""> |
|||
</el-time-picker> |
|||
</el-form-item> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
<!-- 半成品卷卷号 --> |
|||
<el-row> |
|||
<el-col :span="12" style="margin-top: -15px;"> |
|||
<el-form-item :label="'良品数量:'"> |
|||
<el-input v-model="scheduleData.orderNo" style="width: 120px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="12" style="margin-top: -15px;"> |
|||
<el-form-item :label="'卷数:'"> |
|||
<el-input v-model="scheduleData.orderNo" style="width: 120px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_separate_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '创建分卷', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportDate: this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss'), |
|||
reportTime: this.dayjs(new Date()).format('HH:mm:ss'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
buttonTags:{ |
|||
createRollFlag: true, |
|||
switchRollFlag: true, |
|||
separatorRollFlag: true, |
|||
finishRollFlag: true, |
|||
mergeRollFlag: true, |
|||
tuningFlag: true, |
|||
produceFlag: true, |
|||
defectFlag: true, |
|||
toolFlag: true, |
|||
materialFlag: true, |
|||
downTimeFlag: true |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/*调节页面button和input的上下间距*/ |
|||
.customer-css .customer-button{ |
|||
margin-top: 25px; |
|||
} |
|||
|
|||
/*调节fieldset下的样式*/ |
|||
.customer-fieldset .customer-item{ |
|||
margin-top: -15px; |
|||
} |
|||
|
|||
/*fieldset下table的样式*/ |
|||
.customer-fieldset /deep/ .el-table__header th.is-leaf{ |
|||
line-height: 16px; |
|||
} |
|||
|
|||
/deep/ .customer-tab .el-tabs__content{ |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
</style> |
|||
@ -0,0 +1,158 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="300px" style="height: 680px;" class="customer-dialog"> |
|||
<el-form :inline="true" label-position="top" style="height: 60px;" |
|||
label-width="80px"> |
|||
<!-- 时间 --> |
|||
<el-row style="margin-top: -10px;"> |
|||
<el-col :span="10" > |
|||
<el-form-item :label="'当前时间:'"> |
|||
<el-date-picker style="width: 100px;" |
|||
v-model="scheduleData.reportDate" |
|||
format="yyyy-MM-dd" |
|||
value-format="yyyy-MM-dd" |
|||
placeholder=""> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8" style="margin-top: 40px;"> |
|||
<el-form-item :label="''"> |
|||
<el-form-item :label="''"> |
|||
<el-time-picker style="width: 80px;" |
|||
v-model="scheduleData.reportTime" |
|||
format="HH:mm:ss" |
|||
value-format="HH:mm:ss" |
|||
placeholder=""> |
|||
</el-time-picker> |
|||
</el-form-item> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_merge_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '开始生产', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportDate: this.dayjs(new Date()).format('YYYY-MM-DD'), |
|||
reportTime: this.dayjs(new Date()).format('HH:mm:ss'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
buttonTags:{ |
|||
createRollFlag: true, |
|||
switchRollFlag: true, |
|||
separatorRollFlag: true, |
|||
finishRollFlag: true, |
|||
mergeRollFlag: true, |
|||
tuningFlag: true, |
|||
produceFlag: true, |
|||
defectFlag: true, |
|||
toolFlag: true, |
|||
materialFlag: true, |
|||
downTimeFlag: true |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
//初始化标题 |
|||
this.titleCon = '开始生产操作 \ |
|||
派工单号:'+seqNo; |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/*调节页面button和input的上下间距*/ |
|||
.customer-css .customer-button{ |
|||
margin-top: 25px; |
|||
} |
|||
|
|||
/*调节fieldset下的样式*/ |
|||
.customer-fieldset .customer-item{ |
|||
margin-top: -15px; |
|||
} |
|||
|
|||
/*fieldset下table的样式*/ |
|||
.customer-fieldset /deep/ .el-table__header th.is-leaf{ |
|||
line-height: 16px; |
|||
} |
|||
|
|||
/deep/ .customer-tab .el-tabs__content{ |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
</style> |
|||
@ -0,0 +1,145 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="300px" style="height: 680px;" class="customer-dialog"> |
|||
<el-form :inline="true" label-position="top" style="height: 60px;" |
|||
label-width="80px"> |
|||
<!-- 时间 --> |
|||
<el-row style="margin-top: -10px;"> |
|||
<el-col :span="10" > |
|||
<el-form-item :label="'当前时间:'"> |
|||
<el-date-picker style="width: 100px;" |
|||
v-model="scheduleData.reportDate" |
|||
format="yyyy-MM-dd" |
|||
value-format="yyyy-MM-dd" |
|||
placeholder=""> |
|||
</el-date-picker> |
|||
</el-form-item> |
|||
</el-col> |
|||
<el-col :span="8" style="margin-top: 40px;"> |
|||
<el-form-item :label="''"> |
|||
<el-form-item :label="''"> |
|||
<el-time-picker style="width: 80px;" |
|||
v-model="scheduleData.reportTime" |
|||
format="HH:mm:ss" |
|||
value-format="HH:mm:ss" |
|||
placeholder=""> |
|||
</el-time-picker> |
|||
</el-form-item> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_merge_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '开始调机', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportDate: this.dayjs(new Date()).format('YYYY-MM-DD'), |
|||
reportTime: this.dayjs(new Date()).format('HH:mm:ss'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
//初始化标题 |
|||
this.titleCon = '开始调机操作 \ |
|||
派工单号:'+seqNo; |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/*调节页面button和input的上下间距*/ |
|||
.customer-css .customer-button{ |
|||
margin-top: 25px; |
|||
} |
|||
|
|||
/*调节fieldset下的样式*/ |
|||
.customer-fieldset .customer-item{ |
|||
margin-top: -15px; |
|||
} |
|||
|
|||
/*fieldset下table的样式*/ |
|||
.customer-fieldset /deep/ .el-table__header th.is-leaf{ |
|||
line-height: 16px; |
|||
} |
|||
|
|||
/deep/ .customer-tab .el-tabs__content{ |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
</style> |
|||
@ -0,0 +1,135 @@ |
|||
<template> |
|||
<div class="customer-css"> |
|||
<el-dialog :title="titleCon" v-drag v-bind="$attrs" v-on="$listeners" |
|||
width="240px" style="height: 680px;" class="customer-dialog"> |
|||
<el-form :inline="true" label-position="top" style="height: 60px;" |
|||
label-width="80px"> |
|||
<!-- 半成品卷卷号 --> |
|||
<el-row style=""> |
|||
<el-col :span="24"> |
|||
<el-form-item :label="'半成品卷卷号:'"> |
|||
<el-input v-model="scheduleData.orderNo" style="width: 120px;" ></el-input> |
|||
</el-form-item> |
|||
</el-col> |
|||
</el-row> |
|||
</el-form> |
|||
<span slot="footer" class="dialog-footer"> |
|||
<el-button type="primary" @click="">确 定</el-button> |
|||
<el-button type="primary" @click="closeDialog">关闭</el-button> |
|||
</span> |
|||
</el-dialog> |
|||
</div> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
name: "com_merge_roll", |
|||
data() { |
|||
return { |
|||
titleCon: '切换卷', |
|||
sfdcTimeList: [], |
|||
scheduleData: { |
|||
site: this.$store.state.user.site, |
|||
userName: this.$store.state.user.name, |
|||
seqNo: '', |
|||
orderNo: '', |
|||
partNo: '', |
|||
rollNo: '', |
|||
partDesc: '', |
|||
reportTime: this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss'), |
|||
reportedFlag: 'N', |
|||
qtyRequiredOriginal: 0, |
|||
scheduledDate: '', |
|||
shiftNo: '', |
|||
preItemDesc: '', |
|||
nextItemDesc: '', |
|||
nextItemNo: 0, |
|||
currentRollFlag: false |
|||
}, |
|||
currentRollOps: { |
|||
site: this.$store.state.user.site, |
|||
seqNo: '', |
|||
rollNo: '', |
|||
finishedFlag: '', |
|||
}, |
|||
operatorData: { |
|||
site: this.$store.state.user.site, |
|||
username: this.$store.state.user.name, |
|||
operatorId: '', |
|||
operatorName: '', |
|||
status: '', |
|||
seqNo: '', |
|||
showFlag: false |
|||
}, |
|||
buttonTags:{ |
|||
createRollFlag: true, |
|||
switchRollFlag: true, |
|||
separatorRollFlag: true, |
|||
finishRollFlag: true, |
|||
mergeRollFlag: true, |
|||
tuningFlag: true, |
|||
produceFlag: true, |
|||
defectFlag: true, |
|||
toolFlag: true, |
|||
materialFlag: true, |
|||
downTimeFlag: true |
|||
}, |
|||
dataListLoading: false, |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
/*关闭modal*/ |
|||
closeDialog(){ |
|||
this.$emit('update:visible', false); |
|||
}, |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
init(seqNo, operatorData) { |
|||
//初始化参数 |
|||
this.scheduleData.seqNo = seqNo; |
|||
//初始化操作员对象 |
|||
this.operatorData = JSON.parse(JSON.stringify(operatorData)); |
|||
// this.currentRollOps.seqNo = seqNo; |
|||
// this.currentRollOps.rollNo = rollNo; |
|||
//刷新当前派工单的信息 |
|||
//this.refreshPageData(); |
|||
}, |
|||
|
|||
}, |
|||
created() { |
|||
// this.factoryList() |
|||
// this.getLanguageList() |
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped lang="scss"> |
|||
/*调节页面button和input的上下间距*/ |
|||
.customer-css .customer-button{ |
|||
margin-top: 25px; |
|||
} |
|||
|
|||
/*调节fieldset下的样式*/ |
|||
.customer-fieldset .customer-item{ |
|||
margin-top: -15px; |
|||
} |
|||
|
|||
/*fieldset下table的样式*/ |
|||
.customer-fieldset /deep/ .el-table__header th.is-leaf{ |
|||
line-height: 16px; |
|||
} |
|||
|
|||
/deep/ .customer-tab .el-tabs__content{ |
|||
padding: 0px !important; |
|||
} |
|||
|
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue