This commit is contained in:
2025-09-18 09:47:48 +08:00
parent d835e52c69
commit 414db71188
5 changed files with 30 additions and 9 deletions

View File

@@ -13,6 +13,7 @@
placeholder="扫码或输入点位/载具号"
v-model="val1"
@handleChange="handleChange"
@handleDel="handleDel"
/>
</view>
</view>
@@ -65,6 +66,7 @@
placeholder="扫码或输入点位/载具号"
v-model="val2"
@handleChange="handleChange2"
@handleDel="handleDel2"
/>
</view>
</view>
@@ -136,6 +138,12 @@
this.title = options.title
},
methods: {
handleDel() {
this.dataList = []
},
handleDel2() {
this.dataList2 = []
},
handleChange (e) {
if (e) {
this.dataList = []
@@ -148,6 +156,13 @@
this._getMoveDocumentInfo2()
}
},
clearUp () {
this.val1 = ''
this.val2 = ''
this.dataList = []
this.dataList2 = []
this.disabled = false
},
async _getMoveDocumentInfo () {
try {
let res = await getMoveDocumentInfo('1', this.val1, this.mdid)