Commit a782a69f by 前端

BUG修复

1 parent 84d4fb19
...@@ -58,7 +58,7 @@ export const routerName = { ...@@ -58,7 +58,7 @@ export const routerName = {
{ {
authId: "9080202", authId: "9080202",
parentId: "90802", parentId: "90802",
label: "查看", label: "统计",
handle: "look" handle: "look"
} }
], ],
......
<template> <template>
<baseDialog :is-show.sync="dialogShow" :config="dialogConfig.setting" :dialog-config="dialogConfig.config" <baseDialog :is-show.sync="dialogShow"
:config="dialogConfig.setting"
:dialog-config="dialogConfig.config"
@closeDialog="handleDetailClose"> @closeDialog="handleDetailClose">
<div class="detail-content" v-if="dialogShow"> <div class="detail-content"
v-if="dialogShow">
<div class="addressTitle"> <div class="addressTitle">
<img src="../images/addressIcon.webp" alt="" class="icon"> <img src="../images/addressIcon.webp"
alt=""
class="icon">
<span class="title">{{ paramsObj.merchantName }}</span> <span class="title">{{ paramsObj.merchantName }}</span>
</div> </div>
<div class="address-info"> <div class="address-info">
...@@ -11,9 +16,16 @@ ...@@ -11,9 +16,16 @@
<span class="phone">电话:<span class="label">{{ detailInfo.contactPhone }}</span></span> <span class="phone">电话:<span class="label">{{ detailInfo.contactPhone }}</span></span>
<span class="address">收货地址:<span class="label">{{ detailInfo.contactAddress }}</span></span> <span class="address">收货地址:<span class="label">{{ detailInfo.contactAddress }}</span></span>
</div> </div>
<div class="address-info"
v-if="detailInfo.rejectCause">
<span class="address">驳回原因:<span class="label">{{ detailInfo.rejectCause }}</span></span>
</div>
<div class="table-class"> <div class="table-class">
<d2-table ref="purchaseOrderDetailTable" :table-params="tableParams" @refreshTable="refreshTable" <d2-table ref="purchaseOrderDetailTable"
:table-data="detailInfo.tableData" :table-total="detailInfo.tableTotal"> :table-params="tableParams"
@refreshTable="refreshTable"
:table-data="detailInfo.tableData"
:table-total="detailInfo.tableTotal">
</d2-table> </d2-table>
</div> </div>
</div> </div>
...@@ -153,7 +165,7 @@ export default { ...@@ -153,7 +165,7 @@ export default {
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
>span { > span {
margin-right: 20px; margin-right: 20px;
margin-bottom: 10px; margin-bottom: 10px;
} }
......
...@@ -76,7 +76,8 @@ export default { ...@@ -76,7 +76,8 @@ export default {
status: '', status: '',
deliveryStatus: '', deliveryStatus: '',
putStatus: '', putStatus: '',
merchantId: '', // merchantId: '',
merchantName: '',
sortType: 2, sortType: 2,
orderTimeStr: [] orderTimeStr: []
}, },
...@@ -96,14 +97,20 @@ export default { ...@@ -96,14 +97,20 @@ export default {
isClear: true, isClear: true,
pickerOptions: 'rangePickerOptions' pickerOptions: 'rangePickerOptions'
}, },
// {
// label: '下单门店',
// name: 'merchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// },
{ {
label: '下单门店', label: '下单门店',
name: 'merchantId', name: 'merchantName',
type: 'select', type: 'input',
optionList: [], isClear: true
optionId: 'merchantNo',
optionLabel: 'merchantName',
optionsName: 'merchantName'
}, },
{ {
label: '订单状态', label: '订单状态',
......
<!-- 采购订单 --> <!-- 采购订单 -->
<template> <template>
<d2-container class="container"> <d2-container class="container">
<div class="header" slot="header"> <div class="header"
<d2-search ref="showSearch" class="show-search" :search-form="searchForm" :form-data="showFormData"> slot="header">
<d2-search ref="showSearch"
class="show-search"
:search-form="searchForm"
:form-data="showFormData">
</d2-search> </d2-search>
<div class="up-btns"> <div class="up-btns">
<el-button :id="tableParams.btnId" size="small" type="primary" handle> <el-button :id="tableParams.btnId"
size="small"
type="primary"
handle>
查询 查询
</el-button> </el-button>
<el-button size="small" @click="handleReset"> <el-button size="small"
@click="handleReset">
重置 重置
</el-button> </el-button>
</div> </div>
</div> </div>
<div class="d2-container-content"> <div class="d2-container-content">
<d2-table-header> <d2-table-header>
<span slot="left" v-if="!userInfo.beSuper && userInfo.beYQMerchant"> <span slot="left"
v-if="!userInfo.beSuper && userInfo.beYQMerchant">
<!-- <auth-button category="Button" /> --> <!-- <auth-button category="Button" /> -->
<auth-button category="Button" /> <auth-button category="Button" />
</span> </span>
<span> <span>
<el-button type="primary" size="mini" @click="handleExport"> <el-button type="primary"
size="mini"
@click="handleExport">
导出 导出
</el-button> </el-button>
</span> </span>
</d2-table-header> </d2-table-header>
<d2-table ref="purchaseOrderTable" :search-form="tableSearchForm" :table-params="tableParams" <d2-table ref="purchaseOrderTable"
:table-data="tableData" :get-list-api="getListApi" :before-search-fn="beforeSearchFn"> :search-form="tableSearchForm"
<div slot="auth-button" slot-scope="scope"> :table-params="tableParams"
:table-data="tableData"
:get-list-api="getListApi"
:before-search-fn="beforeSearchFn">
<div slot="auth-button"
slot-scope="scope">
<!-- 查看 --> <!-- 查看 -->
<span style="margin-right: 10px;"> <span style="margin-right: 10px;">
<auth-button :data="scope.scope" :show-btn-ids="['9090102']" /> <auth-button :data="scope.scope"
:show-btn-ids="['9090102']" />
</span> </span>
<!-- 取消 --> <!-- 取消 -->
<span style="margin-right: 10px;" <span style="margin-right: 10px;"
v-show="scope.scope.status == 1 && !userInfo.beSuper && userInfo.beYQMerchant"> v-show="scope.scope.status == 1 && !userInfo.beSuper && userInfo.beYQMerchant">
<auth-button :data="scope.scope" :show-btn-ids="['9090103']" /> <auth-button :data="scope.scope"
:show-btn-ids="['9090103']" />
</span> </span>
<!-- 入库 --> <!-- 入库 -->
<span v-show="scope.scope.putStatus == 1 && !userInfo.beSuper && userInfo.beYQMerchant"> <span v-show="scope.scope.putStatus == 1 && !userInfo.beSuper && userInfo.beYQMerchant">
<auth-button :data="scope.scope" :show-btn-ids="['9090104']" /> <auth-button :data="scope.scope"
:show-btn-ids="['9090104']" />
</span> </span>
</div> </div>
</d2-table> </d2-table>
</div> </div>
<orderDeatilDialog :visible.sync="detailVisible" :params-obj="paramsObj"></orderDeatilDialog> <orderDeatilDialog :visible.sync="detailVisible"
:params-obj="paramsObj"></orderDeatilDialog>
</d2-container> </d2-container>
</template> </template>
...@@ -66,8 +86,10 @@ export default { ...@@ -66,8 +86,10 @@ export default {
status: '', status: '',
deliveryStatus: '', deliveryStatus: '',
putStatus: '', putStatus: '',
merchantId: '', // merchantId: '',
putMerchantId: '', // putMerchantId: '',
merchantName: '',
putMerchantName: '',
sortType: 1, sortType: 1,
orderTimeStr: [], orderTimeStr: [],
putTimeStr: [] putTimeStr: []
...@@ -122,24 +144,36 @@ export default { ...@@ -122,24 +144,36 @@ export default {
isClear: true, isClear: true,
pickerOptions: 'rangePickerOptions' pickerOptions: 'rangePickerOptions'
}, },
// {
// label: '下单门店',
// name: 'merchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// },
{ {
label: '下单门店', label: '下单门店',
name: 'merchantId', name: 'merchantName',
type: 'select', type: 'input',
optionList: [], isClear: true
optionId: 'merchantNo',
optionLabel: 'merchantName',
optionsName: 'merchantName'
}, },
// {
// label: '入库门店',
// name: 'putMerchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// }
{ {
label: '入库门店', label: '入库门店',
name: 'putMerchantId', name: 'putMerchantName',
type: 'select', type: 'input',
optionList: [], isClear: true
optionId: 'merchantNo', },
optionLabel: 'merchantName',
optionsName: 'merchantName'
}
], ],
getListApi: getPurchaseOrderList, getListApi: getPurchaseOrderList,
// 表格参数 // 表格参数
......
...@@ -173,6 +173,12 @@ export default { ...@@ -173,6 +173,12 @@ export default {
label: '调入门店', label: '调入门店',
prop: 'callInMerchantName', prop: 'callInMerchantName',
}, { }, {
label: '承运单号',
prop: 'deliveryNumber',
}, {
label: '承运公司',
prop: 'deliveryCompany',
}, {
label: '备注', label: '备注',
prop: 'remark', prop: 'remark',
} }
......
...@@ -62,7 +62,8 @@ export default { ...@@ -62,7 +62,8 @@ export default {
merchantId: '', merchantId: '',
goodsType: '', goodsType: '',
businessCode: '', businessCode: '',
goodsSeries: '' goodsSeries: '',
deliveryNumber: ''
}, },
searchFormSearch: {}, searchFormSearch: {},
searchSelectObj: { searchSelectObj: {
...@@ -115,6 +116,12 @@ export default { ...@@ -115,6 +116,12 @@ export default {
maxlength: '20', maxlength: '20',
isClear: true isClear: true
}, { }, {
label: '发货单号',
name: 'deliveryNumber',
type: 'input',
maxlength: '20',
isClear: true
}, {
label: '系列', label: '系列',
name: 'goodsSeries', name: 'goodsSeries',
type: 'input', type: 'input',
...@@ -194,7 +201,12 @@ export default { ...@@ -194,7 +201,12 @@ export default {
} }
}, { }, {
label: '关联业务单号', label: '关联业务单号',
prop: 'businessCode' prop: 'businessCode',
width: 150
}, {
label: '关联发货单号',
prop: 'deliveryNumber',
width: 150
}, { }, {
label: '入库仓库', label: '入库仓库',
prop: 'yqMerchantName', prop: 'yqMerchantName',
...@@ -311,7 +323,8 @@ export default { ...@@ -311,7 +323,8 @@ export default {
merchantId: '', merchantId: '',
goodsType: '', goodsType: '',
businessCode: '', businessCode: '',
goodsSeries: '' goodsSeries: '',
deliveryNumber: ''
} }
this.$refs.recordTable.refreshTable() this.$refs.recordTable.refreshTable()
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!