Commit f9729322 by zhangxw

bug修改 部分ui走查修改

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