Commit 4f284f53ad439d295b54fcdd704e72ed84d782d3

Authored by gesilong
1 parent 12df38ae

commit:其他字段也要做控制

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