|
@@ -202,7 +202,7 @@
|
|
|
@click="pass(0)"
|
|
|
>重新扫描</Button
|
|
|
>
|
|
|
- <Button type="success" size="large" @click="show = true"
|
|
|
+ <Button type="success" size="large" @click.native="copyData()"
|
|
|
>仓管校验</Button
|
|
|
>
|
|
|
</div>
|
|
@@ -280,7 +280,15 @@
|
|
|
<div v-else style="padding: 10px 0; color: #ffffff">暂无数据</div>
|
|
|
</Modal>
|
|
|
<!-- 仓管人脸校验 -->
|
|
|
- <check-modal v-model="show" @face-check="faceCheck"></check-modal>
|
|
|
+ <Modal
|
|
|
+ v-model="show"
|
|
|
+ width="80%"
|
|
|
+ class-name="vertical-center-modal"
|
|
|
+ :footer-hide="true"
|
|
|
+ >
|
|
|
+ <check-modal @face-check="faceCheck"></check-modal>
|
|
|
+ </Modal>
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -317,6 +325,7 @@ export default {
|
|
|
reading: false,
|
|
|
remarkShow: false,
|
|
|
remark: '',
|
|
|
+ rfidTagItemsCopy:[],
|
|
|
}
|
|
|
},
|
|
|
components: {
|
|
@@ -324,6 +333,10 @@ export default {
|
|
|
CheckModal,
|
|
|
},
|
|
|
methods: {
|
|
|
+ copyData(){
|
|
|
+ this.show = true
|
|
|
+ this.rfidTagItemsCopy = JSON.parse(JSON.stringify(this.scanData.rfidTagItems))
|
|
|
+ },
|
|
|
add(item) {
|
|
|
item.totalQuantity = item.qty
|
|
|
item.quantity = item.qty
|
|
@@ -351,7 +364,7 @@ export default {
|
|
|
inOutStorageNo: '',
|
|
|
storageDoor: sessionStorage.getItem('door'),
|
|
|
plcStationCode: sessionStorage.getItem('plcCode'),
|
|
|
- rfidList: this.scanData.rfidTagItems.map(
|
|
|
+ rfidList: this.rfidTagItemsCopy.map(
|
|
|
(item) => item.rfidCode
|
|
|
),
|
|
|
remark: this.remark,
|
|
@@ -377,7 +390,7 @@ export default {
|
|
|
if (res.code === 0) {
|
|
|
this.$Message.info('删除成功!')
|
|
|
this.tempDelData.push(item)
|
|
|
- this.getScanList()
|
|
|
+ this.getList()
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -463,6 +476,7 @@ export default {
|
|
|
})
|
|
|
})
|
|
|
}
|
|
|
+
|
|
|
})
|
|
|
},
|
|
|
/* 左侧列表 */
|