|
|
|
@ -9,7 +9,8 @@
|
|
|
|
|
<template #note="{ model, field }">
|
|
|
|
|
<div style="display: flex;align-items: center;height: 22px;line-height: 22px;">
|
|
|
|
|
备注:
|
|
|
|
|
<a-button @click="openTempName" style="margin: 0 15px 0 20px;" type="link"> <i class="icon-a-17Btuichu iconfont"></i>
|
|
|
|
|
<a-button @click="openTempName" style="margin: 0 15px 0 20px;" type="link"> <i
|
|
|
|
|
class="icon-a-17Btuichu iconfont"></i>
|
|
|
|
|
提取备注</a-button>
|
|
|
|
|
<a-button type="link" @click="openTemp"><i class="icon-jichupeizhi iconfont"></i>模板设置</a-button>
|
|
|
|
|
</div>
|
|
|
|
@ -35,6 +36,11 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</a-modal>
|
|
|
|
|
<a-modal @cancel="nameFlag = false" width="700px" :visible="nameFlag" title="提取发票备注" @ok="handleRender">
|
|
|
|
|
<a-select v-model:value="tempNameId" style="width: 80%">
|
|
|
|
|
<a-select-option :value="item.id" v-for="(item,index) in tempList" :key="index" >{{ item.name }}</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-modal>
|
|
|
|
|
</a-spin>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
@ -57,6 +63,7 @@ const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
|
|
|
|
|
})
|
|
|
|
|
const feeTableRef = ref(null) as any
|
|
|
|
|
const open = ref(false)
|
|
|
|
|
const nameFlag = ref(false)
|
|
|
|
|
async function handleSave() {
|
|
|
|
|
const values = await validate()
|
|
|
|
|
const data = {
|
|
|
|
@ -142,10 +149,19 @@ function getDetail() {
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
function openTempName() {
|
|
|
|
|
|
|
|
|
|
nameFlag.value = true
|
|
|
|
|
}
|
|
|
|
|
function updateListSave() {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
const tempNameId = ref('')
|
|
|
|
|
function handleRender(){
|
|
|
|
|
let temp = ''
|
|
|
|
|
tempList.value.forEach(item=>{
|
|
|
|
|
if(item.id==tempNameId.value){
|
|
|
|
|
temp = item.content
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
const tempName = ref('')
|
|
|
|
|
const tempId = ref('')
|
|
|
|
|