|
@@ -20,6 +20,7 @@
|
|
|
<el-button v-if="tool.checkAuth($route.name,'changeSaler')" type="primary" slot="input" size="mini" @click="$refs.saler.visible=true;$refs.saler.listData()">变更业务员</el-button>
|
|
<el-button v-if="tool.checkAuth($route.name,'changeSaler')" type="primary" slot="input" size="mini" @click="$refs.saler.visible=true;$refs.saler.listData()">变更业务员</el-button>
|
|
|
</changeSaler>
|
|
</changeSaler>
|
|
|
<el-button v-if="tool.checkAuth($route.name,'confirmDate') && mainData.status === '交期待确认'" class="inline-16" type="primary" size="mini" @click="confirmdate">确认交期</el-button>
|
|
<el-button v-if="tool.checkAuth($route.name,'confirmDate') && mainData.status === '交期待确认'" class="inline-16" type="primary" size="mini" @click="confirmdate">确认交期</el-button>
|
|
|
|
|
+ <el-button v-if="tool.checkAuth($route.name,'backconfirmDate') && mainData.status === '交期待确认' || mainData.status === '交期确认'" class="inline-16" type="primary" size="mini" @click="backconfirmdate">交期退回</el-button>
|
|
|
<confirmDate v-if="tool.checkAuth($route.name,'replyDate')" class="inline-16" :data="mainData" @onSuccess="queryMainData"></confirmDate>
|
|
<confirmDate v-if="tool.checkAuth($route.name,'replyDate')" class="inline-16" :data="mainData" @onSuccess="queryMainData"></confirmDate>
|
|
|
<el-popover
|
|
<el-popover
|
|
|
placement="top"
|
|
placement="top"
|
|
@@ -412,6 +413,17 @@ export default {
|
|
|
this.queryMainData()
|
|
this.queryMainData()
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
|
|
+ async backconfirmdate () {
|
|
|
|
|
+ const res = await this.$api.requested({
|
|
|
|
|
+ "id": 20230227160002,
|
|
|
|
|
+ "content": {
|
|
|
|
|
+ "sa_orderid": this.$route.query.id
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+ this.tool.showMessage(res,()=>{
|
|
|
|
|
+ this.queryMainData()
|
|
|
|
|
+ })
|
|
|
|
|
+ },
|
|
|
async onCopy () {
|
|
async onCopy () {
|
|
|
const res = await this.$api.requested({
|
|
const res = await this.$api.requested({
|
|
|
"id": 20230102144502,
|
|
"id": 20230102144502,
|