Browse Source

修改出库字段回显不对

dev
caoyizhong 2 years ago
parent
commit
90191eefd3
  1. 4
      src/views/activiti/applyList.vue
  2. 2
      src/views/activiti/form/ProcessMaterialsDeliveryForm.vue
  3. 2
      src/views/activiti/form/ProcessSmaterialsScrapForm.vue

4
src/views/activiti/applyList.vue

@ -104,6 +104,10 @@
<a href="javascript:void(0);" @click="edit(r)" style="color:#000000;">编辑</a>
<a-divider type="vertical" />
<a href="javascript:void(0);" @click="history(r)" style="color:blue;">审批历史</a>
<a-divider type="vertical" />
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => remove(r)">-->
<!-- <a href="javascript:void(0);" style="color: red">删除</a>-->
<!-- </a-popconfirm>-->
</template>
<template v-else>
<a href="javascript:void(0);" @click="detail(r)" style="color:#999;">表单数据</a>

2
src/views/activiti/form/ProcessMaterialsDeliveryForm.vue

@ -481,7 +481,7 @@
materialName = {
name: item.merchandiseName,
unit: item.materialsUnit,
supplierName: item.supplierName,
supplierName: item.supplierId,
price: item.materialPrice,
residueNumber: item.residueNumber === undefined ? 0 : item.residueNumber
}

2
src/views/activiti/form/ProcessSmaterialsScrapForm.vue

@ -603,7 +603,9 @@
if (this.data.id) {
let params = { id: this.data.id }
this.requestSubTableData(this.url.processSmaterialsScrapList.list, params, this.processSmaterialsScrapListTable)
// console.log(this.processSmaterialsScrapListTable,"this.processSmaterialsScrapListTable")
}
},
/** 整理成formData */
classifyIntoFormData(allValues) {

Loading…
Cancel
Save