给单据增加审核中的状态

This commit is contained in:
季圣华 2023-02-24 01:54:14 +08:00
parent bf9bbd5690
commit 668f0653da
22 changed files with 24 additions and 5 deletions

View File

@ -59,7 +59,7 @@
this.height = height
this.sendWorkflowUrl = sendWorkflowUrl
this.visible = true
this.modalStyle = 'top:20%; height: 50%;'
this.modalStyle = 'top:20%; height: 55%;'
this.model = Object.assign({}, record)
this.$nextTick(() => {
this.form.setFieldsValue(pick(this.model,'id'))

View File

@ -120,6 +120,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -120,6 +120,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -120,6 +120,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -134,6 +134,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -134,6 +134,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -143,6 +143,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -162,6 +162,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -125,6 +125,7 @@
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '2'" color="cyan">完成采购</a-tag>
<a-tag v-if="status == '3'" color="blue">部分采购</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -143,6 +143,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -138,6 +138,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -144,6 +144,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -126,6 +126,7 @@
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '2'" color="cyan">完成销售</a-tag>
<a-tag v-if="status == '3'" color="blue">部分销售</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
<template slot="customRenderPurchaseStatus" slot-scope="purchaseStatus">
<a-tag v-if="purchaseStatus == '0'" color="red">未采购</a-tag>

View File

@ -163,6 +163,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -1592,8 +1592,8 @@
handleWorkflow() {
getPlatformConfigByKey({"platformKey": "send_workflow_url"}).then((res)=> {
if (res && res.code === 200) {
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.number
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 500)
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.number + '&type=1'
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 320)
this.$refs.modalWorkflow.title = "发起流程"
}
})

View File

@ -123,6 +123,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -123,6 +123,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -132,6 +132,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -132,6 +132,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -138,6 +138,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -138,6 +138,7 @@
<template slot="customRenderStatus" slot-scope="status">
<a-tag v-if="status == '0'" color="red">未审核</a-tag>
<a-tag v-if="status == '1'" color="green">已审核</a-tag>
<a-tag v-if="status == '9'" color="orange">审核中</a-tag>
</template>
</a-table>
</div>

View File

@ -528,8 +528,8 @@
handleWorkflow() {
getPlatformConfigByKey({"platformKey": "send_workflow_url"}).then((res)=> {
if (res && res.code === 200) {
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.billNo
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 500)
let sendWorkflowUrl = res.data.platformValue + '?no=' + this.model.billNo + '&type=2'
this.$refs.modalWorkflow.show(this.model, sendWorkflowUrl, 320)
this.$refs.modalWorkflow.title = "发起流程"
}
})