Commit dfbd643a authored by 沈翠玲's avatar 沈翠玲

序列号报工

parent 7cae4f14
......@@ -234,6 +234,7 @@
<u-input
v-model="feedback.qrcode"
:focus="isFocus"
@blur="onQrcodechange($event)"
@confirm="onQrcodechange($event)"
:placeholder="$t('请输入序列号')"
/>
......@@ -1595,12 +1596,14 @@ export default {
})
},
onQrcodechange(val) {
console.log('val', val)
this.feedbackForms[0]['qrcode'] = val
if (!val) return
const datas = Object.assign({}, this.feedbackForms[0])
this.$u.api
.validateSerialNo({
qrcode: datas.qrcode,
taskId: datas.taskId,
taskWorkunitId: datas.taskWorkunitId,
})
.then((res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment