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