Commit 36ef8e028dbc7ca9ffcbaf6419de6d5ca0f957b3

Authored by gesilong
2 parents 57b323b2 4f284f53

Merge branch 'cjerp-3.0-fix' into test_cjerp

@@ -343,6 +343,7 @@ export default { @@ -343,6 +343,7 @@ export default {
343 productLineList: { 343 productLineList: {
344 deep: true, 344 deep: true,
345 handler(newVal, oldVal) { 345 handler(newVal, oldVal) {
  346 + if (this.copyId) return
346 const n = Array.isArray(newVal) ? newVal : [] 347 const n = Array.isArray(newVal) ? newVal : []
347 const o = Array.isArray(oldVal) ? oldVal : [] 348 const o = Array.isArray(oldVal) ? oldVal : []
348 const changed = [] 349 const changed = []
@@ -345,6 +345,7 @@ export default { @@ -345,6 +345,7 @@ export default {
345 productLineList: { 345 productLineList: {
346 deep: true, 346 deep: true,
347 handler(newVal, oldVal) { 347 handler(newVal, oldVal) {
  348 + if (this.copyId) return
348 const n = Array.isArray(newVal) ? newVal : [] 349 const n = Array.isArray(newVal) ? newVal : []
349 const o = Array.isArray(oldVal) ? oldVal : [] 350 const o = Array.isArray(oldVal) ? oldVal : []
350 const changed = [] 351 const changed = []
@@ -343,6 +343,7 @@ export default { @@ -343,6 +343,7 @@ export default {
343 productLineList: { 343 productLineList: {
344 deep: true, 344 deep: true,
345 handler(newVal, oldVal) { 345 handler(newVal, oldVal) {
  346 + if (this.copyId) return
346 const n = Array.isArray(newVal) ? newVal : [] 347 const n = Array.isArray(newVal) ? newVal : []
347 const o = Array.isArray(oldVal) ? oldVal : [] 348 const o = Array.isArray(oldVal) ? oldVal : []
348 const changed = [] 349 const changed = []
@@ -356,6 +356,7 @@ export default { @@ -356,6 +356,7 @@ export default {
356 productLineList: { 356 productLineList: {
357 deep: true, 357 deep: true,
358 handler(newVal, oldVal) { 358 handler(newVal, oldVal) {
  359 + if (this.copyId) return
359 const n = Array.isArray(newVal) ? newVal : [] 360 const n = Array.isArray(newVal) ? newVal : []
360 const o = Array.isArray(oldVal) ? oldVal : [] 361 const o = Array.isArray(oldVal) ? oldVal : []
361 const changed = [] 362 const changed = []
@@ -348,6 +348,7 @@ export default { @@ -348,6 +348,7 @@ export default {
348 productLineList: { 348 productLineList: {
349 deep: true, 349 deep: true,
350 handler(newVal, oldVal) { 350 handler(newVal, oldVal) {
  351 + if (this.copyId) return
351 const n = Array.isArray(newVal) ? newVal : [] 352 const n = Array.isArray(newVal) ? newVal : []
352 const o = Array.isArray(oldVal) ? oldVal : [] 353 const o = Array.isArray(oldVal) ? oldVal : []
353 const changed = [] 354 const changed = []
@@ -346,6 +346,7 @@ export default { @@ -346,6 +346,7 @@ export default {
346 productLineList: { 346 productLineList: {
347 deep: true, 347 deep: true,
348 handler(newVal, oldVal) { 348 handler(newVal, oldVal) {
  349 + if (this.copyId) return
349 const n = Array.isArray(newVal) ? newVal : [] 350 const n = Array.isArray(newVal) ? newVal : []
350 const o = Array.isArray(oldVal) ? oldVal : [] 351 const o = Array.isArray(oldVal) ? oldVal : []
351 const changed = [] 352 const changed = []
@@ -371,7 +372,8 @@ export default { @@ -371,7 +372,8 @@ export default {
371 const includesPackagingFeeName = data.includesPackagingFeeName || (data.includesPackagingFee ? '是' : '否') 372 const includesPackagingFeeName = data.includesPackagingFeeName || (data.includesPackagingFee ? '是' : '否')
372 const includesTransportFeeName = data.includesTransportFeeName || (data.includesTransportFee ? '是' : '否') 373 const includesTransportFeeName = data.includesTransportFeeName || (data.includesTransportFee ? '是' : '否')
373 const m = { ...data, includesPackagingFeeName, includesTransportFeeName } 374 const m = { ...data, includesPackagingFeeName, includesTransportFeeName }
374 - 375 + console.log(m,'m')
  376 + console.log(data,'data')
375 const code = this.form.code 377 const code = this.form.code
376 this.form = { 378 this.form = {
377 ...this.form, 379 ...this.form,
@@ -348,6 +348,7 @@ export default { @@ -348,6 +348,7 @@ export default {
348 productLineList: { 348 productLineList: {
349 deep: true, 349 deep: true,
350 handler(newVal, oldVal) { 350 handler(newVal, oldVal) {
  351 + if (this.copyId) return
351 console.log('newVal', newVal) 352 console.log('newVal', newVal)
352 console.log('oldVal', oldVal) 353 console.log('oldVal', oldVal)
353 const n = Array.isArray(newVal) ? newVal : [] 354 const n = Array.isArray(newVal) ? newVal : []