隐藏打印

This commit is contained in:
2025-06-09 14:44:09 +08:00
parent 8d8994e696
commit 32dbc00bbe

View File

@@ -122,7 +122,7 @@
</template> </template>
<script> <script>
import {getCLodop} from "@/utils/CLodopfuncs.js" // import {getCLodop} from "@/utils/CLodopfuncs.js"
import NavBar from '@/components/NavBar.vue' import NavBar from '@/components/NavBar.vue'
import SearchBox from '@/components/SearchBox.vue' import SearchBox from '@/components/SearchBox.vue'
import {queryPick, savePickTask} from '@/utils/getData2.js' import {queryPick, savePickTask} from '@/utils/getData2.js'
@@ -171,7 +171,7 @@
this.val2 = '' this.val2 = ''
this.val3 = '' this.val3 = ''
this.isChecked = true this.isChecked = true
this.isChecked1 = true this.isChecked1 = false
this.disabled = false this.disabled = false
this.show = false this.show = false
}, },
@@ -182,13 +182,14 @@
this.show = true this.show = true
}, },
toConfirm () { toConfirm () {
if (this.isChecked1) { // if (this.isChecked1) {
this.disabled = true // this.disabled = true
let data = Object.assign({}, this.data, {lxCode: this.val2}) // let data = Object.assign({}, this.data, {lxCode: this.val2})
this.toPrint(data) // this.toPrint(data)
} else { // } else {
this._savePickTask() // this._savePickTask()
} // }
this._savePickTask()
}, },
async _savePickTask () { async _savePickTask () {
this.disabled = true this.disabled = true