Commit 12df38ae74214b5a3a933652d4e54b41b05734fb

Authored by gesilong
1 parent 2e805135

commit:修复复制功能 使用历史记录

@@ -4,8 +4,8 @@ module.exports = { @@ -4,8 +4,8 @@ module.exports = {
4 themeColor: '#3d48a3', 4 themeColor: '#3d48a3',
5 5
6 // baseUrl: 'http://ft.wecando21cn.com/api', 6 // baseUrl: 'http://ft.wecando21cn.com/api',
7 - baseUrl: 'http://gjtd.ahcjxc.com:81/api',  
8 - // baseUrl: 'http://erp.qgutech.com/api', 7 + // baseUrl: 'http://gjtd.ahcjxc.com:81/api',
  8 + baseUrl: 'http://erp.qgutech.com/api',
9 // baseUrl: 'http://10.9.5.246:8081', 9 // baseUrl: 'http://10.9.5.246:8081',
10 // 应用信息 10 // 应用信息
11 appInfo: { 11 appInfo: {
@@ -321,7 +321,7 @@ export default { @@ -321,7 +321,7 @@ export default {
321 watch: { 321 watch: {
322 'form.buyer': { 322 'form.buyer': {
323 handler(newVal, oldVal) { 323 handler(newVal, oldVal) {
324 - if (newVal) { 324 + if (newVal && !this.copyId) {
325 getCustomerRemarks(newVal).then(res => { 325 getCustomerRemarks(newVal).then(res => {
326 const remarksData = res.data || []; 326 const remarksData = res.data || [];
327 this.customerRemarks = remarksData.map((item, index) => ({ 327 this.customerRemarks = remarksData.map((item, index) => ({
@@ -323,7 +323,7 @@ export default { @@ -323,7 +323,7 @@ export default {
323 watch: { 323 watch: {
324 'form.buyer': { 324 'form.buyer': {
325 handler(newVal, oldVal) { 325 handler(newVal, oldVal) {
326 - if (newVal) { 326 + if (newVal && !this.copyId) {
327 getCustomerRemarks(newVal).then(res => { 327 getCustomerRemarks(newVal).then(res => {
328 const remarksData = res.data || []; 328 const remarksData = res.data || [];
329 this.customerRemarks = remarksData.map((item, index) => ({ 329 this.customerRemarks = remarksData.map((item, index) => ({
@@ -321,7 +321,7 @@ export default { @@ -321,7 +321,7 @@ export default {
321 watch: { 321 watch: {
322 'form.buyer': { 322 'form.buyer': {
323 handler(newVal, oldVal) { 323 handler(newVal, oldVal) {
324 - if (newVal) { 324 + if (newVal && !this.copyId) {
325 getCustomerRemarks(newVal).then(res => { 325 getCustomerRemarks(newVal).then(res => {
326 const remarksData = res.data || []; 326 const remarksData = res.data || [];
327 this.customerRemarks = remarksData.map((item, index) => ({ 327 this.customerRemarks = remarksData.map((item, index) => ({
@@ -334,7 +334,7 @@ export default { @@ -334,7 +334,7 @@ export default {
334 watch: { 334 watch: {
335 'form.buyer': { 335 'form.buyer': {
336 handler(newVal, oldVal) { 336 handler(newVal, oldVal) {
337 - if (newVal) { 337 + if (newVal && !this.copyId) {
338 getCustomerRemarks(newVal).then(res => { 338 getCustomerRemarks(newVal).then(res => {
339 const remarksData = res.data || []; 339 const remarksData = res.data || [];
340 this.customerRemarks = remarksData.map((item, index) => ({ 340 this.customerRemarks = remarksData.map((item, index) => ({
@@ -326,7 +326,7 @@ export default { @@ -326,7 +326,7 @@ export default {
326 watch: { 326 watch: {
327 'form.buyer': { 327 'form.buyer': {
328 handler(newVal, oldVal) { 328 handler(newVal, oldVal) {
329 - if (newVal) { 329 + if (newVal && !this.copyId) {
330 getCustomerRemarks(newVal).then(res => { 330 getCustomerRemarks(newVal).then(res => {
331 const remarksData = res.data || []; 331 const remarksData = res.data || [];
332 this.customerRemarks = remarksData.map((item, index) => ({ 332 this.customerRemarks = remarksData.map((item, index) => ({
@@ -324,7 +324,7 @@ export default { @@ -324,7 +324,7 @@ export default {
324 watch: { 324 watch: {
325 'form.buyer': { 325 'form.buyer': {
326 handler(newVal, oldVal) { 326 handler(newVal, oldVal) {
327 - if (newVal) { 327 + if (newVal && !this.copyId) {
328 getCustomerRemarks(newVal).then(res => { 328 getCustomerRemarks(newVal).then(res => {
329 const remarksData = res.data || []; 329 const remarksData = res.data || [];
330 this.customerRemarks = remarksData.map((item, index) => ({ 330 this.customerRemarks = remarksData.map((item, index) => ({
@@ -326,7 +326,7 @@ export default { @@ -326,7 +326,7 @@ export default {
326 watch: { 326 watch: {
327 'form.buyer': { 327 'form.buyer': {
328 handler(newVal, oldVal) { 328 handler(newVal, oldVal) {
329 - if (newVal) { 329 + if (newVal && !this.copyId) {
330 getCustomerRemarks(newVal).then(res => { 330 getCustomerRemarks(newVal).then(res => {
331 const remarksData = res.data || []; 331 const remarksData = res.data || [];
332 this.customerRemarks = remarksData.map((item, index) => ({ 332 this.customerRemarks = remarksData.map((item, index) => ({