f
This commit is contained in:
@@ -2,3 +2,4 @@
|
||||
[0515/102246.688:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0)
|
||||
[0531/081503.881:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0)
|
||||
[0605/094355.406:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0)
|
||||
[0710/121232.515:ERROR:http_transport_win.cc(276)] WinHttpSendRequest: 操作成功完成。 (0x0)
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
export function searchData(check1, supplierName, check2, businessNature, check3, creationDate, check4, registeredCapital, check5, taxNumber, check6, bank, check7, account, check8, email, check9, address, check10, telephone, check11, fax, check12, deliveryPeriod, pageCurrent, pageSize) {
|
||||
export function searchData(check1, supplierName, check2, businessNature, check3, creationDate, check4, registeredCapital, check5, taxNumber, check6, bank, check7, account, check8, email, check9, address, check10, telephone, check11, fax, check12, deliveryPeriod, pageCurrent, pageSize, check13, mainProduction) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '采购管理_供应商_查询数据_根据条件',
|
||||
param: '供应商名称_check=' + check1 + '=int&供应商名称=' + supplierName + '&企业性质_check=' + check2 + '=int&企业性质=' + businessNature + '&创立日期_check=' + check3 + '=int&创立日期=' + creationDate + '&注册资本_check=' + check4 + '=int&注册资本=' + registeredCapital + '&税号_check=' + check5 + '=int&税号=' + taxNumber + '&开户行_check=' + check6 + '=int&开户行=' + bank + '&帐号_check=' + check7 + '=int&帐号=' + account + '&电子信箱_check=' + check8 + '=int&电子信箱=' + email + '&地址_check=' + check9 + '=int&地址=' + address + '&电话号码_check=' + check10 + '=int&电话号码=' + telephone + '&传真_check=' + check11 + '=int&传真=' + fax + '&货期_check=' + check12 + '=int&货期=' + deliveryPeriod,
|
||||
param: '供应商名称_check=' + check1 + '=int&供应商名称=' + supplierName + '&企业性质_check=' + check2 + '=int&企业性质=' + businessNature + '&创立日期_check=' + check3 + '=int&创立日期=' + creationDate + '&注册资本_check=' + check4 + '=int&注册资本=' + registeredCapital + '&税号_check=' + check5 + '=int&税号=' + taxNumber + '&开户行_check=' + check6 + '=int&开户行=' + bank + '&帐号_check=' + check7 + '=int&帐号=' + account + '&电子信箱_check=' + check8 + '=int&电子信箱=' + email + '&地址_check=' + check9 + '=int&地址=' + address + '&电话号码_check=' + check10 + '=int&电话号码=' + telephone + '&传真_check=' + check11 + '=int&传真=' + fax + '&货期_check=' + check12 + '=int&货期=' + deliveryPeriod + '&主要产品_check=' + check13 + '&主要产品=' + mainProduction,
|
||||
Pagination: pageCurrent + '&' + pageSize
|
||||
}
|
||||
})
|
||||
|
||||
@@ -58,6 +58,11 @@
|
||||
<el-input v-model="fax" placeholder="传真" size="small" clearable/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col style="width: 250px">
|
||||
<el-form-item label="主要产品">
|
||||
<el-input v-model="mainProduction" placeholder="主要产品" size="small" clearable/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col style="width: 250px;margin:2px 0 0 15px">
|
||||
<el-button type="success" size="small" icon="el-icon-search" @click="pageCurrent = 1;fetchData()">查询</el-button>
|
||||
<el-button type="primary" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="handleAdd()">增加</el-button>
|
||||
@@ -339,6 +344,7 @@ import { searchData, addTable, editTable, deleteData, getName, addPerson, editPe
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
mainProduction: '', // 主要产品
|
||||
form1: {},
|
||||
supplierName: '',
|
||||
businessNature: '',
|
||||
@@ -410,6 +416,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
fetchData() {
|
||||
let check1
|
||||
this.List1 = []
|
||||
this.supplierName ? this.check1 = 1 : this.check1 = 0
|
||||
this.businessNature ? this.check2 = 1 : this.check2 = 0
|
||||
@@ -423,7 +430,8 @@ export default {
|
||||
this.telephone ? this.check10 = 1 : this.check10 = 0
|
||||
this.fax ? this.check11 = 1 : this.check11 = 0
|
||||
this.deliveryPeriod ? this.check12 = 1 : this.check12 = 0
|
||||
searchData(this.check1, this.supplierName, this.check2, this.businessNature, this.check3, this.creationDate, this.check4, this.registeredCapital, this.check5, this.taxNumber, this.check6, this.bank, this.check7, this.account, this.check8, this.email, this.check9, this.address, this.check10, this.telephone, this.check11, this.fax, this.check12, this.deliveryPeriod, this.pageCurrent, this.pageSize).then(response => {
|
||||
this.mainProduction ? check1 = 1 : check1 = 0
|
||||
searchData(this.check1, this.supplierName, this.check2, this.businessNature, this.check3, this.creationDate, this.check4, this.registeredCapital, this.check5, this.taxNumber, this.check6, this.bank, this.check7, this.account, this.check8, this.email, this.check9, this.address, this.check10, this.telephone, this.check11, this.fax, this.check12, this.deliveryPeriod, this.pageCurrent, this.pageSize, check1, this.mainProduction).then(response => {
|
||||
this.List = response.data.rows
|
||||
this.total = response.data.total
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user