初步给商品的扩展信息拆分成扩展1 扩展2 扩展3

This commit is contained in:
jishenghua
2025-03-24 23:17:10 +08:00
parent 91a985ff58
commit ce8af5bedd
8 changed files with 125 additions and 21 deletions

View File

@@ -74,6 +74,21 @@
<a-input placeholder="请输入制造商" v-model="queryParam.mfrs"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">
<a-form-item label="扩展1" :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input placeholder="请输入扩展1" v-model="queryParam.otherField1"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">
<a-form-item label="扩展2" :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input placeholder="请输入扩展2" v-model="queryParam.otherField2"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="8">
<a-form-item label="扩展3" :labelCol="{span: 5}" :wrapperCol="{span: 18, offset: 1}">
<a-input placeholder="请输入扩展3" v-model="queryParam.otherField3"></a-input>
</a-form-item>
</a-col>
<a-col :md="6" :sm="24">
<a-form-item label="序列号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-select placeholder="有无序列号" v-model="queryParam.enableSerialNumber">
@@ -155,6 +170,9 @@
brand: '',
categoryId: undefined,
mfrs: '',
otherField1:'',
otherField2:'',
otherField3:'',
enableSerialNumber: undefined,
enableBatchNumber: undefined
},
@@ -179,7 +197,9 @@
{dataIndex: 'unit', title: '单位'},
{dataIndex: 'sku', title: '多属性'},
{dataIndex: 'stock', title: '库存'},
{dataIndex: 'expand', title: '扩展信息'}
{dataIndex: 'otherField1', title: '扩展1'},
{dataIndex: 'otherField2', title: '扩展2'},
{dataIndex: 'otherField3', title: '扩展3'}
],
scrollTrigger: {},
dataSource: [],