更新
This commit is contained in:
@@ -49,7 +49,7 @@ export function deleteInvoice(num1, num2) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 传送人接收人初始化
|
// 接收人初始化
|
||||||
export function initPerson() {
|
export function initPerson() {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
@@ -61,6 +61,18 @@ export function initPerson() {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 传送人初始化
|
||||||
|
export function initPerson1() {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '1',
|
||||||
|
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
||||||
|
param: '考核部门编号=5'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
// 初始化合同号
|
// 初始化合同号
|
||||||
export function initContract() {
|
export function initContract() {
|
||||||
return request({
|
return request({
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<span>传送人:</span>
|
<span>传送人:</span>
|
||||||
<el-select v-model="transmitValue" placeholder="传送人" size="small" filterable clearable style="width:100px">
|
<el-select v-model="transmitValue" placeholder="传送人" size="small" filterable clearable style="width:100px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in selectPerson"
|
v-for="item in selectPerson1"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
@@ -160,7 +160,7 @@
|
|||||||
<el-form-item label="传送人" prop="sendPerson">
|
<el-form-item label="传送人" prop="sendPerson">
|
||||||
<el-select v-model="form1.sendPersonValue" placeholder="传送人" size="small" disabled filterable clearable style="width:100px">
|
<el-select v-model="form1.sendPersonValue" placeholder="传送人" size="small" disabled filterable clearable style="width:100px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in selectPerson"
|
v-for="item in selectPerson1"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
:label="item.label"
|
:label="item.label"
|
||||||
:value="item.value"/>
|
:value="item.value"/>
|
||||||
@@ -189,7 +189,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { searchInvoice, addInvoice, editInvoice, deleteInvoice, initPerson, initContract } from '@/api/WorkshopProcurement/ReceiptConnectionSheet'
|
import { searchInvoice, addInvoice, editInvoice, deleteInvoice, initPerson, initPerson1, initContract } from '@/api/WorkshopProcurement/ReceiptConnectionSheet'
|
||||||
import { mapGetters } from 'vuex'
|
import { mapGetters } from 'vuex'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -201,7 +201,8 @@ export default {
|
|||||||
invoiceNum: '',
|
invoiceNum: '',
|
||||||
invoiceTime: '',
|
invoiceTime: '',
|
||||||
transmitValue: '',
|
transmitValue: '',
|
||||||
selectPerson: [], // 传送人接收人
|
selectPerson: [], // 接收人
|
||||||
|
selectPerson1: [], // 传送人
|
||||||
recipientValue: '',
|
recipientValue: '',
|
||||||
contractNum: '',
|
contractNum: '',
|
||||||
pageCurrent1: 1,
|
pageCurrent1: 1,
|
||||||
@@ -266,6 +267,14 @@ export default {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
initPerson1().then(response => {
|
||||||
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
|
this.selectPerson1.push({
|
||||||
|
label: response.data[i].姓名,
|
||||||
|
value: response.data[i].人员编号
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
},
|
},
|
||||||
searchTable1() {
|
searchTable1() {
|
||||||
this.invoiceNum ? this.check1 = 1 : this.check1 = 0
|
this.invoiceNum ? this.check1 = 1 : this.check1 = 0
|
||||||
|
|||||||
Reference in New Issue
Block a user