|
|
|
@ -572,6 +572,7 @@ const warehouseData = ref([]); //仓库信息
|
|
|
|
|
const UserInfo = ref({}); //登陆人信息 |
|
|
|
|
const assignFromForm = ref(null); //指派客服表单实例 |
|
|
|
|
const dialogSearch = ref(false); //弹窗搜索 |
|
|
|
|
const dialogSearchTitle=ref('');//弹出搜索记录 |
|
|
|
|
const ExportObjects = ref({ |
|
|
|
|
tcTableexport: false, //本地导出 |
|
|
|
|
ExportSelection: false, //导出选择弹窗 |
|
|
|
@ -2348,6 +2349,9 @@ const Assignbutton = async () => {
|
|
|
|
|
* 5.最终将选择的客服信息,分配给对应的工单 |
|
|
|
|
*/ |
|
|
|
|
const MultilineSearch = (title, input) => { |
|
|
|
|
dialogSearchTitle.value = title |
|
|
|
|
console.log(dialogSearchTitle.value,'dialogSearchTitle.value'); |
|
|
|
|
|
|
|
|
|
if (input) { |
|
|
|
|
const formattedInput = input.split(',').join('\n'); |
|
|
|
|
TopQuery.value.inputAll = formattedInput; // 赋值给 inputAll |
|
|
|
@ -2385,7 +2389,13 @@ const dialogSearchSubmit = () => {
|
|
|
|
|
const joinedLines = lines.join(','); // 使用逗号连接,无空格 |
|
|
|
|
|
|
|
|
|
// 5.将连接起来的数据重新赋值给workOrderNumber |
|
|
|
|
TopQuery.value.workOrderNumbers = joinedLines; |
|
|
|
|
|
|
|
|
|
if(dialogSearchTitle.value == '工单号搜索'){ |
|
|
|
|
TopQuery.value.workOrderNumbers = joinedLines; |
|
|
|
|
}else if(dialogSearchTitle.value == '订单自编号搜索'){ |
|
|
|
|
TopQuery.value.orderCodes = joinedLines; |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
Searchboxpop.value.dialogSearch = false; //关闭弹窗 |
|
|
|
|
|
|
|
|
|
console.log(details.query, 'details.query'); |
|
|
|
|