From cbc2fe74fb54aad814695982c2987e064696f540 Mon Sep 17 00:00:00 2001
From: qq_41295110 <qq_41295110@noreply.gitcode.com>
Date: 星期五, 16 一月 2026 10:49:49 +0800
Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-VUEUI
---
src/views/scMould/warehouse/Sc_MouldProdBackBillEdit.vue | 16
src/views/basic/gyStockPlace/gyStockPlace.vue | 16
src/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue | 14
src/views/basic/gy/gyDepartmentEdit.vue | 8
src/views/gyMaterial/GyMaterialCorrection.vue | 8
src/views/basic/gyUnit/gyUnitGroup.vue | 2
src/views/scMould/warehouse/component/Sc_MouldInRequestBill.vue | 14
src/views/system/user/powerInformation.vue | 6
src/views/component/CustomerTypeDialog/index.vue | 8
src/views/component/gyPost/index.vue | 2
src/views/sell/sellOutBill/component/rowSettings/index.vue | 6
src/components/ImageUpload/index.vue | 6
src/views/scMould/warehouse/Sc_MouldProdOutBillEdit.vue | 16
src/api/login.js | 2
src/views/basic/gyUnit/gyUnitEdit.vue | 6
src/views/basic/gy/gySupplier.vue | 16
src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue | 22
src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue | 16
.env.development | 2
src/views/basic/gySource/index.vue | 14
src/views/GyCustomer/index.vue | 20
src/views/ICMO/ScICMOReportBill/ScICMOReportBillEdit.vue | 6
src/views/ProductInBill/Kf_ProductInBillList.vue | 14
src/views/sell/sellOutBill/component/warehouse/index.vue | 2
src/views/component/rowSettings/index.vue | 6
src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue | 20
src/views/system/user/xtUserListEdit.vue | 10
src/views/scMould/basicModeling/Gy_MouldFile.vue | 24
src/views/sell/XsSeOutStockBackBillList.vue | 24
src/views/component/CurrencyDialog/index.vue | 14
src/views/sell/XsSeOutStockBill.vue | 24
src/views/component/HSourceReportHtml/index.vue | 8
src/views/basic/gyCar/gyCarEdit.vue | 22
src/views/scMould/warehouse/Sc_MouldProdMoveBillEdit.vue | 16
src/views/ICMO/ScICMOBillEdit.vue | 24
src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue | 8
src/views/scMould/warehouse/component/Sc_MouldOutRequestBill.vue | 14
src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue | 24
src/views/sell/sellOutBill/component/dept/index.vue | 2
src/views/system/user/Xt_UserGroupEdit.vue | 8
src/views/warehouse/shipment/Kf_StockOutRequestBillList.vue | 6
src/views/FbStepFoldinBillList/fbStepFoldinBillListEdit.vue | 6
src/views/basic/gyProperty/gyPropertyList.vue | 18
src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue | 10
src/views/basic/gySource/edit/index.vue | 8
src/views/scMould/warehouse/Sc_MouldProdOutBillList.vue | 14
src/views/FbStepFoldOutBillList/fbStepFoldOutBillListEdit.vue | 6
src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue | 28
src/views/basic/gyCar/gyCarList.vue | 22
src/views/scMould/warehouse/Sc_MouldProdBackBillList.vue | 14
src/views/component/gyWorkType/index.vue | 2
src/views/basic/gyWarehouse/gyWarehouse.vue | 18
src/views/basic/gyWarehouse/gyWarehouseEdit.vue | 10
src/utils/request.js | 11
src/views/component/PackStockDetail/index.vue | 2
src/views/component/printList/index.vue | 6
src/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue | 24
src/views/scMould/warehouse/Sc_MouldInRequestBillList.vue | 16
src/views/sell/sellOutBill/component/btnSettings/index.vue | 6
src/views/gyWarehouse/edit/index.vue | 10
src/views/warehouse/shipment/Kf_StockOutRequestBill.vue | 14
src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue | 18
src/views/gyWarehouse/index.vue | 20
src/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue | 12
src/views/component/dept/index.vue | 2
src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList.vue | 10
src/views/system/user/Xt_UserGroupList.vue | 10
src/views/gyStockPlace/index.vue | 16
src/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue | 20
src/views/scMould/basicModeling/Gy_MaterialPackingRelation_Edit.vue | 12
src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue | 14
src/views/system/user/GyDriverEdit.vue | 10
src/views/basic/gyEmployee/gyEmployee.vue | 16
src/views/purchase/cgPoInStockBill/cgPoInStockBillEdit.vue | 22
src/views/component/printList/barcode.vue | 4
src/views/FbStepFoldinBillList/fbStepFoldinBillList.vue | 12
src/views/GyCustomer/CustomerEdit/index.vue | 14
src/views/gyMaterial/edit/index.vue | 8
src/views/component/gyWorkCenter/index.vue | 2
src/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue | 14
src/views/component/btnSettings/index.vue | 6
src/views/FbStepFoldinBillList/EmployeeDialog.vue | 6
src/views/sell/XsSeOutStockBackBillEdit.vue | 26
src/views/component/printList/hBarPlanPrint.vue | 2
src/views/basic/gy/gyDepartment.vue | 14
src/views/basic/gyItemMoney/gyItemMoneyEdit.vue | 8
src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit.vue | 12
src/views/sell/sellOutBill/index.vue | 12
src/views/component/AreaDialog/index.vue | 14
src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillEdit.vue | 10
src/views/sell/sellOut/sellOutBill.vue | 12
src/main.js | 48 +
src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue | 6
src/views/gyMaterial/GyMaterial.vue | 22
.env.production | 4
src/views/scMould/warehouse/Sc_MouldInRequestBillEdit.vue | 12
src/views/component/gyClassTimePrj/index.vue | 2
src/views/scMould/warehouse/Sc_MouldOutRequestBillEdit.vue | 14
src/views/basic/gy/gySupplierEdit.vue | 26
src/views/scMould/warehouse/Sc_MouldOutRequestBillList.vue | 16
src/views/component/BarCodeDetail/index.vue | 4
src/views/component/employee/index.vue | 2
src/views/component/material/index.vue | 2
src/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue | 12
src/views/basic/gyItemMoney/gyItemMoney.vue | 10
src/views/basic/gyCartypelist/gyCartypelistEdit.vue | 8
src/views/component/SettleStyleDialog/index.vue | 14
src/views/component/gyDorm/index.vue | 2
src/views/basic/gyCurrency/gyCurrency.vue | 24
src/views/purchase/cgPoOrderBill/cgPoOrderBillEdit.vue | 22
src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue | 14
src/views/basic/production/gySource.vue | 14
src/views/system/user/xtUserRightQuery.vue | 8
src/views/logistics/transportGPS/WL_YayBill.vue | 18
src/views/sell/XsSeOutStockBillEdit.vue | 26
src/views/gyStockPlace/edit/index.vue | 10
src/views/sell/sellOutBill/edit/index.vue | 24
src/views/basic/gyCartypelist/gyCartypelist.vue | 10
src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue | 22
src/views/sell/xsSeOrderBill/xsSeOrderBill.vue | 22
src/views/system/user/xtUserList.vue | 8
src/views/component/gyGroup/index.vue | 2
src/views/basic/gyStockPlace/gyStockPlaceEdit.vue | 10
src/views/basic/gyCurrency/gyCurrencyEdit.vue | 4
src/views/purchase/postockInBack/Kf_POStockInBackBill.vue | 16
src/views/scMould/warehouse/component/Sc_MouldMoveStockRequestBill.vue | 10
src/views/scMould/warehouse/Sc_MouldProdMoveBillList.vue | 12
src/views/basic/gyUnit/gyUnit.vue | 16
src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue | 22
src/views/sell/sellOutBill/component/material/index.vue | 2
src/views/system/user/GyDriver.vue | 22
src/views/basic/production/gySourceEdit.vue | 8
src/views/scMould/basicModeling/Gy_MouldFileList.vue | 16
src/views/basic/gyEmployee/gyEmployeeEdit.vue | 18
src/views/gyEmployee/index.vue | 18
src/views/component/gyDuty/index.vue | 4
src/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue | 20
src/views/component/warehouse/index.vue | 2
src/views/gyEmployee/edit/index.vue | 10
src/views/ICMO/ScICMOBillList.vue | 30
src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue | 38
src/views/sell/sellOut/sellOutBillEdit.vue | 24
src/views/FbStepFoldinBillList/SupplierDialog.vue | 6
src/views/logistics/transportGPS/Add_Edit_WL_YayBill.vue | 205 ++++-
src/utils/healthCheck.js | 66 +
src/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue | 8
src/views/ProductInBill/Kf_ProductInBillEdit.vue | 24
147 files changed, 1,184 insertions(+), 954 deletions(-)
diff --git a/.env.development b/.env.development
index 60f3665..0ddc9b3 100644
--- a/.env.development
+++ b/.env.development
@@ -12,5 +12,7 @@
# VUE_APP_BASE_API = 'http://192.168.1.11/API/'
#鏉滆春
# VUE_APP_BASE_API = http://localhost:8082/API/
+# 鍐呯綉鍦板潃娴嬭瘯
+VUE_APP_BASE_API_INNER = http://192.168.1.11/API/
# 璺敱鎳掑姞杞�
VUE_CLI_BABEL_TRANSPILE_MODULES = true
diff --git a/.env.production b/.env.production
index 6321c0e..a3eceac 100644
--- a/.env.production
+++ b/.env.production
@@ -4,8 +4,8 @@
# 鐢熶骇鐜閰嶇疆
ENV = 'production'
-# 瀹佹尝 鍥涚淮灏�
-# VUE_APP_BASE_API = http://192.168.0.236:9010/API/
+# 瀹佹尝 鍥涚淮灏� 鍐呭缃�
+VUE_APP_BASE_API_INNER = http://192.168.0.236:9010/API/
VUE_APP_BASE_API = http://220.189.218.155:9010/API/
# 浣欏 閿﹂殕 鏅鸿兘瀹跺眳
# VUE_APP_BASE_API = http://192.168.1.11/API/
diff --git a/src/api/login.js b/src/api/login.js
index 0a7f91e..43a80bd 100644
--- a/src/api/login.js
+++ b/src/api/login.js
@@ -86,7 +86,7 @@
})
}
- // axios.get(this.baseURL + "/Web/GetOrganizations", {
+ // axios.get(this.$baseUrl + "/Web/GetOrganizations", {
// }).then(response => {
// if (response.data.count == 1) {
// this.organizationList = response.data.data;//缁勭粐鍒楄〃
diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue
index 6b24f6e..4df39b1 100644
--- a/src/components/ImageUpload/index.vue
+++ b/src/components/ImageUpload/index.vue
@@ -130,8 +130,8 @@
// 鐒跺悗灏嗘暟缁勮浆涓哄璞℃暟缁�
this.fileList = list.map(item => {
if (typeof item === "string") {
- if (item.indexOf(this.baseUrl) === -1 && !isExternal(item)) {
- item = { name: this.baseUrl + item, url: this.baseUrl + item }
+ if (item.indexOf(this.$baseUrl) === -1 && !isExternal(item)) {
+ item = { name: this.$baseUrl + item, url: this.$baseUrl + item }
} else {
item = { name: item, url: item }
}
@@ -240,7 +240,7 @@
separator = separator || ","
for (let i in list) {
if (list[i].url) {
- strs += list[i].url.replace(this.baseUrl, "") + separator
+ strs += list[i].url.replace(this.$baseUrl, "") + separator
}
}
return strs != '' ? strs.substr(0, strs.length - 1) : ''
diff --git a/src/main.js b/src/main.js
index 3ffc498..1412138 100644
--- a/src/main.js
+++ b/src/main.js
@@ -32,6 +32,9 @@
// 瀛楀吀鏁版嵁缁勪欢
import DictData from '@/components/DictData'
import * as XLSX from 'xlsx';
+import { findAvailableService } from './utils/healthCheck'
+import { setAxiosBaseUrl } from './utils/request'
+
Vue.prototype.$XLSX = XLSX; // 灏� XLSX 娣诲姞鍒� Vue 鐨勫師鍨嬩笂锛屼娇鍏跺湪鎵�鏈夌粍浠朵腑鍙敤銆�
// 鍏ㄥ眬鏂规硶鎸傝浇
Vue.prototype.getDicts = getDicts
@@ -57,6 +60,8 @@
Vue.use(plugins)
DictData.install()
+
+
/**
* If you don't want to use mock-server
* you want to use MockJs for mock api
@@ -66,18 +71,37 @@
* please remove it before going online! ! !
*/
-Vue.use(Element, {
- size: Cookies.get('size') || 'medium' // set element-ui default size
-})
+const initAPP = async () => {
+ console.log("寮�濮嬫墽琛屾湇鍔″仴搴锋鏌�...");
+ // 鍋ュ悍妫�鏌ワ細鑾峰彇鍙敤鐨勬湇鍔″湴鍧�
+ let availableBaseUrl = await findAvailableService()
+ // const sessionUrl = sessionStorage["cacheUrl"]
+ // if(sessionUrl){
+ // availableBaseUrl = sessionUrl
+ // }else {
+ // sessionUrl = await findAvailableService();
+ // sessionStorage["cacheUrl"] = sessionUrl
+ // }
-Vue.config.productionTip = false
+ // 娉ㄥ叆 Axios 鍏ㄥ眬 baseURL
+ setAxiosBaseUrl(availableBaseUrl);
+ Vue.prototype.$baseUrl = availableBaseUrl
-new Vue({
- el: '#app',
- router,
- store,
- render: h => h(App)
-})
+ Vue.use(Element, {
+ size: Cookies.get('size') || 'medium' // set element-ui default size
+ })
-//寮圭獥鐐瑰嚮绌虹櫧涓嶆秷澶�
-Element.Dialog.props.closeOnClickModal.default = false
\ No newline at end of file
+ Vue.config.productionTip = false
+
+ new Vue({
+ el: '#app',
+ router,
+ store,
+ render: h => h(App)
+ })
+
+ //寮圭獥鐐瑰嚮绌虹櫧涓嶆秷澶�
+ Element.Dialog.props.closeOnClickModal.default = false
+}
+
+initAPP();
diff --git a/src/utils/healthCheck.js b/src/utils/healthCheck.js
new file mode 100644
index 0000000..0acd4a0
--- /dev/null
+++ b/src/utils/healthCheck.js
@@ -0,0 +1,66 @@
+// 杩炴帴鍋ュ悍搴︽牎楠屾枃浠� 鍙粠澶氫釜杩炴帴涓瓫閫夌鍚堟潯浠剁殑閾炬帴骞惰缃负鍏ㄥ眬杩炴帴
+export const serviceList = [
+ {
+ name: "API_INNER",
+ baseUrl: process.env.VUE_APP_BASE_API_INNER || process.env.VUE_APP_BASE_API, // 鍐呯綉鍦板潃, 娌℃湁鐨勬儏鍐典笅锛屽氨浣跨敤澶栫綉鍦板潃
+ healthPath: "/Health",
+ },
+ {
+ name: "API_INNER",
+ baseUrl: process.env.VUE_APP_BASE_API, // 澶栫綉鍦板潃
+ healthPath: "/Health",
+ },
+];
+
+/**
+ * 妫�娴嬪崟涓湇鍔″仴搴风姸鎬�
+ * @param {Object} service - 鏈嶅姟閰嶇疆锛坆aseUrl + healthPath锛�
+ * @returns {Promise<String|null>} 鍙敤鐨� baseUrl锛屽け璐ヨ繑鍥� null
+ */
+export const checkServiceHealth = async (service) => {
+ const { baseUrl, healthPath } = service;
+ if (!baseUrl) return null;
+ return new Promise(async (resolve, reject) => {
+ try {
+ // 鍋ュ悍妫�鏌ヨ姹傦紙瓒呮椂 3 绉掞紝涓嶆惡甯� Token锛岄伩鍏嶆湭鐧诲綍鎷︽埅锛�
+ const response = await fetch(`${baseUrl}${healthPath}`, {
+ method: "GET",
+ timeout: 3000,
+ headers: {
+ "Content-Type": "application/json",
+ },
+ });
+ if (response.ok) {
+ console.log(`鏈嶅姟 ${service.name} 鍋ュ悍锛屽湴鍧�锛�${baseUrl}`);
+ resolve(baseUrl)
+ // return baseUrl;
+ }
+ } catch (error) {
+ console.error(`鏈嶅姟 ${service.name} 杩炴帴澶辫触锛歚, error.message);
+ resolve(null)
+ // return null;
+ }
+ })
+
+};
+
+/**
+ * 鎵归噺妫�娴嬫墍鏈夋湇鍔★紝杩斿洖绗竴涓彲鐢ㄧ殑 baseUrl
+ * @returns {Promise<String>} 鍙敤鐨勬湇鍔″熀纭�鍦板潃锛堝け璐ュ垯鎶涘嚭寮傚父锛�
+ */
+export const findAvailableService = async () => {
+ // 骞惰妫�娴嬫墍鏈夋湇鍔★紙鎻愰珮鏁堢巼锛�
+ const healthCheckPromises = serviceList.map((item) => {
+ return checkServiceHealth(item)
+ });
+ const healthResult = await Promise.race(healthCheckPromises); // 绔為�熸ā寮忥紝妫�娴嬪埌鍋ュ悍鐨勯摼鎺ュ氨绔嬪埢杩斿洖
+ // 绛涢�夊彲鐢ㄧ殑 baseUrl锛堝彇绗竴涓湁鏁堝湴鍧�锛�
+ const availableBaseUrl = healthResult
+
+ if (availableBaseUrl) {
+ return availableBaseUrl;
+ } else {
+ // 鎵�鏈夋湇鍔″潎涓嶅彲鐢紝鎶涘嚭寮傚父锛堝悗缁湪鍒濆鍖栨椂鎹曡幏锛�
+ throw new Error("鎵�鏈夋湇鍔″仴搴锋鏌ュけ璐ワ紝璇锋鏌ユ湇鍔$姸鎬佹垨缃戠粶閰嶇疆");
+ }
+};
\ No newline at end of file
diff --git a/src/utils/request.js b/src/utils/request.js
index ef0f6a5..dc411ac 100644
--- a/src/utils/request.js
+++ b/src/utils/request.js
@@ -15,7 +15,7 @@
// 鍒涘缓axios瀹炰緥
const service = axios.create({
// axios涓姹傞厤缃湁baseURL閫夐」锛岃〃绀鸿姹俇RL鍏叡閮ㄥ垎
- baseURL: process.env.VUE_APP_BASE_API,
+ baseURL: "", // baseUrl 缃┖锛屽悗缁敞鍏�
// 瓒呮椂
timeout: null
})
@@ -150,4 +150,13 @@
})
}
+/**
+ * 鍔ㄦ�佽缃� Axios 鍏ㄥ眬 baseURL锛堟牳蹇冿細鍒濆鍖栧悗娉ㄥ叆鍋ュ悍妫�鏌ラ�氳繃鐨勫湴鍧�锛�
+ * @param {String} baseUrl - 鍋ュ悍妫�鏌ラ�氳繃鐨勬湇鍔″湴鍧�
+ */
+export const setAxiosBaseUrl = (baseUrl) => {
+ service.defaults.baseURL = baseUrl;
+ console.log(`Axios 鍏ㄥ眬 baseURL 宸茶缃細${baseUrl}`);
+};
+
export default service
diff --git a/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue b/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue
index e9d6c9d..9a49282 100644
--- a/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue
+++ b/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillEdit.vue
@@ -399,7 +399,7 @@
var dataArray = [];
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": data[i].hmainid
, "HSubID": data[i].hsubid
@@ -591,7 +591,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_POStockInBill/cx", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBill/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -826,7 +826,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -855,7 +855,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1050,7 +1050,7 @@
//#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -1063,7 +1063,7 @@
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1201'
}
@@ -1081,7 +1081,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1201','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1097,7 +1097,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -1115,7 +1115,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -1130,7 +1130,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1147,7 +1147,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1164,7 +1164,7 @@
//#region 鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
diff --git a/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue b/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue
index 3192691..ba5ea40 100644
--- a/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue
+++ b/src/views/CaiGouGuanLi/CaiGouRuKu/Kf_POStockInBillList.vue
@@ -389,7 +389,7 @@
//#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -527,7 +527,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Kf_POStockInBill/page', {
+ axios.get(this.$baseUrl + '/Kf_POStockInBill/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -631,7 +631,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "/Kf_POStockInBill/DeltetKf_POStockInBill", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBill/DeltetKf_POStockInBill", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -654,7 +654,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_POStockInBill/AuditKf_POStockInBill", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBill/AuditKf_POStockInBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -684,7 +684,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -836,7 +836,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -896,7 +896,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue b/src/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue
index 34e273a..a2a4b0f 100644
--- a/src/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue
+++ b/src/views/FbStepFoldOutBillList/fbStepFoldOutBillList.vue
@@ -435,7 +435,7 @@
const userName = sessionStorage['HUserName'] || sessionStorage['Czybm'] || 'admin';
const orgName = sessionStorage['OrganizationName'] || sessionStorage['Organization'] || '娴欐睙鏅轰簯杩堟��';
- const url = `${this.baseURL}/Kf_StepFoldOutBill/GetStepFoldOutBillList`;
+ const url = `${this.$baseUrl}/Kf_StepFoldOutBill/GetStepFoldOutBillList`;
const params = {
sWhere: sWhere || '',
user: userName,
@@ -502,7 +502,7 @@
},
async get_DefaultModule() {
try {
- const url = `${this.baseURL}/Xt_FastICScheme/Chooselist`;
+ const url = `${this.$baseUrl}/Xt_FastICScheme/Chooselist`;
const params = {
user: sessionStorage['Czybm'] || sessionStorage['HUserName'] || '',
HModuleName: '鍒嗘寮忚皟鍑哄崟缁存姢',
@@ -547,7 +547,7 @@
try {
await this.$confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠', '鍒犻櫎纭');
- const url = `${this.baseURL}/Fb_StepFoldInBill/DeltetFb_StepFoldInBill`;
+ const url = `${this.$baseUrl}/Fb_StepFoldInBill/DeltetFb_StepFoldInBill`;
const params = { HInterID: (row.hmainid || row.HInterID) };
const resp = await axios.get(url, { params });
@@ -576,7 +576,7 @@
try {
await this.$confirm(`纭瑕�${actionName}姝ゅ崟鎹悧锛焋, `${actionName}纭`);
- const url = `${this.baseURL}/Kf_StepFoldOutBill/AuditKf_StepFoldOutBill`;
+ const url = `${this.$baseUrl}/Kf_StepFoldOutBill/AuditKf_StepFoldOutBill`;
const params = {
HInterID: (row.hmainid || row.HInterID),
Type: type,
@@ -609,7 +609,7 @@
try {
await this.$confirm(`纭瑕�${actionName}姝ゅ崟鎹悧锛焋, `${actionName}纭`);
- const url = `${this.baseURL}/Kf_StepFoldOutBill/CloseKf_StepFoldOutBill`;
+ const url = `${this.$baseUrl}/Kf_StepFoldOutBill/CloseKf_StepFoldOutBill`;
const params = {
HInterID: (row.hmainid || row.HInterID),
Type: type,
@@ -642,7 +642,7 @@
try {
await this.$confirm(`纭瑕�${actionName}姝ゅ崟鎹悧锛焋, `${actionName}纭`);
- const url = `${this.baseURL}/Kf_StepFoldOutBill/CancellKf_StepFoldOutBill`;
+ const url = `${this.$baseUrl}/Kf_StepFoldOutBill/CancellKf_StepFoldOutBill`;
const params = {
HInterID: (row.hmainid || row.HInterID),
Type: type,
diff --git a/src/views/FbStepFoldOutBillList/fbStepFoldOutBillListEdit.vue b/src/views/FbStepFoldOutBillList/fbStepFoldOutBillListEdit.vue
index 60a8031..1cdbe0b 100644
--- a/src/views/FbStepFoldOutBillList/fbStepFoldOutBillListEdit.vue
+++ b/src/views/FbStepFoldOutBillList/fbStepFoldOutBillListEdit.vue
@@ -607,7 +607,7 @@
// 鑾峰彇鏈�澶у崟鎹彿
async getMaxBillNo() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetMAXNum`, {
+ const response = await axios.get(`${this.$baseUrl}/Web/GetMAXNum`, {
params: { HBillType: '1251' }
})
if (response.data && response.data.data && response.data.data.length > 0) {
@@ -623,7 +623,7 @@
// 鍔犺浇鍗曟嵁鏁版嵁
async loadBillData(linterid) {
try {
- const response = await axios.get(`${this.baseURL}/Kf_StepFoldOutBill/cx`, {
+ const response = await axios.get(`${this.$baseUrl}/Kf_StepFoldOutBill/cx`, {
params: { HInterID: linterid }
})
console.log('缂栬緫浼犲叆鐨勪富id:', linterid)
@@ -927,7 +927,7 @@
JSON.stringify({ main: this.form, table: this.tableData })
console.log('鎻愪氦鐨勫畬鏁存暟鎹�:', submitData)
- const response = await axios.post(`${this.baseURL}/Kf_StepFoldOutBill/Kf_StepFoldOutBillEdit`, {
+ const response = await axios.post(`${this.$baseUrl}/Kf_StepFoldOutBill/Kf_StepFoldOutBillEdit`, {
sMainSub: submitData
})
diff --git a/src/views/FbStepFoldinBillList/EmployeeDialog.vue b/src/views/FbStepFoldinBillList/EmployeeDialog.vue
index 572a0ec..5ee37e0 100644
--- a/src/views/FbStepFoldinBillList/EmployeeDialog.vue
+++ b/src/views/FbStepFoldinBillList/EmployeeDialog.vue
@@ -284,7 +284,7 @@
// 鑾峰彇缁勭粐鍒楄〃
async getOrganizations() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetOrganizations`)
+ const response = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`)
if (response.data.count === 1) {
this.organizations = response.data.data
const defaultOrg = sessionStorage.getItem('Organization')
@@ -317,7 +317,7 @@
Organization: this.queryForm.HUSEORGID
}
console.log('璇锋眰鍙傛暟:', requestParams)
- const response = await axios.get(`${this.baseURL}/Gy_Employee/list`, { params: requestParams })
+ const response = await axios.get(`${this.$baseUrl}/Gy_Employee/list`, { params: requestParams })
if (response.data.count === 1) {
this.tableData = response.data.data || []
@@ -339,7 +339,7 @@
async getOrgFilterByUser() {
try {
- const response = await axios.get(`${this.baseURL}/Xt_User/getOrgIDListByUser`, {
+ const response = await axios.get(`${this.$baseUrl}/Xt_User/getOrgIDListByUser`, {
params: {
UserID: sessionStorage.getItem('Czybm'),
UserName: sessionStorage.getItem('HUserName'),
diff --git a/src/views/FbStepFoldinBillList/SupplierDialog.vue b/src/views/FbStepFoldinBillList/SupplierDialog.vue
index e88df1a..8b1465a 100644
--- a/src/views/FbStepFoldinBillList/SupplierDialog.vue
+++ b/src/views/FbStepFoldinBillList/SupplierDialog.vue
@@ -316,7 +316,7 @@
// 鑾峰彇缁勭粐鍒楄〃
async getOrganizations() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetOrganizations`)
+ const response = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`)
if (response.data.count === 1) {
this.organizations = response.data.data
// 璁剧疆榛樿缁勭粐
@@ -335,7 +335,7 @@
// 鑾峰彇渚涘簲鍟嗘爲褰㈡暟鎹�
async getSupplierTree() {
try {
- const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_SupTypeTreeListByLevel`)
+ const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_SupTypeTreeListByLevel`)
if (response.data.count === 1) {
this.treeData = JSON.parse(response.data.data)
}
@@ -356,7 +356,7 @@
size: this.pageSize
}
console.log('璇锋眰鍙傛暟:', params)
- const response = await axios.get(`${this.baseURL}/Gy_Supplier/page`, { params })
+ const response = await axios.get(`${this.$baseUrl}/Gy_Supplier/page`, { params })
if (response.data.code == 1) {
this.tableData = response.data.data || []
diff --git a/src/views/FbStepFoldinBillList/fbStepFoldinBillList.vue b/src/views/FbStepFoldinBillList/fbStepFoldinBillList.vue
index 2614570..9890146 100644
--- a/src/views/FbStepFoldinBillList/fbStepFoldinBillList.vue
+++ b/src/views/FbStepFoldinBillList/fbStepFoldinBillList.vue
@@ -436,7 +436,7 @@
const userName = sessionStorage['HUserName'] || sessionStorage['Czybm'] || 'admin';
const orgName = sessionStorage['OrganizationName'] || sessionStorage['Organization'] || '娴欐睙鏅轰簯杩堟��';
- const url = `${this.baseURL}/Kf_StepFoldinBill/GetStepFoldinBillList`;
+ const url = `${this.$baseUrl}/Kf_StepFoldinBill/GetStepFoldinBillList`;
const params = {
sWhere: sWhere || '',
user: userName,
@@ -503,7 +503,7 @@
},
async get_DefaultModule() {
try {
- const url = `${this.baseURL}/Xt_FastICScheme/Chooselist`;
+ const url = `${this.$baseUrl}/Xt_FastICScheme/Chooselist`;
const params = {
user: sessionStorage['Czybm'] || sessionStorage['HUserName'] || '',
HModuleName: '鍒嗘寮忚皟鍏ュ崟缁存姢',
@@ -548,7 +548,7 @@
try {
await this.$confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠', '鍒犻櫎纭');
- const url = `${this.baseURL}/Fb_StepFoldInBill/DeltetFb_StepFoldInBill`;
+ const url = `${this.$baseUrl}/Fb_StepFoldInBill/DeltetFb_StepFoldInBill`;
const params = { HInterID: (row.hmainid || row.HInterID) };
const resp = await axios.get(url, { params });
@@ -577,7 +577,7 @@
try {
await this.$confirm(`纭瑕�${actionName}姝ゅ崟鎹悧锛焋, `${actionName}纭`);
- const url = `${this.baseURL}/Kf_StepFoldInBill/AuditKf_StepFoldInBill`;
+ const url = `${this.$baseUrl}/Kf_StepFoldInBill/AuditKf_StepFoldInBill`;
const params = {
HInterID: (row.hmainid || row.HInterID),
Type: type,
@@ -610,7 +610,7 @@
try {
await this.$confirm(`纭瑕�${actionName}姝ゅ崟鎹悧锛焋, `${actionName}纭`);
- const url = `${this.baseURL}/Kf_StepFoldInBill/CloseKf_StepFoldInBill`;
+ const url = `${this.$baseUrl}/Kf_StepFoldInBill/CloseKf_StepFoldInBill`;
const params = {
HInterID: (row.hmainid || row.HInterID),
Type: type,
@@ -643,7 +643,7 @@
try {
await this.$confirm(`纭瑕�${actionName}姝ゅ崟鎹悧锛焋, `${actionName}纭`);
- const url = `${this.baseURL}/Kf_StepFoldInBill/CancellKf_StepFoldInBill`;
+ const url = `${this.$baseUrl}/Kf_StepFoldInBill/CancellKf_StepFoldInBill`;
const params = {
HInterID: (row.hmainid || row.HInterID),
Type: type,
diff --git a/src/views/FbStepFoldinBillList/fbStepFoldinBillListEdit.vue b/src/views/FbStepFoldinBillList/fbStepFoldinBillListEdit.vue
index 59179d6..72d6550 100644
--- a/src/views/FbStepFoldinBillList/fbStepFoldinBillListEdit.vue
+++ b/src/views/FbStepFoldinBillList/fbStepFoldinBillListEdit.vue
@@ -607,7 +607,7 @@
// 鑾峰彇鏈�澶у崟鎹彿
async getMaxBillNo() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetMAXNum`, {
+ const response = await axios.get(`${this.$baseUrl}/Web/GetMAXNum`, {
params: { HBillType: '1251' }
})
if (response.data && response.data.data && response.data.data.length > 0) {
@@ -623,7 +623,7 @@
// 鍔犺浇鍗曟嵁鏁版嵁
async loadBillData(linterid) {
try {
- const response = await axios.get(`${this.baseURL}/Kf_StepFoldInBill/cx`, {
+ const response = await axios.get(`${this.$baseUrl}/Kf_StepFoldInBill/cx`, {
params: { HInterID: linterid }
})
console.log('缂栬緫浼犲叆鐨勪富id:', linterid)
@@ -927,7 +927,7 @@
JSON.stringify({ main: this.form, table: this.tableData })
console.log('鎻愪氦鐨勫畬鏁存暟鎹�:', submitData)
- const response = await axios.post(`${this.baseURL}/Kf_StepFoldInBill/Kf_StepFoldInBillEdit`, {
+ const response = await axios.post(`${this.$baseUrl}/Kf_StepFoldInBill/Kf_StepFoldInBillEdit`, {
sMainSub: submitData
})
diff --git a/src/views/GyCustomer/CustomerEdit/index.vue b/src/views/GyCustomer/CustomerEdit/index.vue
index 5c5c5c0..8d1f30f 100644
--- a/src/views/GyCustomer/CustomerEdit/index.vue
+++ b/src/views/GyCustomer/CustomerEdit/index.vue
@@ -557,7 +557,7 @@
},
loadOrganizations() {
- axios.get(`${this.baseURL}/Web/GetOrganizations`)
+ axios.get(`${this.$baseUrl}/Web/GetOrganizations`)
.then(response => {
if (response.data.count === 1) {
this.organizationList = response.data.data
@@ -617,7 +617,7 @@
getMaxBillID() {
- axios.get(`${this.baseURL}/Gy_Customer/GetMAXBillID`)
+ axios.get(`${this.$baseUrl}/Gy_Customer/GetMAXBillID`)
.then(response => {
console.log('Max Bill ID:', response.data)
})
@@ -628,7 +628,7 @@
// 璁剧疆娴佹按鍙�
setHNumber(typeID) {
- axios.get(`${this.baseURL}/Gy_Customer/getMaxNum`, {
+ axios.get(`${this.$baseUrl}/Gy_Customer/getMaxNum`, {
params: {
HCusTypeID: typeID,
user: this.user,
@@ -646,7 +646,7 @@
},
loadEditData(interId) {
- axios.get(`${this.baseURL}/Gy_Customer/xg_extendCheckEmp`, {
+ axios.get(`${this.$baseUrl}/Gy_Customer/xg_extendCheckEmp`, {
params: { HInterID: interId }
})
.then(response => {
@@ -729,12 +729,12 @@
const formData = { ...this.formData }
formData.HStopflag = formData.HStopflag ? 'true' : 'false'
- let url = `${this.baseURL}/Gy_Customer/AddBill`
+ let url = `${this.$baseUrl}/Gy_Customer/AddBill`
let params = { oMain: JSON.stringify(formData) + ';' + this.user }
if (this.operationType === 3) {
// 缂栬緫淇濆瓨
- url = `${this.baseURL}/Gy_Customer/AddBill1`
+ url = `${this.$baseUrl}/Gy_Customer/AddBill1`
params = {
oMain: JSON.stringify(formData) + ';' + this.linterid + ';' + this.user + ';Gy_Customer_Edit'
}
@@ -829,7 +829,7 @@
// 瀹℃牳
handleAudit() {
- axios.get(`${this.baseURL}/Gy_Customer/AuditGy_Customer`, {
+ axios.get(`${this.$baseUrl}/Gy_Customer/AuditGy_Customer`, {
params: {
HInterID: this.linterid,
IsAudit: 0,
diff --git a/src/views/GyCustomer/index.vue b/src/views/GyCustomer/index.vue
index 84b23ef..75382ca 100644
--- a/src/views/GyCustomer/index.vue
+++ b/src/views/GyCustomer/index.vue
@@ -366,7 +366,7 @@
}
},
created() {
- this.upload.url = this.baseURL + "Gy_Customer/Gy_Customer_Excel";
+ this.upload.url = this.$baseUrl + "Gy_Customer/Gy_Customer_Excel";
this.fetchData();
},
methods: {
@@ -381,7 +381,7 @@
getTreeData() {
axios
- .get(this.baseURL + "/Gy_BadReason/Gy_CusTypeTreeListByLevel")
+ .get(this.$baseUrl + "/Gy_BadReason/Gy_CusTypeTreeListByLevel")
.then((response) => {
if (response.data.count == 1) {
this.treeData = JSON.parse(response.data.data);
@@ -400,7 +400,7 @@
console.log(this.page);
console.log(this.pageSize);
axios
- .get(this.baseURL + "/Gy_Customer/page", {
+ .get(this.$baseUrl + "/Gy_Customer/page", {
params: {
sWhere: this.sWhere,
user: this.user,
@@ -537,7 +537,7 @@
}
axios
- .get(this.baseURL + "/Gy_Customer/Gy_CustomerViewApi", {
+ .get(this.$baseUrl + "/Gy_Customer/Gy_CustomerViewApi", {
params: {
Number: this.queryParams.HNumber2,
Type: 'KH'
@@ -567,7 +567,7 @@
handleExport() {
axios
- .get(this.baseURL + "/LMES/getReportByModRightNameCheck", {
+ .get(this.$baseUrl + "/LMES/getReportByModRightNameCheck", {
params: {
ModRightNameCheck: "Gy_Customer_ExportExcel",
user: this.user
@@ -639,7 +639,7 @@
.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠")
.then(() => {
axios
- .get(this.baseURL + "/Gy_Customer/Delete_Json", {
+ .get(this.$baseUrl + "/Gy_Customer/Delete_Json", {
params: {
HItemID: this.selectedRow.HItemID,
User: this.user,
@@ -668,7 +668,7 @@
}
axios
- .get(this.baseURL + "/Gy_Customer/AuditGy_Customer", {
+ .get(this.$baseUrl + "/Gy_Customer/AuditGy_Customer", {
params: {
HInterID: this.selectedRow.HItemID,
IsAudit: isAudit,
@@ -694,7 +694,7 @@
return;
}
axios
- .get(this.baseURL + "/Gy_Customer/StopGy_Customer", {
+ .get(this.$baseUrl + "/Gy_Customer/StopGy_Customer", {
params: {
HInterID: this.selectedRow.HItemID,
IsStop: isStop,
@@ -765,7 +765,7 @@
getRelationUserData(HCusID) {
this.relationLoading = true;
axios
- .get(this.baseURL + "/Gy_Customer/RelationUserlist", {
+ .get(this.$baseUrl + "/Gy_Customer/RelationUserlist", {
params: { HCusID: HCusID }
})
.then((response) => {
@@ -879,7 +879,7 @@
var sMainSub = JSON.stringify(this.uploadData) + "&鍜�" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Customer/Gy_Customer_btnSave",
+ url: this.$baseUrl + "/Gy_Customer/Gy_Customer_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/ICMO/ScICMOBillEdit.vue b/src/views/ICMO/ScICMOBillEdit.vue
index ac2a1a2..aa3ad52 100644
--- a/src/views/ICMO/ScICMOBillEdit.vue
+++ b/src/views/ICMO/ScICMOBillEdit.vue
@@ -650,7 +650,7 @@
methods: {
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -680,7 +680,7 @@
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/cx", {
params: {
HInterID: data[i].hmainid,
},
@@ -800,7 +800,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -965,7 +965,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -998,7 +998,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: "3710",
},
@@ -1017,7 +1017,7 @@
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
axios
- .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1036,7 +1036,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
axios
- .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
+ .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -1061,7 +1061,7 @@
this.HEntryID;
axios
- .get(this.baseURL + "/LEMS/MES_IF_ICMOBillList_Json", {
+ .get(this.$baseUrl + "/LEMS/MES_IF_ICMOBillList_Json", {
params: { sWhere: sWhere, user: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -1201,7 +1201,7 @@
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID,
},
@@ -1354,7 +1354,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: "get",
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
})
.then((response) => {
@@ -1393,7 +1393,7 @@
this.OperationType2;
axios({
method: "post",
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
msg: sMainSub,
},
@@ -1423,7 +1423,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/ICMO/ScICMOBillList.vue b/src/views/ICMO/ScICMOBillList.vue
index cc7ad56..2c9388c 100644
--- a/src/views/ICMO/ScICMOBillList.vue
+++ b/src/views/ICMO/ScICMOBillList.vue
@@ -902,7 +902,7 @@
},
created() {
// set upload URL from configured baseURL
- this.upload.url = this.baseURL + "Gy_Source/Gy_Source_Excel";
+ this.upload.url = this.$baseUrl + "Gy_Source/Gy_Source_Excel";
this.riqiChange();
this.get_HProjectList();
this.get_HDeptNameList();
@@ -914,7 +914,7 @@
},
methods: {
syncBill() {
- axios.get(`${this.baseURL}/Sc_ICMOBill/Sc_ICMOBillViewApi`, {
+ axios.get(`${this.$baseUrl}/Sc_ICMOBill/Sc_ICMOBillViewApi`, {
params: {
BillNo: this.HBillNo2,
BillType: "3710",
@@ -922,7 +922,7 @@
});
},
async get_HDeptNameList() {
- let res = await axios.get(`${this.baseURL}/Sc_ICMOBill/GetHDeptList`, {
+ let res = await axios.get(`${this.$baseUrl}/Sc_ICMOBill/GetHDeptList`, {
params: { HOrgID: sessionStorage["OrganizationID"] },
});
this.HDeptNameList = [
@@ -933,7 +933,7 @@
];
},
async get_HProjectList() {
- let res = await axios.get(`${this.baseURL}/Gy_Material/Get_HProject`);
+ let res = await axios.get(`${this.$baseUrl}/Gy_Material/Get_HProject`);
this.HProjectList = res.data.data.map((e) => {
return { label: e.HName, value: e.HItemID };
});
@@ -981,7 +981,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -1089,7 +1089,7 @@
try {
let res = await axios.get(
- this.baseURL + "/LEMS/MES_IF_ICMOBillList_Json_byPage",
+ this.$baseUrl + "/LEMS/MES_IF_ICMOBillList_Json_byPage",
{
params: {
sWhere: this.sWhere,
@@ -1197,7 +1197,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1491,7 +1491,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1577,7 +1577,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
params: {
HInter: this.rowForm.hmainid.toString(),
HsupId: this.rowForm.HsupId,
@@ -1609,7 +1609,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
params: {
HInterID: InterID,
TypeError: num,
@@ -1634,7 +1634,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1661,7 +1661,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1688,7 +1688,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1714,7 +1714,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1788,7 +1788,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/ICMO/ScICMOReportBill/ScICMOReportBillEdit.vue b/src/views/ICMO/ScICMOReportBill/ScICMOReportBillEdit.vue
index fdd1974..0f61067 100644
--- a/src/views/ICMO/ScICMOReportBill/ScICMOReportBillEdit.vue
+++ b/src/views/ICMO/ScICMOReportBill/ScICMOReportBillEdit.vue
@@ -424,7 +424,7 @@
// 鑾峰彇鏈�澶у崟鎹彿
async getMaxBillNo() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetMAXNum`, {
+ const response = await axios.get(`${this.$baseUrl}/Web/GetMAXNum`, {
params: { HBillType: '3711' }
})
if (response.data && response.data.data && response.data.data.length > 0) {
@@ -443,7 +443,7 @@
async setEditForm(linterid) {
console.log("neima", linterid)
try { //'/api/Sc_ICMOReportBill/Sc_GetICMOReportBillListCheckDetai'
- const response = await axios.get(`${this.baseURL}/Sc_ICMOReportBill/Sc_GetICMOReportBillListCheckDetai`, {
+ const response = await axios.get(`${this.$baseUrl}/Sc_ICMOReportBill/Sc_GetICMOReportBillListCheckDetai`, {
params: { HID: linterid }
})
@@ -474,7 +474,7 @@
this.form.HInterID = linterid
try {//Sc_ICMOReportBill/Sc_ICMOReportBillListProjectDetai
- const response = await axios.get(`${this.baseURL}/Sc_ICMOReportBill/Sc_ICMOReportBillListProjectDetai`, {
+ const response = await axios.get(`${this.$baseUrl}/Sc_ICMOReportBill/Sc_ICMOReportBillListProjectDetai`, {
params: { sqlWhere: `and hmainid=${linterid}` }
})
diff --git a/src/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue b/src/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue
index e38ad1f..cf47054 100644
--- a/src/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue
+++ b/src/views/ICMO/ScICMOReportBill/ScICMOReportBillList.vue
@@ -819,7 +819,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -918,7 +918,7 @@
this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.eTime + "'";
}
try {
- let res = await axios.get(this.baseURL + "Sc_ICMOReportBill/list", {
+ let res = await axios.get(this.$baseUrl + "Sc_ICMOReportBill/list", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1022,7 +1022,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1297,7 +1297,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1403,7 +1403,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Sc_ICMOReportBill/DeltetICMOReportBill", {
+ .get(this.$baseUrl + "Sc_ICMOReportBill/DeltetICMOReportBill", {
params: {
HInter: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -1431,7 +1431,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Sc_ICMOReportBill/AuditProcessReportList", {
+ .get(this.$baseUrl + "/Sc_ICMOReportBill/AuditProcessReportList", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1456,7 +1456,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Sc_ICMOReportBill/CloseSc_ICMOReportBill`,
+ `${this.$baseUrl}/Sc_ICMOReportBill/CloseSc_ICMOReportBill`,
{
params: {
HInterID: HInterID,
@@ -1483,7 +1483,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1511,7 +1511,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1585,7 +1585,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue b/src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue
index 5df9bfa..4c7d2ac 100644
--- a/src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue
+++ b/src/views/KCGL/MoveStockBill/Kf_MoveStockBillEdit.vue
@@ -590,7 +590,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_MoveStockBill/Kf_MoveStockBillEdit", {
+ axios.get(this.$baseUrl + "/Kf_MoveStockBill/Kf_MoveStockBillEdit", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -829,7 +829,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -858,7 +858,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1053,7 +1053,7 @@
//#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -1067,7 +1067,7 @@
//#region 婧愬崟绫诲瀷涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData_SourceBillTypeList() {
var HName = '鐩存帴璋冩嫧鍗�';
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: {
HName: HName,
Num: 2
@@ -1084,7 +1084,7 @@
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1207'
}
@@ -1102,7 +1102,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1207','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1118,7 +1118,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -1136,7 +1136,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1153,7 +1153,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue b/src/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue
index b3c2793..7d0233d 100644
--- a/src/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue
+++ b/src/views/KCGL/MoveStockBill/Kf_MoveStockBillList.vue
@@ -374,7 +374,7 @@
//#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -501,7 +501,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Kf_MoveStockBill/GetMoveStockBillList', {
+ axios.get(this.$baseUrl + '/Kf_MoveStockBill/GetMoveStockBillList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"]
@@ -603,7 +603,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "Kf_MoveStockBill/DelteteGetMoveStockBill", {
+ axios.get(this.$baseUrl + "Kf_MoveStockBill/DelteteGetMoveStockBill", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -626,7 +626,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_MoveStockBill/CheckKf_MoveStockBill", {
+ axios.get(this.$baseUrl + "/Kf_MoveStockBill/CheckKf_MoveStockBill", {
params: { "HInterID": InterID, "Type": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -656,7 +656,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -808,7 +808,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -868,7 +868,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue b/src/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue
index da00d0b..0eae6e8 100644
--- a/src/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue
+++ b/src/views/KCGL/OtherOutBill/Kf_OtherOutBillEdit.vue
@@ -522,7 +522,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_OtherOutBill/Kf_OtherOutBillEdit", {
+ axios.get(this.$baseUrl + "/Kf_OtherOutBill/Kf_OtherOutBillEdit", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -779,7 +779,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -808,7 +808,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1012,7 +1012,7 @@
//#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -1026,7 +1026,7 @@
//#region 婧愬崟绫诲瀷涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData_SourceBillTypeList() {
var HName = '鍏朵粬鍑哄簱鍗�';
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: {
HName: HName,
Num: 2
@@ -1043,7 +1043,7 @@
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1206'
}
@@ -1061,7 +1061,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1206','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1077,7 +1077,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -1095,7 +1095,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1112,7 +1112,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue b/src/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue
index 3934724..540611c 100644
--- a/src/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue
+++ b/src/views/KCGL/OtherOutBill/Kf_OtherOutBillList.vue
@@ -366,7 +366,7 @@
//#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -493,7 +493,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Kf_OtherOutBill/GetOtherOutBillList', {
+ axios.get(this.$baseUrl + '/Kf_OtherOutBill/GetOtherOutBillList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"]
@@ -595,7 +595,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "Kf_OtherOutBill/DelteteGetOtherOutBill", {
+ axios.get(this.$baseUrl + "Kf_OtherOutBill/DelteteGetOtherOutBill", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -618,7 +618,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_OtherOutBill/CheckKf_OtherOutBill", {
+ axios.get(this.$baseUrl + "/Kf_OtherOutBill/CheckKf_OtherOutBill", {
params: { "HInterID": InterID, "Type": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -648,7 +648,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -800,7 +800,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -847,7 +847,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/ProductInBill/Kf_ProductInBillEdit.vue b/src/views/ProductInBill/Kf_ProductInBillEdit.vue
index d5dd6e9..647f06e 100644
--- a/src/views/ProductInBill/Kf_ProductInBillEdit.vue
+++ b/src/views/ProductInBill/Kf_ProductInBillEdit.vue
@@ -450,7 +450,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_ProductInBillEdit/cx", {
+ axios.get(this.$baseUrl + "/Kf_ProductInBillEdit/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -672,7 +672,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -701,7 +701,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -896,7 +896,7 @@
//#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -910,7 +910,7 @@
//#region 婧愬崟绫诲瀷涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData_SourceBillTypeList() {
var HName = '浜у搧鍏ュ簱鍗�';
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: {
HName: HName,
Num: 2
@@ -927,7 +927,7 @@
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1202'
}
@@ -946,7 +946,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1202','${dayjs(this.form.HDate).format("YYYY-MM-DD")}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -962,7 +962,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -980,7 +980,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -995,7 +995,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1012,7 +1012,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1029,7 +1029,7 @@
//#region 鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
diff --git a/src/views/ProductInBill/Kf_ProductInBillList.vue b/src/views/ProductInBill/Kf_ProductInBillList.vue
index 66eb35d..c20bc12 100644
--- a/src/views/ProductInBill/Kf_ProductInBillList.vue
+++ b/src/views/ProductInBill/Kf_ProductInBillList.vue
@@ -374,7 +374,7 @@
//#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -502,7 +502,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Kf_ProductInBillController/GetKf_ProductInBillList_Json', {
+ axios.get(this.$baseUrl + '/Kf_ProductInBillController/GetKf_ProductInBillList_Json', {
params: {
"sWhere": this.sWhere,
"HMaker": sessionStorage["HUserName"],
@@ -606,7 +606,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "Kf_ProductInBillController/GetKf_ProductInBill_Delete_Json", {
+ axios.get(this.$baseUrl + "Kf_ProductInBillController/GetKf_ProductInBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -629,7 +629,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_ProductInBillController/GetKf_ProductInBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Kf_ProductInBillController/GetKf_ProductInBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -659,7 +659,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -811,7 +811,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -871,7 +871,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/basic/gy/gyDepartment.vue b/src/views/basic/gy/gyDepartment.vue
index 9280690..68e8c85 100644
--- a/src/views/basic/gy/gyDepartment.vue
+++ b/src/views/basic/gy/gyDepartment.vue
@@ -374,7 +374,7 @@
}
this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Department/list', {
+ axios.get(this.$baseUrl + '/Gy_Department/list', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -446,7 +446,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -723,7 +723,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -804,7 +804,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Department", {
+ axios.get(this.$baseUrl + "DeltetGy_Department", {
params: { 'HItemID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -825,7 +825,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/AuditGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/AuditGy_Department", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -845,7 +845,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID.toString() || form.HInterID.toString()
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/StopGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/StopGy_Department", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -910,7 +910,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/basic/gy/gyDepartmentEdit.vue b/src/views/basic/gy/gyDepartmentEdit.vue
index 46783f7..62ec808 100644
--- a/src/views/basic/gy/gyDepartmentEdit.vue
+++ b/src/views/basic/gy/gyDepartmentEdit.vue
@@ -235,7 +235,7 @@
console.log(this.OperationType,this.copyType);
if (this.OperationType != 1) {
this.zzSelDis = true;
- axios.get(this.baseURL + "/Gy_Department/cx", {
+ axios.get(this.$baseUrl + "/Gy_Department/cx", {
params: {
HInterID: this.linterid,
},
@@ -379,7 +379,7 @@
var sMainStr = JSON.stringify(this.form);
axios({
method: "post",
- url: this.baseURL + "/Gy_Department/AddBill1",
+ url: this.$baseUrl + "/Gy_Department/AddBill1",
data: {
oMain: sMainStr + ';' + sessionStorage["HUserName"] + ';' + sessionStorage["OrganizationID"],
},
@@ -412,7 +412,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -436,7 +436,7 @@
var InterID = this.form.HItemID.toString();
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Department/AuditGy_Department", {
+ .get(this.$baseUrl + "/Gy_Department/AuditGy_Department", {
params: { HInterID: InterID, IsAudit: num, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
diff --git a/src/views/basic/gy/gySupplier.vue b/src/views/basic/gy/gySupplier.vue
index afbad6e..3fc2c10 100644
--- a/src/views/basic/gy/gySupplier.vue
+++ b/src/views/basic/gy/gySupplier.vue
@@ -405,7 +405,7 @@
this.getList()
},
getTreeselect() {
- axios.get(this.baseURL + '/Gy_BadReason/Gy_SupTypeTreeListByLevel',).then(response => {
+ axios.get(this.$baseUrl + '/Gy_BadReason/Gy_SupTypeTreeListByLevel',).then(response => {
let data1 = response.data
if (data1.count == 1) {
this.treeOptions = JSON.parse(data1.data);
@@ -444,7 +444,7 @@
}
// this.sWhere += " and HUSEORGID = '" + this.queryParams.HUSEORGID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Supplier/page', {
+ axios.get(this.$baseUrl + '/Gy_Supplier/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -494,7 +494,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -789,7 +789,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -870,7 +870,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Source", {
+ axios.get(this.$baseUrl + "DeltetGy_Source", {
params: { 'HItemID': this.rowForm.HItemID.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -891,7 +891,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Supplier/AuditGy_Supplier", {
+ axios.get(this.$baseUrl + "/Gy_Supplier/AuditGy_Supplier", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -911,7 +911,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Supplier/StopGy_Supplier", {
+ axios.get(this.$baseUrl + "/Gy_Supplier/StopGy_Supplier", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -976,7 +976,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/basic/gy/gySupplierEdit.vue b/src/views/basic/gy/gySupplierEdit.vue
index fc43a34..110af54 100644
--- a/src/views/basic/gy/gySupplierEdit.vue
+++ b/src/views/basic/gy/gySupplierEdit.vue
@@ -435,7 +435,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -456,7 +456,7 @@
var dataArray = [];
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": data[i].hmainid
, "HSubID": data[i].hsubid
@@ -575,7 +575,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -646,7 +646,7 @@
},
//鏂板璁剧疆榛樿绋庣巼鍜岃揣甯�
setInitHCurName() {
- axios.get(this.baseURL + '/Gy_Currency/list1', {
+ axios.get(this.$baseUrl + '/Gy_Currency/list1', {
params: { "sWhere": " and 璐у竵鍚嶇О = '浜烘皯甯�'", "user": sessionStorage["HUserName"] },
}).then(response => {
let data1 = response.data
@@ -724,7 +724,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -755,7 +755,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1205'
}
@@ -771,7 +771,7 @@
},
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -786,7 +786,7 @@
},
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -802,7 +802,7 @@
this.reset()
let rowHmainid = this.linterid
console.log(this.linterid)
- axios.get(this.baseURL + "/Gy_Supplier/xg_ExpendBillMake", {
+ axios.get(this.$baseUrl + "/Gy_Supplier/xg_ExpendBillMake", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -869,7 +869,7 @@
},
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1005,7 +1005,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1035,7 +1035,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -1062,7 +1062,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/basic/gyCar/gyCarEdit.vue b/src/views/basic/gyCar/gyCarEdit.vue
index 813dc8b..8d598f0 100644
--- a/src/views/basic/gyCar/gyCarEdit.vue
+++ b/src/views/basic/gyCar/gyCarEdit.vue
@@ -497,7 +497,7 @@
formData.append("HUserName", sessionStorage["HUserName"]);
axios({
method: "post",
- url: this.baseURL + "/Gy_Car/Gy_Car_UploadFile",
+ url: this.$baseUrl + "/Gy_Car/Gy_Car_UploadFile",
data: formData,
headers: {
"Content-Type": "multipart/form-data",
@@ -582,7 +582,7 @@
},
getHSourceBillType() {
axios
- .get(this.baseURL + "/Web/GetHSourceBillType", {
+ .get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: { HName: "閫�璐ч�氱煡鍗�", Num: 2 },
})
.then((res) => {
@@ -599,7 +599,7 @@
},
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -646,7 +646,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -791,7 +791,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -827,7 +827,7 @@
this.reset();
let rowHmainid = this.HInterID;
axios
- .get(this.baseURL + "/Gy_Car/GetGy_CarDetail", {
+ .get(this.$baseUrl + "/Gy_Car/GetGy_CarDetail", {
params: { HID: rowHmainid },
})
.then((res) => {
@@ -893,8 +893,8 @@
});
} else {
// 缂栬緫妯″紡涓� 鐢熸垚鍥剧墖棰勮src 澶嶅埗妯″紡涓嬮渶閲嶆柊涓婁紶鍥剧墖
- let apiIndex = this.baseURL.indexOf("/API/");
- let filePath = this.baseURL.slice(0, apiIndex) + "/";
+ let apiIndex = this.$baseUrl.indexOf("/API/");
+ let filePath = this.$baseUrl.slice(0, apiIndex) + "/";
this.imagePreviewSrc.HCarPric = data.杞﹁締鐓х墖
? `${filePath}Files/Gy_Car/${data.杞︾墝鍙穧/HCarPric/${data.杞﹁締鐓х墖}`
@@ -921,7 +921,7 @@
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID,
},
@@ -1081,7 +1081,7 @@
axios({
method: "post",
- url: this.baseURL + "/Gy_Car/SaveGy_Car",
+ url: this.$baseUrl + "/Gy_Car/SaveGy_Car",
data: {
msg: sMainStr,
},
@@ -1106,7 +1106,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/basic/gyCar/gyCarList.vue b/src/views/basic/gyCar/gyCarList.vue
index aa1b132..a17b3ea 100644
--- a/src/views/basic/gyCar/gyCarList.vue
+++ b/src/views/basic/gyCar/gyCarList.vue
@@ -819,7 +819,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -920,7 +920,7 @@
this.sWhere += " and CONVERT(varchar(100),寤虹珛鏃堕棿, 23) <= '" + this.eTime + "'";
}
try {
- let res = await axios.get(this.baseURL + "/Gy_Car/list_byPage", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Car/list_byPage", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1025,7 +1025,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1321,7 +1321,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1406,7 +1406,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Xs_SeOrderBill/DropXs_SeOrderBill", {
+ .get(this.$baseUrl + "Xs_SeOrderBill/DropXs_SeOrderBill", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -1434,7 +1434,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Cg_POInStockBill/AuditCg_POInStockBill", {
+ .get(this.$baseUrl + "/Cg_POInStockBill/AuditCg_POInStockBill", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1459,7 +1459,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1486,7 +1486,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1513,7 +1513,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/DropCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/DropCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1539,7 +1539,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1613,7 +1613,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gyCartypelist/gyCartypelist.vue b/src/views/basic/gyCartypelist/gyCartypelist.vue
index 1e344bf..e05f100 100644
--- a/src/views/basic/gyCartypelist/gyCartypelist.vue
+++ b/src/views/basic/gyCartypelist/gyCartypelist.vue
@@ -259,7 +259,7 @@
}
this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
- axios.get(this.baseURL + '/Gy_CarType/list', {
+ axios.get(this.$baseUrl + '/Gy_CarType/list', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -321,7 +321,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -656,7 +656,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "Gy_CarType/delete", {
+ axios.get(this.$baseUrl + "Gy_CarType/delete", {
params: { 'HInterID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -676,7 +676,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
- axios.get(this.baseURL + "/Gy_CarType/AuditGy_CarType", {
+ axios.get(this.$baseUrl + "/Gy_CarType/AuditGy_CarType", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -693,7 +693,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID || form.HInterID
- axios.get(this.baseURL + "/Gy_CarType/StopGy_CarType", {
+ axios.get(this.$baseUrl + "/Gy_CarType/StopGy_CarType", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/basic/gyCartypelist/gyCartypelistEdit.vue b/src/views/basic/gyCartypelist/gyCartypelistEdit.vue
index f60956a..cd8de39 100644
--- a/src/views/basic/gyCartypelist/gyCartypelistEdit.vue
+++ b/src/views/basic/gyCartypelist/gyCartypelistEdit.vue
@@ -367,7 +367,7 @@
// 濡傛灉缁勭粐鍒楄〃涓虹┖锛屽垯浠庢帴鍙h幏鍙栵紙澶囩敤鏂规锛�
if (!this.organizationList || this.organizationList.length === 0) {
- const response = await axios.get(this.baseURL + "/Web/GetOrganizations", {});
+ const response = await axios.get(this.$baseUrl + "/Web/GetOrganizations", {});
if (response.data.count == 1) {
this.organizationList = response.data.data;
}
@@ -419,7 +419,7 @@
}
axios
- .get(this.baseURL + "/Gy_CarType/editInit", {
+ .get(this.$baseUrl + "/Gy_CarType/editInit", {
params: {
HInterID: this.linterid,
user: sessionStorage["HUserName"],
@@ -595,7 +595,7 @@
axios({
method: "post",
- url: this.baseURL + "/Gy_CarTypeBill/ModifyByID",
+ url: this.$baseUrl + "/Gy_CarTypeBill/ModifyByID",
data: { oMain: oMain },
})
.then((response) => {
@@ -623,7 +623,7 @@
}
axios
- .get(this.baseURL + "/Gy_CarType/AuditGy_CarType", {
+ .get(this.$baseUrl + "/Gy_CarType/AuditGy_CarType", {
params: {
HInterID: HItemID,
IsAudit: num,
diff --git a/src/views/basic/gyCurrency/gyCurrency.vue b/src/views/basic/gyCurrency/gyCurrency.vue
index d386a36..69f30aa 100644
--- a/src/views/basic/gyCurrency/gyCurrency.vue
+++ b/src/views/basic/gyCurrency/gyCurrency.vue
@@ -808,7 +808,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -905,7 +905,7 @@
}
try {
- let res = await axios.get(this.baseURL + "/Gy_Currency/list1", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Currency/list1", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1009,7 +1009,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1314,7 +1314,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1399,7 +1399,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "DeltetGy_Currency", {
+ .get(this.$baseUrl + "DeltetGy_Currency", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -1427,7 +1427,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "Gy_Currency/AuditGy_Currency", {
+ .get(this.$baseUrl + "Gy_Currency/AuditGy_Currency", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1453,7 +1453,7 @@
try {
let res = await axios
.get(
- this.baseURL + "/Gy_Currency/StopGy_Currency",
+ this.$baseUrl + "/Gy_Currency/StopGy_Currency",
{
params: {
HInterID: HInterID,
@@ -1479,7 +1479,7 @@
// let HInterID = form.HItemID || form.HInterID || form.hmainid;
// try {
// let res = await axios.get(
- // `${this.baseURL}/Cg_POInStockBill/CloseCg_POInStockBill`,
+ // `${this.$baseUrl}/Cg_POInStockBill/CloseCg_POInStockBill`,
// {
// params: {
// HInterID: HInterID,
@@ -1506,7 +1506,7 @@
// let HEntryID = form.HEntryID || form.hsubid;
// try {
// let res = await axios.get(
- // `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
+ // `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
// {
// params: {
// HInterID: HInterID,
@@ -1533,7 +1533,7 @@
// let HInterID = form.HItemID || form.HInterID || form.hmainid;
// try {
// let res = await axios.get(
- // `${this.baseURL}/Cg_POInStockBill/DropCg_POInStockBill`,
+ // `${this.$baseUrl}/Cg_POInStockBill/DropCg_POInStockBill`,
// {
// params: {
// HInterID: HInterID,
@@ -1559,7 +1559,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1633,7 +1633,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gyCurrency/gyCurrencyEdit.vue b/src/views/basic/gyCurrency/gyCurrencyEdit.vue
index 5dce9fd..41c01b1 100644
--- a/src/views/basic/gyCurrency/gyCurrencyEdit.vue
+++ b/src/views/basic/gyCurrency/gyCurrencyEdit.vue
@@ -182,7 +182,7 @@
getDetailData(hID, operationType) {
this.formLoading = true;
axios
- .get(this.baseURL + "/GetGy_CurrencyDetail", {
+ .get(this.$baseUrl + "/GetGy_CurrencyDetail", {
params: {
HID: hID,
},
@@ -292,7 +292,7 @@
axios({
method: "POST",
- url: this.baseURL + "/SaveGy_CurrencyList",
+ url: this.$baseUrl + "/SaveGy_CurrencyList",
data: requestData, // 鐩存帴鍙戦�丣SON瀵硅薄
headers: {
'Content-Type': 'application/json', // 浣跨敤JSON鏍煎紡
diff --git a/src/views/basic/gyEmployee/gyEmployee.vue b/src/views/basic/gyEmployee/gyEmployee.vue
index 5d2f7bb..5329a60 100644
--- a/src/views/basic/gyEmployee/gyEmployee.vue
+++ b/src/views/basic/gyEmployee/gyEmployee.vue
@@ -685,7 +685,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -782,7 +782,7 @@
this.organizationList.find((e) => e.ID == this.queryParams.HOrgID)?.Name || "";
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Gy_Employee/listPage", {
+ .get(this.$baseUrl + "/Gy_Employee/listPage", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -891,7 +891,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1186,7 +1186,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1270,7 +1270,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "DeltetGy_Employee", {
+ .get(this.$baseUrl + "DeltetGy_Employee", {
params: {
HItemID: this.rowForm.HItemID.toString(),
user: sessionStorage["HUserName"],
@@ -1298,7 +1298,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/AuditGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/AuditGy_Employee", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1323,7 +1323,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1397,7 +1397,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gyEmployee/gyEmployeeEdit.vue b/src/views/basic/gyEmployee/gyEmployeeEdit.vue
index 9af35c7..3eaf595 100644
--- a/src/views/basic/gyEmployee/gyEmployeeEdit.vue
+++ b/src/views/basic/gyEmployee/gyEmployeeEdit.vue
@@ -1015,7 +1015,7 @@
methods: {
getFile() {
axios
- .get(`${this.baseURL}/Gy_Employee_Filelist?HBillNO=${this.form.HNumber}`)
+ .get(`${this.$baseUrl}/Gy_Employee_Filelist?HBillNO=${this.form.HNumber}`)
.then((res) => {
let { Message, data, count } = res.data;
if (count == 1) {
@@ -1024,7 +1024,7 @@
this.fileListPreUpload.push({
fileName: data[i].HFileName,
size: `${(data[i].HFileSize / 1024).toFixed(2)}KB`,
- url: `${this.baseURL}${data[i].url}`,
+ url: `${this.$baseUrl}${data[i].url}`,
fileStatus: "宸蹭笂浼�",
raw: {},
});
@@ -1106,7 +1106,7 @@
this.zuzhiId = sessionStorage["OrganizationID"]; //鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇榛樿鐨勭粍缁嘔D
this.user = sessionStorage["HUserName"];
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -1145,7 +1145,7 @@
},
getSubData() {
axios
- .get(this.baseURL + "/Gy_Employee/listSub", {
+ .get(this.$baseUrl + "/Gy_Employee/listSub", {
params: {
sWhere: ` and HEmpID = ${this.form.HItemID}`,
user: this.user,
@@ -1173,7 +1173,7 @@
if (this.OperationType != 1) {
this.zzSelDis = true;
axios
- .get(this.baseURL + "/GetGy_EmployeeDetail", {
+ .get(this.$baseUrl + "/GetGy_EmployeeDetail", {
params: {
HID: this.linterid,
},
@@ -1538,7 +1538,7 @@
var sMainSub = sMainStr + ";" + this.user + ";" + sSubStr;
axios({
method: "post",
- url: this.baseURL + "/Gy_Employee/ModifyByID",
+ url: this.$baseUrl + "/Gy_Employee/ModifyByID",
data: {
oMain: sMainSub,
},
@@ -1571,7 +1571,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
})
.then((response) => {
@@ -1595,7 +1595,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Source/AuditGy_Source", {
+ .get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
@@ -1704,7 +1704,7 @@
axios({
method: "post",
- url: this.baseURL + "/Gy_Employee_UploadFile", // 娉ㄦ剰淇浜哢RL涓殑鍙屾枩鏉�
+ url: this.$baseUrl + "/Gy_Employee_UploadFile", // 娉ㄦ剰淇浜哢RL涓殑鍙屾枩鏉�
data: formData,
headers: {
"Content-Type": "multipart/form-data", // 涓嶉渶瑕佹墜鍔ㄨ缃�
diff --git a/src/views/basic/gyItemMoney/gyItemMoney.vue b/src/views/basic/gyItemMoney/gyItemMoney.vue
index 76248a3..269fed1 100644
--- a/src/views/basic/gyItemMoney/gyItemMoney.vue
+++ b/src/views/basic/gyItemMoney/gyItemMoney.vue
@@ -259,7 +259,7 @@
}
this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
- axios.get(this.baseURL + '/Gy_BadReason/Gy_ItemMoneyList', {
+ axios.get(this.$baseUrl + '/Gy_BadReason/Gy_ItemMoneyList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -318,7 +318,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -638,7 +638,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_ItemMoney", {
+ axios.get(this.$baseUrl + "DeltetGy_ItemMoney", {
params: { 'HItemID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -658,7 +658,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
- axios.get(this.baseURL + "/Gy_BadReason/AuditGy_ProjectMoney", {
+ axios.get(this.$baseUrl + "/Gy_BadReason/AuditGy_ProjectMoney", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -675,7 +675,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID || form.HInterID
- axios.get(this.baseURL + "/Gy_BadReason/StopGy_ItemMoney", {
+ axios.get(this.$baseUrl + "/Gy_BadReason/StopGy_ItemMoney", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/basic/gyItemMoney/gyItemMoneyEdit.vue b/src/views/basic/gyItemMoney/gyItemMoneyEdit.vue
index 01187c2..37d4baa 100644
--- a/src/views/basic/gyItemMoney/gyItemMoneyEdit.vue
+++ b/src/views/basic/gyItemMoney/gyItemMoneyEdit.vue
@@ -330,7 +330,7 @@
// 濡傛灉缁勭粐鍒楄〃涓虹┖锛屽垯浠庢帴鍙h幏鍙栵紙澶囩敤鏂规锛�
if (!this.organizationList || this.organizationList.length === 0) {
- const response = await axios.get(this.baseURL + "/Web/GetOrganizations", {});
+ const response = await axios.get(this.$baseUrl + "/Web/GetOrganizations", {});
if (response.data.count == 1) {
this.organizationList = response.data.data;
}
@@ -382,7 +382,7 @@
}
axios
- .get(this.baseURL + "Web/GetGy_ItemMoneyDetail", {
+ .get(this.$baseUrl + "Web/GetGy_ItemMoneyDetail", {
params: {
HID: this.linterid,
@@ -542,7 +542,7 @@
axios({
method: "post",
- url: this.baseURL + "/SaveGy_ItemMoney",
+ url: this.$baseUrl + "/SaveGy_ItemMoney",
data: { msg: oMain },
})
.then((response) => {
@@ -571,7 +571,7 @@
}
axios
- .get(this.baseURL + "/Gy_BadReason/AuditGy_ItemMoney", {
+ .get(this.$baseUrl + "/Gy_BadReason/AuditGy_ItemMoney", {
params: {
HInterID: HItemID,
IsAudit: num,
diff --git a/src/views/basic/gyProperty/gyPropertyList.vue b/src/views/basic/gyProperty/gyPropertyList.vue
index 0a01a5e..4537454 100644
--- a/src/views/basic/gyProperty/gyPropertyList.vue
+++ b/src/views/basic/gyProperty/gyPropertyList.vue
@@ -632,7 +632,7 @@
// 浠撳簱鍚屾
async handleSync() {
try {
- let res = await axios.get(this.baseURL + "/Gy_Warehouse/Gy_WarehouseViewApi", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Warehouse/Gy_WarehouseViewApi", {
params: {
Number: this.queryParams.HSyncNumber,
Type: "CK",
@@ -682,7 +682,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -771,7 +771,7 @@
this.sWhere += "";
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Gy_Property/listPage", {
+ .get(this.$baseUrl + "/Gy_Property/listPage", {
params: {
sWhere: `${this.sWhere}`,
user: sessionStorage["HUserName"],
@@ -878,7 +878,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1187,7 +1187,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1273,7 +1273,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/DeltetGy_Warehouse", {
+ .get(this.$baseUrl + "/DeltetGy_Warehouse", {
params: {
HItemID: this.rowForm.HItemID.toString(),
user: sessionStorage["HUserName"],
@@ -1301,7 +1301,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1326,7 +1326,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/StopGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/StopGy_Warehouse", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1400,7 +1400,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+ url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gySource/edit/index.vue b/src/views/basic/gySource/edit/index.vue
index 7ccf364..a33ce65 100644
--- a/src/views/basic/gySource/edit/index.vue
+++ b/src/views/basic/gySource/edit/index.vue
@@ -324,7 +324,7 @@
this.reset()
if (this.OperationType != 1) {
this.zzSelDis = true
- axios.get(this.baseURL + 'GetGy_SourceDetail', {
+ axios.get(this.$baseUrl + 'GetGy_SourceDetail', {
params: {
"HID": this.linterid
},
@@ -507,7 +507,7 @@
var sMainSub = sMainStr + ';' + sessionStorage["HUserName"]
axios({
method: 'post',
- url: this.baseURL + "SaveGy_SourceList",
+ url: this.$baseUrl + "SaveGy_SourceList",
data: {
'msg': sMainSub
},
@@ -535,7 +535,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -555,7 +555,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/AuditGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/basic/gySource/index.vue b/src/views/basic/gySource/index.vue
index e09ac1b..ec1d67f 100644
--- a/src/views/basic/gySource/index.vue
+++ b/src/views/basic/gySource/index.vue
@@ -389,7 +389,7 @@
this.queryParams.HOrgID = sessionStorage["OrganizationID"]
this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Source/list_byPage', {
+ axios.get(this.$baseUrl + '/Gy_Source/list_byPage', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -461,7 +461,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -718,7 +718,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -791,7 +791,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Source", {
+ axios.get(this.$baseUrl + "DeltetGy_Source", {
params: { 'HItemID': this.rowForm.HItemID.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -812,7 +812,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/AuditGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -831,7 +831,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/StopGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/StopGy_Source", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -895,7 +895,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/basic/gyStockPlace/gyStockPlace.vue b/src/views/basic/gyStockPlace/gyStockPlace.vue
index 50972e5..32f4bc2 100644
--- a/src/views/basic/gyStockPlace/gyStockPlace.vue
+++ b/src/views/basic/gyStockPlace/gyStockPlace.vue
@@ -615,7 +615,7 @@
// 浠撲綅鍚屾(API涓殏鏃舵病鏈夊搴旂殑API)
async handleSync() {
try {
- let res = await axios.get(this.baseURL + "/Gy_StockPlace/Gy_StockPlaceViewApi", {
+ let res = await axios.get(this.$baseUrl + "/Gy_StockPlace/Gy_StockPlaceViewApi", {
params: {
Number: this.queryParams.HSyncNumber,
Type: "CW",
@@ -644,7 +644,7 @@
}
this.printListShow = true;
this.openPrintList = true;
- // axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ // axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
// params: { HInterID: this.rowForm.hmainid },
// })
// .then((response) => {
@@ -692,7 +692,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -781,7 +781,7 @@
this.sWhere += "";
//浠撲綅鍒楄〃
axios
- .get(this.baseURL + "/Gy_StockPlace/list2Page", {
+ .get(this.$baseUrl + "/Gy_StockPlace/list2Page", {
params: {
sWhere: `${this.sWhere}`,
user: sessionStorage["HUserName"],
@@ -888,7 +888,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1191,7 +1191,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1278,7 +1278,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Deltet_Gy_StockPlace", {
+ .get(this.$baseUrl + "Deltet_Gy_StockPlace", {
params: {
HItemID: this.rowForm.HItemID.toString(),
user: sessionStorage["HUserName"],
@@ -1355,7 +1355,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+ url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gyStockPlace/gyStockPlaceEdit.vue b/src/views/basic/gyStockPlace/gyStockPlaceEdit.vue
index 5046a09..0ad0b52 100644
--- a/src/views/basic/gyStockPlace/gyStockPlaceEdit.vue
+++ b/src/views/basic/gyStockPlace/gyStockPlaceEdit.vue
@@ -222,7 +222,7 @@
this.zuzhiId = sessionStorage["OrganizationID"]; //鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇榛樿鐨勭粍缁嘔D
this.user = sessionStorage["HUserName"];
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -240,7 +240,7 @@
if (this.OperationType != 1) {
this.zzSelDis = true;
axios
- .get(this.baseURL + "/Gy_StockPlace/cx", {
+ .get(this.$baseUrl + "/Gy_StockPlace/cx", {
params: {
HInterID: this.linterid,
},
@@ -410,7 +410,7 @@
var sMainSub = sMainStr + ";" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_StockPlace/AddBill1",
+ url: this.$baseUrl + "/Gy_StockPlace/AddBill1",
data: {
oMain: sMainSub,
},
@@ -443,7 +443,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
})
.then((response) => {
@@ -467,7 +467,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
diff --git a/src/views/basic/gyUnit/gyUnit.vue b/src/views/basic/gyUnit/gyUnit.vue
index 8bb80a0..b563227 100644
--- a/src/views/basic/gyUnit/gyUnit.vue
+++ b/src/views/basic/gyUnit/gyUnit.vue
@@ -498,7 +498,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -596,7 +596,7 @@
// 璁¢噺鍗曚綅鍒楄〃
try {
- let res = await axios.get(this.baseURL + "/Gy_Unit/list1", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Unit/list1", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -700,7 +700,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1012,7 +1012,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1099,7 +1099,7 @@
const InterID =
this.rowForm.hmainid || this.rowForm.HItemID || this.rowForm.HInterID;
axios
- .get(this.baseURL + "DeltetGy_Unit", {
+ .get(this.$baseUrl + "DeltetGy_Unit", {
params: {
HItemID: InterID,
user: sessionStorage["HUserName"],
@@ -1127,7 +1127,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Unit/AuditGy_Unit", {
+ .get(this.$baseUrl + "/Gy_Unit/AuditGy_Unit", {
params: {
HInterID: InterID,
Type: num,
@@ -1157,7 +1157,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Unit/StopGy_Unit", {
+ .get(this.$baseUrl + "/Gy_Unit/StopGy_Unit", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1242,7 +1242,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gyUnit/gyUnitEdit.vue b/src/views/basic/gyUnit/gyUnitEdit.vue
index 3f3166d..c47b99d 100644
--- a/src/views/basic/gyUnit/gyUnitEdit.vue
+++ b/src/views/basic/gyUnit/gyUnitEdit.vue
@@ -333,7 +333,7 @@
getDetailData(hID, operationType) {
this.formLoading = true;
axios
- .get(this.baseURL + "GetGy_UnitDetail", {
+ .get(this.$baseUrl + "GetGy_UnitDetail", {
params: {
HID: hID,
},
@@ -508,7 +508,7 @@
axios({
method: "POST",
- url: this.baseURL + "SaveGy_UnitList",
+ url: this.$baseUrl + "SaveGy_UnitList",
data: requestData,
headers: {
'Content-Type': 'application/json',
@@ -567,7 +567,7 @@
axios({
method: "GET",
- url: this.baseURL + "Gy_Unit/AuditGy_Unit",
+ url: this.$baseUrl + "Gy_Unit/AuditGy_Unit",
params: {
HInterID: this.form.HItemID,
Type: 1,
diff --git a/src/views/basic/gyUnit/gyUnitGroup.vue b/src/views/basic/gyUnit/gyUnitGroup.vue
index 4490d0b..bbb4701 100644
--- a/src/views/basic/gyUnit/gyUnitGroup.vue
+++ b/src/views/basic/gyUnit/gyUnitGroup.vue
@@ -108,7 +108,7 @@
// 鑾峰彇璁¢噺鍗曚綅缁勫垪琛�
getUnitGroupList() {
axios
- .get(this.baseURL + "Web/GetUnitGroupList_Json", {
+ .get(this.$baseUrl + "Web/GetUnitGroupList_Json", {
params: {
Unit: this.queryForm.Value || "",
},
diff --git a/src/views/basic/gyWarehouse/gyWarehouse.vue b/src/views/basic/gyWarehouse/gyWarehouse.vue
index 14449b0..05403a7 100644
--- a/src/views/basic/gyWarehouse/gyWarehouse.vue
+++ b/src/views/basic/gyWarehouse/gyWarehouse.vue
@@ -641,7 +641,7 @@
// 浠撳簱鍚屾
async handleSync() {
try {
- let res = await axios.get(this.baseURL + "/Gy_Warehouse/Gy_WarehouseViewApi", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Warehouse/Gy_WarehouseViewApi", {
params: {
Number: this.queryParams.HSyncNumber,
Type: "CK",
@@ -691,7 +691,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -780,7 +780,7 @@
this.sWhere += "";
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Gy_WareHouse/listpage", {
+ .get(this.$baseUrl + "/Gy_WareHouse/listpage", {
params: {
sWhere: `${this.sWhere}`,
user: sessionStorage["HUserName"],
@@ -888,7 +888,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1199,7 +1199,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1285,7 +1285,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/DeltetGy_Warehouse", {
+ .get(this.$baseUrl + "/DeltetGy_Warehouse", {
params: {
HItemID: this.rowForm.HItemID.toString(),
user: sessionStorage["HUserName"],
@@ -1313,7 +1313,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1338,7 +1338,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/StopGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/StopGy_Warehouse", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1412,7 +1412,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+ url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gyWarehouse/gyWarehouseEdit.vue b/src/views/basic/gyWarehouse/gyWarehouseEdit.vue
index e452864..035784b 100644
--- a/src/views/basic/gyWarehouse/gyWarehouseEdit.vue
+++ b/src/views/basic/gyWarehouse/gyWarehouseEdit.vue
@@ -296,7 +296,7 @@
this.zuzhiId = sessionStorage["OrganizationID"]; //鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇榛樿鐨勭粍缁嘔D
this.user = sessionStorage["HUserName"];
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -312,7 +312,7 @@
if (this.OperationType != 1) {
this.zzSelDis = true;
axios
- .get(this.baseURL + "/Gy_Warehouse/cx", {
+ .get(this.$baseUrl + "/Gy_Warehouse/cx", {
params: {
HInterID: this.linterid,
},
@@ -510,7 +510,7 @@
var sMainSub = sMainStr + ";" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/ModifyByID",
+ url: this.$baseUrl + "/Gy_Warehouse/ModifyByID",
data: {
oMain: sMainSub,
},
@@ -543,7 +543,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
})
.then((response) => {
@@ -567,7 +567,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
diff --git a/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillEdit.vue b/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillEdit.vue
index 1bda9e7..5aaad5d 100644
--- a/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillEdit.vue
+++ b/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillEdit.vue
@@ -607,7 +607,7 @@
},
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -816,7 +816,7 @@
console.log(this.form.HDeptID && this.form.HDeptID != 0);
if (this.form.HDeptID && this.form.HDeptID != 0) {
axios
- .get(this.baseURL + "/Gy_Department/list", {
+ .get(this.$baseUrl + "/Gy_Department/list", {
params: {
sWhere: "and HItemID = '" + this.form.HDeptID + "'",
user: sessionStorage["HUserName"],
@@ -854,7 +854,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/Web/GetMAXNum", {
+ .get(this.$baseUrl + "/Web/GetMAXNum", {
params: {
HBillType: "1117",
},
@@ -876,7 +876,7 @@
console.log(this.linterid);
//涓昏〃
axios
- .get(this.baseURL + "/Cg_ContractTransportBillListController/%EF%BB%BFEditList", {
+ .get(this.$baseUrl + "/Cg_ContractTransportBillListController/%EF%BB%BFEditList", {
params: { HInterID: rowHmainid,user: sessionStorage["HUserName"]},
})
.then((response) => {
@@ -1110,7 +1110,7 @@
axios({
method: "post",
url:
- this.baseURL + "/Kf_MoveStockRequestBill/Kf_MoveStockRequestBillEdit",
+ this.$baseUrl + "/Kf_MoveStockRequestBill/Kf_MoveStockRequestBillEdit",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue b/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue
index ab396ab..ff29d0b 100644
--- a/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue
+++ b/src/views/basic/gytransport/cgContractTransportBillList/Cg_ContractTransportBillList.vue
@@ -298,8 +298,8 @@
methods: {
//閲嶆柊鍚屾
- set_ResCnz() {
- axios.get(this.baseURL + "/Cg_POOrderBill/Resynchronize", {
+ set_ResCnz(){
+ axios.get(this.$baseUrl + "/Cg_POOrderBill/Resynchronize", {
params: { "HBillNo": '', "HBillType": 1117 }
}).then(response => {
let result = response.data
@@ -380,7 +380,7 @@
if (this.pageSize == 0) {
this.pageSize = 50
}
- axios.get(this.baseURL + '/Cg_ContractTransportBillListController/get%EF%BB%BFList', {
+ axios.get(this.$baseUrl + '/Cg_ContractTransportBillListController/get%EF%BB%BFList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -428,7 +428,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -734,25 +734,25 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Cg_ContractTransportBillListController/Delete%EF%BB%BFBill", {
- params: { 'HInterID': this.rowForm.hmainid.toString() }
- }).then(response => {
- if (response.data.count == 1) {
- this.getList()
- this.$modal.msgSuccess("鍒犻櫎鎴愬姛")
- } else {
- this.$modal.msgError("閿欒:" + result.code + result.Message);
- }
- }).catch(error => {
- this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
- });
+ axios.get(this.$baseUrl + "/Cg_ContractTransportBillListController/Delete%EF%BB%BFBill", {
+ params: { 'HInterID': this.rowForm.hmainid.toString() }
+ }).then(response => {
+ if (response.data.count == 1) {
+ this.getList()
+ this.$modal.msgSuccess("鍒犻櫎鎴愬姛")
+ } else {
+ this.$modal.msgError("閿欒:" + result.code + result.Message);
+ }
+ }).catch(error => {
+ this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
+ });
}).catch(() => { })
},
// 鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Cg_ContractTransportBillEdit/AuditCg_ContractTransportBillEdit", {
+ axios.get(this.$baseUrl + "/Cg_ContractTransportBillEdit/AuditCg_ContractTransportBillEdit", {
params: { "HInterID": InterID, "Type": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -781,7 +781,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -804,7 +804,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/basic/production/gySource.vue b/src/views/basic/production/gySource.vue
index 81f4bca..38f7b6b 100644
--- a/src/views/basic/production/gySource.vue
+++ b/src/views/basic/production/gySource.vue
@@ -388,7 +388,7 @@
}
this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Source/list_byPage', {
+ axios.get(this.$baseUrl + '/Gy_Source/list_byPage', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -460,7 +460,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -735,7 +735,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -808,7 +808,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Source", {
+ axios.get(this.$baseUrl + "DeltetGy_Source", {
params: { 'HItemID': this.rowForm.HItemID.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -829,7 +829,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/AuditGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -848,7 +848,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/StopGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/StopGy_Source", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -912,7 +912,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/basic/production/gySourceEdit.vue b/src/views/basic/production/gySourceEdit.vue
index 7ccf364..a33ce65 100644
--- a/src/views/basic/production/gySourceEdit.vue
+++ b/src/views/basic/production/gySourceEdit.vue
@@ -324,7 +324,7 @@
this.reset()
if (this.OperationType != 1) {
this.zzSelDis = true
- axios.get(this.baseURL + 'GetGy_SourceDetail', {
+ axios.get(this.$baseUrl + 'GetGy_SourceDetail', {
params: {
"HID": this.linterid
},
@@ -507,7 +507,7 @@
var sMainSub = sMainStr + ';' + sessionStorage["HUserName"]
axios({
method: 'post',
- url: this.baseURL + "SaveGy_SourceList",
+ url: this.$baseUrl + "SaveGy_SourceList",
data: {
'msg': sMainSub
},
@@ -535,7 +535,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -555,7 +555,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/AuditGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/component/AreaDialog/index.vue b/src/views/component/AreaDialog/index.vue
index c1b25b6..edeb50d 100644
--- a/src/views/component/AreaDialog/index.vue
+++ b/src/views/component/AreaDialog/index.vue
@@ -374,7 +374,7 @@
}
//this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_BadReason/Gy_AreaSetList', {
+ axios.get(this.$baseUrl + '/Gy_BadReason/Gy_AreaSetList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -443,7 +443,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -720,7 +720,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -801,7 +801,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Department", {
+ axios.get(this.$baseUrl + "DeltetGy_Department", {
params: { 'HItemID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -822,7 +822,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/AuditGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/AuditGy_Department", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -842,7 +842,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID.toString() || form.HInterID.toString()
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/StopGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/StopGy_Department", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -907,7 +907,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/component/BarCodeDetail/index.vue b/src/views/component/BarCodeDetail/index.vue
index 3de45f5..69bbf6b 100644
--- a/src/views/component/BarCodeDetail/index.vue
+++ b/src/views/component/BarCodeDetail/index.vue
@@ -171,7 +171,7 @@
try {
const sWhere = `${HInterID},'${HBillType}','${HBillNo}'`
- const url = `${this.baseURL}/Kf_ICStockInOutBill/Kf_BarCodeDetailQuery`
+ const url = `${this.$baseUrl}/Kf_ICStockInOutBill/Kf_BarCodeDetailQuery`
const params = { sWhere }
const response = await axios.get(url, { params })
@@ -311,7 +311,7 @@
const sSubStr = JSON.stringify(saveData)
const sMainSub = `${sSubStr};${sessionStorage['HUserName'] || 'admin'}`
- const url = `${this.baseURL}/Kf_ICStockInOutBill/Kf_BarCodeDetailQuery_saveData`
+ const url = `${this.$baseUrl}/Kf_ICStockInOutBill/Kf_BarCodeDetailQuery_saveData`
const response = await axios.post(url, { msg: sMainSub })
if (response.data.count === 1) {
diff --git a/src/views/component/CurrencyDialog/index.vue b/src/views/component/CurrencyDialog/index.vue
index a3fc120..68e2363 100644
--- a/src/views/component/CurrencyDialog/index.vue
+++ b/src/views/component/CurrencyDialog/index.vue
@@ -374,7 +374,7 @@
}
//this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Currency/list1', {
+ axios.get(this.$baseUrl + '/Gy_Currency/list1', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -443,7 +443,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -720,7 +720,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -801,7 +801,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Department", {
+ axios.get(this.$baseUrl + "DeltetGy_Department", {
params: { 'HItemID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -822,7 +822,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/AuditGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/AuditGy_Department", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -842,7 +842,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID.toString() || form.HInterID.toString()
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/StopGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/StopGy_Department", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -907,7 +907,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/component/CustomerTypeDialog/index.vue b/src/views/component/CustomerTypeDialog/index.vue
index 23bfe60..49344d6 100644
--- a/src/views/component/CustomerTypeDialog/index.vue
+++ b/src/views/component/CustomerTypeDialog/index.vue
@@ -377,7 +377,7 @@
async loadTreeData() {
this.treeLoading = true
try {
- const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_CusTypeTreeListByLevel`)
+ const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_CusTypeTreeListByLevel`)
if (response.data.count === 1) {
this.treeData = JSON.parse(response.data.data)
@@ -398,7 +398,7 @@
try {
const sWhere = this.buildQueryCondition()
- const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_CusTypeList`, {
+ const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_CusTypeList`, {
params: {
sWhere: sWhere,
user: this.user,
@@ -531,7 +531,7 @@
async loadTableDataWithCondition(sWhere) {
this.loading = true
try {
- const response = await axios.get(`${this.baseURL}/Gy_BadReason/Gy_CusTypeList`, {
+ const response = await axios.get(`${this.$baseUrl}/Gy_BadReason/Gy_CusTypeList`, {
params: {
sWhere: sWhere,
user: this.user
@@ -663,7 +663,7 @@
// 鑾峰彇榛樿杩囨护鏂规
async getDefaultFilterScheme() {
try {
- const response = await axios.get(`${this.baseURL}/Xt_FastICScheme/Chooselist`, {
+ const response = await axios.get(`${this.$baseUrl}/Xt_FastICScheme/Chooselist`, {
params: {
user: this.user,
HModuleName: this.HModuleName,
diff --git a/src/views/component/HSourceReportHtml/index.vue b/src/views/component/HSourceReportHtml/index.vue
index 2e02102..9471658 100644
--- a/src/views/component/HSourceReportHtml/index.vue
+++ b/src/views/component/HSourceReportHtml/index.vue
@@ -266,7 +266,7 @@
this.getList();
},
getDeptList() {
- axios.get(this.baseURL + "/Sc_ICMOBill/GetHDeptList", {
+ axios.get(this.$baseUrl + "/Sc_ICMOBill/GetHDeptList", {
params: {
HOrgID: this.HOrgID
},
@@ -297,7 +297,7 @@
}
}
// 鍒楄〃
- axios.get(this.baseURL + "/Sc_BarCode/ReportFromBillList_New", {
+ axios.get(this.$baseUrl + "/Sc_BarCode/ReportFromBillList_New", {
params: {
sWhere: this.sWhere,
HSouceBillType: this.HSouceBillType,
@@ -423,7 +423,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -759,7 +759,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠").then(() => {
- axios.get(this.baseURL + "/Kf_StockOutRequestBill/DeltetKf_StockOutRequestBill", {
+ axios.get(this.$baseUrl + "/Kf_StockOutRequestBill/DeltetKf_StockOutRequestBill", {
params: {
HInterID: this.rowForm.HSubID.toString(),
user: sessionStorage["HUserName"],
diff --git a/src/views/component/PackStockDetail/index.vue b/src/views/component/PackStockDetail/index.vue
index 9fa23cd..e6ca42a 100644
--- a/src/views/component/PackStockDetail/index.vue
+++ b/src/views/component/PackStockDetail/index.vue
@@ -164,7 +164,7 @@
try {
const sWhere = " and hmainid = " + `${HInterID}` ;
- const url = `${this.baseURL}/Kf_ICStockInOutBill/Kf_PackStockDetailQuery`
+ const url = `${this.$baseUrl}/Kf_ICStockInOutBill/Kf_PackStockDetailQuery`
const params = { sWhere }
const response = await axios.get(url, { params })
diff --git a/src/views/component/SettleStyleDialog/index.vue b/src/views/component/SettleStyleDialog/index.vue
index e5a7467..5eaaa8a 100644
--- a/src/views/component/SettleStyleDialog/index.vue
+++ b/src/views/component/SettleStyleDialog/index.vue
@@ -374,7 +374,7 @@
}
//this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_SettleStyle/SettleStyleList', {
+ axios.get(this.$baseUrl + '/Gy_SettleStyle/SettleStyleList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -444,7 +444,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -721,7 +721,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -802,7 +802,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "DeltetGy_Department", {
+ axios.get(this.$baseUrl + "DeltetGy_Department", {
params: { 'HItemID': this.rowForm.HItemID, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -823,7 +823,7 @@
set_CheckBill(num, form) {
var InterID = form.HItemID || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/AuditGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/AuditGy_Department", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -843,7 +843,7 @@
set_De_Stop(num, form) {
var InterID = form.HItemID.toString() || form.HInterID.toString()
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Department/StopGy_Department", {
+ axios.get(this.$baseUrl + "/Gy_Department/StopGy_Department", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -908,7 +908,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/component/btnSettings/index.vue b/src/views/component/btnSettings/index.vue
index 88f885a..893f221 100644
--- a/src/views/component/btnSettings/index.vue
+++ b/src/views/component/btnSettings/index.vue
@@ -102,7 +102,7 @@
getDisplay() {
this.loading = false
// this.HModName = "Kf_SellOutBillList"
- axios.get(this.baseURL + '/Xt_ModuleButtonSet_WMES/moduleButtonSetWMESList', {
+ axios.get(this.$baseUrl + '/Xt_ModuleButtonSet_WMES/moduleButtonSetWMESList', {
params: { "HModName": 'Gy_Source',"HBillType":'Gy_Source', "user": this.user },
}).then(response => {
console.log(response)
@@ -218,7 +218,7 @@
const sMainSub = `${sMainStr};${sSubStr};${this.HModName};${OperationType};${this.user}`
axios({
method: 'post',
- url: this.baseURL + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
+ url: this.$baseUrl + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
data: {
'sMainSub': sMainSub
},
@@ -243,7 +243,7 @@
handleDel() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
console.log(this.rowForm.hmainid.toString())
- axios.get(this.baseURL + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
+ axios.get(this.$baseUrl + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
params: { "HModName": this.HModName, "user": this.user }
}).then(response => {
let result=response.data
diff --git a/src/views/component/dept/index.vue b/src/views/component/dept/index.vue
index e411866..353f659 100644
--- a/src/views/component/dept/index.vue
+++ b/src/views/component/dept/index.vue
@@ -105,7 +105,7 @@
getList() {
let sWhere = ''
this.loading = true
- axios.get(this.baseURL + '/Gy_Department/list', {
+ axios.get(this.$baseUrl + '/Gy_Department/list', {
params: { "sWhere": sWhere, "user": this.user, "Organization": '娴欐睙鏅轰簯杩堟��' },
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/component/employee/index.vue b/src/views/component/employee/index.vue
index 09d20b7..7c25dcd 100644
--- a/src/views/component/employee/index.vue
+++ b/src/views/component/employee/index.vue
@@ -106,7 +106,7 @@
let sWhere = "";
this.loading = true;
axios
- .get(this.baseURL + "/Gy_Employee/list", {
+ .get(this.$baseUrl + "/Gy_Employee/list", {
params: { sWhere: sWhere, user: this.user, Organization: "娴欐睙鏅轰簯杩堟��" },
})
.then((response) => {
diff --git a/src/views/component/gyClassTimePrj/index.vue b/src/views/component/gyClassTimePrj/index.vue
index 65784a8..cbc90f2 100644
--- a/src/views/component/gyClassTimePrj/index.vue
+++ b/src/views/component/gyClassTimePrj/index.vue
@@ -114,7 +114,7 @@
}
this.loading = true;
axios
- .get(this.baseURL + "/Gy_ClassTimePrjController/GetGy_ClassTimePrjList_Json", {
+ .get(this.$baseUrl + "/Gy_ClassTimePrjController/GetGy_ClassTimePrjList_Json", {
params: { sWhere: sWhere, HMaker: this.user, OperationType: 1 },
})
.then((response) => {
diff --git a/src/views/component/gyDorm/index.vue b/src/views/component/gyDorm/index.vue
index d316c2c..bd3e4d9 100644
--- a/src/views/component/gyDorm/index.vue
+++ b/src/views/component/gyDorm/index.vue
@@ -116,7 +116,7 @@
this.loading = true;
let Value = "";
axios
- .get(this.baseURL + "/Web/GetDormList_Json", {
+ .get(this.$baseUrl + "/Web/GetDormList_Json", {
params: { Dorm: Value },
})
.then((response) => {
diff --git a/src/views/component/gyDuty/index.vue b/src/views/component/gyDuty/index.vue
index effbc39..4cd3c04 100644
--- a/src/views/component/gyDuty/index.vue
+++ b/src/views/component/gyDuty/index.vue
@@ -176,7 +176,7 @@
// 鑾峰彇鏍戠姸鍥剧粨鏋�
async getTreeList() {
this.treeData = []
- let res = await axios.get(this.baseURL + "/Gy_DutyBill/Gy_DutyBillTreeList");
+ let res = await axios.get(this.$baseUrl + "/Gy_DutyBill/Gy_DutyBillTreeList");
console.log(res.data.data);
this.treeData = [...JSON.parse(res.data.data)];
Object.assign(this.treeProps, {
@@ -193,7 +193,7 @@
sWhere += " and 缁勭粐鏋舵瀯浠g爜 like'" + this.form.userId + "%' ";
}
axios
- .get(this.baseURL + "/Gy_DutyBill/Gy_DutyBillList", {
+ .get(this.$baseUrl + "/Gy_DutyBill/Gy_DutyBillList", {
params: { sWhere: sWhere, user: this.user },
})
.then((response) => {
diff --git a/src/views/component/gyGroup/index.vue b/src/views/component/gyGroup/index.vue
index b17d906..72fa182 100644
--- a/src/views/component/gyGroup/index.vue
+++ b/src/views/component/gyGroup/index.vue
@@ -111,7 +111,7 @@
let sWhere = "";
this.loading = true;
axios
- .get(this.baseURL + "/Gy_Group/list", {
+ .get(this.$baseUrl + "/Gy_Group/list", {
params: { sWhere: sWhere, user: this.user },
})
.then((response) => {
diff --git a/src/views/component/gyPost/index.vue b/src/views/component/gyPost/index.vue
index 031dac6..efa6f0e 100644
--- a/src/views/component/gyPost/index.vue
+++ b/src/views/component/gyPost/index.vue
@@ -115,7 +115,7 @@
}
this.loading = true;
axios
- .get(this.baseURL + "/Gy_BadReason/Gy_PostList", {
+ .get(this.$baseUrl + "/Gy_BadReason/Gy_PostList", {
params: { sWhere: sWhere, user: this.user },
})
.then((response) => {
diff --git a/src/views/component/gyWorkCenter/index.vue b/src/views/component/gyWorkCenter/index.vue
index 24e6183..bbcf24a 100644
--- a/src/views/component/gyWorkCenter/index.vue
+++ b/src/views/component/gyWorkCenter/index.vue
@@ -90,7 +90,7 @@
let sWhere = ''
sWhere +=" and HUSEORGID = '" + 100038 + "'"
this.loading = true
- axios.get(this.baseURL + '/Gy_WorkCenter/list', {
+ axios.get(this.$baseUrl + '/Gy_WorkCenter/list', {
params: { "sWhere": sWhere, "user": this.user},
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/component/gyWorkType/index.vue b/src/views/component/gyWorkType/index.vue
index 00a4eb7..b7471d5 100644
--- a/src/views/component/gyWorkType/index.vue
+++ b/src/views/component/gyWorkType/index.vue
@@ -114,7 +114,7 @@
}
this.loading = true;
axios
- .get(this.baseURL + "/Gy_WorkTypeController/GetGy_WorkTypeList_Json", {
+ .get(this.$baseUrl + "/Gy_WorkTypeController/GetGy_WorkTypeList_Json", {
params: { sWhere: sWhere, HMaker: this.user, OperationType: 1 },
})
.then((response) => {
diff --git a/src/views/component/material/index.vue b/src/views/component/material/index.vue
index a15c0c9..42c4c25 100644
--- a/src/views/component/material/index.vue
+++ b/src/views/component/material/index.vue
@@ -89,7 +89,7 @@
getList() {
let sWhere = ''
this.loading = true
- axios.get(this.baseURL + '/Gy_Material/list', {
+ axios.get(this.$baseUrl + '/Gy_Material/list', {
params: { "sWhere": sWhere, "user": this.user, "Organization": '娴欐睙鏅轰簯杩堟��' },
}).then(response => {
console.log(response)
diff --git a/src/views/component/printList/barcode.vue b/src/views/component/printList/barcode.vue
index ae0f5fc..921c0cf 100644
--- a/src/views/component/printList/barcode.vue
+++ b/src/views/component/printList/barcode.vue
@@ -33,7 +33,7 @@
// 鑾峰彇 鎵撳嵃鐨勬暟鎹�
await this.getPrintData();
// 鑾峰彇鎵撳嵃绾稿紶澶у皬
- rubylong.grhtml5.barcodeURL = this.baseUrl + "/Utility/Barcode.ashx";
+ rubylong.grhtml5.barcodeURL = this.$baseUrl + "/Utility/Barcode.ashx";
this.reportViewer = rubylong.grhtml5.insertReportViewer(
"report_holder",
this.grfPath,
@@ -86,7 +86,7 @@
sql = `exec h_p_GetSPBarCode_Swell N'${condition}'`;
}
try{
- let res = await axios.get(this.baseUrl + "/CommonModel/searchMethod", {
+ let res = await axios.get(this.$baseUrl + "/CommonModel/searchMethod", {
params: {
sql: sql,
user: sessionStorage["HUserName"],
diff --git a/src/views/component/printList/hBarPlanPrint.vue b/src/views/component/printList/hBarPlanPrint.vue
index 3541e8b..2c3fa76 100644
--- a/src/views/component/printList/hBarPlanPrint.vue
+++ b/src/views/component/printList/hBarPlanPrint.vue
@@ -73,7 +73,7 @@
ORDER BY orderid;`;
}
axios
- .get(this.baseURL + "/CommonModel/searchMethod", {
+ .get(this.$baseUrl + "/CommonModel/searchMethod", {
params: {
sql: sql,
user: sessionStorage["HUserName"],
diff --git a/src/views/component/printList/index.vue b/src/views/component/printList/index.vue
index 85f427f..7e2d9d7 100644
--- a/src/views/component/printList/index.vue
+++ b/src/views/component/printList/index.vue
@@ -77,7 +77,7 @@
},
getDisplay() {
this.loading = true
- axios.get(this.baseURL + '/Open_PrintTem/GetOpenTmpList_Json', {
+ axios.get(this.$baseUrl + '/Open_PrintTem/GetOpenTmpList_Json', {
params: { "HNumber": this.Type },
}).then(response => {
console.log(response)
@@ -170,7 +170,7 @@
const sMainSub = `${sMainStr};${sSubStr};${this.HModName};${OperationType};${this.user}`
axios({
method: 'post',
- url: this.baseURL + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
+ url: this.$baseUrl + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
data: {
'sMainSub': sMainSub
},
@@ -195,7 +195,7 @@
handleDel() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
console.log(this.rowForm.hmainid.toString())
- axios.get(this.baseURL + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
+ axios.get(this.$baseUrl + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
params: { "HModName": this.HModName, "user": this.user }
}).then(response => {
let result = response.data
diff --git a/src/views/component/rowSettings/index.vue b/src/views/component/rowSettings/index.vue
index 368bb46..35fbd2e 100644
--- a/src/views/component/rowSettings/index.vue
+++ b/src/views/component/rowSettings/index.vue
@@ -156,7 +156,7 @@
this.loading = true
// this.HModName = "Kf_SellOutBillList"
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: { "HModName": this.HModName, "user": this.user },
}).then(response => {
var data1 = response.data
@@ -273,7 +273,7 @@
const sMainSub = `${sMainStr};${sSubStr};${this.HModName};${OperationType};${this.user}`
axios({
method: 'post',
- url: this.baseURL + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
+ url: this.$baseUrl + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
data: {
'sMainSub': sMainSub
},
@@ -297,7 +297,7 @@
// 鍒犻櫎
handleDel() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
+ axios.get(this.$baseUrl + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
params: { "HModName": this.HModName, "user": this.user }
}).then(response => {
console.log(response)
diff --git a/src/views/component/warehouse/index.vue b/src/views/component/warehouse/index.vue
index 2333e6a..ed0ba89 100644
--- a/src/views/component/warehouse/index.vue
+++ b/src/views/component/warehouse/index.vue
@@ -88,7 +88,7 @@
getList() {
let sWhere = ''
this.loading = true
- axios.get(this.baseURL + '/Gy_Warehouse/list', {
+ axios.get(this.$baseUrl + '/Gy_Warehouse/list', {
params: { "sWhere": sWhere, "user": this.user, "Organization": '娴欐睙鏅轰簯杩堟��' },
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/gyEmployee/edit/index.vue b/src/views/gyEmployee/edit/index.vue
index 57ad8ea..6389d81 100644
--- a/src/views/gyEmployee/edit/index.vue
+++ b/src/views/gyEmployee/edit/index.vue
@@ -978,7 +978,7 @@
this.zuzhiId = data.HUSEORGID; //鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇榛樿鐨勭粍缁嘔D
this.user = data.Czymc;
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -999,7 +999,7 @@
if (this.OperationType != 1) {
this.zzSelDis = true;
axios
- .get(this.baseURL + "GetGy_SourceDetail", {
+ .get(this.$baseUrl + "GetGy_SourceDetail", {
params: {
HID: this.linterid,
},
@@ -1197,7 +1197,7 @@
var sMainSub = sMainStr + ";" + this.user;
axios({
method: "post",
- url: this.baseURL + "SaveGy_SourceList",
+ url: this.$baseUrl + "SaveGy_SourceList",
data: {
msg: sMainSub,
},
@@ -1230,7 +1230,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
})
.then((response) => {
@@ -1254,7 +1254,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Source/AuditGy_Source", {
+ .get(this.$baseUrl + "/Gy_Source/AuditGy_Source", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
diff --git a/src/views/gyEmployee/index.vue b/src/views/gyEmployee/index.vue
index d8ddc64..f9b7fd4 100644
--- a/src/views/gyEmployee/index.vue
+++ b/src/views/gyEmployee/index.vue
@@ -690,7 +690,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -787,7 +787,7 @@
this.queryParams.HOrgID = data.HUSEORGID;
this.user = data.Czymc;
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -812,7 +812,7 @@
this.sWhere += " and HUSEORGID = '" + this.queryParams.HOrgID + "'";
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Gy_Employee/listPage", {
+ .get(this.$baseUrl + "/Gy_Employee/listPage", {
params: {
sWhere: this.sWhere,
user: this.user,
@@ -915,7 +915,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1191,7 +1191,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: this.user,
@@ -1274,7 +1274,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "DeltetGy_Employee", {
+ .get(this.$baseUrl + "DeltetGy_Employee", {
params: { HItemID: this.rowForm.HItemID.toString(), user: this.user },
})
.then((response) => {
@@ -1299,7 +1299,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/AuditGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/AuditGy_Employee", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
@@ -1320,7 +1320,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: { HInterID: InterID, IsStop: num, CurUserName: this.user },
})
.then((response) => {
@@ -1390,7 +1390,7 @@
var sMainSub = sSubStr + "&鍜�" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/gyMaterial/GyMaterial.vue b/src/views/gyMaterial/GyMaterial.vue
index 7a86447..e2c8064 100644
--- a/src/views/gyMaterial/GyMaterial.vue
+++ b/src/views/gyMaterial/GyMaterial.vue
@@ -441,7 +441,7 @@
getOrganizations() {
axios
- .get(this.baseURL + "/Web/GetOrganizations")
+ .get(this.$baseUrl + "/Web/GetOrganizations")
.then((response) => {
if (response.data.count == 1) {
this.organizationOptions = response.data.data;
@@ -457,7 +457,7 @@
getTreeData() {
axios
- .get(this.baseURL + "/Gy_MaterType/Gy_MaterTypeTreeListByLevel", {
+ .get(this.$baseUrl + "/Gy_MaterType/Gy_MaterTypeTreeListByLevel", {
params: {
HOrgID: this.queryParams.HOrgID,
},
@@ -474,7 +474,7 @@
getProjectOptions() {
axios
- .get(this.baseURL + "/Gy_Material/Get_HProject", {
+ .get(this.$baseUrl + "/Gy_Material/Get_HProject", {
params: {
HOrgID: this.queryParams.HOrgID,
},
@@ -496,7 +496,7 @@
let orgName = this.organizationOptions.find((e) => e.ID == this.queryParams.HOrgID)
?.Name;
axios
- .get(this.baseURL + "/Gy_Material/page", {
+ .get(this.$baseUrl + "/Gy_Material/page", {
params: {
sWhere: this.sWhere,
user: this.user,
@@ -652,7 +652,7 @@
}
axios
- .get(this.baseURL + "/Gy_Material/Gy_MaterialViewApi", {
+ .get(this.$baseUrl + "/Gy_Material/Gy_MaterialViewApi", {
params: {
Number: this.queryParams.HNumber2,
Type: "WL",
@@ -680,7 +680,7 @@
handleExport() {
axios
- .get(this.baseURL + "/LMES/getReportByModRightNameCheck", {
+ .get(this.$baseUrl + "/LMES/getReportByModRightNameCheck", {
params: {
ModRightNameCheck: "Gy_Material_ExportExcel",
user: this.user,
@@ -763,7 +763,7 @@
.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠")
.then(() => {
axios
- .get(this.baseURL + "/Gy_Material/Delete", {
+ .get(this.$baseUrl + "/Gy_Material/Delete", {
params: {
HItemID: this.selectedRow.HItemID,
user: this.user,
@@ -793,7 +793,7 @@
}
axios
- .get(this.baseURL + "/Gy_Material/AuditGy_Material", {
+ .get(this.$baseUrl + "/Gy_Material/AuditGy_Material", {
params: {
HInterID: this.selectedRow.HItemID,
IsAudit: isAudit,
@@ -819,7 +819,7 @@
return;
}
axios
- .get(this.baseURL + "/Gy_Material/StopGy_Material", {
+ .get(this.$baseUrl + "/Gy_Material/StopGy_Material", {
params: {
HInterID: this.selectedRow.HItemID,
IsStop: isStop,
@@ -911,7 +911,7 @@
if (!HMaterNumber) return;
axios
- .get(this.baseURL + "/Cj_StationOutBill/Filelist", {
+ .get(this.$baseUrl + "/Cj_StationOutBill/Filelist", {
params: { HBillNo: HMaterNumber },
})
.then((response) => {
@@ -1060,7 +1060,7 @@
var sMainSub = JSON.stringify(this.uploadData) + "&鍜�" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Material/Gy_Material_btnSave",
+ url: this.$baseUrl + "/Gy_Material/Gy_Material_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/gyMaterial/GyMaterialCorrection.vue b/src/views/gyMaterial/GyMaterialCorrection.vue
index 54b777f..ae9f2a7 100644
--- a/src/views/gyMaterial/GyMaterialCorrection.vue
+++ b/src/views/gyMaterial/GyMaterialCorrection.vue
@@ -418,7 +418,7 @@
// 鑾峰彇缁勭粐鍒楄〃
async getOrganizations() {
try {
- const response = await axios.get(`${this.baseURL}/Web/GetOrganizations`)
+ const response = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`)
if (response.data.count === 1) {
this.organizationOptions = response.data.data
if (this.organizationOptions.length > 0) {
@@ -473,7 +473,7 @@
try {
const sWhere = this.buildWhereCondition()
- const response = await axios.get(`${this.baseURL}/Gy_Material/page`, {
+ const response = await axios.get(`${this.$baseUrl}/Gy_Material/page`, {
params: {
sWhere: sWhere,
user: this.user,
@@ -656,7 +656,7 @@
}
const dataStr = JSON.stringify(saveData)
- const response = await axios.post(`${this.baseURL}/Gy_Material/SaveGy_MaterialList_Batch`, {
+ const response = await axios.post(`${this.$baseUrl}/Gy_Material/SaveGy_MaterialList_Batch`, {
msg: dataStr + ';' + this.user + ';' + this.queryParams.HOrgID
})
@@ -686,7 +686,7 @@
type: 'warning'
})
for (const row of this.selectedRows) {
- await axios.get(`${this.baseURL}/Gy_Material/Delete`, {
+ await axios.get(`${this.$baseUrl}/Gy_Material/Delete`, {
params: {
HItemID: row.HItemID,
user: this.user
diff --git a/src/views/gyMaterial/edit/index.vue b/src/views/gyMaterial/edit/index.vue
index e82e545..1dab638 100644
--- a/src/views/gyMaterial/edit/index.vue
+++ b/src/views/gyMaterial/edit/index.vue
@@ -814,7 +814,7 @@
loadMaterialData(id) {
this.$modal.loading("鍔犺浇涓�...");
axios
- .get(this.baseURL + "/Gy_Material/GetGy_MaterialDetail", {
+ .get(this.$baseUrl + "/Gy_Material/GetGy_MaterialDetail", {
params: { HID: id }
})
.then(response => {
@@ -896,7 +896,7 @@
// 鑾峰彇鏈�澶х紪鍙凤紙娴佹按鍙锋柊澧烇級
getMaxNumber(typeID) {
axios
- .get(this.baseURL + "/Gy_Material/getMaxNum", {
+ .get(this.$baseUrl + "/Gy_Material/getMaxNum", {
params: {
HMaterTypeID: typeID,
user: this.user,
@@ -929,7 +929,7 @@
// 鍙戦�佽姹�
axios
- .post(this.baseURL + "Gy_Material/SaveGy_MaterialList", {
+ .post(this.$baseUrl + "Gy_Material/SaveGy_MaterialList", {
msg: JSON.stringify(formData) + ';' + this.user + ';' + "default"
})
.then(response => {
@@ -1041,7 +1041,7 @@
if (!this.formData.HNumber) return;
axios
- .get(this.baseURL + "/Gy_Mater/Filelist", {
+ .get(this.$baseUrl + "/Gy_Mater/Filelist", {
params: { HNumber: this.formData.HNumber }
})
.then(response => {
diff --git a/src/views/gyStockPlace/edit/index.vue b/src/views/gyStockPlace/edit/index.vue
index 5e98170..9bd7260 100644
--- a/src/views/gyStockPlace/edit/index.vue
+++ b/src/views/gyStockPlace/edit/index.vue
@@ -203,7 +203,7 @@
this.zuzhiId = data.HUSEORGID; //鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇榛樿鐨勭粍缁嘔D
this.user = data.Czymc;
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -224,7 +224,7 @@
if (this.OperationType != 1) {
this.zzSelDis = true;
axios
- .get(this.baseURL + "/Gy_StockPlace/cx", {
+ .get(this.$baseUrl + "/Gy_StockPlace/cx", {
params: {
HInterID: this.linterid,
},
@@ -380,7 +380,7 @@
var sMainSub = sMainStr + ";" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_StockPlace/AddBill1",
+ url: this.$baseUrl + "/Gy_StockPlace/AddBill1",
data: {
oMain: sMainSub,
},
@@ -413,7 +413,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
})
.then((response) => {
@@ -437,7 +437,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
diff --git a/src/views/gyStockPlace/index.vue b/src/views/gyStockPlace/index.vue
index bf12b45..e3313c9 100644
--- a/src/views/gyStockPlace/index.vue
+++ b/src/views/gyStockPlace/index.vue
@@ -576,7 +576,7 @@
// 浠撲綅鍚屾(API涓殏鏃舵病鏈夊搴旂殑API)
async handleSync() {
try {
- let res = await axios.get(this.baseURL + "/Gy_StockPlace/Gy_StockPlaceViewApi", {
+ let res = await axios.get(this.$baseUrl + "/Gy_StockPlace/Gy_StockPlaceViewApi", {
params: {
Number: this.queryParams.HSyncNumber,
Type: "CW",
@@ -626,7 +626,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -718,7 +718,7 @@
this.user = data.Czymc;
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -746,7 +746,7 @@
this.sWhere += "";
//浠撲綅鍒楄〃
axios
- .get(this.baseURL + "/Gy_StockPlace/list1page", {
+ .get(this.$baseUrl + "/Gy_StockPlace/list1page", {
params: {
sWhere: `${this.sWhere}`,
user: this.user,
@@ -849,7 +849,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1125,7 +1125,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: this.user,
@@ -1210,7 +1210,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Deltet_Gy_StockPlace", {
+ .get(this.$baseUrl + "Deltet_Gy_StockPlace", {
params: { HItemID: this.rowForm.HItemID.toString(), user: this.user },
})
.then((response) => {
@@ -1284,7 +1284,7 @@
var sMainSub = sSubStr + "&鍜�" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+ url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/gyWarehouse/edit/index.vue b/src/views/gyWarehouse/edit/index.vue
index cc6803e..5766305 100644
--- a/src/views/gyWarehouse/edit/index.vue
+++ b/src/views/gyWarehouse/edit/index.vue
@@ -307,7 +307,7 @@
this.zuzhiId = data.HUSEORGID; //鏍规嵁鐧诲綍鐢ㄦ埛鑾峰彇榛樿鐨勭粍缁嘔D
this.user = data.Czymc;
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -328,7 +328,7 @@
if (this.OperationType != 1) {
this.zzSelDis = true;
axios
- .get(this.baseURL + "/Gy_Warehouse/cx", {
+ .get(this.$baseUrl + "/Gy_Warehouse/cx", {
params: {
HInterID: this.linterid,
},
@@ -510,7 +510,7 @@
var sMainSub = sMainStr + ";" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/ModifyByID",
+ url: this.$baseUrl + "/Gy_Warehouse/ModifyByID",
data: {
oMain: sMainSub,
},
@@ -543,7 +543,7 @@
.then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { HInterID: this.rowForm.hmainid.toString(), user: this.user },
})
.then((response) => {
@@ -567,7 +567,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
diff --git a/src/views/gyWarehouse/index.vue b/src/views/gyWarehouse/index.vue
index abf14a1..176335a 100644
--- a/src/views/gyWarehouse/index.vue
+++ b/src/views/gyWarehouse/index.vue
@@ -641,7 +641,7 @@
// 浠撳簱鍚屾
async handleSync() {
try {
- let res = await axios.get(this.baseURL + "/Gy_Warehouse/Gy_WarehouseViewApi", {
+ let res = await axios.get(this.$baseUrl + "/Gy_Warehouse/Gy_WarehouseViewApi", {
params: {
Number: this.queryParams.HSyncNumber,
Type: "CK",
@@ -691,7 +691,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -782,7 +782,7 @@
this.queryParams.HOrgID = data.HUSEORGID;
this.user = data.Czymc;
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data; //缁勭粐鍒楄〃
@@ -807,7 +807,7 @@
this.sWhere += "";
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Gy_WareHouse/listpage", {
+ .get(this.$baseUrl + "/Gy_WareHouse/listpage", {
params: {
sWhere: `${this.sWhere}`,
user: this.user,
@@ -910,7 +910,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1186,7 +1186,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: this.user,
@@ -1270,7 +1270,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/DeltetGy_Warehouse", {
+ .get(this.$baseUrl + "/DeltetGy_Warehouse", {
params: { HItemID: this.rowForm.HItemID.toString(), user: this.user },
})
.then((response) => {
@@ -1295,7 +1295,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/AuditGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/AuditGy_Warehouse", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((response) => {
@@ -1316,7 +1316,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Warehouse/StopGy_Warehouse", {
+ .get(this.$baseUrl + "/Gy_Warehouse/StopGy_Warehouse", {
params: { HInterID: InterID, IsStop: num, CurUserName: this.user },
})
.then((response) => {
@@ -1386,7 +1386,7 @@
var sMainSub = sSubStr + "&鍜�" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Warehouse/Gy_Process_Excel",
+ url: this.$baseUrl + "/Gy_Warehouse/Gy_Process_Excel",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/logistics/transportGPS/Add_Edit_WL_YayBill.vue b/src/views/logistics/transportGPS/Add_Edit_WL_YayBill.vue
index 2fa0fc6..dd99f79 100644
--- a/src/views/logistics/transportGPS/Add_Edit_WL_YayBill.vue
+++ b/src/views/logistics/transportGPS/Add_Edit_WL_YayBill.vue
@@ -675,6 +675,117 @@
else if (this.OperationType == 3 || this.copyType == 1) {
this.handleUpdate()
}
+ else if (this.OperationType == 4) {
+ this.zzSelDis = true
+ this.handleAdd()
+ var data = this.getUrlVars_JSON();
+ var dataArray = [];
+ for (var i = 0; i < data.length; i++) {
+ // this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ params: {
+ "HInterID": data[i].hmainid
+ , "HSubID": data[i].hsubid
+ },
+ }).then(response => {
+ let result = response.data
+ if (result.code == 1) { // 璇存槑楠岃瘉鎴愬姛浜嗭紝
+ this.temp = result.data[0];
+ } else {
+ this.temp = result.data;
+ }
+ if (this.temp) {
+ dataArray.push(this.temp);
+ this.form.HDeptID = dataArray[0].HDeptID
+ this.form.HDeptName = dataArray[0].閮ㄩ棬
+ this.form.HEmpID = dataArray[0].HEmpID
+ this.form.HEmpName = dataArray[0].涓氬姟鍛�
+ this.form.HManagerID = dataArray[0].HManagerID
+ this.form.HManagerName = dataArray[0].涓荤
+ this.form.HMainSourceInterID = "0"
+ this.form.HMainSourceEntryID = "0"
+ this.form.HMainSourceBillNo = ""
+ this.form.HMainSourceBillType = dataArray[0].HBillType
+ this.form.HSupID = dataArray[0].HCusID
+ this.form.HSupName = dataArray[0].瀹㈡埛
+ this.form.HLinkMan = dataArray[0].鑱旂郴浜�
+ this.form.HLinkPhone = dataArray[0].鑱旂郴鐢佃瘽
+ this.form.HSellSID = dataArray[0].HSellSID
+ this.form.HSellSName = dataArray[0].閿�鍞柟寮�
+ this.form.HCurID = dataArray[0].HCurID
+ this.form.HCurName = dataArray[0].甯佸埆
+ this.form.HExRate = dataArray[0].姹囩巼
+ for (var i = 0; i < dataArray.length; i++) {
+ this.editData.push(
+ {
+ "HMaterID": dataArray[i].HMaterID
+ , "鐗╂枡浠g爜": dataArray[i].鐗╂枡浠g爜
+ , "鐗╂枡鍚嶇О": dataArray[i].鐗╂枡鍚嶇О
+ , "瑙勬牸鍨嬪彿": dataArray[i].瑙勬牸鍨嬪彿
+ , "HUnitID": dataArray[i].HUnitID
+ , "璁¢噺鍗曚綅": dataArray[i].璁¢噺鍗曚綅
+ , "HQtyMust": dataArray[i].鏁伴噺.toFixed(6)
+ , "HQty": dataArray[i].鏁伴噺.toFixed(6)
+ , "HPieceQty": "0"
+ , "HPrice": dataArray[i].鍗曚环.toFixed(4)
+ , "HTaxPrice": dataArray[i].瀹為檯鍚◣鍗曚环.toFixed(4)
+ , "HTaxRate": dataArray[i].绋庣巼
+ , "HMoney": dataArray[i].閲戦.toFixed(2)
+ , "HTaxMoney": dataArray[i].浠风◣鍚堣.toFixed(2)
+ , "HWHID": dataArray[i].HWHID
+ , "鍙戣揣浠撳簱": dataArray[i].HWHName
+ , "HRemark": ""
+ , "HQty_Full": "0"
+ , "HQty_Empty": "0"
+ , "HQty_Back": "0"
+ , "HCostPrice": "0"
+ , "HCostMoney": "0"
+ , "HSalePrice": "0"
+ , "HSeOrderInterID": dataArray[i].hmainid
+ , "HSeOrderEntryID": dataArray[i].hsubid
+ , "HSeOrderBillNo": dataArray[i].鍗曟嵁鍙�
+ , "HSourceInterID": dataArray[i].hmainid
+ , "HSourceEntryID": dataArray[i].hsubid
+ , "HSourceBillNo": dataArray[i].鍗曟嵁鍙�
+ , "HSourceBillType": dataArray[i].HBillType
+ , "HRelationQty": "0"
+ , "HRelationMoney": "0"
+ , 'HSPID': "0"
+ , 'HSPName': ""
+ , 'HSPGroupID': "0"
+ , "HSPGroupName": ""
+ , 'HSCWHID': "0"
+ , 'HSCWHName': ""
+ , 'HSCSPID': "0"
+ , 'HSCSPName': ""
+ , 'HBatchNo': ""
+ , 'HPOOrderInterID': "0"
+ , 'HPOOrderEntryID': "0"
+ , 'HPOOrderBillNo': ""
+ , 'HPropertyID': "0"
+ , 'HPropertyName': ""
+ , 'HSecUnitID': "0"
+ , 'HSecUnitName': ""
+ , 'HSecUnitRate': "0"
+ , 'HEngineNum': ""
+ , 'HUnderPanNum': ""
+ , 'HLeaveFactCard': ""
+ , 'HReqBuyQty': "0"
+ , 'HReqOutQty': "0"
+ , 'HCurrentInventory': "0"
+ }
+ );
+ }
+ }
+ this.$nextTick(() => {
+ this.formShow = true
+ this.formLoading = false
+ })
+ }).catch(error => {
+ this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
+ });
+ }
+ }
},
//#endregion
@@ -774,8 +885,8 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/WLYayBillController/WL_YayBillDetail", {
- params: { 'HID': rowHmainid }
+ axios.get(this.$baseUrl + "/Kf_POStockInBill/cx", {
+ params: { 'HInterID': rowHmainid }
}).then(response => {
console.log(response.data.data.h_v_WL_YayBillEdit)
if (response.data.code == 1) {
@@ -1356,35 +1467,40 @@
submitForm() {
this.$refs["form"].validate(valid => {
if (valid) {
- var loadingRate = this.form.HLoadingRate;
- if (loadingRate && typeof loadingRate === 'string') {
- this.form.HLoadingRate = parseFloat(loadingRate.replace('%', '')) / 100;
- }
- var sMainStr = JSON.stringify(this.form);
- var sSubStr = JSON.stringify(this.editData);
- console.log(this.form)
-
- // var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
- var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"]
- console.log(sMainSub)
- axios({
- method: 'post',
- url: this.baseURL + "/WLYayBillController/SaveBill",
- data: {
- 'msg': sMainSub
- },
- }).then(response => {
- if (response.data.count == 1) {
- this.subDisabled = true//璁剧疆淇濆瓨鎸夐挳涓嶅彲鐢�
- this.$modal.msgSuccess(response.data.Message);
- this.close()
- } else {
- this.$modal.msgError(response.data.Message)
+ let fhck = false
+ this.editData.map((item, index) => {
+ if (!item.鍙戣揣浠撳簱) {
+ fhck = true
+ this.$modal.msgError("绗�" + (index + 1) + "琛岋細鍙戣揣浠撳簱鏈�夋嫨锛�");
}
- }).catch(error => {
- this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
- });
-
+ })
+ this.$nextTick(() => {
+ if (!fhck) {
+ var sMainStr = JSON.stringify(this.form);
+ var sSubStr = JSON.stringify(this.editData);
+ var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
+ axios({
+ method: 'post',
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
+ data: {
+ 'msg': sMainSub
+ },
+ }).then(response => {
+ if (response.data.count == 1) {
+ this.subDisabled = true//璁剧疆淇濆瓨鎸夐挳涓嶅彲鐢�
+ this.$modal.msgSuccess(response.data.Message);
+ this.get_MAXNum_Task(1);//璁剧疆娴佹按鍙峰鍔�
+ if (response.data.Verify == "Y") //鑷姩瀹℃牳
+ {
+ this.set_CheckBill(0, this.form); //瀹℃牳
+ }
+ this.addBtnShow = true
+ }
+ }).catch(error => {
+ this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
+ });
+ }
+ })
}
});
},
@@ -1394,7 +1510,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1515,9 +1631,22 @@
},
//#endregion
+ //#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
+ fetchData() {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
+ }).then(response => {
+ if (response.data.count == 1) {
+ this.organizationList = response.data.data;//缁勭粐鍒楄〃
+ }
+ }).catch(error => {
+ this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
+ });
+ },
+ //#endregion
+
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/Web/GetMAXNum", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '3321'
}
@@ -1534,7 +1663,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1201','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1550,7 +1679,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -1568,7 +1697,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -1583,7 +1712,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1600,7 +1729,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1617,7 +1746,7 @@
//#region 鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
diff --git a/src/views/logistics/transportGPS/WL_YayBill.vue b/src/views/logistics/transportGPS/WL_YayBill.vue
index 1b12d54..31ccd13 100644
--- a/src/views/logistics/transportGPS/WL_YayBill.vue
+++ b/src/views/logistics/transportGPS/WL_YayBill.vue
@@ -578,7 +578,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/WLYayBillController/GetListPage', {
+ axios.get(this.$baseUrl + '/WLYayBillController/GetListPage', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -681,8 +681,8 @@
//#region 鍒犻櫎
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/WLYayBillController/deleteBill", {
- params: { 'HItemID': this.rowForm.HInterID.toString(), 'user': sessionStorage["HUserName"] }
+ axios.get(this.$baseUrl + "/Cg_ContractTransportBillListController/DeleteBill", {
+ params: { 'HInterID': this.rowForm.HInterID.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
this.handleQuery()
@@ -818,7 +818,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/WLYayBillController/AuditWLYayBill", {
+ axios.get(this.$baseUrl + "/WLYayBillController/AuditWLYayBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -838,7 +838,7 @@
set_CloseBills(num) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Cg_ContractTransportBillEdit/CloseCg_ContractTransportBillEdit", {
+ axios.get(this.$baseUrl + "/Cg_ContractTransportBillEdit/CloseCg_ContractTransportBillEdit", {
params: { "HInterID": InterID, "Type": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -858,7 +858,7 @@
set_DropBill(num) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Cg_ContractTransportBillEdit/DropCg_ContractTransportBillEdit", {
+ axios.get(this.$baseUrl + "/Cg_ContractTransportBillEdit/DropCg_ContractTransportBillEdit", {
params: { "HInterID": InterID, "Type": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -887,7 +887,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -1039,7 +1039,7 @@
} else if (this.rowForm.鍗曟嵁鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.HInterID }
}).then(response => {
var result = response.data
@@ -1099,7 +1099,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue b/src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue
index 4166cc1..c76e1b7 100644
--- a/src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue
+++ b/src/views/purchase/cgPoInStockBill/cgPoInStockBill.vue
@@ -840,7 +840,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -939,7 +939,7 @@
this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.eTime + "'";
}
try {
- let res = await axios.get(this.baseURL + "Cg_POInStockBill/page", {
+ let res = await axios.get(this.$baseUrl + "Cg_POInStockBill/page", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1044,7 +1044,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1322,7 +1322,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1417,7 +1417,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Cg_POInStockBill/DeltetPOInStockBill", {
+ .get(this.$baseUrl + "Cg_POInStockBill/DeltetPOInStockBill", {
params: {
HInterID: this.rowForm.hmainid.toString(),
HsupId: this.rowForm.HSupID,
@@ -1450,7 +1450,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Cg_POInStockBill/AuditCg_POInStockBill", {
+ .get(this.$baseUrl + "/Cg_POInStockBill/AuditCg_POInStockBill", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1475,7 +1475,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1502,7 +1502,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1529,7 +1529,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/DropCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/DropCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1555,7 +1555,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1629,7 +1629,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/purchase/cgPoInStockBill/cgPoInStockBillEdit.vue b/src/views/purchase/cgPoInStockBill/cgPoInStockBillEdit.vue
index 95b6df2..7166754 100644
--- a/src/views/purchase/cgPoInStockBill/cgPoInStockBillEdit.vue
+++ b/src/views/purchase/cgPoInStockBill/cgPoInStockBillEdit.vue
@@ -509,7 +509,7 @@
},
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -540,7 +540,7 @@
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/cx", {
params: {
HInterID: data[i].hmainid,
},
@@ -663,7 +663,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -846,7 +846,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -879,7 +879,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: "1103",
},
@@ -898,7 +898,7 @@
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
axios
- .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -917,7 +917,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
axios
- .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
+ .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -935,7 +935,7 @@
this.reset();
let rowHmainid = this.HInterID2;
axios
- .get(this.baseURL + "/Cg_POInStockBill/cx", {
+ .get(this.$baseUrl + "/Cg_POInStockBill/cx", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1198,7 +1198,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: "get",
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
})
.then((response) => {
@@ -1237,7 +1237,7 @@
this.OperationType;
axios({
method: "post",
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
msg: sMainSub,
},
@@ -1267,7 +1267,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue b/src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue
index d564df0..c9b35d4 100644
--- a/src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue
+++ b/src/views/purchase/cgPoOrderBill/cgPoOrderBill.vue
@@ -831,7 +831,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
@@ -931,7 +931,7 @@
// this.sWhere += ` and CONVERT(varchar(100),鏃ユ湡, 23) >= '2020-01-01' and CONVERT(varchar(100),鏃ユ湡, 23) <= '2030-01-01'`;
//鐢熶骇璧勬枡鍒楄〃
axios
- .get(this.baseURL + "/Cg_POOrderBill/page", {
+ .get(this.$baseUrl + "/Cg_POOrderBill/page", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1038,7 +1038,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1327,7 +1327,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1412,7 +1412,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Cg_POOrderBill/DeltetCg_POOrderBill", {
+ .get(this.$baseUrl + "Cg_POOrderBill/DeltetCg_POOrderBill", {
params: {
HInter: this.rowForm.HInterID.toString(),
user: sessionStorage["HUserName"],
@@ -1440,7 +1440,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Cg_POOrderBill/AuditCg_POOrderBill", {
+ .get(this.$baseUrl + "/Cg_POOrderBill/AuditCg_POOrderBill", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1464,7 +1464,7 @@
async set_CloseBill(num, form) {
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
- let res = await axios.get(`${this.baseURL}/Cg_POOrderBill/CloseCg_POOrderBill`, {
+ let res = await axios.get(`${this.$baseUrl}/Cg_POOrderBill/CloseCg_POOrderBill`, {
params: {
HInterID: HInterID,
Type: num,
@@ -1489,7 +1489,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}Cg_POOrderBill/CloseRowCg_POOrderBill`,
+ `${this.$baseUrl}Cg_POOrderBill/CloseRowCg_POOrderBill`,
{
params: {
HInterID: HInterID,
@@ -1515,7 +1515,7 @@
async set_DropBill(num, form) {
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
- let res = await axios.get(`${this.baseURL}/Cg_POOrderBill/DropCg_POOrderBil`, {
+ let res = await axios.get(`${this.$baseUrl}/Cg_POOrderBill/DropCg_POOrderBil`, {
params: {
HInterID: HInterID,
Type: num,
@@ -1539,7 +1539,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1613,7 +1613,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/purchase/cgPoOrderBill/cgPoOrderBillEdit.vue b/src/views/purchase/cgPoOrderBill/cgPoOrderBillEdit.vue
index fe73dfd..ad6b118 100644
--- a/src/views/purchase/cgPoOrderBill/cgPoOrderBillEdit.vue
+++ b/src/views/purchase/cgPoOrderBill/cgPoOrderBillEdit.vue
@@ -488,7 +488,7 @@
methods: {
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -520,7 +520,7 @@
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/cx", {
params: {
HInterID: data[i].hmainid,
},
@@ -643,7 +643,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -808,7 +808,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -841,7 +841,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: "1102",
},
@@ -860,7 +860,7 @@
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
axios
- .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -879,7 +879,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
axios
- .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
+ .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -897,7 +897,7 @@
this.reset();
let rowHmainid = this.HInterID2;
axios
- .get(this.baseURL + "/Cg_POOrderBill/cx", {
+ .get(this.$baseUrl + "/Cg_POOrderBill/cx", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1161,7 +1161,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: "get",
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
})
.then((response) => {
@@ -1200,7 +1200,7 @@
this.OperationType;
axios({
method: "post",
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
msg: sMainSub,
},
@@ -1230,7 +1230,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/purchase/postockInBack/Kf_POStockInBackBill.vue b/src/views/purchase/postockInBack/Kf_POStockInBackBill.vue
index f8be7f2..0de2b5b 100644
--- a/src/views/purchase/postockInBack/Kf_POStockInBackBill.vue
+++ b/src/views/purchase/postockInBack/Kf_POStockInBackBill.vue
@@ -422,7 +422,7 @@
},
methods: {
getHSourceBillType() {
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: {
"HName": '閲囪喘閫�鏂欏崟', "Num": 2
}
@@ -609,7 +609,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢��鏂欓�氱煡鍗曟暟鎹�
getPushSource_POInStockBackInit(HSourceInterID, HSourceEntryID) {
var res = "none";
- axios.get(this.baseURL + '/Cg_POInStockBackBill/loadCg_POInStockBackBill_Push', {
+ axios.get(this.$baseUrl + '/Cg_POInStockBackBill/loadCg_POInStockBackBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -630,7 +630,7 @@
// 鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢噰璐叆搴撳崟鏁版嵁
getPushSource_POStockInBillInit(HSourceInterID, HSourceEntryID) {
var res = "none";
- axios.get(this.baseURL + '/Kf_POStockInBill/loadKf_POStockInBillEdit_Push', {
+ axios.get(this.$baseUrl + '/Kf_POStockInBill/loadKf_POStockInBillEdit_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -807,7 +807,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -836,7 +836,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1239'
}
@@ -853,7 +853,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_POStockInBackBill/cx", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1059,7 +1059,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + this.OperationType + ";" + sessionStorage["HUserName"] + ';' + sAllStr;
axios({
method: 'post',
- url: this.baseURL + "/Kf_POStockInBackBill/POStockInBackBillEdit",
+ url: this.$baseUrl + "/Kf_POStockInBackBill/POStockInBackBillEdit",
data: {
'sMainSub': sMainSub
},
@@ -1083,7 +1083,7 @@
// 鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBill(num) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_POStockInBackBill/AuditProcessReportList", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/AuditProcessReportList", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
index f493d3e..b9de7e6 100644
--- a/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
+++ b/src/views/purchase/postockInBack/Kf_POStockInBackBillList.vue
@@ -432,7 +432,7 @@
this.pageSize = 50;
}
// 鍒楄〃
- axios.get(this.baseURL + "/Kf_POStockInBackBill/list", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/list", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -535,7 +535,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -879,7 +879,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠").then(() => {
- axios.get(this.baseURL + "/Kf_POStockInBackBill/DeltetKf_POStockInBackBill", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/DeltetKf_POStockInBackBill", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -898,7 +898,7 @@
},
set_CheckBill(num) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_POStockInBackBill/AuditProcessReportList", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/AuditProcessReportList", {
params: { "HInterID": this.rowForm.hmainid, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -916,7 +916,7 @@
},
set_CloseBill(num) {
//閫昏緫鍏抽棴鏂规硶
- axios.get(this.baseURL + "/Kf_POStockInBackBill/CloseKf_POStockInBackBill", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/CloseKf_POStockInBackBill", {
params: { "HInterID": this.rowForm.hmainid, "Type": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -934,7 +934,7 @@
},
set_DropBill(num) {
//閫昏緫浣滃簾鏂规硶
- axios.get(this.baseURL + "/Kf_POStockInBackBill/DropKf_POStockInBackBill", {
+ axios.get(this.$baseUrl + "/Kf_POStockInBackBill/DropKf_POStockInBackBill", {
params: { "HInterID": this.rowForm.hmainid, "Type": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -957,7 +957,7 @@
} else {
this.printListShow = true;
this.openPrintList = true;
- // axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ // axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
// params: { HInterID: this.rowForm.hmainid },
// })
// .then((response) => {
diff --git a/src/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue b/src/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue
index b584641..7312404 100644
--- a/src/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue
+++ b/src/views/scMould/basicModeling/Gy_MaterialPackingRelationList.vue
@@ -390,7 +390,7 @@
this.pageSize = 50;
}
// 鍒楄〃
- axios.get(this.baseURL + "/Gy_MaterialPackingRelation/Gy_MaterialPackingRelationList", {
+ axios.get(this.$baseUrl + "/Gy_MaterialPackingRelation/Gy_MaterialPackingRelationList", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -493,7 +493,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -838,7 +838,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠").then(() => {
- axios.get(this.baseURL + "/Gy_MaterialPackingRelation/DeleteGy_MaterialPackingRelation", {
+ axios.get(this.$baseUrl + "/Gy_MaterialPackingRelation/DeleteGy_MaterialPackingRelation", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -857,7 +857,7 @@
},
set_CheckBill(num) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldinventoryBill/CheckGy_MaterialMouldBillMain", {
+ axios.get(this.$baseUrl + "/Sc_MouldinventoryBill/CheckGy_MaterialMouldBillMain", {
params: { "HInterID": this.rowForm.hmainid, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -875,7 +875,7 @@
},
set_CloseBill(num) {
//閫昏緫鍏抽棴鏂规硶
- axios.get(this.baseURL + "/Gy_MaterialPackingRelation/CloseGy_MaterialPackingRelation", {
+ axios.get(this.$baseUrl + "/Gy_MaterialPackingRelation/CloseGy_MaterialPackingRelation", {
params: { "HInterID": this.rowForm.hmainid, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -893,7 +893,7 @@
},
set_DropBill(num) {
//閫昏緫浣滃簾鏂规硶
- axios.get(this.baseURL + "/Gy_MaterialPackingRelation/DeleteGy_MaterialPackingRelation", {
+ axios.get(this.$baseUrl + "/Gy_MaterialPackingRelation/DeleteGy_MaterialPackingRelation", {
params: { "HInterID": this.rowForm.hmainid, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/basicModeling/Gy_MaterialPackingRelation_Edit.vue b/src/views/scMould/basicModeling/Gy_MaterialPackingRelation_Edit.vue
index d890e40..8c629bf 100644
--- a/src/views/scMould/basicModeling/Gy_MaterialPackingRelation_Edit.vue
+++ b/src/views/scMould/basicModeling/Gy_MaterialPackingRelation_Edit.vue
@@ -406,7 +406,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -535,7 +535,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -564,7 +564,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/Web/GetMAXNum", {
+ axios.get(this.$baseUrl + "/Web/GetMAXNum", {
params: {
HBillType: '3339'
}
@@ -582,7 +582,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid.toString()
- axios.get(this.baseURL + "/Gy_MaterialPackingRelation/Gy_MaterialPackingRelationEditList", {
+ axios.get(this.$baseUrl + "/Gy_MaterialPackingRelation/Gy_MaterialPackingRelationEditList", {
params: { 'HInterID': rowHmainid, "user": sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -748,7 +748,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + refSav + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_MaterialPackingRelation/SaveGy_MaterialPackingRelation",
+ url: this.$baseUrl + "/Gy_MaterialPackingRelation/SaveGy_MaterialPackingRelation",
data: {
'sMainSub': sMainSub
},
@@ -772,7 +772,7 @@
// 鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBill(num) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldinventoryBill/CheckGy_MaterialMouldBillMain", {
+ axios.get(this.$baseUrl + "/Sc_MouldinventoryBill/CheckGy_MaterialMouldBillMain", {
params: { "HInterID": this.form.HInterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/basicModeling/Gy_MouldFile.vue b/src/views/scMould/basicModeling/Gy_MouldFile.vue
index 2a04a5d..03b5789 100644
--- a/src/views/scMould/basicModeling/Gy_MouldFile.vue
+++ b/src/views/scMould/basicModeling/Gy_MouldFile.vue
@@ -655,7 +655,7 @@
var dataArray = [];
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": data[i].hmainid
, "HSubID": data[i].hsubid
@@ -774,7 +774,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -910,7 +910,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -1028,7 +1028,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/Web/GetMAXNum", {
+ axios.get(this.$baseUrl + "/Web/GetMAXNum", {
params: {
HBillType: '3899'
}
@@ -1042,7 +1042,7 @@
},
//鑾峰彇瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1057,7 +1057,7 @@
},
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -1072,7 +1072,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Gy_Mould_Edit/xg", {
+ axios.get(this.$baseUrl + "/Gy_Mould_Edit/xg", {
params: { 'HInterID': rowHmainid }
}).then(response => {
console.log(response.data)
@@ -1179,7 +1179,7 @@
}).catch(error => {
this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
});
- axios.get(this.baseURL + "/Gy_MouldFileMain/Gy_MouldFileSubDetai", {
+ axios.get(this.$baseUrl + "/Gy_MouldFileMain/Gy_MouldFileSubDetai", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.code == 1) {
@@ -1223,7 +1223,7 @@
},
//#region 璁$畻-涓嬫淇濆吇/鏍℃鏃ユ湡
calculateHNextMainDate(HInterID, HCycleUnit, HCheckCycle) {
- axios.get(this.baseURL + "/Gy_Mould_Edit/calculateHNextMainDate", {
+ axios.get(this.$baseUrl + "/Gy_Mould_Edit/calculateHNextMainDate", {
params: { 'HInterID': HInterID }
}).then(response => {
let d = response.data
@@ -1257,7 +1257,7 @@
},
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1433,7 +1433,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1480,7 +1480,7 @@
console.log(oMain)
axios({
method: 'post',
- url: this.baseURL + url,
+ url: this.$baseUrl + url,
data: {
'oMain': oMain
},
diff --git a/src/views/scMould/basicModeling/Gy_MouldFileList.vue b/src/views/scMould/basicModeling/Gy_MouldFileList.vue
index 01eddec..56dc319 100644
--- a/src/views/scMould/basicModeling/Gy_MouldFileList.vue
+++ b/src/views/scMould/basicModeling/Gy_MouldFileList.vue
@@ -406,7 +406,7 @@
this.getList()
},
getTreeselect() {
- axios.get(this.baseURL + '/Gy_Mould/TreeList', {
+ axios.get(this.$baseUrl + '/Gy_Mould/TreeList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -483,7 +483,7 @@
}
this.sWhere += " and HUSEORGID = '" + this.queryParams.HUSEORGID + "'"
//鐢熶骇璧勬枡鍒楄〃
- axios.get(this.baseURL + '/Gy_Mould/page', {
+ axios.get(this.$baseUrl + '/Gy_Mould/page', {
params: {
"sWhere": this.sWhere,
"ModRightNameSelect": this.HModName,
@@ -597,7 +597,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -876,7 +876,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -951,7 +951,7 @@
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
var ModRightNameDelete = 'Gy_MouldFile_Delete'
if (!this.rowForm.瀹℃牳浜�) {
- axios.get(this.baseURL + "/Gy_Mould_Edit/Delete_Json", {
+ axios.get(this.$baseUrl + "/Gy_Mould_Edit/Delete_Json", {
params: { 'HItemID': this.rowForm.hmainid.toString(), "ModRightNameDelete": ModRightNameDelete, 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -975,7 +975,7 @@
if (form.HBillStatus == 0 && num == 1) {
this.$modal.msgSuccess('鍗曟嵁宸蹭负鏈鏍哥姸鎬�,鏃犻渶鍙嶅鏍革紒');
} else {
- axios.get(this.baseURL + "/Gy_Mould/AuditProcessReportList", {
+ axios.get(this.$baseUrl + "/Gy_Mould/AuditProcessReportList", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -996,7 +996,7 @@
set_De_Stop(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Gy_Source/StopGy_Source", {
+ axios.get(this.$baseUrl + "/Gy_Source/StopGy_Source", {
params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1060,7 +1060,7 @@
var sMainSub = sSubStr + '&鍜�' + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
'sMainSub': sMainSub
},
diff --git a/src/views/scMould/warehouse/Sc_MouldInRequestBillEdit.vue b/src/views/scMould/warehouse/Sc_MouldInRequestBillEdit.vue
index c500f14..3f5af50 100644
--- a/src/views/scMould/warehouse/Sc_MouldInRequestBillEdit.vue
+++ b/src/views/scMould/warehouse/Sc_MouldInRequestBillEdit.vue
@@ -397,7 +397,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -615,7 +615,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -643,7 +643,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNo_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNo_Json", {
params: {
HBillType: '3851'
}
@@ -660,7 +660,7 @@
let rowHmainid = this.linterid
console.log(this.linterid)
//涓昏〃
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Json", {
params: { 'HInterID': rowHmainid,'HMaker':sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -924,7 +924,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + Operation + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Save_Json",
+ url: this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Save_Json",
data: {
'sMainSub': sMainSub
},
@@ -953,7 +953,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldInRequestBillList.vue b/src/views/scMould/warehouse/Sc_MouldInRequestBillList.vue
index 1870ecd..80f1f05 100644
--- a/src/views/scMould/warehouse/Sc_MouldInRequestBillList.vue
+++ b/src/views/scMould/warehouse/Sc_MouldInRequestBillList.vue
@@ -417,7 +417,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldInRequestBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldInRequestBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -470,7 +470,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -854,7 +854,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -895,7 +895,7 @@
}).then(({ value }) => {
const newPallet = parseInt(value)
- return axios.post(this.baseURL + '/Sc_MouldOutRequestBill/UpdatePallet', {
+ return axios.post(this.$baseUrl + '/Sc_MouldOutRequestBill/UpdatePallet', {
hmainid: rowData.hmainid,
newPallet: newPallet,
operator: sessionStorage["HUserName"]
@@ -917,7 +917,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -936,7 +936,7 @@
// 鎵归噺鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBillAll(num, ids) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/CheckAll", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/CheckAll", {
params: { "ids": ids, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -965,7 +965,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -988,7 +988,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit.vue b/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit.vue
index 69d56b5..e6c87d4 100644
--- a/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit.vue
+++ b/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillEdit.vue
@@ -450,7 +450,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -685,7 +685,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -713,7 +713,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNo_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNo_Json", {
params: {
HBillType: '3850'
}
@@ -733,7 +733,7 @@
let rowHmainid = this.linterid
console.log(this.linterid)
//涓昏〃
- axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Json", {
params: { 'HInterID': rowHmainid,'HMaker':sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -1024,7 +1024,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + Operation + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Save_Json",
+ url: this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Save_Json",
data: {
'sMainSub': sMainSub
},
@@ -1053,7 +1053,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList.vue b/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList.vue
index 12fa2da..c608ef6 100644
--- a/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList.vue
+++ b/src/views/scMould/warehouse/Sc_MouldMoveStockRequestBillList.vue
@@ -403,7 +403,7 @@
this.pageSize = 50
}
// 鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldMoveStockRequestBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldMoveStockRequestBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -456,7 +456,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -845,7 +845,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -863,7 +863,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -893,7 +893,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldOutRequestBillEdit.vue b/src/views/scMould/warehouse/Sc_MouldOutRequestBillEdit.vue
index 958220e..c3e33c1 100644
--- a/src/views/scMould/warehouse/Sc_MouldOutRequestBillEdit.vue
+++ b/src/views/scMould/warehouse/Sc_MouldOutRequestBillEdit.vue
@@ -424,7 +424,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -436,7 +436,7 @@
});
},
SourceBillType(){
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: { "HName": '鍣ㄥ叿棰嗙敤鐢宠鍗�', "Num": 2 }//0钃濆崟 1绾㈠崟 2涓嶅垎绾㈣摑鍗�
}).then(response => {
if (response.data.count == 1) {
@@ -708,7 +708,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -736,7 +736,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNo_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNo_Json", {
params: {
HBillType: '3849'
}
@@ -753,7 +753,7 @@
let rowHmainid = this.linterid
console.log(this.linterid)
//涓昏〃
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Json", {
params: { 'HInterID': rowHmainid,'HMaker':sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -1017,7 +1017,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + Operation + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Save_Json",
+ url: this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Save_Json",
data: {
'sMainSub': sMainSub
},
@@ -1046,7 +1046,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldOutRequestBillList.vue b/src/views/scMould/warehouse/Sc_MouldOutRequestBillList.vue
index 9ea61ee..24151ce 100644
--- a/src/views/scMould/warehouse/Sc_MouldOutRequestBillList.vue
+++ b/src/views/scMould/warehouse/Sc_MouldOutRequestBillList.vue
@@ -417,7 +417,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldOutRequestBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldOutRequestBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -470,7 +470,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -854,7 +854,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -896,7 +896,7 @@
}).then(({ value }) => {
const newPallet = parseInt(value)
- return axios.post(this.baseURL + '/Sc_MouldOutRequestBillController/UpdatePallet', {
+ return axios.post(this.$baseUrl + '/Sc_MouldOutRequestBillController/UpdatePallet', {
hmainid: rowData.hmainid,
newPallet: newPallet,
operator: sessionStorage["HUserName"]
@@ -918,7 +918,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -937,7 +937,7 @@
// 鎵归噺鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBillAll(num, ids) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/CheckAll", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/CheckAll", {
params: { "ids": ids, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -966,7 +966,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -989,7 +989,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/scMould/warehouse/Sc_MouldProdBackBillEdit.vue b/src/views/scMould/warehouse/Sc_MouldProdBackBillEdit.vue
index 368c309..5286619 100644
--- a/src/views/scMould/warehouse/Sc_MouldProdBackBillEdit.vue
+++ b/src/views/scMould/warehouse/Sc_MouldProdBackBillEdit.vue
@@ -492,7 +492,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -504,7 +504,7 @@
});
},
SourceBillType(){
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: { "HName": '鍣ㄥ叿棰嗙敤閫�搴撳崟', "Num": 2 }//0钃濆崟 1绾㈠崟 2涓嶅垎绾㈣摑鍗�
}).then(response => {
if (response.data.count == 1) {
@@ -554,7 +554,7 @@
//鑾峰彇婧愬崟鏁版嵁
GetSourceBillList(HSourceInterID, HSourceEntryID, HSourceBillType) {
return new Promise((resolve, reject) => {
- axios.get(this.baseURL + "/Sc_MouldProdBackBillController/GetSourceBill_MouldProdBack_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdBackBillController/GetSourceBill_MouldProdBack_Json", {
params: { "HInterID": HSourceInterID, "HEntryID": HSourceEntryID, "HBillType": HSourceBillType }
}).then(response => {
if (response.data.count == 1) {
@@ -847,7 +847,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -875,7 +875,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNo_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNo_Json", {
params: {
HBillType: '3803'
}
@@ -926,7 +926,7 @@
let rowHmainid = this.linterid
console.log(this.linterid)
//涓昏〃
- axios.get(this.baseURL + "/Sc_MouldStockBillController/GetSc_MouldStockBill_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldStockBillController/GetSc_MouldStockBill_Json", {
params: { 'HInterID': rowHmainid,"HMaker": sessionStorage["HUserName"]}
}).then(response => {
if (response.data.count == 1) {
@@ -1171,7 +1171,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + Operation + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Sc_MouldProdBackBillController/GetSc_MouldProdBackBill_Save_Json",
+ url: this.$baseUrl + "/Sc_MouldProdBackBillController/GetSc_MouldProdBackBill_Save_Json",
data: {
'sMainSub': sMainSub
},
@@ -1200,7 +1200,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldProdBackBillController/GetSc_MouldProdBackBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdBackBillController/GetSc_MouldProdBackBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldProdBackBillList.vue b/src/views/scMould/warehouse/Sc_MouldProdBackBillList.vue
index 797cb34..ddd3d04 100644
--- a/src/views/scMould/warehouse/Sc_MouldProdBackBillList.vue
+++ b/src/views/scMould/warehouse/Sc_MouldProdBackBillList.vue
@@ -388,7 +388,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldProdBackBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldProdBackBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -442,7 +442,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -805,7 +805,7 @@
}).then(({ value }) => {
const newPallet = parseInt(value)
- return axios.post(this.baseURL + '/Sc_MouldProdBackBillController/UpdatePallet', {
+ return axios.post(this.$baseUrl + '/Sc_MouldProdBackBillController/UpdatePallet', {
hmainid: rowData.hmainid,
newPallet: newPallet,
operator: sessionStorage["HUserName"]
@@ -826,7 +826,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldProdBackBillController/GetSc_MouldProdBackBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdBackBillController/GetSc_MouldProdBackBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -844,7 +844,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldProdBackBill/AuditMouldProdBackBill", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdBackBill/AuditMouldProdBackBill", {
params: { "HInterID": InterID, "flag": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -874,7 +874,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -897,7 +897,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/scMould/warehouse/Sc_MouldProdMoveBillEdit.vue b/src/views/scMould/warehouse/Sc_MouldProdMoveBillEdit.vue
index 11e2035..e1711bf 100644
--- a/src/views/scMould/warehouse/Sc_MouldProdMoveBillEdit.vue
+++ b/src/views/scMould/warehouse/Sc_MouldProdMoveBillEdit.vue
@@ -538,7 +538,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -550,7 +550,7 @@
});
},
SourceBillType(){
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: { "HName": '鍣ㄥ叿璋冩嫧鍗�', "Num": 2 }//0钃濆崟 1绾㈠崟 2涓嶅垎绾㈣摑鍗�
}).then(response => {
if (response.data.count == 1) {
@@ -603,7 +603,7 @@
//鑾峰彇婧愬崟鏁版嵁
GetSourceBillList(HSourceInterID, HSourceEntryID, HSourceBillType) {
return new Promise((resolve, reject) => {
- axios.get(this.baseURL + "/Sc_MouldProdMoveBillController/GetSourceBill_MouldProdMove_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdMoveBillController/GetSourceBill_MouldProdMove_Json", {
params: { "HInterID": HSourceInterID, "HEntryID": HSourceEntryID, "HBillType": HSourceBillType }
}).then(response => {
if (response.data.count == 1) {
@@ -920,7 +920,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -948,7 +948,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/Web/GetMAXNum", {
+ axios.get(this.$baseUrl + "/Web/GetMAXNum", {
params: {
HBillType: '3814'
}
@@ -999,7 +999,7 @@
let rowHmainid = this.linterid
console.log(this.linterid)
//涓昏〃
- axios.get(this.baseURL + "/Sc_MouldStockBillController/GetSc_MouldStockBill_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldStockBillController/GetSc_MouldStockBill_Json", {
params: { 'HInterID': rowHmainid,"HMaker": sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -1251,7 +1251,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + Operation + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Sc_MouldProdMoveBillController/GetSc_MouldProdMoveBill_Save_Json",
+ url: this.$baseUrl + "/Sc_MouldProdMoveBillController/GetSc_MouldProdMoveBill_Save_Json",
data: {
'sMainSub': sMainSub
},
@@ -1280,7 +1280,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldProdMoveBillController/GetSc_MouldProdMoveBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdMoveBillController/GetSc_MouldProdMoveBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldProdMoveBillList.vue b/src/views/scMould/warehouse/Sc_MouldProdMoveBillList.vue
index a6752cc..bcbe0a1 100644
--- a/src/views/scMould/warehouse/Sc_MouldProdMoveBillList.vue
+++ b/src/views/scMould/warehouse/Sc_MouldProdMoveBillList.vue
@@ -384,7 +384,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldProdMoveBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldProdMoveBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -437,7 +437,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -773,7 +773,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldProdMoveBillController/GetSc_MouldProdMoveBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdMoveBillController/GetSc_MouldProdMoveBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -791,7 +791,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldProdMoveBill/AuditMouldProdMoveBill", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdMoveBill/AuditMouldProdMoveBill", {
params: { "HInterID": InterID, "flag": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -821,7 +821,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -844,7 +844,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/scMould/warehouse/Sc_MouldProdOutBillEdit.vue b/src/views/scMould/warehouse/Sc_MouldProdOutBillEdit.vue
index a365cb8..b4ce1dd 100644
--- a/src/views/scMould/warehouse/Sc_MouldProdOutBillEdit.vue
+++ b/src/views/scMould/warehouse/Sc_MouldProdOutBillEdit.vue
@@ -492,7 +492,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -504,7 +504,7 @@
});
},
SourceBillType(){
- axios.get(this.baseURL + "/Web/GetHSourceBillType", {
+ axios.get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: { "HName": '鍣ㄥ叿棰嗙敤鍑哄簱鍗�', "Num": 2 }//0钃濆崟 1绾㈠崟 2涓嶅垎绾㈣摑鍗�
}).then(response => {
if (response.data.count == 1) {
@@ -554,7 +554,7 @@
//鑾峰彇婧愬崟鏁版嵁
GetSourceBillList(HSourceInterID, HSourceEntryID, HSourceBillType) {
return new Promise((resolve, reject) => {
- axios.get(this.baseURL + "/Sc_MouldProdOutBillController/GetSourceBill_MouldProdOut_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdOutBillController/GetSourceBill_MouldProdOut_Json", {
params: { "HInterID": HSourceInterID, "HEntryID": HSourceEntryID, "HBillType": HSourceBillType }
}).then(response => {
if (response.data.count == 1) {
@@ -845,7 +845,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -873,7 +873,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNo_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNo_Json", {
params: {
HBillType: '3802'
}
@@ -924,7 +924,7 @@
let rowHmainid = this.linterid
console.log(this.linterid)
//涓昏〃
- axios.get(this.baseURL + "/Sc_MouldStockBillController/GetSc_MouldStockBill_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldStockBillController/GetSc_MouldStockBill_Json", {
params: { 'HInterID': rowHmainid,"HMaker": sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -1169,7 +1169,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + Operation + ";" + sessionStorage["HUserName"];
axios({
method: 'post',
- url: this.baseURL + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Save_Json",
+ url: this.$baseUrl + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Save_Json",
data: {
'sMainSub': sMainSub
},
@@ -1198,7 +1198,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/scMould/warehouse/Sc_MouldProdOutBillList.vue b/src/views/scMould/warehouse/Sc_MouldProdOutBillList.vue
index 6e895b8..9fad65a 100644
--- a/src/views/scMould/warehouse/Sc_MouldProdOutBillList.vue
+++ b/src/views/scMould/warehouse/Sc_MouldProdOutBillList.vue
@@ -387,7 +387,7 @@
this.pageSize = 50
}
// 鍒嗛〉鏌ヨ
- axios.get(this.baseURL + '/Sc_MouldProdOutBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldProdOutBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -441,7 +441,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -776,7 +776,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdOutBillController/GetSc_MouldProdOutBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -794,7 +794,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldProdOutBill/AuditMouldProdOutBill", {
+ axios.get(this.$baseUrl + "/Sc_MouldProdOutBill/AuditMouldProdOutBill", {
params: { "HInterID": InterID, "flag": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -837,7 +837,7 @@
}).then(({ value }) => {
const newPallet = parseInt(value)
- return axios.post(this.baseURL + '/Sc_MouldProdOutBill/UpdatePallet', {
+ return axios.post(this.$baseUrl + '/Sc_MouldProdOutBill/UpdatePallet', {
hmainid: rowData.hmainid,
newPallet: newPallet,
operator: sessionStorage["HUserName"]
@@ -869,7 +869,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -892,7 +892,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/scMould/warehouse/component/Sc_MouldInRequestBill.vue b/src/views/scMould/warehouse/component/Sc_MouldInRequestBill.vue
index 8893229..ae592fb 100644
--- a/src/views/scMould/warehouse/component/Sc_MouldInRequestBill.vue
+++ b/src/views/scMould/warehouse/component/Sc_MouldInRequestBill.vue
@@ -413,7 +413,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldInRequestBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldInRequestBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -464,7 +464,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -848,7 +848,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -866,7 +866,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/GetSc_MouldInRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -885,7 +885,7 @@
// 鎵归噺鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBillAll(num, ids) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldInRequestBillController/CheckAll", {
+ axios.get(this.$baseUrl + "/Sc_MouldInRequestBillController/CheckAll", {
params: { "ids": ids, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -914,7 +914,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -937,7 +937,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/scMould/warehouse/component/Sc_MouldMoveStockRequestBill.vue b/src/views/scMould/warehouse/component/Sc_MouldMoveStockRequestBill.vue
index 326daa8..1d09b77 100644
--- a/src/views/scMould/warehouse/component/Sc_MouldMoveStockRequestBill.vue
+++ b/src/views/scMould/warehouse/component/Sc_MouldMoveStockRequestBill.vue
@@ -403,7 +403,7 @@
this.pageSize = 50
}
// 鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldMoveStockRequestBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldMoveStockRequestBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -454,7 +454,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -843,7 +843,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -861,7 +861,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldMoveStockRequestBillController/GetSc_MouldMoveStockRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -891,7 +891,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
diff --git a/src/views/scMould/warehouse/component/Sc_MouldOutRequestBill.vue b/src/views/scMould/warehouse/component/Sc_MouldOutRequestBill.vue
index dd1772f..e245dda 100644
--- a/src/views/scMould/warehouse/component/Sc_MouldOutRequestBill.vue
+++ b/src/views/scMould/warehouse/component/Sc_MouldOutRequestBill.vue
@@ -413,7 +413,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Sc_MouldOutRequestBillController/page', {
+ axios.get(this.$baseUrl + '/Sc_MouldOutRequestBillController/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -464,7 +464,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -854,7 +854,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Delete_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Delete_Json", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'HMaker': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -872,7 +872,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Check_Json", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/GetSc_MouldOutRequestBill_Check_Json", {
params: { "HInterID": InterID, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -891,7 +891,7 @@
// 鎵归噺鍙嶅鏍�/瀹℃牳鏁版嵁
set_CheckBillAll(num, ids) {
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Sc_MouldOutRequestBillController/CheckAll", {
+ axios.get(this.$baseUrl + "/Sc_MouldOutRequestBillController/CheckAll", {
params: { "ids": ids, "Type": num, "HMaker": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -920,7 +920,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -943,7 +943,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue b/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue
index e582065..f0cf335 100644
--- a/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue
+++ b/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainList.vue
@@ -787,7 +787,7 @@
}, 300);
},
BillSync() {
- axios.get(`${this.baseURL}/Kf_ICStockBillMain/GetCStockBillList`, {
+ axios.get(`${this.$baseUrl}/Kf_ICStockBillMain/GetCStockBillList`, {
params: { BillNo: this.form.HBillno2, BillType: 1403 },
});
},
@@ -831,7 +831,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -937,7 +937,7 @@
}
try {
- let res = await axios.get(this.baseURL + "/Kf_ICStockBackBill/GetKf_ICStockBackBillList", {
+ let res = await axios.get(this.$baseUrl + "/Kf_ICStockBackBill/GetKf_ICStockBackBillList", {
params: {
sWhere: this.sWhere,
user: this.user,
@@ -1038,7 +1038,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1318,7 +1318,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: this.user,
@@ -1425,7 +1425,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Kf_ICStockBackBill/DropKf_ICStockBackBill", {
+ .get(this.$baseUrl + "Kf_ICStockBackBill/DropKf_ICStockBackBill", {
params: {
HInterID: form.hmainid.toString(),
HsupId: form.hsubid,
@@ -1457,7 +1457,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_ICStockBackBill/AuditKf_ICStockBackBill", {
+ .get(this.$baseUrl + "/Kf_ICStockBackBill/AuditKf_ICStockBackBill", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((res) => {
@@ -1478,7 +1478,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- this.baseURL+"/Kf_ICStockBackBill/CloseKf_ICStockBackBill",
+ this.$baseUrl+"/Kf_ICStockBackBill/CloseKf_ICStockBackBill",
{
params: {
HInterID: HInterID, IsAudit: num, CurUserName: this.user
@@ -1503,7 +1503,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- this.baseURL+"Kf_ICStockBackBill/DeleteKf_ICStockBackBill",
+ this.$baseUrl+"Kf_ICStockBackBill/DeleteKf_ICStockBackBill",
{
params: {
HInterID: HInterID, IsAudit: num, CurUserName: this.user
@@ -1527,7 +1527,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: { HInterID: InterID, IsAudit: num, CurUserName: this.user },
})
.then((res) => {
@@ -1609,7 +1609,7 @@
var sMainSub = sSubStr + "&鍜�" + this.user;
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue b/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue
index fef7788..08f0d9d 100644
--- a/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue
+++ b/src/views/sell/Kf_ICStockBillMainList/Kf_ICStockBillMainListEdit.vue
@@ -473,7 +473,7 @@
var dataArray = [];
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": data[i].hmainid
, "HSubID": data[i].hsubid
@@ -666,7 +666,7 @@
this.reset()
let rowHmainid = this.linterid
console.log("rowHmainid", rowHmainid)
- axios.get(this.baseURL + "Kf_ICStockBackBill/getEditInitData", {
+ axios.get(this.$baseUrl + "Kf_ICStockBackBill/getEditInitData", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -782,7 +782,7 @@
return;
}
- if (!this.baseURL) {
+ if (!this.$baseUrl) {
this.$modal.msgError("澶嶅埗澶辫触锛氭帴鍙e湴鍧�鏈厤缃�");
this.formShow = true;
this.formLoading = false;
@@ -794,7 +794,7 @@
console.log("寮�濮嬪鍒讹紝鍙傛暟:", { HInterID: rowHmainid })
// 娣诲姞璇锋眰瓒呮椂璁剧疆
- axios.get(this.baseURL + "Kf_ICStockBackBill/getEditInitData", {
+ axios.get(this.$baseUrl + "Kf_ICStockBackBill/getEditInitData", {
params: { 'HInterID': rowHmainid },
timeout: 10000 // 10绉掕秴鏃�
}).then(response => {
@@ -1036,7 +1036,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -1065,7 +1065,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -1264,7 +1264,7 @@
//#region 缁勭粐涓嬫媺鍒楄〃鏁版嵁鍒濆鍖�
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -1277,7 +1277,7 @@
//#region 鑾峰彇鍐呯爜銆佸崟鎹彿
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1201'
}
@@ -1295,7 +1295,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1201','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1311,7 +1311,7 @@
//#region 鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -1329,7 +1329,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
var data = response.data.data[0];
@@ -1344,7 +1344,7 @@
//#region 鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1361,7 +1361,7 @@
//#region 鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1378,7 +1378,7 @@
//#region 鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
diff --git a/src/views/sell/XsSeOutStockBackBillEdit.vue b/src/views/sell/XsSeOutStockBackBillEdit.vue
index 227d91a..92979f4 100644
--- a/src/views/sell/XsSeOutStockBackBillEdit.vue
+++ b/src/views/sell/XsSeOutStockBackBillEdit.vue
@@ -514,7 +514,7 @@
methods: {
getHSourceBillType() {
axios
- .get(this.baseURL + "/Web/GetHSourceBillType", {
+ .get(this.$baseUrl + "/Web/GetHSourceBillType", {
params: { HName: "閫�璐ч�氱煡鍗�", Num: 2 },
})
.then((res) => {
@@ -531,7 +531,7 @@
},
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -562,7 +562,7 @@
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/cx", {
params: {
HInterID: data[i].hmainid,
},
@@ -686,7 +686,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -851,7 +851,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -884,7 +884,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: "1402",
},
@@ -903,7 +903,7 @@
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
axios
- .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -922,7 +922,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
axios
- .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
+ .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -940,7 +940,7 @@
this.reset();
let rowHmainid = this.HInterID2;
axios
- .get(this.baseURL + "/Xs_SeOutStockBackBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBackBill/cx", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1040,7 +1040,7 @@
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID,
},
@@ -1193,7 +1193,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: "get",
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
})
.then((response) => {
@@ -1232,7 +1232,7 @@
this.OperationType;
axios({
method: "post",
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
msg: sMainSub,
},
@@ -1262,7 +1262,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/sell/XsSeOutStockBackBillList.vue b/src/views/sell/XsSeOutStockBackBillList.vue
index 6b49044..a91712e 100644
--- a/src/views/sell/XsSeOutStockBackBillList.vue
+++ b/src/views/sell/XsSeOutStockBackBillList.vue
@@ -803,7 +803,7 @@
},
methods: {
BillSync() {
- axios.get(`${this.baseURL}/Xs_SeOutStockBackBill/Xs_SeOutStockBackBillViewApi`, {
+ axios.get(`${this.$baseUrl}/Xs_SeOutStockBackBill/Xs_SeOutStockBackBillViewApi`, {
params: { BillNo: this.form.HBillno2, BillType: 1403 },
});
},
@@ -847,7 +847,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -958,7 +958,7 @@
}
try {
- let res = await axios.get(this.baseURL + "/Xs_SeOutStockBackBill/list_byPage", {
+ let res = await axios.get(this.$baseUrl + "/Xs_SeOutStockBackBill/list_byPage", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1064,7 +1064,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1345,7 +1345,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1430,7 +1430,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
params: {
HInter: this.rowForm.hmainid.toString(),
HsupId: this.rowForm.HsupId,
@@ -1462,7 +1462,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
params: {
HInterID: InterID,
TypeError: num,
@@ -1487,7 +1487,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1514,7 +1514,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1541,7 +1541,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1567,7 +1567,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1641,7 +1641,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/sell/XsSeOutStockBill.vue b/src/views/sell/XsSeOutStockBill.vue
index 6783266..36b4215 100644
--- a/src/views/sell/XsSeOutStockBill.vue
+++ b/src/views/sell/XsSeOutStockBill.vue
@@ -557,7 +557,7 @@
},
methods: {
BillSync() {
- axios.get(`${this.baseURL}/Xs_SeOutStockBill/Xs_SeOutStockBillViewApi`, {
+ axios.get(`${this.$baseUrl}/Xs_SeOutStockBill/Xs_SeOutStockBillViewApi`, {
params: { HBillNo: this.form.HBillNo2, BillType: 1402 },
});
},
@@ -601,7 +601,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -711,7 +711,7 @@
(e) => e.ID == this.queryParams.HOrgID
)?.Name;
try {
- let res = await axios.get(this.baseURL + "/Xs_SeOutStockBill/list_byPage", {
+ let res = await axios.get(this.$baseUrl + "/Xs_SeOutStockBill/list_byPage", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -817,7 +817,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1114,7 +1114,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1199,7 +1199,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/DeltetSeOutStockBill", {
params: {
HInter: this.rowForm.hmainid.toString(),
HsupId: this.rowForm.HsupId,
@@ -1231,7 +1231,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/CheckXs_SeOutStockBill", {
params: {
HInterID: InterID,
TypeError: num,
@@ -1256,7 +1256,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1283,7 +1283,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CloseRowXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1310,7 +1310,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
+ `${this.$baseUrl}/Xs_SeOutStockBill/CancellXs_SeOutStockBill`,
{
params: {
HInterID: HInterID,
@@ -1336,7 +1336,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1410,7 +1410,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/sell/XsSeOutStockBillEdit.vue b/src/views/sell/XsSeOutStockBillEdit.vue
index 7db2aa0..be337c7 100644
--- a/src/views/sell/XsSeOutStockBillEdit.vue
+++ b/src/views/sell/XsSeOutStockBillEdit.vue
@@ -559,7 +559,7 @@
},
getHSourceBillType() {
axios
- .get(`${this.baseURL}/Web/GetHSourceBillType`, {
+ .get(`${this.$baseUrl}/Web/GetHSourceBillType`, {
params: {
HName: "鍙戣揣閫氱煡鍗�",
Num: 2,
@@ -585,7 +585,7 @@
},
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -616,7 +616,7 @@
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/cx", {
params: {
HInterID: data[i].hmainid,
},
@@ -739,7 +739,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -921,7 +921,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -954,7 +954,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: "1402",
},
@@ -973,7 +973,7 @@
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
axios
- .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -992,7 +992,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
axios
- .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
+ .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -1010,7 +1010,7 @@
this.reset();
let rowHmainid = this.HInterID2;
axios
- .get(this.baseURL + "/Xs_SeOutStockBill/cx", {
+ .get(this.$baseUrl + "/Xs_SeOutStockBill/cx", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1120,7 +1120,7 @@
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID,
},
@@ -1273,7 +1273,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: "get",
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
})
.then((response) => {
@@ -1312,7 +1312,7 @@
this.OperationType;
axios({
method: "post",
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
msg: sMainSub,
},
@@ -1342,7 +1342,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/sell/sellOut/sellOutBill.vue b/src/views/sell/sellOut/sellOutBill.vue
index cf5ab8f..3184a59 100644
--- a/src/views/sell/sellOut/sellOutBill.vue
+++ b/src/views/sell/sellOut/sellOutBill.vue
@@ -630,7 +630,7 @@
}
// 閿�鍞嚭搴撳崟鍒楄〃
axios
- .get(this.baseURL + "/Kf_SellOutBill/GetSellOutBillList_byPage", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/GetSellOutBillList_byPage", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -740,7 +740,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1072,7 +1072,7 @@
if (this.rowForm.鐘舵�� == "鍒涘缓") {
this.loading = true;
axios
- .get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -1103,7 +1103,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1138,7 +1138,7 @@
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
axios
- .get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { HInterID: this.rowForm.hmainid },
})
.then((response) => {
@@ -1187,7 +1187,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((response) => {
var data1 = response.data;
if (data1.count == 1) {
diff --git a/src/views/sell/sellOut/sellOutBillEdit.vue b/src/views/sell/sellOut/sellOutBillEdit.vue
index 1391f14..c54c9eb 100644
--- a/src/views/sell/sellOut/sellOutBillEdit.vue
+++ b/src/views/sell/sellOut/sellOutBillEdit.vue
@@ -470,7 +470,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -489,7 +489,7 @@
var dataArray = [];
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": data[i].hmainid
, "HSubID": data[i].hsubid
@@ -608,7 +608,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -788,7 +788,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -818,7 +818,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1205'
}
@@ -834,7 +834,7 @@
},
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -849,7 +849,7 @@
},
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
if(response.data.count == 0) {
@@ -869,7 +869,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_SellOutBill/cx", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1022,7 +1022,7 @@
},
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1176,7 +1176,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1206,7 +1206,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -1233,7 +1233,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/sell/sellOutBill/component/btnSettings/index.vue b/src/views/sell/sellOutBill/component/btnSettings/index.vue
index 88f885a..893f221 100644
--- a/src/views/sell/sellOutBill/component/btnSettings/index.vue
+++ b/src/views/sell/sellOutBill/component/btnSettings/index.vue
@@ -102,7 +102,7 @@
getDisplay() {
this.loading = false
// this.HModName = "Kf_SellOutBillList"
- axios.get(this.baseURL + '/Xt_ModuleButtonSet_WMES/moduleButtonSetWMESList', {
+ axios.get(this.$baseUrl + '/Xt_ModuleButtonSet_WMES/moduleButtonSetWMESList', {
params: { "HModName": 'Gy_Source',"HBillType":'Gy_Source', "user": this.user },
}).then(response => {
console.log(response)
@@ -218,7 +218,7 @@
const sMainSub = `${sMainStr};${sSubStr};${this.HModName};${OperationType};${this.user}`
axios({
method: 'post',
- url: this.baseURL + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
+ url: this.$baseUrl + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
data: {
'sMainSub': sMainSub
},
@@ -243,7 +243,7 @@
handleDel() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
console.log(this.rowForm.hmainid.toString())
- axios.get(this.baseURL + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
+ axios.get(this.$baseUrl + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
params: { "HModName": this.HModName, "user": this.user }
}).then(response => {
let result=response.data
diff --git a/src/views/sell/sellOutBill/component/dept/index.vue b/src/views/sell/sellOutBill/component/dept/index.vue
index 225b5d7..3525326 100644
--- a/src/views/sell/sellOutBill/component/dept/index.vue
+++ b/src/views/sell/sellOutBill/component/dept/index.vue
@@ -107,7 +107,7 @@
getList() {
let sWhere = ''
this.loading = true
- axios.get(this.baseURL + '/Gy_Department/list', {
+ axios.get(this.$baseUrl + '/Gy_Department/list', {
params: { "sWhere": sWhere, "user": this.user, "Organization": '娴欐睙鏅轰簯杩堟��' },
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/sell/sellOutBill/component/material/index.vue b/src/views/sell/sellOutBill/component/material/index.vue
index 30493fd..453bf95 100644
--- a/src/views/sell/sellOutBill/component/material/index.vue
+++ b/src/views/sell/sellOutBill/component/material/index.vue
@@ -88,7 +88,7 @@
getList() {
let sWhere = ''
this.loading = true
- axios.get(this.baseURL + '/Gy_Material/list', {
+ axios.get(this.$baseUrl + '/Gy_Material/list', {
params: { "sWhere": sWhere, "user": this.user, "Organization": '娴欐睙鏅轰簯杩堟��' },
}).then(response => {
console.log(response)
diff --git a/src/views/sell/sellOutBill/component/rowSettings/index.vue b/src/views/sell/sellOutBill/component/rowSettings/index.vue
index 368bb46..35fbd2e 100644
--- a/src/views/sell/sellOutBill/component/rowSettings/index.vue
+++ b/src/views/sell/sellOutBill/component/rowSettings/index.vue
@@ -156,7 +156,7 @@
this.loading = true
// this.HModName = "Kf_SellOutBillList"
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: { "HModName": this.HModName, "user": this.user },
}).then(response => {
var data1 = response.data
@@ -273,7 +273,7 @@
const sMainSub = `${sMainStr};${sSubStr};${this.HModName};${OperationType};${this.user}`
axios({
method: 'post',
- url: this.baseURL + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
+ url: this.$baseUrl + "/Xt_grdAlignment_WMES/AddgrdAlignmentWMES",
data: {
'sMainSub': sMainSub
},
@@ -297,7 +297,7 @@
// 鍒犻櫎
handleDel() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
+ axios.get(this.$baseUrl + "/Xt_grdAlignment_WMES/DelgrdAlignmentWMES", {
params: { "HModName": this.HModName, "user": this.user }
}).then(response => {
console.log(response)
diff --git a/src/views/sell/sellOutBill/component/warehouse/index.vue b/src/views/sell/sellOutBill/component/warehouse/index.vue
index 2333e6a..ed0ba89 100644
--- a/src/views/sell/sellOutBill/component/warehouse/index.vue
+++ b/src/views/sell/sellOutBill/component/warehouse/index.vue
@@ -88,7 +88,7 @@
getList() {
let sWhere = ''
this.loading = true
- axios.get(this.baseURL + '/Gy_Warehouse/list', {
+ axios.get(this.$baseUrl + '/Gy_Warehouse/list', {
params: { "sWhere": sWhere, "user": this.user, "Organization": '娴欐睙鏅轰簯杩堟��' },
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/sell/sellOutBill/edit/index.vue b/src/views/sell/sellOutBill/edit/index.vue
index 01fbfe0..57df33e 100644
--- a/src/views/sell/sellOutBill/edit/index.vue
+++ b/src/views/sell/sellOutBill/edit/index.vue
@@ -469,7 +469,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -490,7 +490,7 @@
var dataArray = [];
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": data[i].hmainid
, "HSubID": data[i].hsubid
@@ -609,7 +609,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -770,7 +770,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -800,7 +800,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ axios.get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: '1205'
}
@@ -816,7 +816,7 @@
},
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
- axios.get(this.baseURL + '/Kf_SellOutBill/BarCodeNote', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/BarCodeNote', {
params: { "HInterID": rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -831,7 +831,7 @@
},
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
- axios.get(this.baseURL + '/Xs_CusRatingChangeBill/getCustomerBalance', {
+ axios.get(this.$baseUrl + '/Xs_CusRatingChangeBill/getCustomerBalance', {
params: { "HCusID": HCusID, 'CurUserName': sessionStorage["HUserName"] }
}).then(response => {
@@ -853,7 +853,7 @@
this.reset()
let rowHmainid = this.linterid
console.log(this.linterid)
- axios.get(this.baseURL + "/Kf_SellOutBill/cx", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1006,7 +1006,7 @@
},
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
@@ -1162,7 +1162,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: 'get',
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { "sql": sql, "user": sessionStorage["HUserName"], "ModRightNameCheck": "" },
}).then(response => {
if (response.data.count == 1) {
@@ -1192,7 +1192,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + sessionStorage["HUserName"] + ';' + this.OperationType;
axios({
method: 'post',
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
'msg': sMainSub
},
@@ -1219,7 +1219,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/sell/sellOutBill/index.vue b/src/views/sell/sellOutBill/index.vue
index 2a02ae5..6977d94 100644
--- a/src/views/sell/sellOutBill/index.vue
+++ b/src/views/sell/sellOutBill/index.vue
@@ -363,7 +363,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Kf_SellOutBill/GetSellOutBillList_byPage', {
+ axios.get(this.$baseUrl + '/Kf_SellOutBill/GetSellOutBillList_byPage', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -438,7 +438,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -749,7 +749,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "/Kf_SellOutBill/DeltetSellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/DeltetSellOutBill", {
params: { 'HInterID': this.rowForm.hmainid.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -770,7 +770,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -799,7 +799,7 @@
} else if (this.rowForm.鐘舵�� != "宸插鏍�" && !this.defaintOperationByCompanyName()) {
this.$modal.msgError("鎵撳嵃澶辫触!鍘熷洜锛氬崟鎹姸鎬佷笉涓�'宸插鏍�'鐘舵��!!");
} else {
- axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
params: { "HInterID": this.rowForm.hmainid }
}).then(response => {
var result = response.data
@@ -822,7 +822,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/sell/xsSeOrderBill/xsSeOrderBill.vue b/src/views/sell/xsSeOrderBill/xsSeOrderBill.vue
index 8f412b5..7aa3c42 100644
--- a/src/views/sell/xsSeOrderBill/xsSeOrderBill.vue
+++ b/src/views/sell/xsSeOrderBill/xsSeOrderBill.vue
@@ -836,7 +836,7 @@
defaintOperationByCompanyName() {
var result = false;
axios
- .get(this.baseURL + "/Xt_getInfo/getCompanyName")
+ .get(this.$baseUrl + "/Xt_getInfo/getCompanyName")
.then((res) => {
var data1 = res.data;
if (data1.count == 1) {
@@ -939,7 +939,7 @@
this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) <= '" + this.eTime + "'";
}
try {
- let res = await axios.get(this.baseURL + "Xs_SeOrderBill/list_ByPage", {
+ let res = await axios.get(this.$baseUrl + "Xs_SeOrderBill/list_ByPage", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -1045,7 +1045,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -1333,7 +1333,7 @@
getOrgIDByUser() {
var res = "";
axios
- .get(this.baseURL + "/Xt_User/getOrgIDListByUser", {
+ .get(this.$baseUrl + "/Xt_User/getOrgIDListByUser", {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -1418,7 +1418,7 @@
.then(() => {
if (!this.rowForm.瀹℃牳浜�) {
axios
- .get(this.baseURL + "Xs_SeOrderBill/DropXs_SeOrderBill", {
+ .get(this.$baseUrl + "Xs_SeOrderBill/DropXs_SeOrderBill", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
@@ -1446,7 +1446,7 @@
var InterID = form.HItemID || form.HInterID || form.hmainid;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Cg_POInStockBill/AuditCg_POInStockBill", {
+ .get(this.$baseUrl + "/Cg_POInStockBill/AuditCg_POInStockBill", {
params: {
HInterID: InterID,
IsAudit: num,
@@ -1471,7 +1471,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1498,7 +1498,7 @@
let HEntryID = form.HEntryID || form.hsubid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/CloseRowCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1525,7 +1525,7 @@
let HInterID = form.HItemID || form.HInterID || form.hmainid;
try {
let res = await axios.get(
- `${this.baseURL}/Cg_POInStockBill/DropCg_POInStockBill`,
+ `${this.$baseUrl}/Cg_POInStockBill/DropCg_POInStockBill`,
{
params: {
HInterID: HInterID,
@@ -1551,7 +1551,7 @@
var InterID = form.HItemID || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Gy_Employee/StopGy_Employee", {
+ .get(this.$baseUrl + "/Gy_Employee/StopGy_Employee", {
params: {
HInterID: InterID,
IsStop: num,
@@ -1625,7 +1625,7 @@
var sMainSub = sSubStr + "&鍜�" + sessionStorage["HUserName"];
axios({
method: "post",
- url: this.baseURL + "/Gy_Source/Gy_Source_btnSave",
+ url: this.$baseUrl + "/Gy_Source/Gy_Source_btnSave",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue b/src/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue
index e6aca23..7eb086b 100644
--- a/src/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue
+++ b/src/views/sell/xsSeOrderBill/xsSeOrderBillEdit.vue
@@ -630,7 +630,7 @@
methods: {
fetchData() {
axios
- .get(this.baseURL + "/Web/GetOrganizations", {})
+ .get(this.$baseUrl + "/Web/GetOrganizations", {})
.then((response) => {
if (response.data.count == 1) {
this.organizationList = response.data.data.map((item) => {
@@ -661,7 +661,7 @@
for (var i = 0; i < data.length; i++) {
// this.getPushSourceBillInit(data[i].hmainid, data[i].hsubid);
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: data[i].hmainid,
},
@@ -784,7 +784,7 @@
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Push", {
params: {
HInterID: HSourceInterID,
HSubID: HSourceEntryID,
@@ -949,7 +949,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCzyglByUser", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCzyglByUser", {
params: { CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -982,7 +982,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/WEBSController/GetMaxBillNoAndID_Json", {
+ .get(this.$baseUrl + "/WEBSController/GetMaxBillNoAndID_Json", {
params: {
HBillType: "1401",
},
@@ -1001,7 +1001,7 @@
//鑾峰彇閿�鍞嚭搴撳崟瀵瑰簲鐨勬潯鐮佹槑缁�
getBarCodeNoteBySellOutBill(rowHmainid) {
axios
- .get(this.baseURL + "/Kf_SellOutBill/BarCodeNote", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/BarCodeNote", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1020,7 +1020,7 @@
//#region 鏍规嵁瀹㈡埛鑾峰彇瀹㈡埛浣欓
getCustomerBalance(HCusID) {
axios
- .get(this.baseURL + "/Xs_CusRatingChangeBill/getCustomerBalance", {
+ .get(this.$baseUrl + "/Xs_CusRatingChangeBill/getCustomerBalance", {
params: { HCusID: HCusID, CurUserName: sessionStorage["HUserName"] },
})
.then((response) => {
@@ -1038,7 +1038,7 @@
this.reset();
let rowHmainid = this.HInterID2;
axios
- .get(this.baseURL + "/Xs_SeOrderBill/loadXs_SeOrderBill_Edit", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/loadXs_SeOrderBill_Edit", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1185,7 +1185,7 @@
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
axios
- .get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ .get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID,
},
@@ -1342,7 +1342,7 @@
var sql = `exec h_p_Xt_GetMaxBillNo_SubType '1205','${this.form.HDate}',0,0,0,'${Type}','${this.form.HDeptID}'`;
axios({
method: "get",
- url: this.baseURL + "/CommonModel/searchMethod",
+ url: this.$baseUrl + "/CommonModel/searchMethod",
params: { sql: sql, user: sessionStorage["HUserName"], ModRightNameCheck: "" },
})
.then((response) => {
@@ -1381,7 +1381,7 @@
this.OperationType;
axios({
method: "post",
- url: this.baseURL + "/Kf_SellOutBill/SaveSellOutBillList",
+ url: this.$baseUrl + "/Kf_SellOutBill/SaveSellOutBillList",
data: {
msg: sMainSub,
},
@@ -1411,7 +1411,7 @@
var InterID = form.hmainid || form.HInterID;
//閫昏緫瀹℃牳鏂规硶
axios
- .get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ .get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: {
HInterID: InterID,
IsAudit: num,
diff --git a/src/views/system/user/GyDriver.vue b/src/views/system/user/GyDriver.vue
index 897f4a2..474bfae 100644
--- a/src/views/system/user/GyDriver.vue
+++ b/src/views/system/user/GyDriver.vue
@@ -824,7 +824,7 @@
async initData() {
try {
const userRes = await axios.get(
- `${this.baseURL}/Web/GetUser?UserName=${
+ `${this.$baseUrl}/Web/GetUser?UserName=${
sessionStorage.getItem("UserName") || "001"
}&PassWord=123456&HOrgName=100038`
);
@@ -835,7 +835,7 @@
this.queryParams.HUSEORGID = userData.HUSEORGID;
}
- const orgRes = await axios.get(`${this.baseURL}/Web/GetOrganizations`);
+ const orgRes = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`);
if (orgRes.data.count == 1) {
this.organizationList = orgRes.data.data;
}
@@ -863,7 +863,7 @@
size: this.pageSize,
};
- const res = await axios.get(`${this.baseURL}/Gy_DriverController/list`, {
+ const res = await axios.get(`${this.$baseUrl}/Gy_DriverController/list`, {
params,
});
@@ -930,7 +930,7 @@
async DisPlay_HideColumn() {
try {
const res = await axios.get(
- `${this.baseURL}/Xt_grdAlignment_WMES/grdAlignmentWMESList`,
+ `${this.$baseUrl}/Xt_grdAlignment_WMES/grdAlignmentWMESList`,
{
params: {
HModName: this.HModName,
@@ -1126,7 +1126,7 @@
}
try {
- const res = await axios.get(`${this.baseURL}/Gy_Driver/Gy_DriverViewApi`, {
+ const res = await axios.get(`${this.$baseUrl}/Gy_Driver/Gy_DriverViewApi`, {
params: {
Number: this.queryParams.HSyncNumber,
Type: "JSY", // 椹鹃┒鍛樼被鍨�
@@ -1257,7 +1257,7 @@
try {
await this.$modal.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠");
- const res = await axios.get(`${this.baseURL}/DeltetGy_Driver`, {
+ const res = await axios.get(`${this.$baseUrl}/DeltetGy_Driver`, {
params: {
HItemID: this.rowForm.HItemID.toString(),
user: this.user,
@@ -1288,7 +1288,7 @@
const action = isAudit ? "鍙嶅鏍�" : "瀹℃牳";
await this.$modal.confirm(`纭瑕�${action}鍚楋紵`);
- const res = await axios.get(`${this.baseURL}/Gy_Driver/AuditGy_Driver`, {
+ const res = await axios.get(`${this.$baseUrl}/Gy_Driver/AuditGy_Driver`, {
params: {
HInterID: this.rowForm.HItemID.toString(),
IsAudit: isAudit,
@@ -1320,7 +1320,7 @@
const action = isStop ? "鍙嶇鐢�" : "绂佺敤";
await this.$modal.confirm(`纭瑕�${action}鍚楋紵`);
- const res = await axios.get(`${this.baseURL}/Gy_Driver/StopGy_Driver`, {
+ const res = await axios.get(`${this.$baseUrl}/Gy_Driver/StopGy_Driver`, {
params: {
HInterID: this.rowForm.HItemID.toString(),
IsStop: isStop,
@@ -1457,7 +1457,7 @@
const sSubStr = JSON.stringify(validData);
const sMainSub = sSubStr + "&鍜�" + this.user;
- const res = await axios.post(`${this.baseURL}/Gy_Driver/Gy_Process_Excel`, {
+ const res = await axios.post(`${this.$baseUrl}/Gy_Driver/Gy_Process_Excel`, {
sMainSub: sMainSub,
});
@@ -1537,7 +1537,7 @@
// 鍔犺浇杩囨护鏂规
async loadFilterSchemes() {
try {
- const res = await axios.get(`${this.baseURL}/Xt_FastICScheme/list`, {
+ const res = await axios.get(`${this.$baseUrl}/Xt_FastICScheme/list`, {
params: {
HModuleName: this.HModuleName,
user: this.user,
@@ -1573,7 +1573,7 @@
try {
await this.$modal.confirm(`纭瑕佸垹闄ゆ柟妗�"${row.鏂规鍚嶇О}"鍚楋紵`);
- const res = await axios.post(`${this.baseURL}/Xt_FastICScheme/delete`, {
+ const res = await axios.post(`${this.$baseUrl}/Xt_FastICScheme/delete`, {
HInterID: row.hmainid,
});
diff --git a/src/views/system/user/GyDriverEdit.vue b/src/views/system/user/GyDriverEdit.vue
index 7f15f13..f4a0ce6 100644
--- a/src/views/system/user/GyDriverEdit.vue
+++ b/src/views/system/user/GyDriverEdit.vue
@@ -414,7 +414,7 @@
// 鑾峰彇缁勭粐鍒楄〃
async getOrganizationList() {
try {
- const res = await axios.get(`${this.baseURL}/Web/GetOrganizations`);
+ const res = await axios.get(`${this.$baseUrl}/Web/GetOrganizations`);
if (res.data.count === 1) {
this.organizationList = res.data.data;
const orgId = sessionStorage.getItem("Organization");
@@ -474,10 +474,10 @@
async loadDriverData(linterid) {
try {
- const res = await axios.get(`${this.baseURL}/Gy_Driver/cx`, {
+ const res = await axios.get(`${this.$baseUrl}/Gy_Driver/cx`, {
params: { HInterID: linterid },
});
- console.log("椹鹃┒鍛樻暟鎹姞杞藉搷搴�:", linterid,this.baseURL);
+ console.log("椹鹃┒鍛樻暟鎹姞杞藉搷搴�:", linterid,this.$baseUrl);
console.log("鍔犺浇椹鹃┒鍛樻暟鎹�:", res.data.data);
if (res.data.data[0]) {
const data = res.data.data[0];
@@ -569,7 +569,7 @@
console.log("淇濆瓨鏁版嵁:", saveData);
const sMainStr = JSON.stringify(saveData);
- const res = await axios.post(`${this.baseURL}/Gy_Driver/AddBill1`, {
+ const res = await axios.post(`${this.$baseUrl}/Gy_Driver/AddBill1`, {
oMain: `${sMainStr};${sessionStorage.getItem("HUserName")};${
sessionStorage.getItem("OrganizationID") || 100038
}`,
@@ -597,7 +597,7 @@
try {
await this.$modal.confirm("纭瑕佸鏍稿悧?");
- const res = await axios.get(`${this.baseURL}/Gy_Driver/AuditGy_Driver`, {
+ const res = await axios.get(`${this.$baseUrl}/Gy_Driver/AuditGy_Driver`, {
params: {
HInterID: this.formData.HItemID,
IsAudit: 0,
diff --git a/src/views/system/user/Xt_UserGroupEdit.vue b/src/views/system/user/Xt_UserGroupEdit.vue
index c762ae4..61dc947 100644
--- a/src/views/system/user/Xt_UserGroupEdit.vue
+++ b/src/views/system/user/Xt_UserGroupEdit.vue
@@ -187,7 +187,7 @@
let sWhere = " and HGroupID=" + rowHmainid ;
console.log("缂栬緫鐢ㄦ埛ID",rowHmainid)
///Xt_User/EditUser
- axios.get(this.baseURL + "Xt_UserGroup/list", {
+ axios.get(this.$baseUrl + "Xt_UserGroup/list", {
params: { 'sWhere': sWhere }
}).then(response => {
if (response.data.code == 1) {
@@ -253,7 +253,7 @@
//#region 鑾峰彇瀛愯〃鏁版嵁
async getUserGroup() {
//瑙掕壊鍒楄〃
- axios.get(this.baseURL + '/Xt_User/list', {
+ axios.get(this.$baseUrl + '/Xt_User/list', {
params: {
sWhere: '',
user: sessionStorage["HUserName"],
@@ -277,7 +277,7 @@
async get_DisplayUserGroupInfoList() {
var sWhere = "and GroupId='" + this.linterid + "'";
- axios.get(this.baseURL + '/Xt_UserGroup/UserGroupInfoList', {
+ axios.get(this.$baseUrl + '/Xt_UserGroup/UserGroupInfoList', {
params: {
sWhere: sWhere,
},
@@ -344,7 +344,7 @@
var sMainStr = JSON.stringify(this.form) + ';' + Sav + ';' + sSubStr;
axios({
method: 'post',
- url: this.baseURL + "/Xt_User/SaveUser",
+ url: this.$baseUrl + "/Xt_User/SaveUser",
data: {
'msg': sMainStr
},
diff --git a/src/views/system/user/Xt_UserGroupList.vue b/src/views/system/user/Xt_UserGroupList.vue
index ad09d74..ace6296 100644
--- a/src/views/system/user/Xt_UserGroupList.vue
+++ b/src/views/system/user/Xt_UserGroupList.vue
@@ -308,7 +308,7 @@
//#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -432,7 +432,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Xt_UserGroup/list', {
+ axios.get(this.$baseUrl + '/Xt_UserGroup/list', {
params: {
"sWhere": this.sWhere,
},
@@ -545,7 +545,7 @@
//#region 鍒犻櫎
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
- axios.get(this.baseURL + "/Xt_UserGroup/DelXt_UserGroupList", {
+ axios.get(this.$baseUrl + "/Xt_UserGroup/DelXt_UserGroupList", {
params: { 'HInterID': this.rowForm.HGroupID.toString(), 'user': sessionStorage["HUserName"] }
}).then(response => {
if (response.data.count == 1) {
@@ -574,7 +574,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -740,7 +740,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
diff --git a/src/views/system/user/powerInformation.vue b/src/views/system/user/powerInformation.vue
index a47ef9a..6e018fa 100644
--- a/src/views/system/user/powerInformation.vue
+++ b/src/views/system/user/powerInformation.vue
@@ -78,7 +78,7 @@
methods: {
getTreeselect() {
console.log(1)
- axios.get(this.baseURL + 'Gy_MaintenanceMode/PowerLoadTree').then(response => {
+ axios.get(this.$baseUrl + 'Gy_MaintenanceMode/PowerLoadTree').then(response => {
let data1 = response.data
if (data1.count == 1) {
let map = {};
@@ -120,7 +120,7 @@
}
this.queryData = []
let text = ''
- axios.get(this.baseURL + '/PublicPageMethod/PowerList', {
+ axios.get(this.$baseUrl + '/PublicPageMethod/PowerList', {
params: {
czybm: this.linterid,
sGnbm: this.sGnbm,
@@ -175,7 +175,7 @@
var sMainSub = this.sGnbm + ';' + sSubStr + ';' + this.linterid + ";" + this.HSouceBillType;
axios({
method: 'post',
- url: this.baseURL + "/Gy_MaintenanceMode/SaverPower",
+ url: this.$baseUrl + "/Gy_MaintenanceMode/SaverPower",
data: {
'msg': sMainSub
},
diff --git a/src/views/system/user/xtUserList.vue b/src/views/system/user/xtUserList.vue
index 4ff2256..3efc06b 100644
--- a/src/views/system/user/xtUserList.vue
+++ b/src/views/system/user/xtUserList.vue
@@ -352,7 +352,7 @@
}
// this.sWhere += " and HUSEORGID = '" + this.queryParams.HUSEORGID + "'"
//鍒楄〃
- axios.get(this.baseURL + '/Xt_User/list', {
+ axios.get(this.$baseUrl + '/Xt_User/list', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -382,7 +382,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -641,7 +641,7 @@
//鏍规嵁鐢ㄦ埛鑾峰彇鐢ㄦ埛鍏宠仈缁勭粐鐨勮繃婊ゆ潯浠�
getOrgIDByUser() {
var res = "";
- axios.get(this.baseURL + '/Xt_User/getOrgIDListByUser', {
+ axios.get(this.$baseUrl + '/Xt_User/getOrgIDListByUser', {
params: {
HModName: this.HModName,
user: sessionStorage["HUserName"],
@@ -726,7 +726,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
var HCzybm = this.rowForm.鐢ㄦ埛缂栫爜.toString();
- axios.get(this.baseURL + "/Xt_User/DeltetUser", {
+ axios.get(this.$baseUrl + "/Xt_User/DeltetUser", {
params: { "HCzybm": HCzybm }
}).then(response => {
if (response.data.count == 1) {
diff --git a/src/views/system/user/xtUserListEdit.vue b/src/views/system/user/xtUserListEdit.vue
index 00c11d1..eb61b8d 100644
--- a/src/views/system/user/xtUserListEdit.vue
+++ b/src/views/system/user/xtUserListEdit.vue
@@ -367,7 +367,7 @@
},
getUserGroup() {
//瑙掕壊鍒楄〃
- axios.get(this.baseURL + '/Xt_UserGroup/list', {
+ axios.get(this.$baseUrl + '/Xt_UserGroup/list', {
params: {
sWhere: '',
},
@@ -383,7 +383,7 @@
},
get_DisplayUserGroupInfoList() {
var sWhere = "and UserId='" + this.linterid + "'";
- axios.get(this.baseURL + '/Xt_UserGroup/UserGroupInfoList', {
+ axios.get(this.$baseUrl + '/Xt_UserGroup/UserGroupInfoList', {
params: {
sWhere: sWhere,
},
@@ -413,7 +413,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -593,7 +593,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Xt_User/EditUser", {
+ axios.get(this.$baseUrl + "/Xt_User/EditUser", {
params: { 'HID': rowHmainid }
}).then(response => {
if (response.data.code == 1) {
@@ -689,7 +689,7 @@
var sMainStr = JSON.stringify(this.form) + ';' + Sav + ';' + sSubStr;
axios({
method: 'post',
- url: this.baseURL + "/Xt_User/SaveUser",
+ url: this.$baseUrl + "/Xt_User/SaveUser",
data: {
'msg': sMainStr
},
diff --git a/src/views/system/user/xtUserRightQuery.vue b/src/views/system/user/xtUserRightQuery.vue
index f95e5fa..c0d94f1 100644
--- a/src/views/system/user/xtUserRightQuery.vue
+++ b/src/views/system/user/xtUserRightQuery.vue
@@ -120,7 +120,7 @@
this.getList()
},
getTreeselect() {
- axios.get(this.baseURL + 'Gy_MaintenanceMode/PowerLoadTree').then(response => {
+ axios.get(this.$baseUrl + 'Gy_MaintenanceMode/PowerLoadTree').then(response => {
let data1 = response.data
if (data1.count == 1) {
let map = {};
@@ -168,7 +168,7 @@
text = '璇烽�夋嫨涓�涓鑹诧紒'
}
if (this.linterid) {
- axios.get(this.baseURL + '/PublicPageMethod/PowerList', {
+ axios.get(this.$baseUrl + '/PublicPageMethod/PowerList', {
params: {
czybm: this.linterid,
sGnbm: this.sGnbm,
@@ -228,7 +228,7 @@
, { field: '璇存槑', title: '璇存槑' }]
}
//鍒楄〃
- axios.get(this.baseURL + url, {
+ axios.get(this.$baseUrl + url, {
params: {
"sWhere": '',
"user": sessionStorage["HUserName"],
@@ -291,7 +291,7 @@
var sMainSub = this.sGnbm + ';' + sSubStr + ';' + this.linterid + ";" + this.HSouceBillType;
axios({
method: 'post',
- url: this.baseURL + "/Gy_MaintenanceMode/SaverPower",
+ url: this.$baseUrl + "/Gy_MaintenanceMode/SaverPower",
data: {
'msg': sMainSub
},
diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue
index 2ffd416..c731604 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill.vue
@@ -552,7 +552,7 @@
}
this.printListShow = true;
this.openPrintList = true;
- // axios.get(this.baseURL + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
+ // axios.get(this.$baseUrl + "/Kf_SellOutBill/CheckSellOutBill_IsExist", {
// params: { HInterID: this.rowForm.hmainid },
// })
// .then((response) => {
@@ -578,7 +578,7 @@
},
ToolBatch() {
if (this.HMinQty2 == 0 && this.HMaterID) {
- axios.get(this.baseURL + '/Sc_BarCode/Batch', {
+ axios.get(this.$baseUrl + '/Sc_BarCode/Batch', {
params: {
"HMaterID": this.HMaterID, "HBatchNo": this.HBatchNo
},
@@ -668,7 +668,7 @@
SaveBarCodeCreate(sMainSub, CampanyName) {
axios({
method: 'post',
- url: this.baseURL + "/Sc_BarCode/Sub_SaveBill",
+ url: this.$baseUrl + "/Sc_BarCode/Sub_SaveBill",
data: {
"msg": sMainSub, "CampanyName": CampanyName
},
@@ -701,7 +701,7 @@
},
set_HBarCodeType() {
//鑾峰彇鏉$爜绫诲瀷浠g爜
- axios.get(this.baseURL + '/Sc_BarCode/GetHBarCodeTypeBill').then(response => {
+ axios.get(this.$baseUrl + '/Sc_BarCode/GetHBarCodeTypeBill').then(response => {
let result = response.data
if (result.count == 1) {
this.HBarCodeTypeList = result.list
@@ -709,7 +709,7 @@
}).catch(error => {
this.$modal.msgError("鎺ュ彛璇锋眰澶辫触!");
});
- axios.get(this.baseURL + '/Sc_BarCode/GetHWorksNumberBill').then(response => {
+ axios.get(this.$baseUrl + '/Sc_BarCode/GetHWorksNumberBill').then(response => {
let result = response.data
if (result.count == 1) {
this.HWorksNumberList = result.list
@@ -848,7 +848,7 @@
//閫氳繃閫夋嫨鐨勬簮鍗曚富瀛愬唴鐮佹煡鎵捐缁嗕俊鎭�
axios({
method: 'post',
- url: this.baseURL + "/Sc_BarCode/SelectReportFromBillList",
+ url: this.$baseUrl + "/Sc_BarCode/SelectReportFromBillList",
data: {
"msg": Str
},
@@ -936,7 +936,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -963,7 +963,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_SellOutBill/cx", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -1114,7 +1114,7 @@
},
//鏍规嵁瀹㈡埛甯﹀嚭鑱旂郴浜恒�佽仈绯荤數璇�
getCustomerByCusID(HCusID) {
- axios.get(this.baseURL + "/Xs_SeOrderBill/getCustomerByCusID", {
+ axios.get(this.$baseUrl + "/Xs_SeOrderBill/getCustomerByCusID", {
params: {
HCusID: HCusID
}
diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
index c1960b0..afde8e2 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBillList.vue
@@ -348,7 +348,7 @@
//#region 鍔犺浇缁勭粐涓嬫媺鍒楄〃鏁版嵁
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -488,7 +488,7 @@
this.loading = true
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Gy_BarCodeBillList/page', {
+ axios.get(this.$baseUrl + '/Gy_BarCodeBillList/page', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -584,7 +584,7 @@
var HInterID = this.checkDataList[0].HItemID;
// 鍒楄〃鏌ヨ
- axios.get(this.baseURL + '/Gy_BarCodeBillList/DeleteGy_BarCodeBillList', {
+ axios.get(this.$baseUrl + '/Gy_BarCodeBillList/DeleteGy_BarCodeBillList', {
params: {
"HInterID": HInterID,
"IsAudit": num,
@@ -617,7 +617,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue
index 4017940..d592867 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong.vue
@@ -323,7 +323,7 @@
//#region 鑾峰彇缁勭粐涓嬫媺鍒楄〃鏁版嵁
async get_OrganizationList() {
- axios.get(this.baseURL + '/Web/GetOrganizations',{async:false}).then(response => {
+ axios.get(this.$baseUrl + '/Web/GetOrganizations',{async:false}).then(response => {
let result = response.data
if (result.count == 1) {
var data = result.data;
@@ -585,7 +585,7 @@
var res = "none";
var sql = "select * from h_v_IF_POInStockBillList_Source where 1=1 and HMainID = " + HSourceInterID + " and HSubID = " + HSourceEntryID;
var ModRightNameCheck = "";
- return axios.get(this.baseURL + '/CommonModel/searchMethod', {
+ return axios.get(this.$baseUrl + '/CommonModel/searchMethod', {
async:false,
params: {
"sql": sql
@@ -680,7 +680,7 @@
SaveBarCodeCreate(sMainSub, CampanyName) {
axios({
method: 'post',
- url: this.baseURL + "/Sc_BarCode/Sub_SaveBill_JinLong",
+ url: this.$baseUrl + "/Sc_BarCode/Sub_SaveBill_JinLong",
data: {
"msg": sMainSub, "CampanyName": CampanyName
},
diff --git a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
index 3b35f7f..25c56a3 100644
--- a/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
+++ b/src/views/warehouse/barcodeMaster/Gy_BarCodeBill_JinLong_AutoLogin.vue
@@ -324,7 +324,7 @@
//#region 鑾峰彇缁勭粐涓嬫媺鍒楄〃鏁版嵁
async get_OrganizationList() {
- axios.get(this.baseURL + '/Web/GetOrganizations',{async:false}).then(response => {
+ axios.get(this.$baseUrl + '/Web/GetOrganizations',{async:false}).then(response => {
let result = response.data
if (result.count == 1) {
var data = result.data;
@@ -586,7 +586,7 @@
var res = "none";
var sql = "select * from h_v_IF_POInStockBillList_Source where 1=1 and HMainID = " + HSourceInterID + " and HSubID = " + HSourceEntryID;
var ModRightNameCheck = "";
- return axios.get(this.baseURL + '/CommonModel/searchMethod', {
+ return axios.get(this.$baseUrl + '/CommonModel/searchMethod', {
async:false,
params: {
"sql": sql
@@ -681,7 +681,7 @@
SaveBarCodeCreate(sMainSub, CampanyName) {
axios({
method: 'post',
- url: this.baseURL + "/Sc_BarCode/Sub_SaveBill_JinLong",
+ url: this.$baseUrl + "/Sc_BarCode/Sub_SaveBill_JinLong",
data: {
"msg": sMainSub, "CampanyName": CampanyName
},
@@ -732,7 +732,7 @@
var sql_getHOrgName = "select HName from Xt_Organizations where HItemID = " + HOrgID;
var ModRightNameCheck = "";
- axios.get(this.baseURL + "/CommonModel/searchMethod", {
+ axios.get(this.$baseUrl + "/CommonModel/searchMethod", {
params: {
"sql": sql_getHOrgName
, "user": HUserName
@@ -758,7 +758,7 @@
});
var sql_login = "select * from h_v_Gy_Czygl_Login where Czymc = '" + HUserName + "'";
- axios.get(this.baseURL + "/CommonModel/searchMethod", {
+ axios.get(this.$baseUrl + "/CommonModel/searchMethod", {
params: {
"sql": sql_login
, "user": HUserName
diff --git a/src/views/warehouse/shipment/Kf_StockOutRequestBill.vue b/src/views/warehouse/shipment/Kf_StockOutRequestBill.vue
index 61ad812..be1b4fc 100644
--- a/src/views/warehouse/shipment/Kf_StockOutRequestBill.vue
+++ b/src/views/warehouse/shipment/Kf_StockOutRequestBill.vue
@@ -396,7 +396,7 @@
},
methods: {
fetchData() {
- axios.get(this.baseURL + "/Web/GetOrganizations", {
+ axios.get(this.$baseUrl + "/Web/GetOrganizations", {
}).then(response => {
if (response.data.count == 1) {
this.organizationList = response.data.data;//缁勭粐鍒楄〃
@@ -424,7 +424,7 @@
},
//鏍规嵁涓诲唴鐮佷笌瀛愬唴鐮佽幏鍙栨簮鍗曢攢鍞鍗曟暟鎹�
getPushSourceBillInit(HSourceInterID, HSourceEntryID) {
- axios.get(this.baseURL + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/loadXs_SeOrderBill_Push', {
params: {
"HInterID": HSourceInterID
, "HSubID": HSourceEntryID
@@ -597,7 +597,7 @@
},
//鏍规嵁鐢ㄦ埛鑾峰彇瀵瑰簲鑱屽憳銆侀儴闂ㄣ�侀攢鍞富绠�
getCzyglByUser() {
- axios.get(this.baseURL + '/Xs_SeOrderBill/getCzyglByUser', {
+ axios.get(this.$baseUrl + '/Xs_SeOrderBill/getCzyglByUser', {
params: { "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let dataForm = response.data.data[0]
@@ -626,7 +626,7 @@
})
},
getHBillNo() {
- axios.get(this.baseURL + "/Web/GetMAXNum", {
+ axios.get(this.$baseUrl + "/Web/GetMAXNum", {
params: {
HBillType: '1242'
}
@@ -646,7 +646,7 @@
handleUpdate() {
this.reset()
let rowHmainid = this.linterid
- axios.get(this.baseURL + "/Kf_StockOutRequestBill/cx", {
+ axios.get(this.$baseUrl + "/Kf_StockOutRequestBill/cx", {
params: { 'HInterID': rowHmainid }
}).then(response => {
if (response.data.count == 1) {
@@ -828,7 +828,7 @@
var sMainSub = sMainStr + ';' + sSubStr + ';' + this.OperationType + ";" + sessionStorage["HUserName"] + ';' + sAllStr;
axios({
method: 'post',
- url: this.baseURL + "/Kf_StockOutRequestBill/StockOutRequestBillEdit",
+ url: this.$baseUrl + "/Kf_StockOutRequestBill/StockOutRequestBillEdit",
data: {
'sMainSub': sMainSub
},
@@ -852,7 +852,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_SellOutBill/AuditKf_SellOutBill", {
+ axios.get(this.$baseUrl + "/Kf_SellOutBill/AuditKf_SellOutBill", {
params: { "HInterID": InterID, "IsAudit": num, "CurUserName": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
diff --git a/src/views/warehouse/shipment/Kf_StockOutRequestBillList.vue b/src/views/warehouse/shipment/Kf_StockOutRequestBillList.vue
index bf6119c..16739d2 100644
--- a/src/views/warehouse/shipment/Kf_StockOutRequestBillList.vue
+++ b/src/views/warehouse/shipment/Kf_StockOutRequestBillList.vue
@@ -378,7 +378,7 @@
}
// 鍒楄〃
axios
- .get(this.baseURL + "/Kf_StockOutRequestBill/GetStockOutRequestBillList", {
+ .get(this.$baseUrl + "/Kf_StockOutRequestBill/GetStockOutRequestBillList", {
params: {
sWhere: this.sWhere,
user: sessionStorage["HUserName"],
@@ -481,7 +481,7 @@
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = [];
axios
- .get(this.baseURL + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
+ .get(this.$baseUrl + "/Xt_grdAlignment_WMES/grdAlignmentWMESList", {
params: {
HModName: HModName,
user: user,
@@ -808,7 +808,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete() {
this.$modal.confirm("纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠").then(() => {
- axios.get(this.baseURL + "/Kf_StockOutRequestBill/DeltetKf_StockOutRequestBill", {
+ axios.get(this.$baseUrl + "/Kf_StockOutRequestBill/DeltetKf_StockOutRequestBill", {
params: {
HInterID: this.rowForm.hmainid.toString(),
user: sessionStorage["HUserName"],
diff --git a/src/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue b/src/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue
index 18889cb..14da118 100644
--- a/src/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue
+++ b/src/views/warehouse/transfer/Kf_MoveStockRequestBillEdit.vue
@@ -840,7 +840,7 @@
console.log(this.form.HDeptID && this.form.HDeptID != 0);
if (this.form.HDeptID && this.form.HDeptID != 0) {
axios
- .get(this.baseURL + "/Gy_Department/list", {
+ .get(this.$baseUrl + "/Gy_Department/list", {
params: {
sWhere: "and HItemID = '" + this.form.HDeptID + "'",
user: sessionStorage["HUserName"],
@@ -878,7 +878,7 @@
},
getHBillNo() {
axios
- .get(this.baseURL + "/Web/GetMAXNum", {
+ .get(this.$baseUrl + "/Web/GetMAXNum", {
params: {
HBillType: "1243",
},
@@ -900,7 +900,7 @@
console.log(this.linterid);
//涓昏〃
axios
- .get(this.baseURL + "/Kf_MoveStockRequestBill/cx", {
+ .get(this.$baseUrl + "/Kf_MoveStockRequestBill/cx", {
params: { HInterID: rowHmainid },
})
.then((response) => {
@@ -1151,7 +1151,7 @@
axios({
method: "post",
url:
- this.baseURL + "/Kf_MoveStockRequestBill/Kf_MoveStockRequestBillEdit",
+ this.$baseUrl + "/Kf_MoveStockRequestBill/Kf_MoveStockRequestBillEdit",
data: {
sMainSub: sMainSub,
},
diff --git a/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue b/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue
index 9454754..6f508d2 100644
--- a/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue
+++ b/src/views/warehouse/transfer/Kf_MoveStockRequestBillList.vue
@@ -333,7 +333,7 @@
methods: {
//閲嶆柊鍚屾
set_ResCnz() {
- axios.get(this.baseURL + "/Cg_POOrderBill/Resynchronize", {
+ axios.get(this.$baseUrl + "/Cg_POOrderBill/Resynchronize", {
params: { "HBillNo": '', "HBillType": 1243 }
}).then(response => {
let result = response.data
@@ -415,7 +415,7 @@
this.pageSize = 50
}
// 閿�鍞嚭搴撳崟鍒楄〃
- axios.get(this.baseURL + '/Kf_MoveStockRequestBill/GetMoveStockRequestBillList', {
+ axios.get(this.$baseUrl + '/Kf_MoveStockRequestBill/GetMoveStockRequestBillList', {
params: {
"sWhere": this.sWhere,
"user": sessionStorage["HUserName"],
@@ -465,7 +465,7 @@
},
DisPlay_HideColumn(HModName, user, option, dataOption) {
this.totalNameList = []
- axios.get(this.baseURL + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
+ axios.get(this.$baseUrl + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', {
params: {
"HModName": HModName,
"user": user,
@@ -795,7 +795,7 @@
handleDelete() {
this.$modal.confirm('纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠').then(() => {
if (this.rowForm.鐘舵�� == "鍒涘缓") {
- axios.get(this.baseURL + "/Kf_MoveStockRequestBill/DeltetKf_MoveStockRequestBill", {
+ axios.get(this.$baseUrl + "/Kf_MoveStockRequestBill/DeltetKf_MoveStockRequestBill", {
params: { 'HInterID': this.rowForm.hmainid.toString() }
}).then(response => {
if (response.data.count == 1) {
@@ -818,7 +818,7 @@
set_CheckBill(num, form) {
var InterID = form.hmainid || form.HInterID
//閫昏緫瀹℃牳鏂规硶
- axios.get(this.baseURL + "/Kf_MoveStockRequestBill/AuditKf_MoveStockRequestBill", {
+ axios.get(this.$baseUrl + "/Kf_MoveStockRequestBill/AuditKf_MoveStockRequestBill", {
params: { "HInterID": InterID, "Type": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -836,7 +836,7 @@
},
set_CloseBill(num) {
//閫昏緫鍏抽棴鏂规硶
- axios.get(this.baseURL + "/Kf_MoveStockRequestBill/CloseKf_MoveStockRequestBill", {
+ axios.get(this.$baseUrl + "/Kf_MoveStockRequestBill/CloseKf_MoveStockRequestBill", {
params: { "HInterID": this.rowForm.hmainid, "Type": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -855,7 +855,7 @@
},
set_DropBill(num) {
//閫昏緫浣滃簾鏂规硶
- axios.get(this.baseURL + "/Kf_MoveStockRequestBill/DropKf_MoveStockRequestBill", {
+ axios.get(this.$baseUrl + "/Kf_MoveStockRequestBill/DropKf_MoveStockRequestBill", {
params: { "HInterID": this.rowForm.hmainid.toString(), "Type": num, "user": sessionStorage["HUserName"] }
}).then(response => {
let result = response.data
@@ -894,7 +894,7 @@
//#region 鑾峰彇鍏徃鍚嶏紝鏍规嵁鍏徃杩涜瀹氬埗鍖栧紑鍙�
defaintOperationByCompanyName() {
var result = false;
- axios.get(this.baseURL + '/Xt_getInfo/getCompanyName').then(response => {
+ axios.get(this.$baseUrl + '/Xt_getInfo/getCompanyName').then(response => {
var data1 = response.data
if (data1.count == 1) {
if (data1.data == "姘村姟") {
--
Gitblit v1.9.1