优化批号选择框对应的日期框的样式
This commit is contained in:
@@ -134,7 +134,7 @@ export const BillModalMixin = {
|
|||||||
if(this.prefixNo === 'LSTH' || this.prefixNo === 'CGRK' || this.prefixNo === 'XSTH' || this.prefixNo === 'QTRK') {
|
if(this.prefixNo === 'LSTH' || this.prefixNo === 'CGRK' || this.prefixNo === 'XSTH' || this.prefixNo === 'QTRK') {
|
||||||
columns[i].type = FormTypes.date //显示
|
columns[i].type = FormTypes.date //显示
|
||||||
} else {
|
} else {
|
||||||
columns[i].type = FormTypes.normal //显示
|
columns[i].type = FormTypes.input //显示
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
columns[i].type = FormTypes.normal //显示
|
columns[i].type = FormTypes.normal //显示
|
||||||
|
|||||||
@@ -174,7 +174,7 @@
|
|||||||
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
||||||
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
||||||
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.normal },
|
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.input, readonly: true },
|
||||||
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
|
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
|
||||||
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
|
{ title: '数量', key: 'operNumber', width: '5%', type: FormTypes.inputNumber, statistics: true,
|
||||||
validateRules: [{ required: true, message: '${title}不能为空' }]
|
validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||||
|
|||||||
@@ -244,7 +244,7 @@
|
|||||||
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
||||||
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
||||||
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.normal },
|
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.input, readonly: true },
|
||||||
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
|
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
|
||||||
{ title: '原数量', key: 'preNumber', width: '5%', type: FormTypes.normal },
|
{ title: '原数量', key: 'preNumber', width: '5%', type: FormTypes.normal },
|
||||||
{ title: '已退货', key: 'finishNumber', width: '5%', type: FormTypes.normal },
|
{ title: '已退货', key: 'finishNumber', width: '5%', type: FormTypes.normal },
|
||||||
|
|||||||
@@ -245,7 +245,7 @@
|
|||||||
{ title: '单位', key: 'unit', width: '5%', type: FormTypes.normal },
|
{ title: '单位', key: 'unit', width: '5%', type: FormTypes.normal },
|
||||||
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
||||||
{ title: '批号', key: 'batchNumber', width: '8%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
{ title: '批号', key: 'batchNumber', width: '8%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
||||||
{ title: '有效期', key: 'expirationDate',width: '9%', type: FormTypes.normal },
|
{ title: '有效期', key: 'expirationDate',width: '9%', type: FormTypes.input, readonly: true },
|
||||||
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
|
{ title: '多属性', key: 'sku', width: '9%', type: FormTypes.normal },
|
||||||
{ title: '数量', key: 'operNumber', width: '6%', type: FormTypes.inputNumber, statistics: true,
|
{ title: '数量', key: 'operNumber', width: '6%', type: FormTypes.inputNumber, statistics: true,
|
||||||
validateRules: [{ required: true, message: '${title}不能为空' }]
|
validateRules: [{ required: true, message: '${title}不能为空' }]
|
||||||
|
|||||||
@@ -287,7 +287,7 @@
|
|||||||
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
{ title: '单位', key: 'unit', width: '4%', type: FormTypes.normal },
|
||||||
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
{ title: '序列号', key: 'snList', width: '12%', type: FormTypes.popupJsh, kind: 'sn', multi: true },
|
||||||
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
{ title: '批号', key: 'batchNumber', width: '7%', type: FormTypes.popupJsh, kind: 'batch', multi: false },
|
||||||
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.normal },
|
{ title: '有效期', key: 'expirationDate',width: '7%', type: FormTypes.input, readonly: true },
|
||||||
{ title: '多属性', key: 'sku', width: '9%', 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 },
|
||||||
|
|||||||
Reference in New Issue
Block a user