|
|
@ -9,7 +9,8 @@
|
|
|
|
<template #note="{ model, field }">
|
|
|
|
<template #note="{ model, field }">
|
|
|
|
<div style="display: flex;align-items: center;height: 22px;line-height: 22px;">
|
|
|
|
<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>
|
|
|
|
<a-button type="link" @click="openTemp"><i class="icon-jichupeizhi iconfont"></i>模板设置</a-button>
|
|
|
|
<a-button type="link" @click="openTemp"><i class="icon-jichupeizhi iconfont"></i>模板设置</a-button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -35,6 +36,11 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a-modal>
|
|
|
|
</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>
|
|
|
|
</a-spin>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
@ -57,6 +63,7 @@ const [registerForm, { resetFields, setFieldsValue, validate }] = useForm({
|
|
|
|
})
|
|
|
|
})
|
|
|
|
const feeTableRef = ref(null) as any
|
|
|
|
const feeTableRef = ref(null) as any
|
|
|
|
const open = ref(false)
|
|
|
|
const open = ref(false)
|
|
|
|
|
|
|
|
const nameFlag = ref(false)
|
|
|
|
async function handleSave() {
|
|
|
|
async function handleSave() {
|
|
|
|
const values = await validate()
|
|
|
|
const values = await validate()
|
|
|
|
const data = {
|
|
|
|
const data = {
|
|
|
@ -141,11 +148,20 @@ function getDetail() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function openTempName(){
|
|
|
|
function openTempName() {
|
|
|
|
|
|
|
|
nameFlag.value = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
function updateListSave() {
|
|
|
|
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 tempName = ref('')
|
|
|
|
const tempId = ref('')
|
|
|
|
const tempId = ref('')
|
|
|
|