系统未税金额:{{Number(selections.reduce((prev, item) => prev + Number(Number(Number(Number(item['purchasePrice']).toFixed(4))*item['invoicableQuantity']).toFixed(2)),0)).toFixed(2)}}
@@ -129,26 +129,26 @@
-
-
{
nextTick(() => {
@@ -365,11 +365,11 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
newRow['arrivalQty'] = item['prhRcvd']
newRow['id'] = item['id']
newRow['currency'] = item['currency']
-
+
}
tableData.value.push(newRow)
})
-
+
} else {
// 切换供应商代码
if(formField=='supplierCode'&&val[0][searchField]!=searchFormRef.formModel.supplierCode){
@@ -388,7 +388,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
const Echo = []
const { tableObject, tableMethods } = useTable({
- getListApi: SupplierinvoiceRequestMainApi.getSupplierinvoiceRequestMainPage // 分页接口
+ getListApi: SupplierinvoiceRequestMainApi.getSupplierinvoiceRequestMainPage // 分页接口
})
// 获得表格的各种操作
@@ -660,7 +660,7 @@ const handleImport = () => {
}
console.log('defaultSupplierCode',defaultSupplierCode)
}
-
+
// 获取部门 用于详情 部门回显
const { wsCache } = useCache()
@@ -715,8 +715,8 @@ const handleImport = () => {
detailAnnexTable.value[1].hiddenDelete = true
detailAnnexTable.value[1].hiddenUpload = true
}
-
- detailRef.value.openDetail(row, titleName, titleValue)
+
+ detailRef.value.openDetail(row, titleName, titleValue,"requestSupplierinvoiceMain")
}
/** 删除按钮操作 */
@@ -808,7 +808,7 @@ const handleImport = () => {
const submitPurchasePass = async (id, submitData) => {
console.log(submitData)
const id1 =submitData?.id || id
-
+
console.log(id1)
try {
// 审批通过的二次确认
@@ -879,7 +879,7 @@ const handleImport = () => {
tableObject.loading = false
}
}
-
+
/** 发票寄出确认按钮操作 */
const handleInvoiceSentOut = async (id : number) => {
try {
@@ -898,7 +898,7 @@ const handleImport = () => {
}
const resonSubmit = async (val, row)=>{
-
+
ElMessageBox.prompt(t('ts.请输入驳回原因'), t('ts.提示'), {
confirmButtonText: t('common.ok'),
cancelButtonText: t('common.cancel'),
@@ -1090,7 +1090,7 @@ const importSuccess = () => {
handleDocumentPrint(clicKRowId.value)
}else if(val === 'printing-all'){
//打印全部发货单
- handlePrintAll(clicKRowId.value)
+ handlePrintAll(clicKRowId.value)
}else if(val === 'export-detail'){
console.log("导出明细:",clicKRowId.value)
handleDetailExport(clicKRowId.value)
@@ -1130,7 +1130,7 @@ const importSuccess = () => {
const BASE_URL = getJmreportBaseUrl()
- //供应商发货单打印
+ //供应商发货单打印
const documentSupplierdeliverRecordSrc = ref(BASE_URL + '/jmreport/view/932556833517789184?token=' + getAccessToken())
const handleSupplierdeliverRecordPrint = async (id) => {
window.open(documentSupplierdeliverRecordSrc.value + '&id=' + id)
@@ -1188,7 +1188,7 @@ const handleSelectionPoint = async ()=>{
detailButtonIsShowAddStatusArray.value = []
}
}
-
+
/** 初始化 **/
onMounted(async () => {
getList()
diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue
index 55ff58230..8930eab3f 100644
--- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue
+++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue
@@ -11,14 +11,14 @@
-
@@ -46,7 +46,7 @@
{
model.staDifferencePrice = staDifferencePrice.value
model.endDifferencePrice = endDifferencePrice.value
@@ -230,9 +230,9 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
defaultParams:{
balanceStatementStatus : 'TRUE'
},
- getListApi: SupplierinvoiceRequestMainApi.getSupplierinvoiceRequestMainPage // 分页接口
+ getListApi: SupplierinvoiceRequestMainApi.getSupplierinvoiceRequestMainPage // 分页接口
})
-
+
// 获得表格的各种操作
const { getList, setSearchParams } = tableMethods
@@ -302,7 +302,7 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea
const departmentCode = wsCache.get(CACHE_KEY.DEPT).find((account) => account.id == row.departmentCode)?.name
if (departmentCode) row.departmentCode = JSON.parse(JSON.stringify(departmentCode))
clicKRowId.value = row.id
- detailRef.value.openDetail(row, titleName, titleValue)
+ detailRef.value.openDetail(row, titleName, titleValue,"requestSupplierinvoiceMain")
}
/** 导出按钮操作 */
@@ -377,7 +377,7 @@ const importTemplateData = reactive({
handleDocumentPrint(clicKRowId.value)
}else if(val === 'printing-all'){
//打印全部发货单
- handlePrintAll(clicKRowId.value)
+ handlePrintAll(clicKRowId.value)
}else if(val === 'export-detail'){
console.log("导出明细:",clicKRowId.value)
handleDetailExport(clicKRowId.value)
@@ -417,7 +417,7 @@ const importTemplateData = reactive({
const BASE_URL = getJmreportBaseUrl()
- //供应商发货单打印
+ //供应商发货单打印
const documentSupplierdeliverRecordSrc = ref(BASE_URL + '/jmreport/view/932556833517789184?token=' + getAccessToken())
const handleSupplierdeliverRecordPrint = async (id) => {
window.open(documentSupplierdeliverRecordSrc.value + '&id=' + id)
@@ -443,7 +443,7 @@ const importTemplateData = reactive({
}
})
}
-
+
/** 初始化 **/
onMounted(async () => {
getList()
@@ -471,7 +471,7 @@ const importTemplateData = reactive({
::v-deep(.el-input-number .el-input__wrapper) {
padding-left: 0;
padding-right: 0;
-
+
}