增加转采购退货、转销售退货、转零售退货的功能

This commit is contained in:
jishenghua
2025-05-02 22:12:58 +08:00
parent f3a40d0d02
commit 8425744e3c
7 changed files with 42 additions and 8 deletions

View File

@@ -316,6 +316,10 @@
if (this.action === 'add') {
this.addInit(this.prefixNo)
this.fileList = []
this.$nextTick(() => {
let tp = this.transferParam
this.linkBillListOk(tp.list, tp.number, tp.organId, tp.discountMoney, tp.deposit, tp.remark, this.defaultDepotId, tp.accountId)
})
} else {
if(this.model.linkNumber) {
this.rowCanEdit = false
@@ -412,8 +416,10 @@
}
info.linkId = info.id
allTaxLastMoney += info.taxLastMoney
listEx.push(info)
this.changeColumnShow(info)
if(info.operNumber>0) {
listEx.push(info)
this.changeColumnShow(info)
}
}
this.materialTable.dataSource = listEx
///给优惠后金额重新赋值

View File

@@ -300,6 +300,8 @@
this.fileList = []
this.$nextTick(() => {
this.form.setFieldsValue({'getAmount':0, 'backAmount':0})
let tp = this.transferParam
this.linkBillListOk(tp.list, tp.number, tp.organId, tp.discountMoney, tp.deposit, tp.remark)
})
} else {
if(this.model.linkNumber) {
@@ -408,8 +410,10 @@
let info = selectBillDetailRows[j];
info.linkId = info.id
allTaxLastMoney += info.allPrice
listEx.push(info)
this.changeColumnShow(info)
if(info.operNumber>0) {
listEx.push(info)
this.changeColumnShow(info)
}
}
this.materialTable.dataSource = listEx
///给优惠后金额重新赋值

View File

@@ -189,7 +189,7 @@
import { FormTypes } from '@/utils/JEditableTableUtil'
import { JEditableTableMixin } from '@/mixins/JEditableTableMixin'
import { BillModalMixin } from '../mixins/BillModalMixin'
import { getMpListShort,changeListFmtMinus } from "@/utils/util"
import { getMpListShort, changeListFmtMinus, handleIntroJs } from '@/utils/util'
import { getAction } from '@/api/manage'
import JSelectMultiple from '@/components/jeecg/JSelectMultiple'
import JUpload from '@/components/jeecg/JUpload'
@@ -321,6 +321,10 @@
this.addInit(this.prefixNo)
this.personList.value = ''
this.fileList = []
this.$nextTick(() => {
let tp = this.transferParam
this.linkBillListOk(tp.list, tp.number, tp.organId, tp.discountMoney, tp.deposit, tp.remark, this.defaultDepotId, tp.accountId, tp.salesMan)
})
} else {
if(this.model.linkNumber) {
this.rowCanEdit = false
@@ -422,8 +426,10 @@
}
info.linkId = info.id
allTaxLastMoney += info.taxLastMoney
listEx.push(info)
this.changeColumnShow(info)
if(info.operNumber>0) {
listEx.push(info)
this.changeColumnShow(info)
}
}
this.materialTable.dataSource = listEx
///给优惠后金额重新赋值