生产追溯维护数据处理

dev-scheduling
zhangdi 5 days ago
parent 2980d793a0
commit e32bcb366c
  1. 18
      src/views/zhgd-work/retrospectDefend/components/twoRetrospectDefend.vue

@ -34,7 +34,7 @@
<div slot="header" class="clearfix">
<span style="color: rgb(85, 85, 243)">电子档案</span>
</div>
<div class="tableBox">
<div class="tableBoxss">
<table
v-if="preserveSlotList.length > 0"
id="cus-table"
@ -260,12 +260,12 @@ export default {
},
codeKeyUp() {
if (this.cardNo) {
remarryRedeemRetrospectDefend({ cardNo: this.cardNo, line: this.line }).then(res => {
if (res.data != null && res.data.dsRbFilePreserveSlotList.length <= 0) {
remarryRedeemRetrospectDefend({ cardNo: this.cardNo, line: this.line?'1':'0' }).then(res => {
if (res.data.data != null && res.data.data.dsRbFilePreserveSlotList.length <= 0) {
return this.$message.warning('暂未查到对应的数据');
}
this.preserveSlotList = res.data.dsRbFilePreserveSlotList;
this.obj = res.data;
this.preserveSlotList = res.data.data.dsRbFilePreserveSlotList;
this.obj = res.data.data;
});
// this.$ajax
// .post('prMakeRec/remarryRedeemRetrospectDefend', {
@ -287,7 +287,7 @@ export default {
onSubmit() {
let query = {
mtuId: this.obj.mtuId,
line: this.line?'1':'0',
line: this.line,
produceMonitorFileSlotVOList: this.preserveSlotList,
};
remarryRedeemSaveRetrospectDefend(query).then(res => {
@ -316,13 +316,15 @@ export default {
},
};
</script>
<style lang="scss" scoped>
.content-box {
height: calc(100vh - 40px - 40px - 20px - 10px - 51px - 60px);
overflow-y: auto;
}
.tableBox {
</style>
<style lang="scss" >
.tableBoxss {
min-height: 100%;
overflow: auto;
padding-bottom: 30px;

Loading…
Cancel
Save