优化单据的序列号录入和选择功能

This commit is contained in:
季圣华
2022-09-30 00:21:33 +08:00
parent 5c02964145
commit c1c92d3479
8 changed files with 147 additions and 76 deletions

View File

@@ -269,9 +269,7 @@
{ title: '扩展信息', key: 'materialOther', width: '5%', type: FormTypes.normal },
{ title: '库存', key: 'stock', width: '5%', type: FormTypes.normal },
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.input, placeholder: '多个序列号用逗号隔开请少于100个字符',
validateRules: [{ pattern: /^.{1,100}$/, message: '请小于100位字符' }]
},
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'snAdd', multi: true },
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.input },
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.date },
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },