费用录入问题修复

szh-new
lijingjia 2 months ago
parent 635f8beb51
commit 92e2ab24a6

@ -93,7 +93,6 @@
} else {
data = feeTabel.value.feeData
}
console.log(data)
emits('submit', data)
}
const historyChange = (v) => {

@ -166,7 +166,7 @@
:reload="init"
ref="ladHistory"
/>
<DsPrint ref="dsPrint" code="sea_freight_export" temCode="op_sea_export_billmanage" :paramJsonStr="'{id:' + props.id + '}'" />
<DsPrint ref="dsPrint" code="sea_freight_export" temCode="op_sea_export_billmanage" :paramJsonStr="busids" />
</div>
</template>
<script lang="ts" setup>
@ -299,11 +299,13 @@
issuePlace: v.portName
})
}
const busids = ref()
const dloading = ref(false)
//
const setFormValue = (row) => {
const id = row?.id
activeId.value = id
busids.value = JSON.stringify({ID:id})
if (id) {
dloading.value = true
GetSeaExportBillManageInfo({ id }).then(res => {
@ -647,6 +649,7 @@
const ctnInfo = ref([])
//
const print = () => {
if (!busids.value) return createMessage.warning('请选择要打印的分单数据!')
dsPrint.value.init()
}
//

@ -120,11 +120,11 @@
if (!model.inParamColumn) {
return createMessage.warning('请先填写入口参数!')
}
const inParamColumn = eval(model.inParamColumn)
// const inParamColumn = eval(model.inParamColumn)
const postData = {
"tenantId": userStore.getUserInfo.tenantId,
"templateId": model.id,
"paramJsonStr": JSON.stringify({id:inParamColumn}),
"paramJsonStr": model.inParamColumn,
"printType": "1"
}
GetOpenSqlPrintInfo(postData).then(res => {

Loading…
Cancel
Save