|
@@ -5,7 +5,7 @@
|
|
centered
|
|
centered
|
|
:maskClosable="false"
|
|
:maskClosable="false"
|
|
:confirmLoading="confirmLoading"
|
|
:confirmLoading="confirmLoading"
|
|
- width="80%"
|
|
|
|
|
|
+ width="60%"
|
|
:footer="null"
|
|
:footer="null"
|
|
@cancel="cancel"
|
|
@cancel="cancel"
|
|
>
|
|
>
|
|
@@ -18,191 +18,66 @@
|
|
:wrapper-col="formItemLayout.wrapperCol"
|
|
:wrapper-col="formItemLayout.wrapperCol"
|
|
>
|
|
>
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
- <a-col :span="8">
|
|
|
|
|
|
+ <a-col :span="24">
|
|
<a-form-model-item label="客户名称" prop="buyerSn">
|
|
<a-form-model-item label="客户名称" prop="buyerSn">
|
|
- <a-select
|
|
|
|
- id="chooseCustom-buyerSn"
|
|
|
|
- show-search
|
|
|
|
- placeholder="请选择客户"
|
|
|
|
- v-model="form.buyerSn"
|
|
|
|
- :filter-option="filterOption"
|
|
|
|
- @change="custChange">
|
|
|
|
- <a-select-option v-for="item in custAllList" :key="item.id" :value="item.customerSn">{{ item.customerName }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-model-item>
|
|
|
|
- <a-button type="primary" class="button-primary" @click="openNewCust" icon="plus">新增</a-button>
|
|
|
|
- (点击新增按钮新增客户)
|
|
|
|
|
|
+ <custList id="chooseCustom-buyerSn" defValKey="buyerSn" @change="custChange" v-model="form.buyerSn"></custList>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
- <a-col :span="16">
|
|
|
|
- <a-form-model-item label="客户地址" required style="margin: 0;" :labelCol="{ span: 4 }" :wrapperCol="{ span: 20 }">
|
|
|
|
- <a-row :gutter="15">
|
|
|
|
- <!-- 客户地址 -->
|
|
|
|
- <a-col span="8">
|
|
|
|
- <a-form-model-item prop="shippingAddressProvinceSn">
|
|
|
|
- <a-select id="chooseCustom-provinceSn" @change="getCityList" v-model="form.shippingAddressProvinceSn" placeholder="请选择省">
|
|
|
|
- <a-select-option v-for="item in addrProvinceList" :value="item.id" :key="item.id + 'a'">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col span="8">
|
|
|
|
- <a-form-model-item prop="shippingAddressCitySn">
|
|
|
|
- <a-select id="chooseCustom-citySn" @change="getAreaList" v-model="form.shippingAddressCitySn" placeholder="请选择市">
|
|
|
|
- <a-select-option v-for="item in addrCityList" :value="item.id" :key="item.id + 'b'">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col span="8">
|
|
|
|
- <a-form-model-item prop="shippingAddressCountySn">
|
|
|
|
- <a-select id="chooseCustom-countySn" @change="areaCharged" v-model="form.shippingAddressCountySn" placeholder="请选择区/县">
|
|
|
|
- <a-select-option v-for="item in addrDistrictList" :value="item.id" :key="item.id + 'c'">{{ item.name }}</a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
+ <a-form-model-item label="联系人">
|
|
|
|
+ {{ form.consigneeName }}
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="" prop="shippingAddress">
|
|
|
|
- <a-input
|
|
|
|
- id="chooseCustom-shippingAddress"
|
|
|
|
- :maxLength="60"
|
|
|
|
- v-model="form.shippingAddress"
|
|
|
|
- placeholder="请输入详细地址(最多60个字符)"
|
|
|
|
- allowClear />
|
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
+ <a-form-model-item label="联系电话">
|
|
|
|
+ {{ form.consigneeTel }}
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="联系人" prop="consigneeName">
|
|
|
|
- <a-input
|
|
|
|
- id="chooseCustom-consigneeName"
|
|
|
|
- :maxLength="30"
|
|
|
|
- v-model="form.consigneeName"
|
|
|
|
- placeholder="请输入联系人(最多30个字符)"
|
|
|
|
- allowClear />
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="联系电话" prop="consigneeTel">
|
|
|
|
- <a-input
|
|
|
|
- id="chooseCustom-consigneeTel"
|
|
|
|
- :maxLength="11"
|
|
|
|
- v-model="form.consigneeTel"
|
|
|
|
- placeholder="请输入联系电话(最多11个字符)"
|
|
|
|
- allowClear />
|
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
+ <a-form-model-item label="客户地址">
|
|
|
|
+ --
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="价格类型" prop="priceType">
|
|
|
|
- <a-row :gutter="15">
|
|
|
|
- <a-col :span="20">
|
|
|
|
- <v-select
|
|
|
|
- code="PRICE_TYPE"
|
|
|
|
- :disabled="priceTypeDisabled"
|
|
|
|
- id="chooseCustom-priceType"
|
|
|
|
- v-model="form.priceType"
|
|
|
|
- allowClear
|
|
|
|
- placeholder="请选择价格类型" ></v-select>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :span="4">
|
|
|
|
- <a-popover>
|
|
|
|
- <template slot="content">(选择后在当前工单不可修改)</template>
|
|
|
|
- <a-icon type="question-circle" />
|
|
|
|
- </a-popover>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <!-- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="支付方式" prop="payType">
|
|
|
|
- <v-select code="PAY_TYPE" id="chooseCustom-payType" v-model="form.payType" allowClear placeholder="请选择支付方式" />
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col> -->
|
|
|
|
- <a-col :span="8">
|
|
|
|
|
|
+ <a-col :span="24">
|
|
<a-form-model-item label="收款方式" prop="settleStyleSn">
|
|
<a-form-model-item label="收款方式" prop="settleStyleSn">
|
|
- <a-select placeholder="请选择收款方式" v-model="form.settleStyleSn">
|
|
|
|
- <a-select-option v-for="item in settleStyleList" :key="item.settleStyleSn" :value="item.settleStyleSn">
|
|
|
|
- {{ item.name }}
|
|
|
|
- </a-select-option>
|
|
|
|
- </a-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="配送方式" prop="dispatchType">
|
|
|
|
- <v-select code="DISPATCH_TYPE" id="chooseCustom-dispatchType" v-model="form.dispatchType" allowClear placeholder="请选择配送方式"></v-select>
|
|
|
|
|
|
+ <settleStyle id="chooseCustom-settleStyleSn" v-model="form.settleStyleSn"></settleStyle>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
</a-row>
|
|
</a-row>
|
|
<a-row :gutter="15">
|
|
<a-row :gutter="15">
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="业务员" prop="salesManSn">
|
|
|
|
- <a-select id="chooseCustom-salesManSn" @change="salesManChange" v-model="form.salesManSn" placeholder="请选择业务员">
|
|
|
|
|
|
+ <a-col :span="24">
|
|
|
|
+ <a-form-model-item label="选择收货地址" prop="salesManSn">
|
|
|
|
+ <a-select id="chooseCustom-salesManSn" @change="salesManChange" v-model="form.salesManSn" placeholder="请选择收货地址">
|
|
<a-select-option v-for="item in userList" :value="item.id" :key="item.id + 'c'">{{ item.name }}</a-select-option>
|
|
<a-select-option v-for="item in userList" :value="item.id" :key="item.id + 'c'">{{ item.name }}</a-select-option>
|
|
</a-select>
|
|
</a-select>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-col>
|
|
</a-col>
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="铺货出库" prop="distributionFlag">
|
|
|
|
- <v-select code="FLAG" id="chooseCustom-distributionFlag" v-model="form.distributionFlag" allowClear placeholder="请选择"></v-select>
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- </a-row>
|
|
|
|
- <a-row :gutter="15">
|
|
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="备注" prop="remarks">
|
|
|
|
- <a-input
|
|
|
|
- id="chooseCustom-remarks"
|
|
|
|
- type="textarea"
|
|
|
|
- :maxLength="100"
|
|
|
|
- v-model="form.remarks"
|
|
|
|
- placeholder="请输入联系电话(最多100个字符)"
|
|
|
|
- allowClear />
|
|
|
|
- </a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
- <a-col :span="8">
|
|
|
|
- <a-form-model-item label="开单人">{{ $store.state.user.info.userNameCN }}</a-form-model-item>
|
|
|
|
- </a-col>
|
|
|
|
</a-row>
|
|
</a-row>
|
|
<a-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;">
|
|
<a-form-model-item :wrapper-col="{ span: 12, offset: 6 }" style="text-align: center;">
|
|
<a-button type="primary" :loading="confirmLoading" @click="handleSubmit" id="chooseCustom-btn-submit">保存</a-button>
|
|
<a-button type="primary" :loading="confirmLoading" @click="handleSubmit" id="chooseCustom-btn-submit">保存</a-button>
|
|
<a-button @click="cancel" style="margin-left: 15px" id="chooseCustom-btn-back">取消</a-button>
|
|
<a-button @click="cancel" style="margin-left: 15px" id="chooseCustom-btn-back">取消</a-button>
|
|
</a-form-model-item>
|
|
</a-form-model-item>
|
|
</a-form-model>
|
|
</a-form-model>
|
|
- <!-- 新增客户 -->
|
|
|
|
- <a-modal
|
|
|
|
- v-model="isNewCust"
|
|
|
|
- title="新增客户"
|
|
|
|
- centered
|
|
|
|
- width="60%"
|
|
|
|
- :maskClosable="false"
|
|
|
|
- @cancel="cancelNewCust"
|
|
|
|
- :footer="null"
|
|
|
|
- >
|
|
|
|
- <CustomerManagementEdit ref="newCust" model="modal" @ok="newCustFun"></CustomerManagementEdit>
|
|
|
|
- </a-modal>
|
|
|
|
</a-modal>
|
|
</a-modal>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
import { getArea } from '@/api/data'
|
|
import { getArea } from '@/api/data'
|
|
-import { custAllList, custFindById, custSave, updateByCustomerSn } from '@/api/customer'
|
|
|
|
|
|
+import { custFindById } from '@/api/customer'
|
|
import { salesSave } from '@/api/sales'
|
|
import { salesSave } from '@/api/sales'
|
|
import { getUserAllList } from '@/api/power-user'
|
|
import { getUserAllList } from '@/api/power-user'
|
|
-import { settleStyleQueryAll } from '@/api/settleStyle'
|
|
|
|
import { VSelect } from '@/components'
|
|
import { VSelect } from '@/components'
|
|
-import CustomerManagementEdit from '@/views/customerManagement/customerInfo/edit.vue'
|
|
|
|
|
|
+import custList from '@/views/common/custList.js'
|
|
|
|
+import settleStyle from '@/views/common/settleStyle.js'
|
|
export default {
|
|
export default {
|
|
name: 'ChooseCustomModal',
|
|
name: 'ChooseCustomModal',
|
|
- components: { VSelect, CustomerManagementEdit },
|
|
|
|
|
|
+ components: { VSelect, custList, settleStyle },
|
|
props: {
|
|
props: {
|
|
show: [Boolean]
|
|
show: [Boolean]
|
|
},
|
|
},
|
|
@@ -212,8 +87,8 @@ export default {
|
|
title: '选择客户',
|
|
title: '选择客户',
|
|
confirmLoading: false,
|
|
confirmLoading: false,
|
|
formItemLayout: {
|
|
formItemLayout: {
|
|
- labelCol: { span: 8 },
|
|
|
|
- wrapperCol: { span: 16 }
|
|
|
|
|
|
+ labelCol: { span: 4 },
|
|
|
|
+ wrapperCol: { span: 18 }
|
|
},
|
|
},
|
|
buyerSnBak: '', // 更改前客户sn备份
|
|
buyerSnBak: '', // 更改前客户sn备份
|
|
priceTypeBak: '', // 更改前客户价格类型备份
|
|
priceTypeBak: '', // 更改前客户价格类型备份
|
|
@@ -275,7 +150,6 @@ export default {
|
|
addrCityList: [], // 市下拉
|
|
addrCityList: [], // 市下拉
|
|
addrDistrictList: [], // 区下拉
|
|
addrDistrictList: [], // 区下拉
|
|
userList: [], // 业务员 下拉
|
|
userList: [], // 业务员 下拉
|
|
- settleStyleList: [], // 收款方式
|
|
|
|
custId: undefined, // 客户id
|
|
custId: undefined, // 客户id
|
|
isEdit: false, // 是否编辑状态
|
|
isEdit: false, // 是否编辑状态
|
|
priceTypeDisabled: false, // 价格类型可编辑
|
|
priceTypeDisabled: false, // 价格类型可编辑
|
|
@@ -285,22 +159,6 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- openNewCust () {
|
|
|
|
- this.isNewCust = true
|
|
|
|
- setTimeout(() => {
|
|
|
|
- this.$refs.newCust.getBaseData()
|
|
|
|
- }, 500)
|
|
|
|
- },
|
|
|
|
- // 新建客户
|
|
|
|
- newCustFun (data) {
|
|
|
|
- console.log(data, this.isEdit)
|
|
|
|
- this.isNewCust = false
|
|
|
|
- // 更新客户信息
|
|
|
|
- this.custAllList.unshift(data)
|
|
|
|
- setTimeout(() => {
|
|
|
|
- this.custChange(data.customerSn)
|
|
|
|
- }, 300)
|
|
|
|
- },
|
|
|
|
// 业务员
|
|
// 业务员
|
|
salesManChange (id) {
|
|
salesManChange (id) {
|
|
this.form.salesManName = this.userList.find(item => item.id == id).name
|
|
this.form.salesManName = this.userList.find(item => item.id == id).name
|
|
@@ -308,41 +166,6 @@ export default {
|
|
// 客户 change
|
|
// 客户 change
|
|
custChange (val) {
|
|
custChange (val) {
|
|
console.log(val, 'custChange')
|
|
console.log(val, 'custChange')
|
|
- const _this = this
|
|
|
|
- const cust = this.custAllList.find(item => item.customerSn == val)
|
|
|
|
- // 编辑
|
|
|
|
- if (this.isEdit) {
|
|
|
|
- this.$confirm({
|
|
|
|
- title: '提示',
|
|
|
|
- content: '更换客户后信息需要重新完善,确认要更换吗?',
|
|
|
|
- centered: true,
|
|
|
|
- onOk () {
|
|
|
|
- _this.custId = cust.id
|
|
|
|
- _this.form.buyerName = cust.customerName
|
|
|
|
- _this.priceTypeDisabled = false
|
|
|
|
- _this.getDetail()
|
|
|
|
- },
|
|
|
|
- onCancel () {
|
|
|
|
- _this.form.buyerSn = _this.buyerSnBak
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- } else {
|
|
|
|
- _this.custId = cust.id
|
|
|
|
- _this.form.buyerName = cust.customerName
|
|
|
|
- _this.getDetail()
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- // 编辑客户信息
|
|
|
|
- editCust (data) {
|
|
|
|
- console.log(data)
|
|
|
|
- this.title = '编辑客户信息'
|
|
|
|
- this.isEdit = true
|
|
|
|
- this.priceTypeDisabled = true
|
|
|
|
- if (data.shippingAddressProvinceSn) { this.getArea('city', data.shippingAddressProvinceSn) }
|
|
|
|
- if (data.shippingAddressCitySn) { this.getArea('district', data.shippingAddressCitySn) }
|
|
|
|
- this.form = Object.assign(this.form, data)
|
|
|
|
- this.buyerSnBak = this.form.buyerSn
|
|
|
|
- this.priceTypeBak = this.form.priceType
|
|
|
|
},
|
|
},
|
|
// 获取详情
|
|
// 获取详情
|
|
getDetail () {
|
|
getDetail () {
|
|
@@ -378,60 +201,13 @@ export default {
|
|
this.$refs.ruleForm.clearValidate()
|
|
this.$refs.ruleForm.clearValidate()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
- // 保存客户信息
|
|
|
|
- handleSaveCust () {
|
|
|
|
- const params = {
|
|
|
|
- customerName: this.form.buyerName,
|
|
|
|
- customerSn: this.form.buyerSn,
|
|
|
|
- contactTel: this.form.consigneeTel, // 联系电话
|
|
|
|
- contactName: this.form.consigneeName, // 联系人
|
|
|
|
- provinceSn: this.form.shippingAddressProvinceSn, // 省
|
|
|
|
- provinceName: this.form.shippingAddressProvinceName,
|
|
|
|
- citySn: this.form.shippingAddressCitySn, // 市
|
|
|
|
- cityName: this.form.shippingAddressCityName,
|
|
|
|
- countySn: this.form.shippingAddressCountySn, // 区
|
|
|
|
- countyName: this.form.shippingAddressCountyName,
|
|
|
|
- customerAddr: this.form.shippingAddress, // 详细地址
|
|
|
|
- dispatchType: this.form.dispatchType, // 配送方式
|
|
|
|
- priceType: this.form.priceType, // 价格类型
|
|
|
|
- settleStyleSn: this.form.settleStyleSn // 收款方式
|
|
|
|
- }
|
|
|
|
- updateByCustomerSn(params).then(res => {
|
|
|
|
- if (res.status != 200) {
|
|
|
|
- this.$message.error(res.message)
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
// 保存
|
|
// 保存
|
|
handleSubmit (e) {
|
|
handleSubmit (e) {
|
|
e.preventDefault()
|
|
e.preventDefault()
|
|
const _this = this
|
|
const _this = this
|
|
this.$refs.ruleForm.validate(valid => {
|
|
this.$refs.ruleForm.validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
- console.log(_this.priceTypeBak, _this.form.priceType)
|
|
|
|
- // 如果价格类型改变,提示
|
|
|
|
- if (_this.priceTypeBak != _this.form.priceType && this.isEdit) {
|
|
|
|
- this.$confirm({
|
|
|
|
- title: '提示',
|
|
|
|
- content: '价格类型变更,确认提交吗?',
|
|
|
|
- centered: true,
|
|
|
|
- onOk () {
|
|
|
|
- // 保存客户信息
|
|
|
|
- _this.handleSaveCust()
|
|
|
|
- // 保存销售单
|
|
|
|
- if (_this.form.buyerSn) {
|
|
|
|
- _this.salesSaveFun()
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- } else {
|
|
|
|
- // 保存客户信息
|
|
|
|
- _this.handleSaveCust()
|
|
|
|
- // 保存销售单
|
|
|
|
- if (_this.form.buyerSn) {
|
|
|
|
- _this.salesSaveFun()
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+ _this.salesSaveFun()
|
|
} else {
|
|
} else {
|
|
console.log('error submit!!')
|
|
console.log('error submit!!')
|
|
return false
|
|
return false
|
|
@@ -459,21 +235,6 @@ export default {
|
|
this.$emit('cancel')
|
|
this.$emit('cancel')
|
|
this.$refs.ruleForm.resetFields()
|
|
this.$refs.ruleForm.resetFields()
|
|
},
|
|
},
|
|
- cancelNewCust () {
|
|
|
|
- this.isNewCust = false
|
|
|
|
- this.$refs.newCust.getBaseData()
|
|
|
|
- },
|
|
|
|
- // 客户无分页列表数据
|
|
|
|
- getCustAllList () {
|
|
|
|
- const _this = this
|
|
|
|
- custAllList().then(res => {
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- _this.custAllList = res.data || []
|
|
|
|
- } else {
|
|
|
|
- _this.custAllList = []
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
- },
|
|
|
|
// 获取业务员列表数据
|
|
// 获取业务员列表数据
|
|
getUserAllList () {
|
|
getUserAllList () {
|
|
getUserAllList({ loginFlag: 1 }).then(res => {
|
|
getUserAllList({ loginFlag: 1 }).then(res => {
|
|
@@ -538,19 +299,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- },
|
|
|
|
- filterOption (input, option) {
|
|
|
|
- return (
|
|
|
|
- option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
|
- )
|
|
|
|
- },
|
|
|
|
- // 获取收款方式
|
|
|
|
- getSettleStyle () {
|
|
|
|
- settleStyleQueryAll().then(res => {
|
|
|
|
- if (res.status == 200) {
|
|
|
|
- this.settleStyleList = res.data
|
|
|
|
- }
|
|
|
|
- })
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|
|
@@ -558,9 +306,7 @@ export default {
|
|
this.opened = newValue
|
|
this.opened = newValue
|
|
if (newValue) {
|
|
if (newValue) {
|
|
this.getArea('province')
|
|
this.getArea('province')
|
|
- this.getCustAllList()
|
|
|
|
this.getUserAllList()
|
|
this.getUserAllList()
|
|
- this.getSettleStyle()
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|