|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="order-tool">
|
|
|
<!-- 2024-9-30 经刑工、詹工开会讨论 手工下载按钮隐藏 pingCode:LSF-562 -->
|
|
|
- <!-- <el-button type="text" @click="handle('loadOrder')">手工下载</el-button> -->
|
|
|
+ <el-button type="text" @click="handle('loadOrder')">手工下载</el-button>
|
|
|
|
|
|
<el-button type="text" @click="handle('importOrder')">导入订单</el-button>
|
|
|
<!-- <el-dropdown split-button type="text" @click="handle('addOrder')" @command="handleCommand">
|
|
@@ -13,7 +13,7 @@
|
|
|
<!-- <el-button type="text" @click="handle('addOrder')">新增订单</el-button> -->
|
|
|
<div class="split"></div>
|
|
|
<el-dropdown split-button type="text" @click="handle('smt')" @command="handleCommand">
|
|
|
- 审核
|
|
|
+ 审核
|
|
|
<el-dropdown-menu slot="dropdown">
|
|
|
<el-dropdown-item command="reSmt">反审核</el-dropdown-item>
|
|
|
</el-dropdown-menu>
|
|
@@ -28,7 +28,8 @@
|
|
|
<div class="split"></div>
|
|
|
<el-button type="text" @click="handle('changeQues')">转异常</el-button>
|
|
|
<el-button type="text" @click="handle('changeNormal')">转正常</el-button>
|
|
|
- <el-button type="text" @click="handle('cancelOrder')">取消订单<i class="el-icon-info" title="只有[待付款,发货中,异常,已付款待审核,等供销商|外仓发货,已客审待财审]才可以取消订单"></i></el-button>
|
|
|
+ <el-button type="text" @click="handle('cancelOrder')">取消订单<i class="el-icon-info"
|
|
|
+ title="只有[待付款,发货中,异常,已付款待审核,等供销商|外仓发货,已客审待财审]才可以取消订单"></i></el-button>
|
|
|
<!-- <el-dropdown split-button type="text" class="dropdown" @click="handle('cancelOrder')" @command="handleCommand">
|
|
|
取消订单
|
|
|
<i class="el-icon-info" title="只有[待付款,发货中,异常,已付款待审核,等供销商|外仓发货,已客审待财审]才可以取消订单"></i>
|
|
@@ -51,7 +52,8 @@
|
|
|
<el-button type="text" @click="handle('producePurchase')" title="选取已审核数据">生成采购单</el-button>
|
|
|
<el-button type="text" @click="handle('orderFile')">订单归档</el-button>
|
|
|
<div class="split"></div>
|
|
|
- <el-button type="text" @click="handle('batchSendGoods')">发货<i class="el-icon-info" title="发货条件:已审核,待付款,已付款待审核"></i></el-button>
|
|
|
+ <el-button type="text" @click="handle('batchSendGoods')">发货<i class="el-icon-info"
|
|
|
+ title="发货条件:已审核,待付款,已付款待审核"></i></el-button>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -60,32 +62,35 @@ import { Component, Prop, Vue, Watch } from "vue-property-decorator";
|
|
|
@Component
|
|
|
export default class OrderTool extends Vue {
|
|
|
|
|
|
- handleCommand(n:string){
|
|
|
+ handleCommand(n: string) {
|
|
|
this.$emit(n)
|
|
|
}
|
|
|
|
|
|
- handle(n:string){
|
|
|
+ handle(n: string) {
|
|
|
this.$emit(n)
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
-.order-tool{
|
|
|
+.order-tool {
|
|
|
height: 40px;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
width: 100%;
|
|
|
- .order-tool-btn{
|
|
|
+
|
|
|
+ .order-tool-btn {
|
|
|
color: #333;
|
|
|
}
|
|
|
- .split{
|
|
|
+
|
|
|
+ .split {
|
|
|
height: 10px;
|
|
|
width: 1px;
|
|
|
background-color: #CCC;
|
|
|
margin: 0 8px;
|
|
|
}
|
|
|
- .dropdown{
|
|
|
+
|
|
|
+ .dropdown {
|
|
|
padding-left: 8px;
|
|
|
}
|
|
|
}
|