Commit ca025424 authored by gaia's avatar gaia

Merge remote-tracking branch 'origin/feature/20240918_1005_091801' into release_pre_20241031143540

parents ec72a541 97019e5f
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
<script> <script>
import { MessageBox } from 'element-ui' import { MessageBox } from 'element-ui'
import { shopManagerCheck} from '@/api/business/shop' import { shopManagerCheck } from '@/api/business/shop'
export default { export default {
name: 'NoPassIdentifyDialog', name: 'NoPassIdentifyDialog',
props: { props: {
...@@ -42,10 +42,6 @@ export default { ...@@ -42,10 +42,6 @@ export default {
openShopApplyOrderId: { openShopApplyOrderId: {
type: String, type: String,
default: '' default: ''
},
identifyOrderId: {
type: String,
default: ''
} }
}, },
data() { data() {
...@@ -78,7 +74,7 @@ export default { ...@@ -78,7 +74,7 @@ export default {
message: '操作成功' message: '操作成功'
}) })
this.cancelForm = {} this.cancelForm = {}
this.$emit('refreshItem', this.shopManagerCheck) this.$emit('refreshItem', this.openShopApplyOrderId)
}) })
.catch(response => { .catch(response => {
MessageBox.alert('业务错误:' + response.data.errmsg, '警告', { MessageBox.alert('业务错误:' + response.data.errmsg, '警告', {
......
...@@ -114,9 +114,8 @@ ...@@ -114,9 +114,8 @@
v-if="(scope.row.state === 10)" v-if="(scope.row.state === 10)"
type="danger" type="danger"
size="mini" size="mini"
@click="handleNoPass()">不通过 @click="handleNoPass(scope.row)">不通过
</el-button> </el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -128,7 +127,7 @@ ...@@ -128,7 +127,7 @@
:limit.sync="listQuery.limit" :limit.sync="listQuery.limit"
@pagination="getList" /> @pagination="getList" />
<el-dialog :visible.sync="sendDialogVisible" title="发货"> <!-- <el-dialog :visible.sync="sendDialogVisible" title="发货">
<el-form <el-form
ref="sendFormRef" ref="sendFormRef"
:model="sendForm" :model="sendForm"
...@@ -156,10 +155,12 @@ ...@@ -156,10 +155,12 @@
<el-button @click="sendDialogVisible = false">取消</el-button> <el-button @click="sendDialogVisible = false">取消</el-button>
<el-button type="primary" @click="handleShowSendDialog">确定</el-button> <el-button type="primary" @click="handleShowSendDialog">确定</el-button>
</div> </div>
</el-dialog> </el-dialog>-->
<NoPassIdentifyDialog <NoPassIdentifyDialog
:show-no-pass-identify-dialog-show="showNoPassIdentifyDialog" :show-no-pass-identify-dialog-show="showNoPassIdentifyDialog"
:open-shop-apply-order-id="currentApplyId"
@cancelDialog="showNoPassIdentifyDialog = false" @cancelDialog="showNoPassIdentifyDialog = false"
@refreshItem="handleRefreshItem"
/> />
</div> </div>
</template> </template>
...@@ -168,11 +169,11 @@ ...@@ -168,11 +169,11 @@
import Line2Hidden from '@/components/line2Hidden' import Line2Hidden from '@/components/line2Hidden'
import Pagination from '@/components/Pagination' import Pagination from '@/components/Pagination'
import NoPassIdentifyDialog from './components/NoPassIdentifyDialog' import NoPassIdentifyDialog from './components/NoPassIdentifyDialog'
import { shopManagerList,shopManagerCheck} from '@/api/business/shop' import { shopManagerList, shopManagerCheck } from '@/api/business/shop'
import { requestLogisticsList, requestDelivery } from '@/api/business/order' import { requestLogisticsList, requestDelivery } from '@/api/business/order'
export default { export default {
name: 'shopManagerList', name: 'ShopManagerList',
components: { components: {
Pagination, Pagination,
Line2Hidden, Line2Hidden,
...@@ -271,7 +272,8 @@ export default { ...@@ -271,7 +272,8 @@ export default {
rules: { rules: {
waybill: [{ required: true, message: '请输入物流单号', trigger: 'blur' }], waybill: [{ required: true, message: '请输入物流单号', trigger: 'blur' }],
logisticsCode: [{ required: true, message: '请选择快递公司', trigger: 'blur' }] logisticsCode: [{ required: true, message: '请选择快递公司', trigger: 'blur' }]
} },
currentApplyId: ''
} }
}, },
created() { created() {
...@@ -313,6 +315,19 @@ export default { ...@@ -313,6 +315,19 @@ export default {
}) })
}) })
}, },
handleRefreshItem(applyId) {
if (this.list) {
this.list = this.list.filter((item) => {
if (item.openShopApplyOrderId === applyId) {
item.state = 30
return item
}
return item
})
}
this.showNoPassIdentifyDialog = false
},
// handleNoPass(row) { // handleNoPass(row) {
// this.$confirm('确定不通过藏家的开店申请?', '平台开店结果', { // this.$confirm('确定不通过藏家的开店申请?', '平台开店结果', {
// confirmButtonText: '确定', // confirmButtonText: '确定',
...@@ -364,7 +379,6 @@ export default { ...@@ -364,7 +379,6 @@ export default {
this.getList() this.getList()
}, },
handlerGetList() { handlerGetList() {
this.listQuery.page = 1 this.listQuery.page = 1
this.getList() this.getList()
...@@ -444,16 +458,10 @@ export default { ...@@ -444,16 +458,10 @@ export default {
/** /**
* 不通过 * 不通过
*/ */
handleNoPass() { handleNoPass(item) {
this.currentApplyId = item.openShopApplyOrderId
this.showNoPassIdentifyDialog = true this.showNoPassIdentifyDialog = true
}, },
/**
* 不通过操作成功,刷新列表
*/
handleRefreshItem() {
this.handleGetDetail()
this.showNoPassIdentifyDialog = false
},
/** /**
* 发货 * 发货
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment