Browse Source

修改页面显示

dev
caoyizhong 2 years ago
parent
commit
6714159cbc
  1. 25
      src/views/dictionaries/ProcessMerchandiseNewsList.vue
  2. 8
      src/views/materialstorage/modules/ProcessMaterialStorageForm.vue
  3. 2
      src/views/merchandisenews/modules/ProcessMerchandiseNewsForm.vue

25
src/views/dictionaries/ProcessMerchandiseNewsList.vue

@ -149,19 +149,22 @@
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" />
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<!-- <a-menu-item>-->
<!-- <a @click="handleDetail(record)">详情</a>-->
<!-- </a-menu-item>-->
<a-menu-item>
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
</a-menu>
</a-dropdown>
<!-- <a-dropdown>-->
<!-- <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
<!-- <a-menu slot="overlay">-->
<!--&lt;!&ndash; <a-menu-item>&ndash;&gt;-->
<!-- &lt;!&ndash; <a @click="handleDetail(record)">详情</a>&ndash;&gt;-->
<!-- &lt;!&ndash; </a-menu-item>&ndash;&gt;-->
<!-- <a-menu-item>-->
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!-- <a>删除</a>-->
<!-- </a-popconfirm>-->
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- </a-dropdown>-->
</span>
</a-table>

8
src/views/materialstorage/modules/ProcessMaterialStorageForm.vue

@ -15,10 +15,10 @@
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="物料描述" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-form-item label="物料名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
<!-- <a-input v-decorator="['merchandiseNewsId']" placeholder="请输入物料详情" ></a-input>-->
<a-auto-complete
v-decorator="['merchandiseNewsId']" placeholder="请输入物料详情"
v-decorator="['merchandiseNewsId']" placeholder="请输入物料名称"
:data-source="bigMerchandiseId"
@select="onSelectRake"
@search="onSearchMerchandiseNews"
@ -27,7 +27,7 @@
</a-form-item>
</a-col>
<a-col :span="8">
<a-form-item label="物料组名称" :labelCol="labelCol" :wrapperCol="wrapperCol">
<a-form-item label="物料组编号" :labelCol="labelCol" :wrapperCol="wrapperCol">
<!-- <a-input v-decorator="['descriptionId']" placeholder="请输入品名类" ></a-input>-->
<a-auto-complete
v-decorator="['descriptionId']" placeholder="请输入品名类"
@ -236,7 +236,7 @@
console.log(res.result);
// this.bigId = res.result.records;
res.result.records.forEach( item => {
this.bigId.push(item.descriptionName);
this.bigId.push(item.materialClassify);
})
this.bigIdList = res.result.records;
}

2
src/views/merchandisenews/modules/ProcessMerchandiseNewsForm.vue

@ -208,7 +208,7 @@
console.log(res.result);
// this.bigId = res.result.records;
res.result.records.forEach( item => {
this.bigIdRake.push(item.descriptionName);
this.bigIdRake.push(item.materialClassify);
})
}
});

Loading…
Cancel
Save