This commit is contained in:
jishenghua
2024-11-13 00:04:38 +08:00
6 changed files with 24 additions and 11 deletions

View File

@@ -143,6 +143,7 @@ export const BillModalMixin = {
tab.dataSource = res.data.rows
for(let i=0; i<tab.dataSource.length; i++){
let info = tab.dataSource[i]
info.isEdit = this.model.id?1:0
this.changeColumnShow(info)
}
typeof success === 'function' ? success(res) : ''
@@ -534,9 +535,12 @@ export const BillModalMixin = {
case "batchNumber":
batchNumber = value
let depotItemId = ''
let rowId = row.id
if(rowId.length<=19) {
depotItemId = rowId-0
if(this.model.id) {
//只有在保存之后的编辑页面下才获取明细id
let rowId = row.id
if(rowId.length<=19) {
depotItemId = rowId-0
}
}
getBatchNumberList({name:'', depotItemId: depotItemId, depotId: row.depotId, barCode: row.barCode, batchNumber: batchNumber}).then((res) => {
if (res && res.code === 200) {

View File

@@ -266,6 +266,7 @@
{ title: '价税合计', key: 'taxLastMoney', width: '7%', type: FormTypes.inputNumber, statistics: true },
{ title: '备注', key: 'remark', width: '6%', type: FormTypes.input },
{ title: '关联id', key: 'linkId', width: '5%', type: FormTypes.hidden },
{ title: '是否再次编辑', key: 'isEdit', width: '5%', type: FormTypes.hidden },
]
},
confirmLoading: false,

View File

@@ -133,7 +133,7 @@
</div>
<a-button type="link" v-if="showWeixinSpan()">管伊佳ERP微信小程序</a-button>
</a-popover>
&copy; 2015-2030 {{systemTitle}} V3.3
&copy; 2015-2030 {{systemTitle}} V3.5
</div>
<a-tag v-if="tenant.type==0" color="blue">试用到期:{{tenant.expireTime}}</a-tag>
<a-tag v-if="tenant.type==0" color="blue">试用用户:{{tenant.userCurrentNum}}/{{tenant.userNumLimit}}</a-tag>