Commit 12df38ae74214b5a3a933652d4e54b41b05734fb

Authored by gesilong
1 parent 2e805135

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

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