You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
153 lines
4.0 KiB
153 lines
4.0 KiB
<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: 100px;"
|
|
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" style="margin-top: -20px;">
|
|
<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: '',
|
|
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.pageData.reportTime = this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss');
|
|
// 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>
|