qb 2 months ago
parent
commit
4760e4738e
  1. 12
      src/views/aftersales/aftersalesWorkOrder.vue

12
src/views/aftersales/aftersalesWorkOrder.vue

@ -572,6 +572,7 @@ const warehouseData = ref([]); //仓库信息
const UserInfo = ref({}); // const UserInfo = ref({}); //
const assignFromForm = ref(null); // const assignFromForm = ref(null); //
const dialogSearch = ref(false); // const dialogSearch = ref(false); //
const dialogSearchTitle=ref('');//
const ExportObjects = ref({ const ExportObjects = ref({
tcTableexport: false, // tcTableexport: false, //
ExportSelection: false, // ExportSelection: false, //
@ -2348,6 +2349,9 @@ const Assignbutton = async () => {
* 5.最终将选择的客服信息,分配给对应的工单 * 5.最终将选择的客服信息,分配给对应的工单
*/ */
const MultilineSearch = (title, input) => { const MultilineSearch = (title, input) => {
dialogSearchTitle.value = title
console.log(dialogSearchTitle.value,'dialogSearchTitle.value');
if (input) { if (input) {
const formattedInput = input.split(',').join('\n'); const formattedInput = input.split(',').join('\n');
TopQuery.value.inputAll = formattedInput; // inputAll TopQuery.value.inputAll = formattedInput; // inputAll
@ -2385,7 +2389,13 @@ const dialogSearchSubmit = () => {
const joinedLines = lines.join(','); // 使 const joinedLines = lines.join(','); // 使
// 5.workOrderNumber // 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; // Searchboxpop.value.dialogSearch = false; //
console.log(details.query, 'details.query'); console.log(details.query, 'details.query');

Loading…
Cancel
Save