|
@@ -62,7 +62,6 @@
|
|
|
import byTable from "/src/components/byTable/index";
|
|
|
import { ElMessage, ElMessageBox } from "element-plus";
|
|
|
import refreshStore from "/src/store/modules/refresh";
|
|
|
-import { flowStatus } from "/src/utils/flowStatus";
|
|
|
|
|
|
const { proxy } = getCurrentInstance();
|
|
|
const sourceList = ref({
|
|
@@ -94,12 +93,6 @@ const searchConfig = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
type: "select",
|
|
|
- prop: "flowStatus",
|
|
|
- label: "流程状态",
|
|
|
- data: flowStatus(),
|
|
|
- },
|
|
|
- {
|
|
|
- type: "select",
|
|
|
prop: "status",
|
|
|
dictKey: "order_status",
|
|
|
label: "订单状态",
|
|
@@ -144,24 +137,11 @@ const config = computed(() => {
|
|
|
},
|
|
|
{
|
|
|
attrs: {
|
|
|
- label: "流程状态",
|
|
|
- prop: "flowStatus",
|
|
|
- width: 120,
|
|
|
- },
|
|
|
- render(val) {
|
|
|
- return proxy.dictKeyValue(val, flowStatus());
|
|
|
- },
|
|
|
- },
|
|
|
- {
|
|
|
- attrs: {
|
|
|
label: "订单状态",
|
|
|
prop: "status",
|
|
|
width: 120,
|
|
|
},
|
|
|
- render(val, row) {
|
|
|
- if (val == 0 && row.flowStatus !== 2) {
|
|
|
- return "";
|
|
|
- }
|
|
|
+ render(val) {
|
|
|
return proxy.dictKeyValue(val, proxy.useUserStore().allDict["order_status"]);
|
|
|
},
|
|
|
},
|
|
@@ -340,7 +320,7 @@ const config = computed(() => {
|
|
|
},
|
|
|
}
|
|
|
: {},
|
|
|
- row.status == 0 && row.flowStatus !== 1 && row.flowStatus !== 2
|
|
|
+ row.status == 0
|
|
|
? {
|
|
|
attrs: {
|
|
|
label: "编辑",
|