Commit fb28b02a authored by zhangjianguo's avatar zhangjianguo
parents 26ed4aa2 2feb616b
...@@ -112,8 +112,8 @@ ...@@ -112,8 +112,8 @@
} }
.searchInput .el-input__inner{ .searchInput .el-input__inner{
border:none;outline:none; border:none;outline:none;
height: 30px; height: 30px!important;
line-height: 30px; line-height: 30px!important;
} }
.searchInput{ .searchInput{
line-height: normal; line-height: normal;
......
...@@ -360,8 +360,8 @@ import ChooseImg from "@/components/global/ChooseImg.vue"; ...@@ -360,8 +360,8 @@ import ChooseImg from "@/components/global/ChooseImg.vue";
} }
.addGoodsClass .searchInput .el-input__inner{ .addGoodsClass .searchInput .el-input__inner{
border:none;outline:none; border:none;outline:none;
height: 30px; height: 30px!important;
line-height: 30px; line-height: 30px!important;
} }
.addGoodsClass .searchInput{ .addGoodsClass .searchInput{
line-height: normal; line-height: normal;
......
...@@ -874,8 +874,8 @@ export default { ...@@ -874,8 +874,8 @@ export default {
} }
.goodsClass .searchInput .el-input__inner{ .goodsClass .searchInput .el-input__inner{
border:none;outline:none; border:none;outline:none;
height: 30px; height: 30px!important;
line-height: 30px; line-height: 30px!important;
} }
.goodsClass .searchInput{ .goodsClass .searchInput{
line-height: normal; line-height: normal;
......
<template> <template>
<div class="goodsListEdit"> <div class="goodsListEdit">
<div class="head-title"> <div class="head-title">
<span @click="CommonJump('goodsList')" class="blue point">商品列表</span> <span @click="CommonJump('goodsList')" class="blue point">商品列表</span>
...@@ -874,7 +874,7 @@ ...@@ -874,7 +874,7 @@
type="info" type="info"
style="margin:5px" style="margin:5px"
> >
{{ item.Name }}</el-tag {{ item.AreaName }}</el-tag
> >
</div> </div>
</div> </div>
...@@ -2450,7 +2450,8 @@ export default { ...@@ -2450,7 +2450,8 @@ export default {
this.AreaList.forEach(item => { this.AreaList.forEach(item => {
let obj = { let obj = {
Id: item.RegionId, Id: item.RegionId,
Name: item.RegionName AreaId:item.RegionId,
AreaName: item.RegionName
}; };
this.addMsg.AreaList.push(obj); this.addMsg.AreaList.push(obj);
}); });
...@@ -2507,15 +2508,16 @@ export default { ...@@ -2507,15 +2508,16 @@ export default {
this.imgType = val; this.imgType = val;
}, },
SelectId(msg) { SelectId(msg) {
let that=this;
if (this.imgType == 1) { if (this.imgType == 1) {
let obj = { let obj = {
Id: msg.selectId, Id: msg.selectId,
Path: this.domainManager().ImageUrl + msg.url Path:that.getIconLink(msg.url),
}; };
this.addMsg.CarouselImageList.push(obj); this.addMsg.CarouselImageList.push(obj);
} }
if (this.imgType == 2) { if (this.imgType == 2) {
this.addMsg.CustomShareImage = this.domainManager().ImageUrl + msg.url; this.addMsg.CustomShareImage = that.getIconLink(msg.url);
} }
if (this.imgType == 3) { if (this.imgType == 3) {
let imgListIndex1 = this.imgListIndex1; let imgListIndex1 = this.imgListIndex1;
...@@ -2605,6 +2607,7 @@ export default { ...@@ -2605,6 +2607,7 @@ export default {
}, },
res => { res => {
this.addMsg = res.data.data; this.addMsg = res.data.data;
console.log("this.addMsg",this.addMsg)
this.initShareSettings(); this.initShareSettings();
this.SpecificationPriceList = this.addMsg.SpecificationPriceList; this.SpecificationPriceList = this.addMsg.SpecificationPriceList;
this.SpecificationList = this.addMsg.SpecificationList; this.SpecificationList = this.addMsg.SpecificationList;
......
...@@ -221,8 +221,8 @@ export default { ...@@ -221,8 +221,8 @@ export default {
} }
.quickBuy .content .searchInput .el-input__inner{ .quickBuy .content .searchInput .el-input__inner{
border:none;outline:none; border:none;outline:none;
height: 30px; height: 30px!important;
line-height: 30px; line-height: 30px!important;
} }
.quickBuy .content .searchInput{ .quickBuy .content .searchInput{
line-height: normal; line-height: normal;
......
...@@ -240,7 +240,7 @@ export default { ...@@ -240,7 +240,7 @@ export default {
Type:1, Type:1,
Recycled:1, Recycled:1,
pageIndex:1, pageIndex:1,
pageSize:15, pageSize:20,
GroupId:0, GroupId:0,
}, },
PageList:[], PageList:[],
......
...@@ -286,8 +286,8 @@ export default { ...@@ -286,8 +286,8 @@ export default {
} }
.quickBuy .content .searchInput .el-input__inner{ .quickBuy .content .searchInput .el-input__inner{
border:none;outline:none; border:none;outline:none;
height: 30px; height: 30px!important;
line-height: 30px; line-height: 30px!important;
} }
.quickBuy .content .searchInput{ .quickBuy .content .searchInput{
line-height: normal; line-height: normal;
......
...@@ -152,6 +152,8 @@ ...@@ -152,6 +152,8 @@
UserId: this.UserId UserId: this.UserId
}, res => { }, res => {
this.userInfo = res.data.data; this.userInfo = res.data.data;
this.msg.Name = this.userInfo.SuperiorName;
this.getList();
}) })
}, },
}, },
......
<template>
<div class="financialAllocation">
<div class="head-title">
财务配置
</div>
<div v-loading="loading" style="background:#fff;padding:20px;margin-top:10px">
<el-tabs style="margin-top:20px" v-model="activeName" @tab-click="handleClick">
<el-tab-pane v-for="item in typeList" :key="item.Id" :dataId="item.Id" :label="item.Name" :name="item.Name"></el-tab-pane>
</el-tabs>
<div>
<el-form :model="addMsg" :rules="rules" ref="addMsg" label-width="135px" style="width:50%">
<el-form-item v-if="type==1" label="账户类型">
<el-select @change="SelectIsPublic" v-model="AccountType" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in AccountList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==1" label="账户" prop="AccountId">
<el-select @change="SelectAccountType" v-model="addMsg.AccountId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Alias" :value="item.Id" v-for="(item,index) in AccountIdList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==1" label="汇款人" prop="RemitterName">
<el-input v-model="addMsg.RemitterName" size="small"></el-input>
</el-form-item>
<el-form-item v-if="type==2 || type==3 || type==4" label="币种" prop="CurrencyId">
<el-select v-model="addMsg.CurrencyId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in CurrencyIddList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==1" label="商品收入费用" prop="IncomeCostTypeId">
<el-select v-model="addMsg.IncomeCostTypeId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in costList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==1" label="运费收入费用" prop="FreightCostTypeId">
<el-select v-model="addMsg.FreightCostTypeId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in costList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==3" label="退款费用" prop="RefundCostTypeId">
<el-select v-model="addMsg.RefundCostTypeId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in costList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==2" label="成本费用" prop="CBCostTypeId">
<el-select v-model="addMsg.CBCostTypeId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in costList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==4" label="打款费用" prop="RemitCostTypeId">
<el-select v-model="addMsg.RemitCostTypeId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in costList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item label="流程" prop="WorkFlowId">
<el-select v-model="addMsg.WorkFlowId" placeholder="请选择" size="small" filterable>
<el-option :label="item.Name" :value="item.Id" v-for="(item,index) in TempLateList" :key="index"></el-option>
</el-select>
</el-form-item>
<el-form-item v-if="type==1" label="执行开始时间" prop="StartTime">
<el-date-picker
size="small"
v-model="addMsg.StartTime"
type="datetime"
value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择日期时间">
</el-date-picker>
</el-form-item>
<el-form-item v-if="type==1" label="执行周期" prop="IntervalDay">
<el-input v-model="addMsg.IntervalDay" size="small"></el-input>
</el-form-item>
</el-form>
</div>
</div>
<div style="margin-top:20px">
<el-button @click="Save('addMsg')" size="small" type="primary">保存</el-button>
</div>
</div>
</template>
<script>
export default {
name: "financialAllocation",
data(){
return{
loading:false,
activeName:'收款',
typeList:[],
AccountType:'',
addMsg:{
},
rules:{
AccountType: [
{ required: true, message: '请选择账户类型', trigger: 'change' }
],
AccountId: [
{ required: true, message: '请选择账户类型', trigger: 'change' }
],
IntervalDay: [
{ required: true, message: '请输入执行周期', trigger: 'blur' },
],
RemitterName: [
{ required: true, message: '请输入汇款人', trigger: 'blur' },
],
CurrencyId: [
{ required: true, message: '请选择币种', trigger: 'change' }
],
IncomeCostTypeId: [
{ required: true, message: '请选择', trigger: 'change' }
],
FreightCostTypeId: [
{ required: true, message: '请选择', trigger: 'change' }
],
RefundCostTypeId: [
{ required: true, message: '请选择', trigger: 'change' }
],
RemitCostTypeId: [
{ required: true, message: '请选择', trigger: 'change' }
],
CBCostTypeId: [
{ required: true, message: '请选择', trigger: 'change' }
],
WorkFlowId: [
{ required: true, message: '请选择', trigger: 'change' }
],
StartTime: [
{ type: 'string', required: true, message: '请选择时间', trigger: 'change' }
],
},
AccountList:[],
type:0,
AccountIdList:[],
costList:[],
TempLateList:[],
}
},
created(){
this.getAccount();
this.getOrderStatus();
this.getCurrencyList();
},
mounted(){},
methods:{
Save(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
this.addMsg.Type=this.type;
this.loading=true;
this.apipost("/api/finance/SetFinanceConfigurationInfo", this.addMsg, res => {
this.loading=false;
if (res.data.resultCode == 1) {
this.Success(res.data.message)
this.GetFinance();
} else {
this.Error(res.data.message)
}
})
} else {
return false;
}
});
},
getTempLate(){
let val=1;
if(this.type==1){
val=1;
}else{
val=2;
}
this.apipost("/api/finance/GetFinanceWorkFlowTemplateList",{TempLateClass:val}, res => {
this.TempLateList=res.data.data;
})
},
getcostList(){
let val=1;
if(this.type==1){
val=1;
}else{
val=2;
}
this.apipost("/api/finance/GetFinanceCostTypeList",{Type:val}, res => {
this.costList=res.data.data;
})
},
getCurrencyList(){
this.apipost("/api/finance/GetFinanceCurrencyList",{}, res => {
this.CurrencyIddList=res.data.data;
})
},
SelectAccountType(val){
this.AccountIdList.forEach(item=>{
if(item.Id==val){
this.addMsg.AccountType=item.BankType;
}
})
},
SelectIsPublic(val){
this.AccountList.forEach(item=>{
if(item.Id==val){
this.addMsg.IsPublic=item.IsPublic;
this.getBankAccountList(val)
}
})
},
getBankAccountList(val){
this.apipost("/api/finance/GetBankAccountList",{TypeId:val}, res => {
this.AccountIdList=res.data.data;
})
},
handleClick(val){
let dataId=val.$attrs.dataId;
this.type=dataId;
this.GetFinance();
this.getcostList();
this.getTempLate();
},
// 账户类型
getAccount(){
this.apipost("/api/finance/GetAccountTypeList",{}, res => {
this.AccountList=res.data.data;
})
},
getOrderStatus(){
this.apipost("/api/finance/GetFinanceConfigurationEnumList",{}, res => {
this.typeList=res.data.data;
this.type=this.typeList[0].Id;
this.GetFinance();
this.getcostList();
this.getTempLate();
})
},
GetFinance(){
this.loading=true;
this.apipost("/api/finance/GetFinanceConfigurationInfo",{Type:this.type}, res => {
this.loading=false;
if(res.data.data.Status==2){
this.addMsg=res.data.data.FModel;
this.AccountType=this.addMsg.TypeId;
this.SelectIsPublic(this.AccountType)
}else{
this.AccountType='';
this.addMsg={
"Id":0,
"IsPublic":'',
"AccountType":'',
"AccountId":'',
"RemitterName":"",
"CurrencyId":'',
"IncomeCostTypeId":'',
"FreightCostTypeId":'',
"RefundCostTypeId":'',
"CBCostTypeId":'',
"RemitCostTypeId":'',
"WorkFlowId":'',
"Type":1,
"StartTime":"",
"IntervalDay":''
}
}
})
},
},
};
</script>
<style>
</style>
...@@ -541,24 +541,27 @@ ...@@ -541,24 +541,27 @@
this.apipost("/api/order/GetOrderAfterSaleInfo", { this.apipost("/api/order/GetOrderAfterSaleInfo", {
ReOrderId: this.ReOrderId ReOrderId: this.ReOrderId
}, res => { }, res => {
this.dataInfo = res.data.data; if(res.data.resultCode==1){
let data = res.data.data; this.dataInfo = res.data.data;
// 未付款 let data = res.data.data;
if (data.CreateDate != '' && data.AuditTime=='') { // 未付款
this.activeStep = 1; if (data.CreateDate != '' && data.AuditTime=='') {
} this.activeStep = 1;
if (data.CreateDate != '' && data.AuditTime!='' && data.FinishTime=='') { }
this.activeStep = 2; if (data.CreateDate != '' && data.AuditTime!='' && data.FinishTime=='') {
} this.activeStep = 2;
if (data.FinishTime!='') { }
this.activeStep = 3; if (data.FinishTime!='') {
this.activeStep = 3;
}
if (data.OrderInfo) {
this.OrderInfo = data.OrderInfo;
}
this.DetailList=[];
this.DetailList.push(data.OrderInfo)
} }
if (data.OrderInfo) {
this.OrderInfo = data.OrderInfo;
}
this.DetailList=[];
this.DetailList.push(data.OrderInfo)
}) })
}, },
// 快递公司 // 快递公司
......
...@@ -332,6 +332,18 @@ export default new Router({ ...@@ -332,6 +332,18 @@ export default new Router({
name: 'BulkShipment', name: 'BulkShipment',
component: resolve => require(['@/components/orderMan/BulkShipment'], resolve), component: resolve => require(['@/components/orderMan/BulkShipment'], resolve),
}, },
// 订单管理 批量发货
{
path: '/BulkShipment',
name: 'BulkShipment',
component: resolve => require(['@/components/orderMan/BulkShipment'], resolve),
},
// 订单管理 财务配置
{
path: '/financialAllocation',
name: 'financialAllocation',
component: resolve => require(['@/components/orderMan/financialAllocation'], resolve),
},
//设置 基础设置 //设置 基础设置
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment