update 到qualityInspectionCurrent
This commit is contained in:
@@ -39,8 +39,8 @@ import TableOperateComponent from '@/components/base-table/components/operationC
|
||||
const tableConfigs = [
|
||||
{ prop: 'createTime', name: i18n.t('createTime'), filter: timeFilter },
|
||||
{ prop: 'name', name: i18n.t('attrName') },
|
||||
{ prop: 'code', name: '属性编码' },
|
||||
{ prop: 'productId', name: '产品id' },
|
||||
{ prop: 'code', name: i18n.t('prod.attrcode') },
|
||||
{ prop: 'productId', name: i18n.t('prod.id') },
|
||||
{ prop: 'value', name: i18n.t('attrValue') },
|
||||
{ prop: 'description', name: i18n.t('desc') },
|
||||
{ prop: 'operations', name: i18n.t('handle'), fixed: 'right', width: 180, subcomponent: TableOperateComponent, options: ['edit', 'delete'] }
|
||||
@@ -53,28 +53,28 @@ const addOrUpdateConfigs = {
|
||||
{
|
||||
name: 'name',
|
||||
label: i18n.t('attrName'),
|
||||
placeholder: '请输入属性名称'
|
||||
placeholder: i18n.t('prod.attrnameHints')
|
||||
},
|
||||
{
|
||||
name: 'code',
|
||||
label: '属性编码',
|
||||
placeholder: '请输入属性编码'
|
||||
label: i18n.t('prod.attrcode'),
|
||||
placeholder: i18n.t('prod.attrcodeHints')
|
||||
},
|
||||
{
|
||||
name: 'productId',
|
||||
label: '关联产品',
|
||||
label: i18n.t('prod.relatedPid'),
|
||||
type: 'select',
|
||||
options: []
|
||||
},
|
||||
{
|
||||
name: 'value',
|
||||
label: i18n.t('attrValue'),
|
||||
placeholder: '请输入属性值'
|
||||
placeholder: i18n.t('prod.attrvalueHints')
|
||||
},
|
||||
{
|
||||
name: 'description',
|
||||
label: i18n.t('desc'),
|
||||
placeholder: '请输入描述'
|
||||
placeholder: i18n.t('prod.descHints')
|
||||
}
|
||||
],
|
||||
operations: [
|
||||
@@ -192,7 +192,7 @@ export default {
|
||||
: this.dataListSelections.map(item => {
|
||||
return item.id
|
||||
})
|
||||
this.$confirm(`${ i18n.t('prompt.info', { handle: id ? i18n.t('delete').toLowerCase() : i18n.t('deleteBatch').toLowerCase() }) }`, i18n.t('prompt.title'), {
|
||||
this.$confirm(`${i18n.t('prompt.info', { handle: id ? i18n.t('delete').toLowerCase() : i18n.t('deleteBatch').toLowerCase() })}`, i18n.t('prompt.title'), {
|
||||
confirmButtonText: i18n.t('confirm'),
|
||||
cancelButtonText: i18n.t('cancel'),
|
||||
type: 'warning'
|
||||
|
||||
Reference in New Issue
Block a user