diff --git a/src/api/emis/emisCommon.js b/src/api/emis/emisCommon.js index 0fce5060..4e041cca 100644 --- a/src/api/emis/emisCommon.js +++ b/src/api/emis/emisCommon.js @@ -1,8 +1,10 @@ -import {listEmisCountry} from '@/api/emis/emisCountry' - -// 获取国家名称 -export function getEmisCountryByCode(code) { - return new Promise((resolve, reject) => { +import request from '@/utils/request' +// 智能地址解析 +export function parseAddress(content) { + return request({ + url: '/emis/common/parseAddress', + method: 'get', + params: {content:content} }) } diff --git a/src/utils/TanexPrinterSdk.js b/src/utils/TanexPrinterSdk.js index 884146a5..e1ca81e9 100644 --- a/src/utils/TanexPrinterSdk.js +++ b/src/utils/TanexPrinterSdk.js @@ -9,6 +9,8 @@ printerIsRead:打印机已经OK的信号 + updatePrintStatus: 打印状态更新 + */ import { getToken } from '@/utils/auth' @@ -16,8 +18,8 @@ import { getToken } from '@/utils/auth' class TanexPrinterSdk { VERSION="1.0.0" MAX_SENT_RETRY_COUNT = 9; - // WS_URL = "ws://127.0.0.1:17080"; - WS_URL = "ws://192.168.88.100:17080"; + WS_URL = "ws://127.0.0.1:17080"; + // WS_URL = "ws://192.168.88.100:17080"; AUTH_TOKEN=null; WS_INIT = 0; diff --git a/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue b/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue index 3dea52b2..4496890a 100644 --- a/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue +++ b/src/views/emis/EmisBaseTools/CustomerAddressSimplePicker.vue @@ -153,18 +153,19 @@ export default { this.queryParams.searchValue = null; this.queryParams.pageNum = 1 this.getList(); - }, onclear(el){ this.splaceholder = this.placeholder; - this.slable = null; - this.svalue = null; + // this.slable = null; + // this.svalue = null; - this.queryParams.searchValue = null; + // this.queryParams.searchValue = null; this.queryParams.pageNum = 1; this.$emit("input", this.svalue); + this.dispatch('ElFormItem', 'el.form.blur', [this.svalue]); + this.dispatch('ElFormItem', 'el.form.change', [this.svalue]) if(this.visible){ this.getList(); diff --git a/src/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue b/src/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue index d014e4f1..67079827 100644 --- a/src/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue +++ b/src/views/emis/EmisBaseTools/EmisSiteSimplePicker.vue @@ -1,8 +1,4 @@ - - - + --> - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + + + @@ -340,11 +329,12 @@ import { listEmisCustomerAddress, getEmisCustomerAddress, delEmisCustomerAddress, addEmisCustomerAddress, updateEmisCustomerAddress } from "@/api/emis/emisCustomerAddress"; import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker'; // import emisCustomerAddressView from '@/views/emis/emisCustomerAddress/emisCustomerAddressView'; -import emisCustomerAddressForm from '@/views/emis/emisCustomerAddress/emisCustomerAddressForm'; +import recipientAddressForm from '@/views/emis/emisCustomerAddress/recipientAddressForm'; +import CountryPicker from '@/views/emis/EmisBaseTools/CountryPicker.vue'; export default { - name: "emisCustomerAddress", - components: { elDateSimplePicker,emisCustomerAddressForm }, + name: "RecipientAddress", + components: { elDateSimplePicker,recipientAddressForm,CountryPicker }, dicts: [ ], data() { @@ -385,7 +375,7 @@ export default { customerCode: null, shortName: null, alias: null, - addressType: null, + addressType: 2, country: null, name: null, phone: null, diff --git a/src/views/emis/emisCustomerAddress/emisCustomerAddressForm.vue b/src/views/emis/emisCustomerAddress/recipientAddressForm.vue similarity index 56% rename from src/views/emis/emisCustomerAddress/emisCustomerAddressForm.vue rename to src/views/emis/emisCustomerAddress/recipientAddressForm.vue index d57effa9..dc6f9ac8 100644 --- a/src/views/emis/emisCustomerAddress/emisCustomerAddressForm.vue +++ b/src/views/emis/emisCustomerAddress/recipientAddressForm.vue @@ -1,8 +1,8 @@ diff --git a/src/views/emis/emisCustomerAddress/senderAddress.vue b/src/views/emis/emisCustomerAddress/senderAddress.vue new file mode 100644 index 00000000..abd7ed33 --- /dev/null +++ b/src/views/emis/emisCustomerAddress/senderAddress.vue @@ -0,0 +1,557 @@ + + + + + diff --git a/src/views/emis/emisCustomerAddress/senderAddressForm.vue b/src/views/emis/emisCustomerAddress/senderAddressForm.vue new file mode 100644 index 00000000..2b916194 --- /dev/null +++ b/src/views/emis/emisCustomerAddress/senderAddressForm.vue @@ -0,0 +1,242 @@ + + + diff --git a/src/views/emis/emisCustomerUser/batchUpdateForm.vue b/src/views/emis/emisCustomerUser/batchUpdateForm.vue new file mode 100644 index 00000000..7957d03c --- /dev/null +++ b/src/views/emis/emisCustomerUser/batchUpdateForm.vue @@ -0,0 +1,271 @@ + + + + + diff --git a/src/views/emis/emisCustomerUser/moneyUserForm.vue b/src/views/emis/emisCustomerUser/moneyUserForm.vue index cdb7750e..a5ca1e18 100644 --- a/src/views/emis/emisCustomerUser/moneyUserForm.vue +++ b/src/views/emis/emisCustomerUser/moneyUserForm.vue @@ -146,32 +146,6 @@ - - diff --git a/src/views/emis/emisCustomerUser/moneyUserList.vue b/src/views/emis/emisCustomerUser/moneyUserList.vue index 08533a52..c61a6e6a 100644 --- a/src/views/emis/emisCustomerUser/moneyUserList.vue +++ b/src/views/emis/emisCustomerUser/moneyUserList.vue @@ -1,8 +1,8 @@