|
|
|
@ -198,13 +198,23 @@
|
|
|
|
|
}
|
|
|
|
|
// 复制单号
|
|
|
|
|
const copyTxt = (v, key) => {
|
|
|
|
|
navigator.clipboard.writeText(v.values[key])
|
|
|
|
|
createMessage.success('复制成功')
|
|
|
|
|
const el = document.createElement('input')
|
|
|
|
|
el.setAttribute('value', v.values[key])
|
|
|
|
|
document.body.appendChild(el)
|
|
|
|
|
el.select()
|
|
|
|
|
document.execCommand('copy')
|
|
|
|
|
document.body.removeChild(el)
|
|
|
|
|
createMessage.success('复制成功!')
|
|
|
|
|
}
|
|
|
|
|
// 复制委托编号
|
|
|
|
|
const copyNo = (v) => {
|
|
|
|
|
navigator.clipboard.writeText(v)
|
|
|
|
|
createMessage.success('复制成功')
|
|
|
|
|
const el = document.createElement('input')
|
|
|
|
|
el.setAttribute('value', v)
|
|
|
|
|
document.body.appendChild(el)
|
|
|
|
|
el.select()
|
|
|
|
|
document.execCommand('copy')
|
|
|
|
|
document.body.removeChild(el)
|
|
|
|
|
createMessage.success('复制成功!')
|
|
|
|
|
}
|
|
|
|
|
// 编辑委托编号
|
|
|
|
|
const customerNoRef = ref(null)
|
|
|
|
|