Commit c10639ad by 王志慧

Merge branch 'v4.22.0' into v4.22.1

2 parents b520ea86 f307800f
...@@ -2,11 +2,11 @@ ...@@ -2,11 +2,11 @@
export const defaultStatusOptions = [ export const defaultStatusOptions = [
{ {
id: 1, id: 1,
label: "待审核" label: "运营审核"
}, },
{ {
id: 2, id: 2,
label: "已审核" label: "商务审核"
}, },
{ {
id: 3, id: 3,
...@@ -17,21 +17,17 @@ export const defaultStatusOptions = [ ...@@ -17,21 +17,17 @@ export const defaultStatusOptions = [
label: "已驳回" label: "已驳回"
}, },
{ {
id:5, id: 5,
label:'运营已审核' label: "已审核"
},
{
id:6,
label:'商务已审核'
},
{
id:7,
label:'商务已驳回'
},
{
id:8,
label:'运营已驳回'
} }
// {
// id: 6,
// label: "已审核"
// },
// {
// id: 7,
// label: "已驳回"
// }
] ]
// 发货状态 // 发货状态
export const defaultDeliveryStatusOptions = [ export const defaultDeliveryStatusOptions = [
......
...@@ -62,9 +62,6 @@ ...@@ -62,9 +62,6 @@
</div> </div>
</GLTable> </GLTable>
</el-form> </el-form>
<div v-else class="message">
已自动入库至商户的权益卡管理中,可前往“库存管理-权益卡管理”中查询
</div>
</div> </div>
</template> </template>
<el-dialog width="750px" title="查看发货卡号" :visible.sync="innerVisible" append-to-body> <el-dialog width="750px" title="查看发货卡号" :visible.sync="innerVisible" append-to-body>
......
<template> <template>
<GLDialog v-if="dialogShow" bigTitle="详细信息" mode="big" :visible.sync="dialogShow" :close-on-click-modal="false"> <GLDialog v-if="dialogShow" bigTitle="详细信息" mode="big" :visible.sync="dialogShow" :close-on-click-modal="false" :hasFooter="false">
<div class="detail-info"> <div class="detail-info">
<div> <div>
发货单号: 发货单号:
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
<span class="num">{{ goodsInfo.purchaseOrderCount || 0 }}笔</span> <span class="num">{{ goodsInfo.purchaseOrderCount || 0 }}笔</span>
</span> </span>
</div> </div>
<div class="productCode">商品编码:{{goodsInfo.type}}</div> <div class="productCode">商品编码:{{goodsInfo.upgradeGoodsList&&goodsInfo.upgradeGoodsList[selectIndex].type}}</div>
<div class="skuCon"> <div class="skuCon">
<div class="label">规格:</div> <div class="label">规格:</div>
<div class="itemCon"> <div class="itemCon">
...@@ -264,7 +264,7 @@ export default { ...@@ -264,7 +264,7 @@ export default {
.skuItem { .skuItem {
box-sizing: border-box; box-sizing: border-box;
width: 234px; min-width: 234px;
height: 36px; height: 36px;
background: #ffffff; background: #ffffff;
border: 1px solid #e7edf9; border: 1px solid #e7edf9;
......
...@@ -29,15 +29,11 @@ ...@@ -29,15 +29,11 @@
<template slot="status" slot-scope="scope"> <template slot="status" slot-scope="scope">
<div> <div>
<span v-if="scope.scope.status" :class="[scope.scope.status == 1 ? 'yellowSpot' : scope.scope.status == 2 ? 'greenSpot' : scope.scope.status == 3 ? 'ashSpot' : 'redSpot']"></span> <span v-if="scope.scope.status" :class="[scope.scope.status == 1 ? 'yellowSpot' : scope.scope.status == 2 ? 'greenSpot' : scope.scope.status == 3 ? 'ashSpot' : 'redSpot']"></span>
<span>{{ scope.scope.status | orderStatus }}</span> <span v-if="scope.scope.status==4||scope.scope.status==6||scope.scope.status==7">已驳回</span>
<span v-else>{{ scope.scope.status | orderStatus }}</span>
</div> </div>
</template> </template>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-button type="text" @click="handleDetail(scope.scope)">查看</el-button>
<GLButton type="text" size="small" v-show="scope.scope.putStatus == 1 && scope.scope.purchaseType == 2" @click="handleDelete(scope.scope)" fn="删除">删除</GLButton>
<GLButton type="text" size="small" v-show="scope.scope.putStatus == 1" @click="handleEdit(scope.scope)" fn="编辑">编辑</GLButton>
<GLButton type="text" size="small" v-show="scope.scope.status == 1" @click="handleCancel(scope.scope)" fn="取消">取消</GLButton>
<GLButton type="text" size="small" v-show="(scope.scope.putStatus == 1 && scope.scope.deliveryStatus == 2 && scope.scope.purchaseType == 1) || (scope.scope.putStatus == 1 && scope.scope.purchaseType == 2)" @click="handleWarehousing(scope.scope)" fn="入库">入库</GLButton> -->
<GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton> <GLTableButton :buttonList="tableButtonList" :buttonItem="scope.scope" :buttonNum="3"></GLTableButton>
</div> </div>
</GLTable> </GLTable>
...@@ -102,7 +98,7 @@ export default { ...@@ -102,7 +98,7 @@ export default {
}, },
{ {
label: '订单状态', label: '订单状态',
name: 'status', name: 'statuses',
type: 'select', type: 'select',
optionList: [], optionList: [],
optionId: 'id', optionId: 'id',
...@@ -127,41 +123,6 @@ export default { ...@@ -127,41 +123,6 @@ export default {
optionLabel: 'label', optionLabel: 'label',
optionsName: 'putStatusOptions' optionsName: 'putStatusOptions'
}, },
// {
// label: '入库时间',
// name: 'warehousingTimeStr',
// type: 'datePicker',
// isClear: true,
// pickerOptions: 'beforeRangePickerOptions'
// },
// {
// label: '下单门店',
// name: 'merchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// },
// {
// label: '入库门店',
// name: 'putMerchantId',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'merchantName'
// },
// {
// label: '使用门店',
// name: 'storeUsage',
// type: 'select',
// optionList: [],
// optionId: 'merchantNo',
// optionLabel: 'merchantName',
// optionsName: 'storeUsageList'
// },
{ {
label: '采购类型', label: '采购类型',
name: 'purchaseType', name: 'purchaseType',
...@@ -225,20 +186,6 @@ export default { ...@@ -225,20 +186,6 @@ export default {
click: this.handleCancel click: this.handleCancel
} }
}, },
// {
// type: 'GLButton',
// name: '入库',
// attrs: {
// type: 'text',
// fn: '入库'
// },
// condition: row => {
// return (row.putStatus == 1 && row.deliveryStatus == 2 && row.purchaseType == 1) || (row.putStatus == 1 && row.purchaseType == 2)
// },
// listeners: {
// click: this.handleWarehousing
// }
// },
{ {
type: 'el-button', type: 'el-button',
name: '发货单', name: '发货单',
...@@ -386,6 +333,13 @@ export default { ...@@ -386,6 +333,13 @@ export default {
beforeSearchFn() { beforeSearchFn() {
return new Promise(resolve => { return new Promise(resolve => {
this.tableSearchForm = this.getParams() this.tableSearchForm = this.getParams()
if (this.tableSearchForm.statuses) {
if (this.tableSearchForm.statuses == 4) {
this.tableSearchForm.statuses = [4, 6, 7]
} else {
this.tableSearchForm.statuses = [this.tableSearchForm.statuses]
}
}
delete this.tableSearchForm.warehousingTimeStr delete this.tableSearchForm.warehousingTimeStr
delete this.tableSearchForm.placeOrderTimeStr delete this.tableSearchForm.placeOrderTimeStr
resolve() resolve()
......
...@@ -266,7 +266,7 @@ export default { ...@@ -266,7 +266,7 @@ export default {
this.getRefByYqShopList(data, id) this.getRefByYqShopList(data, id)
}, },
handleStoreSelect(data, id) { handleStoreSelect(data, id) {
this.refByYqShopList.forEach(item => { data.refByYqShopList.forEach(item => {
if (item.merchantId == id) { if (item.merchantId == id) {
data.putMerchantName = item.merchantName data.putMerchantName = item.merchantName
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!