diff --git a/src/pages/exchangecode/list/list.js b/src/pages/exchangecode/list/list.js
index 1f126489..8a2e1091 100644
--- a/src/pages/exchangecode/list/list.js
+++ b/src/pages/exchangecode/list/list.js
@@ -519,14 +519,18 @@ export default class acclist extends React.Component {
if (com == 'opearo') {
return (
- {rowData.status != 4 && rowData.status != 5 ? (
+ {rowData.status != 4 &&
+ rowData.status != 5 &&
+ rowData.status != 6 ? (
this.editinfo(e, rowData)}>
编辑
) : (
- 编辑
+
+ 编辑
+
)}
{rowData.status != 4 && rowData.status != 5 ? (
{
return Array.from({ length: targetNum }, (_, index) => index)
}
@@ -157,6 +157,7 @@ export default class addKnockGold extends Component {
if (item.mobile === items.key) return items
}).filter((item1) => item1)[0]
})
+ model.origin = this.props.data
/* 以下操作 筛选出输入框的预警值并经行填充 */
const copy_early_per = this.props.data?.early_per || []
copy_early_per.map((item) => {
@@ -272,7 +273,6 @@ export default class addKnockGold extends Component {
) {
if (this.props.data) {
let temp = []
-
if (sessionStorage.getItem('knockGoldData')) {
temp = JSON.parse(sessionStorage.getItem('knockGoldData'))
@@ -281,13 +281,18 @@ export default class addKnockGold extends Component {
item.channel_activity_id === this.props.data.channel_activity_id
)
})
-
/* 校验表单 */
if (this.limitFunction() === false) {
return false
}
-
- temp[index] = this.transformDataCode()
+ if (this.props.data?.goods_id) {
+ temp[index] = Object.assign({
+ ...this.state.model.origin,
+ ...this.transformDataCode()
+ })
+ } else {
+ temp[index] = this.transformDataCode()
+ }
sessionStorage.setItem('knockGoldData', JSON.stringify(temp))