diff --git a/src/views/company/claim/index.vue b/src/views/company/claim/index.vue
index 1f5f966..a3f19e2 100644
--- a/src/views/company/claim/index.vue
+++ b/src/views/company/claim/index.vue
@@ -77,6 +77,15 @@
input-align="right"
placeholder="请输入"
/>
+
+
+
+
@@ -851,6 +869,7 @@ export default {
mounted() {},
data() {
return {
+ showPicker: false,
areaTree: [],
indexOne: 1,
indexTwo: 1,
@@ -878,7 +897,9 @@ export default {
maxDate: new Date('2030/01/01'),
defaultDate: new Date(),
dateShow: false,
+ fundingSourceLabel: '',
form: {
+ fundingSource: null,
companyName: window.localStorage.getItem('cn'), //公司名称
nickname: JSON.parse(
window.localStorage.getItem('userInfo') || { dept: {} }
@@ -943,6 +964,15 @@ export default {
// 计算属性
// bs_fee_type
computed: {
+ fundingSourceList() {
+ const list = this.getDictDatas('funding_source')?.map((e) => {
+ return {
+ text: e.label,
+ value: e.value
+ }
+ })
+ return list || []
+ },
allTripPartners() {
let arr = []
this.form.expenseClaimTrips.forEach((v) => {
@@ -981,6 +1011,11 @@ export default {
watch: {},
// 方法集合
methods: {
+ selectFundingSource(val) {
+ this.form.fundingSource = val.value
+ this.fundingSourceLabel = val.text
+ this.showPicker = false
+ },
// 新增发票按钮
addInvoice() {
this.$router.push({
@@ -1395,6 +1430,9 @@ export default {
}
)
}
+ this.fundingSourceLabel = this.fundingSourceList.find(
+ (e) => e.value == this.form.fundingSource
+ ).text
if (Array.isArray(this.form.expenseClaimTrips)) {
this.form.expenseClaimTrips.forEach((n) => {
n.expenseClaimDetails.forEach((z) => {