|
@@ -51,12 +51,14 @@
|
|
|
></el-cascader>
|
|
|
|
|
|
<el-input
|
|
|
- slot="cost"
|
|
|
+ :key="2"
|
|
|
+ :slot="this.params.data.orderType == '1' ? 'cost' : '11'"
|
|
|
type="number"
|
|
|
class="input"
|
|
|
v-model="formData.cost"
|
|
|
placeholder="请输入服务费用金额"
|
|
|
></el-input>
|
|
|
+
|
|
|
</zz-form>
|
|
|
</template>
|
|
|
<script >
|
|
@@ -104,7 +106,7 @@ export default {
|
|
|
{
|
|
|
label: '服务费用',
|
|
|
prop: 'cost',
|
|
|
- slot: 'cost'
|
|
|
+ slot: 'cost',
|
|
|
}
|
|
|
]
|
|
|
],
|
|
@@ -155,7 +157,30 @@ export default {
|
|
|
created () {
|
|
|
let newda = JSON.parse(JSON.stringify(this.params.data));
|
|
|
this.formData.orderId = newda.id;
|
|
|
+
|
|
|
this.findUser = this.params.arrData;
|
|
|
+ if (this.params.data.orderType != '1') {
|
|
|
+ this.formCols = [
|
|
|
+ [
|
|
|
+ {
|
|
|
+ label: '紧急程度',
|
|
|
+ prop: 'urgencyDegree',
|
|
|
+ slot: 'urgencyDegree'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '完成时间',
|
|
|
+ prop: 'type',
|
|
|
+ slot: 'type',
|
|
|
+ showRequired: true
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '维修人员',
|
|
|
+ prop: 'userId',
|
|
|
+ slot: 'userId'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ ];
|
|
|
+ }
|
|
|
}
|
|
|
};
|
|
|
</script>
|