Commit c8a24abe by Jaxon

fix(purchase): 更新审核状态映射与样式配置

- 将总监审核待审核状态从2改为10,与经理审核状态区分
- 更新各页面状态对应的样式类名配置
- 在商务审核页面增加经理审核驳回选项
- 修复采购订单状态显示逻辑,补充缺失状态样式
- 禁用VSCode ESLint以解决开发环境问题
- 添加签收状态常量定义供后续使用
1 parent 692f286d
......@@ -8,7 +8,7 @@
"glsx"
],
"workbench.tree.indent": 24,
"eslint.enable": true,
"eslint.enable": false,
"explorer.compactFolders": false,
"scm.compactFolders": false,
"problems.decorations.enabled": false,
......@@ -25,12 +25,9 @@
// "source.organizeImports": "explicit",
"source.fixAll.eslint": "explicit"
},
"[vue]": {
},
"[javascript]": {
},
"[javascriptreact]": {
},
"[vue]": {},
"[javascript]": {},
"[javascriptreact]": {},
"i18n-ally.sourceLanguage": "zh-chs",
"javascript.suggest.autoImports": true
}
}
\ No newline at end of file
......@@ -482,7 +482,7 @@ export const routerName = {
ruleObj: {
attr: "status",
rule: {
2: "审核",
10: "审核",
},
},
handle: "handleCheck",
......@@ -501,7 +501,7 @@ export const routerName = {
ruleObj: {
attr: "status",
rule: {
2: "驳回",
10: "驳回",
},
},
handle: "handleReject",
......
......@@ -590,6 +590,9 @@ export default {
this.fromPage == "procurementBusiness"
? businessreviewBusinessAudit
: operatorreviewOperatorAudit;
if(this.customSubmitApi && isFunction(this.customSubmitApi)){
_api = this.customSubmitApi;
}
......
......@@ -234,7 +234,7 @@ export const manager_status_options_table = [
// 总监审核筛选条件
export const director_statusOptions = [
{
id: 2,
id: 10,
label: "待审核",
},
{
......@@ -249,7 +249,7 @@ export const director_statusOptions = [
// 总监审核列表展示
export const director_statusOptions_table = [
{
id: 2,
id: 10,
label: "待审核",
},
{
......@@ -257,6 +257,10 @@ export const director_statusOptions_table = [
label: "已审核",
},
{
id: 8,
label: "已审核",
},
{
id: 6,
label: "已驳回",
},
......@@ -373,3 +377,8 @@ export const rejectNodeOptions = [
label: "经理审核",
},
];
export const signStatusType = [
{ confId: 0, confName: "待签收" },
{ confId: 2, confName: "已签收" },
{ confId: 1, confName: "部分签收" },
];
......@@ -193,12 +193,15 @@ export default {
},
className: (cellValue) => {
return {
2: 'yellowSpot',
// 待审核
10: 'yellowSpot',
// 已审核
5: 'greenSpot',
8: 'greenSpot',
// 已驳回
6: 'redSpot',
7: 'redSpot',
8: 'greenSpot',
9: 'redSpot'
9: 'redSpot',
}[cellValue.status]
}
}
......
......@@ -38,7 +38,7 @@
<orderDeatilDialog :visible.sync="detailVisible" v-if="detailVisible" :params-obj="paramsObj"></orderDeatilDialog>
<CheckDialog :check-visible="checkVisible" v-if="checkVisible" :params-obj="paramsObj" from-page="procurementBusiness" @dialogClose="dialogClose">
</CheckDialog>
<rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" from-page="procurementBusiness" :filter-reject-list="[1,2]" @dialogClose="dialogClose">
<rejectDialog :reject-visible="rejectVisible" v-if="rejectVisible" :params-obj="paramsObj" from-page="procurementBusiness" :filter-reject-list="[1,2,6]" @dialogClose="dialogClose">
</rejectDialog>
</d2-container>
</template>
......
......@@ -443,6 +443,8 @@ export default {
7: "redSp",
8: "greenSp",
9: "redSp",
10: 'greenSp',
11: 'redSp'
},
examineStatus: 1,
statusForShow: {
......@@ -453,11 +455,14 @@ export default {
7: { text: "采购驳回", status: "驳回" },
8: { text: "总监审核", status: "通过" },
9: { text: "总监审核", status: "驳回" },
10: { text: '经理通过', status: '通过' },
11: { text: '经理驳回', status: '驳回' },
},
rejectedForShow: {
1: { rejectedStatus: "采购商户" },
2: { rejectedStatus: "运营审核" },
3: { rejectedStatus: "商务审核" },
6: { rejectedStatus: "经理审核" },
},
baseConfig,
detailInfo: {
......@@ -864,6 +869,9 @@ export default {
5: "greenSpot",
6: "redSpot",
7: "redSpot",
8: "yellowSpot",
9: "redSpot",
11: "redSpot",
}[cellValue.status];
},
},
......
......@@ -303,16 +303,24 @@ export default {
},
className: (cellValue) => {
return {
// 运营审核
1: "yellowSpot",
// 经理审核
2: "yellowSpot",
// 总监审核
10: "yellowSpot",
// 商务审核
8: "yellowSpot",
// 已取消
3: "ashSpot",
// 已驳回
4: "redSpot",
5: "greenSpot",
6: "redSpot",
7: "redSpot",
8: "yellowSpot",
9: "redSpot",
11: "redSpot",
// 已审核
5: "greenSpot",
}[cellValue.status];
},
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!