Skip to content

Commit

Permalink
给单据增加审核中的状态
Browse files Browse the repository at this point in the history
  • Loading branch information
jishenghua committed Feb 23, 2023
1 parent bf9bbd5 commit 668f065
Show file tree
Hide file tree
Showing 22 changed files with 24 additions and 5 deletions.
2 changes: 1 addition & 1 deletion jshERP-web/src/components/tools/WorkflowIframe.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/AllocationOutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/AssembleList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/DisassembleList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/OtherInList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/OtherOutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/PurchaseBackList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/PurchaseInList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/PurchaseOrderList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/RetailBackList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/RetailOutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/SaleBackList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/SaleOrderList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/bill/SaleOutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions jshERP-web/src/views/bill/dialog/BillDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "发起流程"
}
})
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/financial/AdvanceInList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/financial/GiroList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/financial/ItemInList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/financial/ItemOutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/financial/MoneyInList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions jshERP-web/src/views/financial/MoneyOutList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions jshERP-web/src/views/financial/dialog/FinancialDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = "发起流程"
}
})
Expand Down

0 comments on commit 668f065

Please sign in to comment.