change
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user