This commit is contained in:
‘937886381’
2024-07-08 13:25:28 +08:00
parent 689de3173f
commit f2d57a8ebb
14 changed files with 246 additions and 124 deletions

View File

@@ -1,8 +1,8 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-07-01 17:06:29
* @LastEditors: DY
* @LastEditTime: 2024-07-08 08:50:26
* @LastEditors: zhp
* @Description:
-->
<template>
@@ -142,15 +142,15 @@ export default {
selectOptions: [
{
label: '未开始',
value: 1
value: 0
},
{
label: '生产中',
value: 2
value: 1
},
{
label: '已完成',
value: 3
value: 2
}
],
labelField: "label",

View File

@@ -1,9 +1,9 @@
<!--
* @Author: Do not edit
* @Date: 2024-06-24 15:03:19
* @LastEditTime: 2024-06-24 15:07:42
* @LastEditors: DY
* @Description:
* @LastEditTime: 2024-07-08 08:48:58
* @LastEditors: zhp
* @Description:
-->
<template>
<div>
@@ -22,10 +22,10 @@ export default {
},
computed: {
state() {
return ['', '未开始', '生产中', '已完成'][this.injectData.orderStatus]
return ['未开始', '生产中', '已完成'][this.injectData.orderStatus]
},
myClass() {
return ['', 'yellow', 'blue', 'green'][this.injectData.orderStatus]
return ['yellow', 'blue', 'green'][this.injectData.orderStatus]
}
},
};