完善请购单列表和采购订单的录入界面

This commit is contained in:
jishenghua
2024-04-27 13:05:42 +08:00
parent 36d7640c71
commit 3d423edf30
2 changed files with 3 additions and 7 deletions

View File

@@ -197,12 +197,7 @@
align:"center", width: 180, align:"center", width: 180,
scopedSlots: { customRender: 'action' }, scopedSlots: { customRender: 'action' },
}, },
{ title: '单据编号', dataIndex: 'number',width:180, { title: '单据编号', dataIndex: 'number',width:180},
customRender:function (text,record,index) {
text = record.linkNumber?text+"[]":text
return text
}
},
{ title: '商品信息', dataIndex: 'materialsList',width:320, ellipsis:true}, { title: '商品信息', dataIndex: 'materialsList',width:320, ellipsis:true},
{ title: '单据日期', dataIndex: 'operTimeStr',width:185}, { title: '单据日期', dataIndex: 'operTimeStr',width:185},
{ title: '操作员', dataIndex: 'userName',width:120, ellipsis:true}, { title: '操作员', dataIndex: 'userName',width:120, ellipsis:true},

View File

@@ -257,7 +257,7 @@
{ title: '扩展信息', key: 'materialOther', width: '5%', type: FormTypes.normal }, { title: '扩展信息', key: 'materialOther', width: '5%', type: FormTypes.normal },
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal }, { title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal }, { title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
{ title: '多属性', key: 'sku', width: '4%', type: FormTypes.normal }, { title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
{ title: '原数量', key: 'preNumber', width: '4%', type: FormTypes.normal }, { title: '原数量', key: 'preNumber', width: '4%', type: FormTypes.normal },
{ title: '已采购', key: 'finishNumber', width: '4%', type: FormTypes.normal }, { title: '已采购', key: 'finishNumber', width: '4%', type: FormTypes.normal },
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true, { title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
@@ -415,6 +415,7 @@
discountLastMoney += info.allPrice discountLastMoney += info.allPrice
} }
info.linkId = info.id info.linkId = info.id
this.changeColumnShow(info)
} }
if(linkNumber.indexOf('QGD')===-1) { if(linkNumber.indexOf('QGD')===-1) {
this.$nextTick(() => { this.$nextTick(() => {