diff --git a/src/views/bookingcabin/CabinManagement/detail/index.vue b/src/views/bookingcabin/CabinManagement/detail/index.vue index 4a38885b..95e5a221 100644 --- a/src/views/bookingcabin/CabinManagement/detail/index.vue +++ b/src/views/bookingcabin/CabinManagement/detail/index.vue @@ -34,13 +34,14 @@
委托单位
- + :filter-option="false" :not-found-content="null" @change="e => { + ChangeUser(e, 'customerId', 5, index) + }" @search="SearchCustomer"> - {{ item1.shortName }} + :value="item1.pinYinCode"> + {{ item1.pinYinCode }}
@@ -48,15 +49,15 @@
客服
- + :value="item1.pinYinCode"> {{ item1.pinYinCode }} @@ -65,15 +66,15 @@
销售
- + :value="item1.pinYinCode"> {{ item1.pinYinCode }} @@ -82,15 +83,15 @@
操作
- + :value="item.pinYinCode"> {{ item.pinYinCode }} @@ -99,15 +100,15 @@
单证
- + :value="item.pinYinCode"> {{ item.pinYinCode }} @@ -116,15 +117,15 @@
商务
- + :value="item.pinYinCode"> {{ item.pinYinCode }} @@ -629,7 +630,7 @@ function getDetail() { optionsStore.getOptionsByCodeAsync('GetCustomerServiceList').then(res => { UserListCus.value = res }) - GetControllerClientList().then(res => { + GetClientListByCode({ queryKey: '', code: 'controller' }).then(res => { CustomerList.value = res.data }) } @@ -646,36 +647,43 @@ function ChangeUser(e, Tname, type, index) { if (e) { if (type === 0) { UserListCus.value.forEach(item => { - if (item.id == e) { - form.value.bookingSlotSaleInfoList[index][Tname] = item.name + if (item.pinYinCode == e) { + form.value.bookingSlotSaleInfoList[index][Tname] = item.id } }) } if (type === 1) { UserListSale.value.forEach(item => { - if (item.id == e) { - form.value.bookingSlotSaleInfoList[index][Tname] = item.name + if (item.pinYinCode == e) { + form.value.bookingSlotSaleInfoList[index][Tname] = item.id } }) } if (type === 2) { UserListOp.value.forEach(item => { - if (item.id == e) { - form.value.bookingSlotSaleInfoList[index][Tname] = item.name + if (item.pinYinCode == e) { + form.value.bookingSlotSaleInfoList[index][Tname] = item.id } }) } if (type === 3) { UserListDoc.value.forEach(item => { - if (item.id == e) { - form.value.bookingSlotSaleInfoList[index][Tname] = item.name + if (item.pinYinCode == e) { + form.value.bookingSlotSaleInfoList[index][Tname] = item.id } }) } if (type === 4) { UserListDoc.value.forEach(item => { - if (item.id == e) { - form.value.bookingSlotSaleInfoList[index][Tname] = item.name + if (item.pinYinCode == e) { + form.value.bookingSlotSaleInfoList[index][Tname] = item.id + } + }) + } + if (type === 4) { + CustomerList.value.forEach(item => { + if (item.pinYinCode == e) { + form.value.bookingSlotSaleInfoList[index][Tname] = item.id } }) } @@ -744,10 +752,10 @@ const useFlag = ref(false) function handleOpenUse() { setFieldsValueUse({ useType: 'add', - useToValShow:'', - useTo:'', - useToVal:'', - useToName:'' + useToValShow: '', + useTo: '', + useToVal: '', + useToName: '' }) useFlag.value = true } @@ -780,10 +788,10 @@ function editUse(row, index) { row.useType = 'edit' setTimeout(() => { setFieldsValueUse({ - ...row - }) + ...row + }) }, 100) - + } // 点击箱 diff --git a/src/views/operation/bill/index.vue b/src/views/operation/bill/index.vue index 313b0268..2c38e46c 100644 --- a/src/views/operation/bill/index.vue +++ b/src/views/operation/bill/index.vue @@ -105,7 +105,7 @@ 提单查询 可签入 可签出 - 已签出 + 已签出 改签 已扣单