地点管理修改行政区域必填

dev
wangpeng 2024-04-11 20:36:00 +08:00
parent a9ae574aff
commit 426ed0b6a2
2 changed files with 4 additions and 5 deletions

View File

@ -34,7 +34,7 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item label="行政区域" prop="POSSESSION"> <el-form-item label="行政区域" prop="ADMINISTRATIVEREGIONS">
<layout-territory <layout-territory
ref="territoryCascaderRef" ref="territoryCascaderRef"
v-model="data.form.ADMINISTRATIVEREGIONS" v-model="data.form.ADMINISTRATIVEREGIONS"

View File

@ -433,19 +433,19 @@ const fnConfirmerChange = () => {
data.form.CONFIRMINGPERSON = ""; data.form.CONFIRMINGPERSON = "";
data.form.CONFIRMINGPHONE = ""; data.form.CONFIRMINGPHONE = "";
data.confirmerOptions = []; data.confirmerOptions = [];
} };
const fnShipmentAddrChange = () => { const fnShipmentAddrChange = () => {
data.form.SHIPPINGADDRESS = ""; data.form.SHIPPINGADDRESS = "";
data.form.STARTADMINISTRATIVEAREA = ""; data.form.STARTADMINISTRATIVEAREA = "";
data.StartOptions = []; data.StartOptions = [];
} };
const fnGogalAddrChange = () => { const fnGogalAddrChange = () => {
data.form.DESTINATIONADDRESS = ""; data.form.DESTINATIONADDRESS = "";
data.form.ENDDMINISTRATIVEAREA = ""; data.form.ENDDMINISTRATIVEAREA = "";
data.EndOptions = []; data.EndOptions = [];
} };
const fnClientUserChange = async () => { const fnClientUserChange = async () => {
const selectedClient = data.clientOptionsList.find( const selectedClient = data.clientOptionsList.find(
@ -470,7 +470,6 @@ const fnClientShipmentAddr = async () => {
}; };
const fnGoalAddrChange = async () => { const fnGoalAddrChange = async () => {
const selectedDestination = data.EndOptionsList.find( const selectedDestination = data.EndOptionsList.find(
(location) => location.LOCATIONNAME_ID === data.form.DESTINATION (location) => location.LOCATIONNAME_ID === data.form.DESTINATION
); );