Merge branch 'zyh' into zyj
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="规则范围" align="center" prop="options" width="440px">
|
||||
<template slot-scope="scope">
|
||||
<el-tag size="medium" v-if="scope.row.options" v-for="option in scope.row.options">
|
||||
<el-tag size="medium" v-if="scope.row.options" v-for="option in scope.row.options" :key="option">
|
||||
{{ getAssignRuleOptionName(scope.row.type, option) }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
@@ -211,6 +211,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -211,6 +211,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -211,6 +211,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -219,6 +219,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -229,6 +229,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -229,6 +229,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -241,6 +241,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -250,6 +250,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import "~@assets/less/common.less";
|
||||
</style>
|
||||
@@ -225,6 +225,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -239,6 +239,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -233,6 +233,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -241,6 +241,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -240,6 +240,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -249,6 +249,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -84,7 +84,7 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/list"
|
||||
list: "/erp/depotHead/list"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@ export const BillListMixin = {
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function(){
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}/${this.url.importExcelUrl}`;
|
||||
},
|
||||
|
||||
isBatchDelEnabled: function () {
|
||||
@@ -114,7 +114,7 @@ export const BillListMixin = {
|
||||
});
|
||||
},
|
||||
getDepotData() {
|
||||
getAction('/depot/findDepotByCurrentUser').then((res)=>{
|
||||
getAction('erp/depot/findDepotByCurrentUser').then((res)=>{
|
||||
if(res.code === 200){
|
||||
this.depotList = res.data;
|
||||
}else{
|
||||
|
||||
@@ -58,7 +58,7 @@ export const BillModalMixin = {
|
||||
},
|
||||
methods: {
|
||||
addInit(amountNum) {
|
||||
getAction('/sequence/buildNumber').then((res) => {
|
||||
getAction('/erp/sequence/buildNumber').then((res) => {
|
||||
if (res && res.code === 200) {
|
||||
this.form.setFieldsValue({'number':amountNum + res.data.defaultNumber})
|
||||
}
|
||||
@@ -83,7 +83,7 @@ export const BillModalMixin = {
|
||||
this.manyAccountBtnStatus = false
|
||||
},
|
||||
copyAddInit(amountNum) {
|
||||
getAction('/sequence/buildNumber').then((res) => {
|
||||
getAction('/erp/sequence/buildNumber').then((res) => {
|
||||
if (res && res.code === 200) {
|
||||
this.form.setFieldsValue({'number':amountNum + res.data.defaultNumber})
|
||||
}
|
||||
@@ -169,7 +169,7 @@ export const BillModalMixin = {
|
||||
},
|
||||
initDepot() {
|
||||
let that = this;
|
||||
getAction('/depot/findDepotByCurrentUser').then((res) => {
|
||||
getAction('/erp/depot/findDepotByCurrentUser').then((res) => {
|
||||
if(res.code === 200){
|
||||
let arr = res.data
|
||||
for(let item of that.materialTable.columns){
|
||||
@@ -311,7 +311,7 @@ export const BillModalMixin = {
|
||||
},
|
||||
onAdded(event) {
|
||||
const { row, target } = event
|
||||
getAction('/depot/findDepotByCurrentUser').then((res) => {
|
||||
getAction('/erp/depot/findDepotByCurrentUser').then((res) => {
|
||||
if (res.code === 200) {
|
||||
let arr = res.data
|
||||
for (let i = 0; i < arr.length; i++) {
|
||||
|
||||
@@ -170,9 +170,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -170,9 +170,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -170,9 +170,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -188,9 +188,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -196,9 +196,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -194,9 +194,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -271,9 +271,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -407,9 +407,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -204,9 +204,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -251,9 +251,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -264,9 +264,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -278,9 +278,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -209,9 +209,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -294,9 +294,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/depotItem/getDetailList'
|
||||
add: '/erp/depotHead/addDepotHeadAndDetail',
|
||||
edit: '/erp/depotHead/updateDepotHeadAndDetail',
|
||||
detailList: '/erp/depotItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -195,6 +195,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -182,6 +182,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -195,6 +195,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -194,6 +194,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -198,6 +198,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -198,6 +198,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -132,7 +132,7 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/debtList"
|
||||
list: "/erp/depotHead/debtList"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -13,7 +13,7 @@ export const FinancialListMixin = {
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function(){
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}/${this.url.importExcelUrl}`;
|
||||
},
|
||||
|
||||
isBatchDelEnabled: function () {
|
||||
|
||||
@@ -169,9 +169,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/accountItem/getDetailList'
|
||||
add: '/erp/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/erp/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/erp/accountItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -180,9 +180,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/accountItem/getDetailList'
|
||||
add: '/erp/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/erp/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/erp/accountItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -193,9 +193,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/accountItem/getDetailList'
|
||||
add: '/erp/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/erp/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/erp/accountItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -193,9 +193,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/accountItem/getDetailList'
|
||||
add: '/erp/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/erp/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/erp/accountItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -215,9 +215,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/accountItem/getDetailList'
|
||||
add: '/erp/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/erp/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/erp/accountItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -218,9 +218,9 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/accountItem/getDetailList'
|
||||
add: '/erp/accountHead/addAccountHeadAndDetail',
|
||||
edit: '/erp/accountHead/updateAccountHeadAndDetail',
|
||||
detailList: '/erp/accountItem/getDetailList'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -75,9 +75,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/materialAttribute/list",
|
||||
delete: "/materialAttribute/delete",
|
||||
deleteBatch: "/materialAttribute/deleteBatch"
|
||||
list: "/erp/materialAttribute/list",
|
||||
delete: "/erp/materialAttribute/delete",
|
||||
deleteBatch: "/erp/materialAttribute/deleteBatch"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -89,6 +89,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -161,7 +161,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}/${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -215,13 +215,13 @@
|
||||
{title: '最低售价', dataIndex: 'lowDecimal', align: 'center', width: 80}
|
||||
],
|
||||
url: {
|
||||
list: "/material/list",
|
||||
delete: "/material/delete",
|
||||
deleteBatch: "/material/deleteBatch",
|
||||
importExcelUrl: "/material/importExcel",
|
||||
exportXlsUrl: "/material/exportExcel",
|
||||
batchSetStatusUrl: "/material/batchSetStatus",
|
||||
batchSetMaterialCurrentStockUrl: "/material/batchSetMaterialCurrentStock"
|
||||
list: "/erp/material/list",
|
||||
delete: "/erp/material/delete",
|
||||
deleteBatch: "/erp/material/deleteBatch",
|
||||
importExcelUrl: "/erp/material/importExcel",
|
||||
exportXlsUrl: "/erp/material/exportExcel",
|
||||
batchSetStatusUrl: "/erp/material/batchSetStatus",
|
||||
batchSetMaterialCurrentStockUrl: "/erp/material/batchSetMaterialCurrentStock"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -231,7 +231,7 @@
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -289,6 +289,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -104,9 +104,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/materialProperty/list",
|
||||
delete: "/materialProperty/delete",
|
||||
deleteBatch: "/materialProperty/deleteBatch"
|
||||
list: "/erp/materialProperty/list",
|
||||
delete: "/erp/materialProperty/delete",
|
||||
deleteBatch: "/erp/materialProperty/deleteBatch"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -118,6 +118,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -76,7 +76,7 @@
|
||||
serialNo: {rules: [{required: true, message: '请输入编号!'}]}
|
||||
},
|
||||
url: {
|
||||
add: "/materialCategory/add",
|
||||
add: "/erp/materialCategory/add",
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -415,10 +415,10 @@
|
||||
}
|
||||
},
|
||||
url: {
|
||||
add: '/material/add',
|
||||
edit: '/material/update',
|
||||
materialsExtendList: '/materialsExtend/getDetailList',
|
||||
depotWithStock: '/depot/getAllListWithStock'
|
||||
add: '/erp/material/add',
|
||||
edit: '/erp/material/update',
|
||||
materialsExtendList: '/erp/materialsExtend/getDetailList',
|
||||
depotWithStock: '/erp/depot/getAllListWithStock'
|
||||
},
|
||||
}
|
||||
},
|
||||
@@ -736,7 +736,7 @@
|
||||
let params = {};
|
||||
params.currentPage = 1;
|
||||
params.pageSize = 100;
|
||||
getAction('/unit/list', params).then((res) => {
|
||||
getAction('/erp/unit/list', params).then((res) => {
|
||||
if(res){
|
||||
that.unitList = res.data.rows;
|
||||
that.unitList.forEach(item => {
|
||||
|
||||
@@ -129,8 +129,8 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/account/list",
|
||||
getStatistics: "/account/getStatistics"
|
||||
list: "/erp/account/list",
|
||||
getStatistics: "/erp/account/getStatistics"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -176,6 +176,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -186,7 +186,7 @@
|
||||
{title: '备注', dataIndex: 'newRemark', width: 100}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findAllocationDetail",
|
||||
list: "/erp/depotHead/findAllocationDetail",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -253,6 +253,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -122,7 +122,7 @@
|
||||
{title: '实际采购金额', dataIndex: 'inOutSumPrice', sorter: (a, b) => a.inOutSumPrice - b.inOutSumPrice, width: 100}
|
||||
],
|
||||
url: {
|
||||
list: "/depotItem/buyIn"
|
||||
list: "/erp/depotItem/buyIn"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -159,6 +159,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -153,7 +153,7 @@
|
||||
{title: '单据日期', dataIndex: 'oTime', width: 160}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findStatementAccount",
|
||||
list: "/erp/depotHead/findStatementAccount",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -241,6 +241,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -178,7 +178,7 @@
|
||||
{title: '备注', dataIndex: 'newRemark', width: 100}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findInDetail",
|
||||
list: "/erp/depotHead/findInDetail",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -245,6 +245,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -156,7 +156,7 @@
|
||||
{title: '入库金额', dataIndex: 'priceSum', sorter: (a, b) => a.priceSum - b.priceSum, width: 120}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findInOutMaterialCount",
|
||||
list: "/erp/depotHead/findInOutMaterialCount",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -215,6 +215,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -147,9 +147,9 @@
|
||||
{title: '结存金额', dataIndex: 'thisAllPrice', sorter: (a, b) => a.thisAllPrice - b.thisAllPrice, width: 60}
|
||||
],
|
||||
url: {
|
||||
list: "/depotItem/findByAll",
|
||||
totalCountMoney: "/depotItem/totalCountMoney",
|
||||
exportXlsUrl: "/depotItem/exportExcel"
|
||||
list: "/erp/depotItem/findByAll",
|
||||
totalCountMoney: "/erp/depotItem/totalCountMoney",
|
||||
exportXlsUrl: "/erp/depotItem/exportExcel"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -221,6 +221,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -180,7 +180,7 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/material/getListWithStock"
|
||||
list: "/erp/material/getListWithStock"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -266,6 +266,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -178,7 +178,7 @@
|
||||
{title: '备注', dataIndex: 'newRemark', width: 100}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findInDetail",
|
||||
list: "/erp/depotHead/findInDetail",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -245,6 +245,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -156,7 +156,7 @@
|
||||
{title: '出库金额', dataIndex: 'priceSum', sorter: (a, b) => a.priceSum - b.priceSum, width: 120}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findInOutMaterialCount",
|
||||
list: "/erp/depotHead/findInOutMaterialCount",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -215,6 +215,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -127,7 +127,7 @@
|
||||
{title: '实际销售金额', dataIndex: 'outInSumPrice', sorter: (a, b) => a.outInSumPrice - b.outInSumPrice, width: 100}
|
||||
],
|
||||
url: {
|
||||
list: "/depotItem/saleOut"
|
||||
list: "/erp/depotItem/saleOut"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -167,6 +167,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -129,7 +129,7 @@
|
||||
{title: '建议出库量', dataIndex: 'highCritical', sorter: (a, b) => a.highCritical - b.highCritical, width: 80}
|
||||
],
|
||||
url: {
|
||||
list: "/depotItem/findStockWarningCount"
|
||||
list: "/erp/depotItem/findStockWarningCount"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -166,6 +166,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -154,7 +154,7 @@
|
||||
{title: '单据日期', dataIndex: 'oTime', width: 160}
|
||||
],
|
||||
url: {
|
||||
list: "/depotHead/findStatementAccount",
|
||||
list: "/erp/depotHead/findStatementAccount",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -242,6 +242,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -131,7 +131,7 @@
|
||||
{title: '库存', dataIndex: 'stock', width: 80}
|
||||
],
|
||||
url: {
|
||||
list: "/depotItem/batchStock"
|
||||
list: "/erp/depotItem/batchStock"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -168,6 +168,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -108,7 +108,7 @@
|
||||
sm: { span: 16 },
|
||||
},
|
||||
url: {
|
||||
list: "/account/findAccountInOutList"
|
||||
list: "/erp/account/findAccountInOutList"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -158,6 +158,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -88,7 +88,7 @@
|
||||
sm: { span: 16 },
|
||||
},
|
||||
url: {
|
||||
list: "/depotItem/findDetailByTypeAndMaterialId"
|
||||
list: "/erp/depotItem/findDetailByTypeAndMaterialId"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -128,6 +128,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -139,10 +139,10 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/account/list",
|
||||
delete: "/account/delete",
|
||||
deleteBatch: "/account/deleteBatch",
|
||||
setDefault: "/account/updateIsDefault"
|
||||
list: "/erp/account/list",
|
||||
delete: "/erp/account/delete",
|
||||
deleteBatch: "/erp/account/deleteBatch",
|
||||
setDefault: "/erp/account/updateIsDefault"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -175,6 +175,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -157,18 +157,18 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/supplier/list",
|
||||
delete: "/supplier/delete",
|
||||
deleteBatch: "/supplier/deleteBatch",
|
||||
importExcelUrl: "/supplier/importCustomer",
|
||||
exportXlsUrl: "/supplier/exportExcel",
|
||||
batchSetStatusUrl: "/supplier/batchSetStatus"
|
||||
list: "/erp/supplier/list",
|
||||
delete: "/erp/supplier/delete",
|
||||
deleteBatch: "/erp/supplier/deleteBatch",
|
||||
importExcelUrl: "/erp/supplier/importCustomer",
|
||||
exportXlsUrl: "/erp/supplier/exportExcel",
|
||||
batchSetStatusUrl: "/erp/supplier/batchSetStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -189,6 +189,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -136,10 +136,10 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/depot/list",
|
||||
delete: "/depot/delete",
|
||||
deleteBatch: "/depot/deleteBatch",
|
||||
setDefault: "/depot/updateIsDefault"
|
||||
list: "/erp/depot/list",
|
||||
delete: "/erp/depot/delete",
|
||||
deleteBatch: "/erp/depot/deleteBatch",
|
||||
setDefault: "/erp/depot/updateIsDefault"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -172,6 +172,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -126,9 +126,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/function/list",
|
||||
delete: "/function/delete",
|
||||
deleteBatch: "/function/deleteBatch"
|
||||
list: "/erp/function/list",
|
||||
delete: "/erp/function/delete",
|
||||
deleteBatch: "/erp/function/deleteBatch"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -140,6 +140,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -132,9 +132,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/inOutItem/list",
|
||||
delete: "/inOutItem/delete",
|
||||
deleteBatch: "/inOutItem/deleteBatch"
|
||||
list: "/erp/inOutItem/list",
|
||||
delete: "/erp/inOutItem/delete",
|
||||
deleteBatch: "/erp/inOutItem/deleteBatch"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -153,6 +153,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -151,7 +151,7 @@
|
||||
offset: 1
|
||||
},
|
||||
url: {
|
||||
list: "/log/list",
|
||||
list: "/erp/log/list",
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -183,6 +183,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -153,18 +153,18 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/supplier/list",
|
||||
delete: "/supplier/delete",
|
||||
deleteBatch: "/supplier/deleteBatch",
|
||||
importExcelUrl: "/supplier/importMember",
|
||||
exportXlsUrl: "/supplier/exportExcel",
|
||||
batchSetStatusUrl: "/supplier/batchSetStatus"
|
||||
list: "/erp/supplier/list",
|
||||
delete: "/erp/supplier/delete",
|
||||
deleteBatch: "/erp/supplier/deleteBatch",
|
||||
importExcelUrl: "/erp/supplier/importMember",
|
||||
exportXlsUrl: "/erp/supplier/exportExcel",
|
||||
batchSetStatusUrl: "/erp/supplier/batchSetStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -185,6 +185,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -110,9 +110,9 @@
|
||||
width: 50
|
||||
}],
|
||||
url: {
|
||||
list: "/msg/list",
|
||||
batchUpdateStatus:"/msg/batchUpdateStatus",
|
||||
readAllMsg:"/msg/readAllMsg",
|
||||
list: "/erp/msg/list",
|
||||
batchUpdateStatus:"/erp/msg/batchUpdateStatus",
|
||||
readAllMsg:"/erp/msg/readAllMsg",
|
||||
},
|
||||
loading:false,
|
||||
openPath:'',
|
||||
|
||||
@@ -162,7 +162,7 @@ export default {
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}/${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -132,9 +132,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/person/list",
|
||||
delete: "/person/delete",
|
||||
deleteBatch: "/person/deleteBatch"
|
||||
list: "/erp/person/list",
|
||||
delete: "/erp/person/delete",
|
||||
deleteBatch: "/erp/person/deleteBatch"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -153,6 +153,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -83,9 +83,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/platformConfig/list",
|
||||
delete: "/platformConfig/delete",
|
||||
deleteBatch: "/platformConfig/deleteBatch"
|
||||
list: "/erp/platformConfig/list",
|
||||
delete: "/erp/platformConfig/delete",
|
||||
deleteBatch: "/erp/platformConfig/deleteBatch"
|
||||
},
|
||||
}
|
||||
},
|
||||
@@ -101,6 +101,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -164,16 +164,16 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/plugin/list",
|
||||
delete: "/plugin/delete",
|
||||
deleteBatch: "/plugin/deleteBatch",
|
||||
importJarUrl: "/plugin/uploadInstallPluginJar",
|
||||
list: "/erp/plugin/list",
|
||||
delete: "/erp/plugin/delete",
|
||||
deleteBatch: "/erp/plugin/deleteBatch",
|
||||
importJarUrl: "/erp/plugin/uploadInstallPluginJar",
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}${this.url.importJarUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}${this.url.importJarUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -247,6 +247,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -144,15 +144,15 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/role/list",
|
||||
delete: "/role/delete",
|
||||
deleteBatch: "/role/deleteBatch"
|
||||
list: "/erp/role/list",
|
||||
delete: "/erp/role/delete",
|
||||
deleteBatch: "/erp/role/deleteBatch"
|
||||
},
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function(){
|
||||
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}/${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -189,6 +189,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -169,6 +169,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -144,8 +144,8 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/tenant/list",
|
||||
batchSetStatusUrl: "/tenant/batchSetStatus"
|
||||
list: "/erp/tenant/list",
|
||||
batchSetStatusUrl: "/erp/tenant/batchSetStatus"
|
||||
},
|
||||
}
|
||||
},
|
||||
@@ -155,6 +155,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -137,9 +137,9 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/unit/list",
|
||||
delete: "/unit/delete",
|
||||
deleteBatch: "/unit/deleteBatch"
|
||||
list: "/erp/unit/list",
|
||||
delete: "/erp/unit/delete",
|
||||
deleteBatch: "/erp/unit/deleteBatch"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -158,6 +158,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -147,11 +147,11 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/user/list",
|
||||
delete: "/user/delete",
|
||||
deleteBatch: "/user/deleteBatch",
|
||||
resetPwd: "/user/resetPwd",
|
||||
batchSetStatusUrl: "/user/batchSetStatus"
|
||||
list: "/erp/user/list",
|
||||
delete: "/erp/user/delete",
|
||||
deleteBatch: "/erp/user/deleteBatch",
|
||||
resetPwd: "/erp/user/resetPwd",
|
||||
batchSetStatusUrl: "/erp/user/batchSetStatus"
|
||||
},
|
||||
}
|
||||
},
|
||||
@@ -208,6 +208,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -156,18 +156,18 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/supplier/list",
|
||||
delete: "/supplier/delete",
|
||||
deleteBatch: "/supplier/deleteBatch",
|
||||
importExcelUrl: "/supplier/importVendor",
|
||||
exportXlsUrl: "/supplier/exportExcel",
|
||||
batchSetStatusUrl: "/supplier/batchSetStatus"
|
||||
list: "/erp/supplier/list",
|
||||
delete: "/erp/supplier/delete",
|
||||
deleteBatch: "/erp/supplier/deleteBatch",
|
||||
importExcelUrl: "/erp/supplier/importVendor",
|
||||
exportXlsUrl: "/erp/supplier/exportExcel",
|
||||
batchSetStatusUrl: "/erp/supplier/batchSetStatus"
|
||||
}
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
importExcelUrl: function () {
|
||||
return `${window._CONFIG['domianURL']}${this.url.importExcelUrl}`;
|
||||
return `${process.env.VUE_APP_BASE_API}${this.url.importExcelUrl}`;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@@ -188,6 +188,6 @@
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style scoped>
|
||||
@import '~@assets/less/common.less'
|
||||
<style lang="less" scoped>
|
||||
@import '~@assets/less/common.less';
|
||||
</style>
|
||||
@@ -78,7 +78,7 @@
|
||||
orgNo: {rules: [{required: true, message: '请输入编码!'}]}
|
||||
},
|
||||
url: {
|
||||
add: "/organization/add",
|
||||
add: "/erp/organization/add",
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -107,7 +107,7 @@
|
||||
}
|
||||
],
|
||||
url: {
|
||||
list: "/function/findRoleFunctionsById"
|
||||
list: "/erp/function/findRoleFunctionsById"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+4
-2
@@ -174,9 +174,11 @@ export default {
|
||||
Cookies.remove('tenantName');
|
||||
}
|
||||
// 发起登陆
|
||||
this.$store.dispatch("Login", this.loginForm).then(() => {
|
||||
this.$store.dispatch("Login", this.loginForm)
|
||||
.then(() => {
|
||||
this.$router.push({ path: this.redirect || "/" }).catch(()=>{});
|
||||
}).catch(() => {
|
||||
}).catch((err) => {
|
||||
console.log(err);
|
||||
this.loading = false;
|
||||
this.getCode();
|
||||
});
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
<!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>-->
|
||||
<!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>-->
|
||||
<el-table-column label="支付渠道" align="center" width="130">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<el-popover trigger="hover" placement="top">
|
||||
<p>商户名称: {{ scope.row.merchantName }}</p>
|
||||
<p>应用名称: {{ scope.row.appName }}</p>
|
||||
@@ -88,7 +88,7 @@
|
||||
<!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>-->
|
||||
<!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>-->
|
||||
<el-table-column label="商户订单号" align="left" width="230">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<p class="order-font">
|
||||
<el-tag size="mini">退款</el-tag>
|
||||
{{ scope.row.merchantRefundNo }}
|
||||
@@ -100,7 +100,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<p class="order-font">
|
||||
<el-tag size="mini">交易</el-tag>
|
||||
{{ scope.row.tradeNo }}
|
||||
@@ -112,27 +112,27 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100">
|
||||
<template v-slot="scope" class="">
|
||||
<template slot-scope="scope" class="">
|
||||
¥{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="退款金额(元)" align="center" prop="refundAmount" width="100">
|
||||
<template scope="scope">
|
||||
<template slot-scope="scope">
|
||||
¥{{ parseFloat(scope.row.refundAmount / 100).toFixed(2) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="退款类型" align="center" prop="type" width="80">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="退款状态" align="center" prop="status">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="回调状态" align="center" prop="notifyStatus">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
@@ -183,7 +183,7 @@
|
||||
<el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag>
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="退款类型">
|
||||
<template v-slot="scope">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" />
|
||||
</template>
|
||||
</el-descriptions-item>
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="创建时间" align="center" prop="createTime" width="180">
|
||||
<template slot-scope="scope">
|
||||
<el-tag :disable-transitions="true" v-for="(tag, index) in scope.row.tags" :index="index">
|
||||
<el-tag :disable-transitions="true" v-for="(tag, index) in scope.row.tags" :key="index" :index="index">
|
||||
{{ tag }}
|
||||
</el-tag>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user