Commit c10639ad by 王志慧

Merge branch 'v4.22.0' into v4.22.1

2 parents b520ea86 f307800f
......@@ -2,11 +2,11 @@
export const defaultStatusOptions = [
{
id: 1,
label: "待审核"
label: "运营审核"
},
{
id: 2,
label: "已审核"
label: "商务审核"
},
{
id: 3,
......@@ -17,21 +17,17 @@ export const defaultStatusOptions = [
label: "已驳回"
},
{
id:5,
label:'运营已审核'
},
{
id:6,
label:'商务已审核'
},
{
id:7,
label:'商务已驳回'
},
{
id:8,
label:'运营已驳回'
id: 5,
label: "已审核"
}
// {
// id: 6,
// label: "已审核"
// },
// {
// id: 7,
// label: "已驳回"
// }
]
// 发货状态
export const defaultDeliveryStatusOptions = [
......
......@@ -62,9 +62,6 @@
</div>
</GLTable>
</el-form>
<div v-else class="message">
已自动入库至商户的权益卡管理中,可前往“库存管理-权益卡管理”中查询
</div>
</div>
</template>
<el-dialog width="750px" title="查看发货卡号" :visible.sync="innerVisible" append-to-body>
......
<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>
发货单号:
......
......@@ -20,7 +20,7 @@
<span class="num">{{ goodsInfo.purchaseOrderCount || 0 }}笔</span>
</span>
</div>
<div class="productCode">商品编码:{{goodsInfo.type}}</div>
<div class="productCode">商品编码:{{goodsInfo.upgradeGoodsList&&goodsInfo.upgradeGoodsList[selectIndex].type}}</div>
<div class="skuCon">
<div class="label">规格:</div>
<div class="itemCon">
......@@ -264,7 +264,7 @@ export default {
.skuItem {
box-sizing: border-box;
width: 234px;
min-width: 234px;
height: 36px;
background: #ffffff;
border: 1px solid #e7edf9;
......
......@@ -29,15 +29,11 @@
<template slot="status" slot-scope="scope">
<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>{{ 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>
</template>
<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>
</div>
</GLTable>
......@@ -100,9 +96,9 @@ export default {
isClear: true,
maxlength: 50
},
{
{
label: '订单状态',
name: 'status',
name: 'statuses',
type: 'select',
optionList: [],
optionId: 'id',
......@@ -127,41 +123,6 @@ export default {
optionLabel: 'label',
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: '采购类型',
name: 'purchaseType',
......@@ -225,20 +186,6 @@ export default {
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',
name: '发货单',
......@@ -386,6 +333,13 @@ export default {
beforeSearchFn() {
return new Promise(resolve => {
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.placeOrderTimeStr
resolve()
......
......@@ -266,7 +266,7 @@ export default {
this.getRefByYqShopList(data, id)
},
handleStoreSelect(data, id) {
this.refByYqShopList.forEach(item => {
data.refByYqShopList.forEach(item => {
if (item.merchantId == id) {
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!