update
This commit is contained in:
@@ -1021,20 +1021,8 @@ export default defineComponent({
|
||||
}
|
||||
return roomTypeData.value.filter((item) => item.propertyId === selectId);
|
||||
});
|
||||
const sourceCodeListTemp = computed(() => {
|
||||
const selectId = data.value?.propertyId;
|
||||
if (selectId == null) {
|
||||
return [];
|
||||
}
|
||||
return sourceCodeData.value.filter((item) => item.propertyId === selectId);
|
||||
});
|
||||
const marketCodeListTemp = computed(() => {
|
||||
const selectId = data.value?.propertyId;
|
||||
if (selectId == null) {
|
||||
return [];
|
||||
}
|
||||
return marketCodeData.value.filter((item) => item.propertyId === selectId);
|
||||
});
|
||||
const sourceCodeListTemp = computed(() => sourceCodeData.value);
|
||||
const marketCodeListTemp = computed(() => marketCodeData.value);
|
||||
const complimentaryTypeList = computed(() => {
|
||||
const selectId = data.value?.propertyId;
|
||||
if (selectId == null) {
|
||||
|
||||
@@ -791,20 +791,8 @@ export default defineComponent({
|
||||
}
|
||||
return roomTypeData.value.filter((item) => item.propertyId === selectId);
|
||||
});
|
||||
const sourceCodeListTemp = computed(() => {
|
||||
const selectId = data.value?.propertyId;
|
||||
if (selectId == null) {
|
||||
return [];
|
||||
}
|
||||
return sourceCodeData.value.filter((item) => item.propertyId === selectId);
|
||||
});
|
||||
const marketCodeListTemp = computed(() => {
|
||||
const selectId = data.value?.propertyId;
|
||||
if (selectId == null) {
|
||||
return [];
|
||||
}
|
||||
return marketCodeData.value.filter((item) => item.propertyId === selectId);
|
||||
});
|
||||
const sourceCodeListTemp = computed(() => sourceCodeData.value);
|
||||
const marketCodeListTemp = computed(() => marketCodeData.value);
|
||||
const handlePropertyChange = (selectId) => {
|
||||
if (!data.value) {
|
||||
return;
|
||||
|
||||
@@ -263,10 +263,10 @@
|
||||
</div>
|
||||
<div class="col-md-4 fv-row">
|
||||
<label class="fs-6 fw-semobold mb-2">Approval Remark</label>
|
||||
<el-form-item prop="approval_remark">
|
||||
<el-form-item prop="approvalRemark">
|
||||
<!-- <el-input v-model="data.approvalRemark" type="text" placeholder=""
|
||||
:readonly="!enableEdit" /> -->
|
||||
<el-select v-model="data.approvalRemark" placeholder="Select" filterable allow-create clearable @blur="handleApprovalRemarkBlur"
|
||||
<el-select v-model="data.approvalRemark" placeholder="Select" filterable allow-create clearable
|
||||
>
|
||||
<el-option v-for="item in remarkOptions" :key="item.id" :label="item.name"
|
||||
:value="item.name" />
|
||||
@@ -936,12 +936,6 @@ export default defineComponent({
|
||||
if(init) resetDate();
|
||||
});
|
||||
}
|
||||
const handleApprovalRemarkBlur = (val)=> {
|
||||
console.log(val,val.target)
|
||||
let remark = val.target.value;
|
||||
data.value.approvalRemark = remark;
|
||||
};
|
||||
|
||||
const changeSharerPlayerId = (sharer) => {
|
||||
try {
|
||||
clearTimeout(debounce);
|
||||
@@ -1690,7 +1684,6 @@ export default defineComponent({
|
||||
codateVal,
|
||||
changeCODateRange,
|
||||
blurApproverName,
|
||||
handleApprovalRemarkBlur,
|
||||
showApprover,
|
||||
approvalMSg,
|
||||
selectUserName,
|
||||
@@ -1703,4 +1696,4 @@ export default defineComponent({
|
||||
};
|
||||
},
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user