فهرست منبع

fix(配件管理): 修复删除配件后未重新计算价格的问题,调整工单列表状态参数类型为字符串

yusheng 7 ماه پیش
والد
کامیت
e333e0a54b

+ 1 - 0
src/views/salesServiceManagement/accessory/components/spareInfo.vue

@@ -249,6 +249,7 @@
       del(id, index) {
         // this.tableList = this.tableList.filter((item) => item.id != id);
         this.tableList.splice(index, 1);
+        this.calculatePrice();
       },
       async addEquipment() {
         // const res = await parameterGetByCode({

+ 2 - 2
src/views/salesServiceManagement/accessory/components/workOrderList.vue

@@ -54,8 +54,8 @@
         default: 1
       },
       orderStatusList: {
-        type: Array,
-        default: () => []
+        type: String,
+         default: ''
       }
     },
     data() {

+ 1 - 1
src/views/salesServiceManagement/recycle/component/recycleDialog.vue

@@ -188,7 +188,7 @@
         >确认</el-button
       >
     </template>
-    <workOrderList ref="workOrderListRef" @changeSelect="changeSelect" :orderStatusList="['3','4']" />
+    <workOrderList ref="workOrderListRef" @changeSelect="changeSelect" :orderStatusList="'3,4'" />
     <bpmDetail
       v-if="activeComp == 'bpm' && form.processInstanceId"
       :id="form.processInstanceId"