移动部分不需要响应式的数据

master
toesbieya 6 years ago
parent c718730d1e
commit 21960f697e
  1. 6
      vue/src/view/purchase/inbound/detailPage.vue
  2. 2
      vue/src/view/purchase/inbound/indexPage.vue
  3. 6
      vue/src/view/purchase/order/detailPage.vue
  4. 2
      vue/src/view/purchase/order/indexPage.vue
  5. 6
      vue/src/view/sell/order/detailPage.vue
  6. 2
      vue/src/view/sell/order/indexPage.vue
  7. 6
      vue/src/view/sell/outbound/detailPage.vue
  8. 2
      vue/src/view/sell/outbound/indexPage.vue

@ -89,11 +89,9 @@ export default {
components: {OrderSelector},
data() {
this.docName = '采购入库单'
this.api = {getById, add, update, commit, withdraw, pass, reject}
return {
docName: '采购入库单',
api: {
getById, add, update, commit, withdraw, pass, reject
},
form: {
pid: null
},

@ -107,9 +107,9 @@ export default {
components: {SearchForm, SearchFormItem},
data() {
this.api = {add, update, del, withdraw, pass, reject, getSubById, search}
return {
exportUrl: `${baseUrl}/export`,
api: {add, update, del, withdraw, pass, reject, getSubById, search},
searchForm: {
pidFuzzy: null
},

@ -135,11 +135,9 @@ export default {
components: {CategorySelector, SupplierSelector},
data() {
this.docName = '采购订单'
this.api = {getById, add, update, commit, withdraw, pass, reject}
return {
docName: '采购订单',
api: {
getById, add, update, commit, withdraw, pass, reject
},
form: {
sid: null,
sname: null,

@ -135,6 +135,7 @@ export default {
components: {SearchForm, SearchFormItem},
data() {
this.api = {add, update, del, withdraw, pass, reject, getSubById, search}
return {
exportUrl: `${baseUrl}/export`,
searchForm: {
@ -144,7 +145,6 @@ export default {
finish: [],
ftime: []
},
api: {add, update, del, withdraw, pass, reject, getSubById, search},
excel: {
columns: [
{header: '序号', prop: 'id'},

@ -120,11 +120,9 @@ export default {
components: {CustomerSelector, StockSelector},
data() {
this.docName = '销售订单'
this.api = {getById, add, update, commit, withdraw, pass, reject}
return {
docName: '销售订单',
api: {
getById, add, update, commit, withdraw, pass, reject
},
form: {
customerId: null,
customerName: null,

@ -142,6 +142,7 @@ export default {
components: {SearchForm, SearchFormItem},
data() {
this.api = {add, update, del, withdraw, pass, reject, getSubById, search}
return {
exportUrl: `${baseUrl}/export`,
searchForm: {
@ -151,7 +152,6 @@ export default {
finish: [],
ftime: []
},
api: {add, update, del, withdraw, pass, reject, getSubById, search},
excel: {
columns: [
{header: '序号', prop: 'id'},

@ -109,11 +109,9 @@ export default {
components: {OrderSelector, StockSelector},
data() {
this.docName = '销售出库单'
this.api = {getById, add, update, commit, withdraw, pass, reject}
return {
docName: '销售出库单',
api: {
getById, add, update, commit, withdraw, pass, reject
},
form: {
pid: null
},

@ -114,9 +114,9 @@ export default {
components: {SearchForm, SearchFormItem},
data() {
this.api = {add, update, del, withdraw, pass, reject, getSubById, search}
return {
exportUrl: `${baseUrl}/export`,
api: {add, update, del, withdraw, pass, reject, getSubById, search},
searchForm: {
pidFuzzy: null
},

Loading…
Cancel
Save