diff --git a/components/grouped-picker/grouped-picker.vue b/components/grouped-picker/grouped-picker.vue index 5bd5d63..0812cff 100644 --- a/components/grouped-picker/grouped-picker.vue +++ b/components/grouped-picker/grouped-picker.vue @@ -1,30 +1,32 @@ @@ -205,6 +205,7 @@ export default { needQuantity: false, value: '' as any, quantities: {} as any, + // 数量单位不再传进弹层(原型列表行右侧只有步进器,没有单位),页面行内仍显示 item.unit unit: '' } } @@ -299,7 +300,6 @@ export default { this.groupPicker.needQuantity = item.fieldType === 6 && this.needQty(item) this.groupPicker.value = multiple ? (this.inspectForm[code] || []).slice() : (this.inspectForm[code] || '') this.groupPicker.quantities = Object.assign({}, this.qtyMap[code] || {}) - this.groupPicker.unit = item.unit || '' this.groupPicker.show = true }, /**