Commit f9729322 by zhangxw

bug修改 部分ui走查修改

1 parent 622c8302
......@@ -10,7 +10,7 @@ html {
.purchase .container {
background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
// box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
padding: 20px;
}
......
......@@ -2,7 +2,7 @@
<template>
<div class="purchase">
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="table-header">
<h2>发货单列表</h2>
<div>
......
......@@ -2,11 +2,11 @@
<template>
<div class="purchase">
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="table-header">
<h2>采购审核列表</h2>
<div>
<GLButton type="primary" plain size="small" @click="handleExport" fn="导出">导出</GLButton>
<GLButton size="small" @click="handleExport" fn="导出">导出</GLButton>
</div>
</div>
......@@ -174,7 +174,8 @@ export default {
{
label: '下单商户',
prop: 'merchantName',
width: 100
width: 150,
line: 1,
},
{
label: '收货人',
......@@ -189,7 +190,8 @@ export default {
{
label: '收货地址',
prop: 'contactAddress',
width: 180
width: 180,
line: 1
},
{
label: '商品来源',
......@@ -202,22 +204,26 @@ export default {
{
label: '商品名称',
prop: 'upgradeGoodsName',
width: 100
width: 100,
line: 1
},
{
label: '商品编码',
prop: 'type',
width: 150
width: 150,
line: 1
},
{
label: '系列',
prop: 'goodsName',
width: 100
width: 150,
line: 1
},
{
label: '所属分类',
prop: 'goodsTypeName',
width: 150
width: 150,
line: 1
},
{
label: '采购数量',
......@@ -262,7 +268,8 @@ export default {
{
label: '审核人',
prop: 'reviewedBy',
width: 100
width: 150,
line: 1
},
{
label: '审核时间',
......@@ -279,7 +286,7 @@ export default {
},
{
label: '操作',
width: '180px',
width: '200px',
addHtml: 'auth-button',
fixed: 'right'
}
......
......@@ -264,7 +264,7 @@ export default {
)
SELECTWRAP_DOM.addEventListener('scroll', function () {
const condition =
this.scrollHeight - this.scrollTop <= this.clientHeight
this.scrollHeight - this.scrollTop <= this.clientHeight + 40
if (condition) {
binding.value()
}
......
......@@ -156,6 +156,12 @@ export default {
if (this.membraneTypeList?.includes(res?.goodsInfo?.goodsType)) { // 膜类商品 单位是卷
if(index > -1) this.editFormData[index].label = '门店采购价(元)/卷'
}
if (res?.goodsSource == 1) { // 自营
let index = this.goodsDetailForm.findIndex(val => val.value == 'purchasePrice')
if (index > -1) {
this.goodsDetailForm.splice(index, 1)
}
}
res.groundingGoodsInfo = {
...res.goodsInfo,
...res.upgradeGoods
......
......@@ -2,12 +2,12 @@
<template>
<div class="purchase">
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="table-header">
<h2>采购上架列表</h2>
<div>
<GLButton type="primary" size="small" @click="handleEdit('add')" fn="新增上架">新增上架</GLButton>
<GLButton type="primary" plain size="small" @click="exportExcel" fn="导出">导出</GLButton>
<GLButton type="primary" plain size="small" @click="handleEdit('add')" fn="新增上架">新增上架</GLButton>
<GLButton size="small" @click="exportExcel" fn="导出">导出</GLButton>
</div>
</div>
......@@ -210,7 +210,7 @@ export default {
},
{
label: '商品名称',
prop: 'upgradeGoodsName',
prop: 'createdDate',
formatter: cellValue => {
return cellValue?.upgradeGoods?.upgradeGoodsName || cellValue?.upgradeGoodsName
}
......@@ -260,17 +260,9 @@ export default {
prop: '',
addHtml: 'status'
},
// {
// label: '创建时间',
// prop: 'createdDate',
// formatter: cellValue => {
// return dayjs(cellValue.createdDate).format('YYYY-MM-DD HH:mm:ss')
// },
// width: 180
// },
{
label: '操作',
width: '180px',
width: '200px',
addHtml: 'auth-button'
}
]
......@@ -355,7 +347,8 @@ export default {
handleEdit(editType, row) {
let params = {
editType,
id: row?.id
id: row?.id,
$title: encodeURI(editType == 'add' ? '新增上架' : '编辑上架')
}
this.$router.push({
path: '/purchaseGrounding/add',
......
......@@ -2,7 +2,7 @@
<template>
<div class="purchase">
<div class="container">
<GLCombiForm ref="showSearch" :rowNumber="1" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<GLCombiForm ref="showSearch" :rowNumber="2" :formObj="searchForm" :formData="showFormData" @handleOk="handleSearch" @handleRest="handleReset"></GLCombiForm>
<div class="table-header">
<h2>采购订单列表</h2>
<div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!