Commit 8979400e authored by 王悦's avatar 王悦

no message

parent 7c83cddc
......@@ -75,6 +75,367 @@
</div>
</template>
<script>
import Vue from "vue";
//一月
Vue.component("YiYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.YiYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.YiYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//二月
Vue.component("ErYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.ErYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.ErYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//三月
Vue.component("SanYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.SanYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.SanYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//四月
Vue.component("SiYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.SiYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.SiYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//五月
Vue.component("WuYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.WuYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.WuYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//六月
Vue.component("LiuYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.LiuYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.LiuYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//七月
Vue.component("QiYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.QiYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.QiYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//八月
Vue.component("BaYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.BaYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.BaYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//九月
Vue.component("JiuYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.JiuYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.JiuYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//十月
Vue.component("ShiYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.ShiYue,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.ShiYue}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//十一月
Vue.component("ShiYiYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.ShiYi,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.ShiYi}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
//十二月
Vue.component("ShiErYueJump", {
// 团队跳转
template: `<span style="cursor: pointer" @click="goUrl('JumpReport',rowData.ShiEr,rowData.Year,rowData.BranchId,rowData.CostIds)">{{rowData.ShiEr}}</span>`,
props: {
rowData: {
type: Object
},
field: {
type: String
},
index: {
type: Number
}
},
methods: {
goUrl(path,month,year,BranchId, ids) {
this.$router.push({
path: "/" + path,
query: {
id: id,
year:year,
month:month,
BranchId:BranchId,
blank: "y"
}
});
}
}
});
export default {
data() {
return {
......@@ -118,7 +479,7 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
},
{
field: "YiYue",
......@@ -129,7 +490,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "YiYueJump"
},
{
field: "ErYue",
......@@ -140,7 +502,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "ErYueJump"
},
{
field: "SanYue",
......@@ -151,7 +514,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "SanYueJump"
},
{
field: "DiYiJiDu",
......@@ -173,7 +537,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "SiYueJump"
},
{
field: "WuYue",
......@@ -184,7 +549,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "WuYueJump"
},
{
field: "LiuYue",
......@@ -195,7 +561,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "LiuYueJump"
},
{
field: "DiErJiDu",
......@@ -228,7 +595,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "QiYueJump"
},
{
field: "BaYue",
......@@ -239,7 +607,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "BaYueJump"
},
{
field: "JiuYue",
......@@ -250,7 +619,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "JiuYueJump"
},
{
field: "DiSanJiDu",
......@@ -272,7 +642,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "ShiYueJump"
},
{
field: "ShiYiYue",
......@@ -283,7 +654,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "ShiYiYueJump"
},
{
field: "ShiErYue",
......@@ -294,7 +666,8 @@ export default {
isResize: true,
result: [],
type: "select",
isFrozen: false
isFrozen: false,
componentName: "ShiErYueJump"
},
{
field: "DiSiJiDu",
......
......@@ -793,7 +793,7 @@ export default {
if (field === "RemarkValue") return this.priceFormat(rowData.RemarkValue);
if (field === "NRemarkValue") return this.priceFormat(rowData.NRemarkValue);
},
priceFormat(value) {
priceFormat(value) {
if (value == null) {
return 0.0;
}
......
......@@ -442,7 +442,7 @@
</div>
<div class="_submit">
<div class="chosenNextBox">
<div v-if='resultCode==11019'>
<div v-if='resultCode==11019 || ((EmployeeId===755 || EmployeeId===400) && (msg.RB_Branch_Id&& msg.RB_Branch_Id!=0))'>
<label>下一步:<span class="red">{{msg.AuditDescription}}</span></label>
<el-select size="mini" style="width:300px" v-model="chosenPeople" multiple filterable remote reserve-keyword placeholder="请选择下一步审批人" :remote-method="remoteMethod" :loading="loadingPeople">
<el-option v-for="item in peopleData" :key="item.empId" :label="`${item.name}`" :value="item.empId">
......
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