Merge branch 'master' of ssh://192.168.1.149:29418/高精2.0

This commit is contained in:
hedekun
2018-11-16 09:09:06 +08:00
61 changed files with 5925 additions and 17 deletions

View File

@@ -18,7 +18,7 @@
"element-ui": "2.4.6",
"file-saver": "^1.3.8",
"js-cookie": "2.2.0",
"node-sass": "^4.9.3",
"node-sass": "^4.10.0",
"normalize.css": "7.0.0",
"nprogress": "0.2.0",
"qrcode": "^1.3.2",

View File

@@ -0,0 +1,38 @@
import request from '@/utils/request'
// 初始化合同
export function initArrivalStateContact() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_到货情况_查询数据'
}
})
}
// 查询到货情况
export function searchArrivalState(pageCurrent, pageSize, check1, num, check2, name) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_到货情况_查询数据',
param: `采购合同流水号_check=${check1}&采购合同流水号=${num}&供应商名称_check=${check2}&供应商名称=${name}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 查询到货情况
export function searchArrivalNum(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_合同物料到货情况_查询数据',
param: `采购合同流水号=${num}`
}
})
}

View File

@@ -0,0 +1,130 @@
import request from '@/utils/request'
// 初始化付款方式
export function initPayMethod() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_付款方式_查询数据'
}
})
}
// 查询合同模板
export function searchContractDemo(num1 = null) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_合同模板_查询数据',
param: '合同模板流水号=' + num1
}
})
}
export function initPurchaseOrder() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件采购_请购单_查询数据'
}
})
}
export function searchData(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件采购_请购单明细_查询数据',
param: '请购单流水号=' + num
}
})
}
// 初始化付款时间节点
export function initPayTimeNode() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_付款时间节点_查询数据'
}
})
}
// 查询供应商
export function searchSupplier(check1, value1, check2, value2, check3, value3, check4, value4, check5, value5, check6, value6, check7, value7, check8, value8, check9, value9, check10, value10, check11, value11, check12, value12) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_供应商_查询数据_根据条件',
param: '供应商名称_check=' + check1 + '&供应商名称=' + value1 + '&企业性质_check=' + check2 + '&企业性质=' + value2 + '&创立日期_check=' + check3 + '&创立日期=' + value3 + '&注册资本_check=' + check4 + '&注册资本=' + value4 + '&税号_check=' + check5 + '&税号=' + value5 + '&电子信箱_check=' + check6 + '&电子信箱=' + value6 + '&地址_check=' + check7 + '&地址=' + value7 + '&帐号_check=' + check8 + '&帐号=' + value8 + '&开户行_check=' + check9 + '&开户行=' + value9 + '&电话号码_check=' + check10 + '&电话号码=' + value10 + '&传真_check=' + check11 + '&传真=' + value11 + '&货期_check=' + check12 + '&货期=' + value12
}
})
}
// 查询询价单列表 表1
export function searchInquirySheet(check1, value1, check2, value2, check3, id) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_询价单_查询数据',
param: `供应商流水号_check=${check1}&供应商流水号=${value1}&询价单编号_check=${check2}&询价单编号=${value2}&采购员流水号_check=${check3}&采购员流水号=${id}`
}
})
}
// 根据询价单流水号查询询价单详情
export function searchSheetDetail(num2) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_询价单明细_查询数据',
param: '询价单流水号_check=1&询价单流水号=' + num2
}
})
}
// 移出询价单1
export function outInquirySheet(num1, num2) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_询价单明细_删除数据',
param: '询价单流水号=' + num1 + '&组件零件流水号=' + num2
}
})
}
// 根据询价单流水号查询询价单详情(合同内容)
export function searchSheetContract(num1) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_询价单明细_查询数据_根据询价单',
param: '询价单流水号=' + num1
}
})
}
// 生成采购合同
export function doneContract(num1, RequisitionNumber, name1, time1, time2, method, num2, text, freight, num3, partsNum, priceGroup, dayGroup, payGroup, planGroup, taxGroup, currency, num4, id) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间管理_基本件采购_请购单和请购单明细_增加数据',
param: `请购单流水号=${num1}&请购单编号=${RequisitionNumber}&采购合同名称=${name1}&预到货时间=${time1}&规定到货时间=${time2}&付款方式=${method}&采购员=${id}&供应商流水号=${num2}&合同文本=${text}&运费=${freight}&物料流水号组=${num3}&请购单明细流水号组=${num4}&数量组=${partsNum}&单价组=${priceGroup}&发货天数组=${dayGroup}&付款比例组=${payGroup}&计划付款时间组=${planGroup}&税率组=${taxGroup}&币种流水号组=${currency}`
}
})
}

View File

@@ -0,0 +1,75 @@
import request from '@/utils/request'
// 查询表1
export function searchTable1(pageCurrent, pageSize, check1, start, end, check2, num1, check3, name1, check4, name2) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_请款表_查询数据',
param: '时间段_check=' + check1 + '&开始时间=' + start + '&结束时间=' + end + '&合同号_check=' + check2 + '&采购合同编号=' + num1 + '&采购员_check=' + check3 + '&采购员姓名=' + name1 + '&供应商_check=' + check4 + '&供应商名称=' + name2,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 请款
export function requestFund(num1, money, time, id) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_请款表_增加数据',
param: `采购合同流水号=${num1}&请款金额=${money}&请款人=${id}&请款时间=${time}`
}
})
}
// 查询请款付款情况
export function searchCondition(num1) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_请款表_查询数据_已付款',
param: '采购合同流水号=' + num1
}
})
}
// 取消请款
export function cancelRequestFund(num1) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_请款表_删除数据',
param: '采购科请款流水号=' + num1
}
})
}
// 查询请款表
export function searchRequestTable(check, start, end) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_请款表_查询数据_请款Excel',
param: '请款时间段_check=' + check + '&开始时间=' + start + '&结束时间=' + end
}
})
}
// 初始化采购员 考核部门编号采购部改2
export function initBuyer() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
param: '考核部门编号=2'
}
})
}

View File

@@ -0,0 +1,89 @@
import request from '@/utils/request'
// 查询审核/审批/付款
export function initApproval(pageCurrent, pageSize, state) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_请款表_查询数据_审核审批',
param: `审核_审批_付款状态=${state}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 执行审核/审批/付款
export function execApproval(num1, num2, reason, person, state) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_请款表_修改数据_审核审批',
param: `采购科请款流水号=${num1}&审核_审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审核_审批_付款状态=${state}`
}
})
}
// 查询车间合同审核/审批/付款
export function initApproval1(pageCurrent, pageSize, state) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_请款表_查询数据_审核审批',
param: `审核_审批_付款状态=${state}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 执行车间合同审核/审批/付款
export function execApproval1(num1, num2, reason, person, state) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_请款表_修改数据_审核审批',
param: `采购科请款流水号=${num1}&审核_审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审核_审批_付款状态=${state}`
}
})
}
// 查询离线合同审核/审批/付款
export function initApprovalOffline(pageCurrent, pageSize, state) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_离线合同_审核审批付款_查询数据',
param: `审核_审批_付款状态=${state}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 查询离线合同请款信息明细
export function searchRequsetFundDetail(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_离线合同_请款明细_查询数据',
param: `离线合同请款流水号=${num}`
}
})
}
// 执行审核/审批/付款(离线合同)
export function execApprovalOffline(num1, num2, reason, person, state) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_离线合同_审核审批付款_修改数据',
param: `离线合同请款流水号=${num1}&审核_审批_付款情况流水号=${num2}&未通过原因=${reason}&操作员编号=${person}&审核_审批_付款状态=${state}`
}
})
}

View File

@@ -0,0 +1,50 @@
import request from '@/utils/request'
// 发票合同
export function searchContractInvoice(pageCurrent, pageSize, check1, num, check2, name) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_到票情况_查询数据',
param: `采购合同流水号_check=${check1}&采购合同流水号=${num}&供应商名称_check=${check2}&供应商名称=${name}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 发票查询
export function searchInvoice(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_发票_查询数据',
param: '采购合同流水号_check=1&采购合同流水号=' + num
}
})
}
// 传送人接收人初始化 采购科改16
export function initPerson() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
param: '考核部门编号=16'
}
})
}
// 初始化合同号
export function initContract() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_付款情况_查询数据'
}
})
}

View File

@@ -0,0 +1,26 @@
import request from '@/utils/request'
// 初始化合同
export function initPayState() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_付款情况_查询数据'
}
})
}
// 查询表1
export function searchPayState(pageCurrent, pageSize, check1, num, check2, name) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_付款情况_查询数据',
param: `采购合同流水号_check=${check1}&采购合同流水号=${num}&供应商名称_check=${check2}&供应商名称=${name}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}

View File

@@ -0,0 +1,61 @@
import request from '@/utils/request'
// 初始化合同号
export function initContract() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_采购合同_查询_cjn'
}
})
}
// 初始化采购员(考核部门编号采购部2)
export function initBuyer() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
param: '考核部门编号=2'
}
})
}
// 采购合同查询
export function searchTable1(pageCurrent, pageSize, check1, start, end, check2, contract, check3, name, check4, supplier) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_合同审批_查询数据',
param: '时间段_check=' + check1 + '&开始时间=' + start + '=datetime&结束时间=' + end + '=datetime&采购合同流水号_check=' + check2 + '&采购合同流水号=' + contract + '&人员编号_check=' + check3 + '&人员编号=' + name + '&供应商名称_check=' + check4 + '&供应商名称=' + supplier,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 采购合同明细查询
export function searchTable2(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_采购合同明细_查询数据',
param: '采购合同流水号=' + num
}
})
}
export function submitApproval(num, num1, num2) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_合同审批_修改数据',
param: '采购合同流水号=' + num + '&审批情况流水号=' + num1 + '&未通过原因=' + num2
}
})
}

View File

@@ -0,0 +1,72 @@
import request from '@/utils/request'
// 初始化合同号
export function initContract() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_采购合同_查询_cjn'
}
})
}
// 初始化采购员(考核部门编号采购部2)
export function initBuyer() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
param: '考核部门编号=2'
}
})
}
// 采购合同查询
export function searchTable1(pageCurrent, pageSize, check1, start, end, check2, contract, check3, name, check4, supplier, check5, approval) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_合同_查询数据',
param: '时间段_check=' + check1 + '&开始时间=' + start + '=datetime&结束时间=' + end + '=datetime&采购合同流水号_check=' + check2 + '&采购合同流水号=' + contract + '&人员编号_check=' + check3 + '&人员编号=' + name + '&供应商名称_check=' + check4 + '&供应商名称=' + supplier + '&审批情况流水号_check=' + check5 + '&审批情况流水号=' + approval,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 采购合同明细查询
export function searchTable2(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_采购合同明细_查询数据',
param: '采购合同流水号=' + num
}
})
}
export function submitApproval(num, num1, num2) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_合同审批_修改数据',
param: '采购合同流水号=' + num + '&审批情况流水号=' + num1 + '&未通过原因=' + num2
}
})
}
export function Disable(num) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_采购合同_禁用',
param: '采购合同流水号=' + num
}
})
}

View File

@@ -0,0 +1,37 @@
import request from '@/utils/request'
// 初始化项目
export function initProject() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: 'PDM_项目名称_查询数据'
}
})
}
// 初始化项目金额统计表
export function searchProjectTotal(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '采购管理_项目总价_明细_查询数据',
param: `项目流水号=${num}`
}
})
}
// 初始化项目金额统计表
export function searchProjectTotal1(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_项目总价_明细_查询数据',
param: `项目流水号=${num}`
}
})
}

View File

@@ -0,0 +1,87 @@
import request from '@/utils/request'
// 初始化合同号
export function initContract() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_采购合同_查询_cjn'
}
})
}
// 初始化采购员(考核部门编号采购部2)
export function initBuyer() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
param: '考核部门编号=2'
}
})
}
// 采购合同查询
export function searchTable1(pageCurrent, pageSize, check1, start, end, check2, contract, check3, name, check4, supplier) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_现有合同_查询数据',
param: '时间段_check=' + check1 + '&开始时间=' + start + '=datetime&结束时间=' + end + '=datetime&采购合同流水号_check=' + check2 + '&采购合同流水号=' + contract + '&人员编号_check=' + check3 + '&人员编号=' + name + '&供应商名称_check=' + check4 + '&供应商名称=' + supplier,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 采购合同明细查询
export function searchTable2(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_采购合同明细_查询数据',
param: '采购合同流水号=' + num
}
})
}
// 采购合同变更查询
export function searchTable3(pageCurrent, pageSize, check1, start, end, check2, contract, check3, name, check4, supplier) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_采购合同变更_查询数据_根据条件_cjn',
param: '时间段_check=' + check1 + '&开始时间=' + start + '=datetime&结束时间=' + end + '=datetime&采购合同流水号_check=' + check2 + '&采购合同流水号=' + contract + '&人员编号_check=' + check3 + '&人员编号=' + name + '&供应商名称_check=' + check4 + '&供应商名称=' + supplier,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 采购合同变更明细查询
export function searchTable4(num) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_采购合同明细变更_查询数据',
param: '采购合同变更流水号=' + num
}
})
}
// 采购合同变更
export function submitContract(num, text) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_车间采购合同变更_增加数据',
param: '采购合同流水号=' + num + '&合同变更原因=' + text
}
})
}

View File

@@ -0,0 +1,73 @@
import request from '@/utils/request'
// 初始化合同
export function initPayState() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_合同查询'
}
})
}
// 初始化零件
export function initParts() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_零件查询'
}
})
}
// 查询表1
export function searchParts(pageCurrent, pageSize, check1, num, check2, name, check3, num1) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_查询数据',
param: `采购合同流水号_check=${check1}&采购合同流水号=${num}&供应商名称_check=${check2}&供应商名称=${name}&物料流水号_check=${check3}&物料流水号=${num1}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 编辑数据
export function update(id, time, number, time1, reason, remarks) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间管理_基本件外购质检_编辑数据',
param: `ID=${id}&交检日期=${time}&废品数量=${number}&检查日期=${time1}&报废原因=${reason}&备注=${remarks}`
}
})
}
// 通过数据
export function editData(id) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间管理_基本件外购质检_通过',
param: `ID=${id}`
}
})
}
// 通过数据
export function deleteData(id) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '车间管理_基本件外购质检_删除数据',
param: `ID=${id}`
}
})
}

View File

@@ -0,0 +1,37 @@
import request from '@/utils/request'
// 初始化合同
export function initPayState() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_合同查询'
}
})
}
// 初始化零件
export function initParts() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_基本件外购质检_零件查询'
}
})
}
// 查询表1
export function searchParts(pageCurrent, pageSize, check1, num, check2, name, check3, num1) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间管理_质检情况_查询数据',
param: `采购合同流水号_check=${check1}&采购合同流水号=${num}&供应商名称_check=${check2}&供应商名称=${name}&物料流水号_check=${check3}&物料流水号=${num1}`,
Pagination: pageCurrent + '&' + pageSize
}
})
}

View File

@@ -0,0 +1,74 @@
import request from '@/utils/request'
// 发票查询
export function searchInvoice(pageCurrent, pageSize, check1, num1, check2, time, check3, transmit, check4, recipient, check5, num2) {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_发票_查询数据',
param: '发票号_check=' + check1 + '&发票号=' + num1 + '&开票时间_check=' + check2 + '&开票时间=' + time + '&传送人_check=' + check3 + '&传送人=' + transmit + '&接收人_check=' + check4 + '&接收人=' + recipient + '&采购合同流水号_check=' + check5 + '&采购合同流水号=' + num2,
Pagination: pageCurrent + '&' + pageSize
}
})
}
// 发票增加
export function addInvoice(num1, num2, time1, money, send, receive, remark, time2) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_发票_增加数据',
param: '采购合同流水号=' + num1 + '&发票号=' + num2 + '&开票时间=' + time1 + '&开票金额=' + money + '&传送人=' + send + '&接收人=' + receive + '&备注=' + remark + '&操作时间=' + time2 + '&identity_receiptLiushuihao=1=int=output'
}
})
}
// 发票编辑
export function editInvoice(num1, num2, num3, time1, money, send, receive, remark) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_发票_修改数据',
param: '发票流水号=' + num1 + '&采购合同流水号=' + num2 + '&发票号=' + num3 + '&开票时间=' + time1 + '&开票金额=' + money + '&传送人=' + send + '&接收人=' + receive + '&备注=' + remark
}
})
}
// 发票删除
export function deleteInvoice(num1) {
return request({
url: '',
method: 'post',
data: {
type: '2',
name: '采购管理_发票_删除数据',
param: '发票流水号=' + num1
}
})
}
// 传送人接收人初始化 采购科改16
export function initPerson() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
param: '考核部门编号=16'
}
})
}
// 初始化合同号
export function initContract() {
return request({
url: '',
method: 'post',
data: {
type: '1',
name: '车间采购管理_付款情况_查询数据'
}
})
}

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540799113925" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3559" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M524.491 200.893l238.996 195.911a30.001 30.001 0 0 0 42.22-4.183l37.548-45.805c18.627-22.723 27.29-51.34 24.394-80.58-2.896-29.239-17.006-55.6-39.729-74.227L712.663 97.531C693.05 81.454 668.301 72.6 642.975 72.6c-33.116 0-64.14 14.677-85.117 40.267l-37.549 45.806a30 30 0 0 0 4.182 42.22z m79.769-49.988c9.536-11.633 23.646-18.305 38.715-18.305 11.661 0 22.606 3.919 31.651 11.333l115.256 94.479c10.329 8.467 16.742 20.449 18.06 33.74 1.316 13.29-2.622 26.297-11.089 36.626l-18.529 22.605-192.595-157.874 18.531-22.604zM877.574 891.14l-549.246-0.146 77.196-19.465a30.003 30.003 0 0 0 15.866-10.071l316.484-386.085a30.002 30.002 0 0 0-4.183-42.22L494.696 237.242a30.004 30.004 0 0 0-42.22 4.182L135.992 627.51a29.996 29.996 0 0 0-6.762 17.533L116.373 904.46a29.98 29.98 0 0 0 0.916 8.96 29.997 29.997 0 0 0-0.952 7.517c-0.004 16.568 13.423 30.004 29.992 30.008l731.23 0.194h0.008c16.564 0 29.995-13.427 30-29.992 0.004-16.568-13.424-30.002-29.993-30.007zM188.667 657.896L479.86 302.663l192.593 157.874L381.26 815.769l-202.954 51.177 10.361-209.05z" fill="" p-id="3560"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1539849578742" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2054" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M332.8 537.6h-51.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h51.2c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM332.8 384h-51.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h51.2c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM742.4 537.6h-307.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h307.2c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM332.8 691.2h-51.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h51.2c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM742.4 691.2h-307.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h307.2c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM742.4 384h-307.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h307.2c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6z" p-id="2055" fill="#ffffff"></path><path d="M896 153.6h-128v-76.8c0-12.8-12.8-25.6-25.6-25.6s-25.6 12.8-25.6 25.6v76.8h-409.6v-76.8c0-12.8-12.8-25.6-25.6-25.6s-25.6 12.8-25.6 25.6v76.8h-128c-15.36 0-25.6 10.24-25.6 25.6v768c0 15.36 10.24 25.6 25.6 25.6h768c15.36 0 25.6-10.24 25.6-25.6v-768c0-15.36-10.24-25.6-25.6-25.6z m-25.6 768h-716.8v-716.8h102.4v25.6c0 12.8 12.8 25.6 25.6 25.6s25.6-12.8 25.6-25.6v-25.6h409.6v25.6c0 12.8 12.8 25.6 25.6 25.6s25.6-12.8 25.6-25.6v-25.6h102.4v716.8z" p-id="2056" fill="#ffffff"></path></svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540798883601" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3131" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M975.744 354.048a1.984 1.984 0 0 1-0.256-0.384l-237.184-271.36a58.24 58.24 0 0 0-44.608-21.824h-0.32a58.88 58.88 0 0 0-44.864 21.696 67.584 67.584 0 0 0-16.128 44.8v114.496H541.568c-16.64 0-30.016 13.44-30.016 30.144 0 16.64 13.376 30.144 30.016 30.144h120.96a30.08 30.08 0 0 0 30.08-30.144v-144.64c0-2.048 0.512-3.712 0.896-4.544l236.48 270.656c2.368 3.008 2.368 9.024 0 11.904l-236.288 270.784a9.728 9.728 0 0 1-1.088-4.736V513.92a30.08 30.08 0 0 0-30.08-30.208H390.592V356.864c0-36.608-27.392-66.304-60.928-66.304-17.28 0-33.6 7.68-44.928 21.12L48.512 583.488l-0.256 0.256a71.104 71.104 0 0 0 0.448 90.368l236.096 267.648a58.24 58.24 0 0 0 44.544 21.76h0.256c17.024 0 33.28-7.872 44.992-21.632 10.432-11.904 16-27.776 16-44.736V784h92.736a30.08 30.08 0 0 0 0-60.288H360.512c-16.64 0-30.08 13.376-30.08 30.144v143.36a11.52 11.52 0 0 1-0.832 4.48L94.08 634.56c-2.24-2.88-2.24-8.896 0-11.904l235.328-270.592a11.008 11.008 0 0 1 1.024 4.864v157.056c0 16.704 13.44 30.144 30.08 30.144h272v126.848c0 36.48 27.392 66.368 60.864 66.368a57.92 57.92 0 0 0 44.8-21.12l237.248-271.744 0.256-0.448a71.232 71.232 0 0 0 0.064-89.984z" fill="" p-id="3132"></path></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540798965773" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3335" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M 929.1 736.8 c 0 -17.4 -14.1 -31.6 -31.6 -31.6 H 163.1 V 128.4 c 0 -17.4 -14.1 -31.6 -31.6 -31.6 h -1.9 C 112.2 96.9 98 111 98 128.4 v 639.9 h 799.5 c 17.5 0.1 31.6 -14.1 31.6 -31.5 Z M 929.3 825.5 h -64 V 866 l -63.5 -0.1 v -40.4 h -64 v 40.4 l -63.7 -0.1 V 826 h -64 v 39.8 h -64.3 v -39.3 h -64 v 39.2 h -63.7 v -39.2 h -64 v 39.1 h -63.8 v -40.1 h -64 v 40.1 h -64 V 826 H 98 v 100.8 h 831.1 v -37.3 h 0.2 Z" p-id="3336"></path><path d="M 414.4 631.7 c 3.9 3.6 8.9 5.5 14.1 5.5 c 0.8 0 1.6 0 2.4 -0.1 h 0.4 l 145.1 -22.7 l 330.1 -347.5 c 10.6 -10.7 16.5 -25.5 16.1 -40.5 c -0.3 -15.1 -6.8 -29.6 -17.9 -39.9 l -74.6 -71.9 c -10.1 -9.4 -22.1 -14.3 -34.7 -14.3 c -14.8 0 -29.4 7 -41.1 19.7 L 422.4 469 l -14.7 145.3 l -0.1 0.7 v 0.4 c -0.2 6.1 2.2 12 6.8 16.3 Z M 795 158.6 h 0.3 l 71.2 68.8 v 0.3 l -14.1 15.2 l -71.4 -69.1 l 14 -15.2 Z M 476.5 493.2 L 742.7 215 l 71.5 69.2 l -266.1 278.1 l -82.9 13.6 l 11.3 -82.7 Z" p-id="3337"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525413963024" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5625" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M761.12 143.606h-61.134V89.18c0.051-6.693-2.574-13.125-7.282-17.858s-11.109-7.367-17.77-7.312a24.782 24.782 0 0 0-17.757 7.316 25.038 25.038 0 0 0-7.278 17.854v54.426H372.178V89.18a25.046 25.046 0 0 0-7.278-17.854 24.782 24.782 0 0 0-17.757-7.316 24.802 24.802 0 0 0-17.761 7.316 25.076 25.076 0 0 0-7.278 17.854v54.426h-60.555c-76.274 0-138.581 53.336-138.581 118.203v576.525c0 64.968 62.294 118.198 138.581 118.198H761.12c76.271 0 138.577-53.259 138.577-118.198V261.839c-0.589-64.968-62.29-118.202-138.577-118.202v-0.031z m88.502 694.789c0 37.478-40.15 68.467-89.077 68.467H261.52c-48.915 0-89.077-30.427-89.077-68.467V261.839c0-37.479 40.15-68.472 89.077-68.472h61.13v54.431c0 13.9 11.21 25.166 25.039 25.166 13.828 0 25.035-11.266 25.035-25.166v-54.443h278.352v54.443c0 13.9 11.207 25.166 25.035 25.166s25.04-11.266 25.04-25.166v-54.443h61.129c48.911 0 89.078 30.426 89.078 68.467v576.513l-1.736 0.06zM382.145 433.96a25.039 25.039 0 0 1-7.279 17.854 24.78 24.78 0 0 1-17.756 7.317h-79.845c-13.827 0-25.039-11.271-25.039-25.171 0-13.898 11.212-25.165 25.039-25.165h80.301a24.685 24.685 0 0 1 17.415 7.49 24.936 24.936 0 0 1 7.037 17.674h0.127z m387.778 0a25.042 25.042 0 0 1-7.278 17.854 24.783 24.783 0 0 1-17.757 7.317H440.883c-13.829 0-25.04-11.271-25.04-25.171 0-13.898 11.211-25.165 25.04-25.165h303.933a24.762 24.762 0 0 1 17.757 7.316 25.02 25.02 0 0 1 7.278 17.848h0.072z m-387.85 160.895a25.047 25.047 0 0 1-7.278 17.854 24.762 24.762 0 0 1-17.757 7.317h-79.772c-13.827 0-25.039-11.271-25.039-25.171 0-13.896 11.212-25.165 25.039-25.165h80.301c13.495 0.562 24.21 11.597 24.452 25.165h0.054z m387.778 0a25.043 25.043 0 0 1-7.278 17.854 24.759 24.759 0 0 1-17.757 7.317H440.883c-13.829 0-25.04-11.271-25.04-25.171 0-13.896 11.211-25.165 25.04-25.165h303.933c13.98 0.575 25.035 11.705 25.035 25.165zM382.073 756.402a25.047 25.047 0 0 1-7.278 17.854 24.797 24.797 0 0 1-17.757 7.315h-79.772c-13.827 0-25.039-11.27-25.039-25.169 0-13.901 11.212-25.168 25.039-25.168h80.301a24.686 24.686 0 0 1 17.415 7.491 24.938 24.938 0 0 1 7.037 17.677h0.054z m387.778 0a25.043 25.043 0 0 1-7.278 17.854 24.794 24.794 0 0 1-17.757 7.315H440.883c-13.829 0-25.04-11.27-25.04-25.169 0-13.901 11.211-25.168 25.04-25.168h303.933a24.766 24.766 0 0 1 17.757 7.316 25.04 25.04 0 0 1 7.278 17.852z m0 0" p-id="5626"></path></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1529999721656" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2513" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M1008.369322 984.192477C1008.862642 986.391446 1009.131794 988.675431 1009.131794 991.023083 1009.131794 997.641722 1007.055583 1003.772378 1003.528387 1008.8127 998.015714 1017.481245 988.332319 1023.237528 977.298585 1023.237528 974.405385 1023.237528 971.607875 1022.833418 968.95066 1022.09382L55.04934 1022.09382C52.392125 1022.833418 49.594615 1023.237528 46.701415 1023.237528 35.6673 1023.237528 25.983905 1017.480864 20.471232 1008.811937 16.944036 1003.771997 14.868206 997.641722 14.868206 991.023083 14.868206 988.675431 15.136977 986.391827 15.630678 984.192858L15.630678 312.422934C15.630678 295.263118 29.541599 281.352197 46.701415 281.352197 63.86123 281.352197 77.772152 295.263118 77.772152 312.422934L77.772152 959.952345 946.227848 959.952345 946.227848 62.903946 328.816083 62.903946C311.656268 62.903946 297.745346 48.993025 297.745346 31.833209 297.745346 14.673394 311.656268 0.762472 328.816083 0.762472L978.061057 0.762472C995.220873 0.762472 1009.131794 14.673394 1009.131794 31.833209 1009.131794 34.180861 1008.862642 36.464846 1008.369322 38.663434L1008.369322 984.192477ZM201.077993 312.554079 839.267121 312.554079 839.267121 370.501957 201.077993 370.501957 201.077993 312.554079ZM201.077993 469.789927 839.267121 469.789927 839.267121 527.737805 201.077993 527.737805 201.077993 469.789927ZM839.267121 828.425912 201.077993 828.425912 201.077993 770.478034 839.267121 770.478034 839.267121 828.425912ZM201.077993 617.983619 839.267121 617.983619 839.267121 675.931497 201.077993 675.931497 201.077993 617.983619ZM266.602937 173.771961 190.165111 173.771961 190.165111 250.209787C190.165111 267.369984 176.25457 281.280524 159.094374 281.280524 141.934558 281.280524 128.023637 267.369984 128.023637 250.209787L128.023637 173.771961 51.585811 173.771961C34.425996 173.771961 20.515074 159.861421 20.515074 142.701224 20.515074 125.541409 34.425996 111.630487 51.585811 111.630487L128.023637 111.630487 128.023637 35.192661C128.023637 18.032846 141.934558 4.121924 159.094374 4.121924 176.25457 4.121924 190.165111 18.032846 190.165111 35.192661L190.165111 111.630487 266.602937 111.630487C283.763133 111.630487 297.673674 125.541409 297.673674 142.701224 297.673674 159.861421 283.763133 173.771961 266.602937 173.771961Z" p-id="2514"></path></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1542251527427" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="508" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M 445.6 371.5 c 14.5 0 26.2 -11.8 26.2 -26.2 v -8.9 c 0 -14.5 -11.8 -26.2 -26.2 -26.2 h -38.8 l 59.8 -84.1 c 5.4 -8 6 -18.2 1.5 -26.7 c -4.5 -8.7 -13.4 -14.1 -23.2 -14.1 H 431 c -9 0 -17.3 4.5 -22.2 12.2 l -60.2 89.1 l -59.4 -88.9 c -4.8 -7.7 -13.1 -12.4 -22.2 -12.4 h -16.9 c -9.8 0 -18.7 5.4 -23.3 14.1 c -4.4 8.5 -3.9 18.7 1.5 26.7 l 59.1 84.2 h -40.2 c -14.5 0 -26.2 11.8 -26.2 26.2 v 8.9 c 0 14.5 11.8 26.2 26.2 26.2 h 66.7 v 9.3 h -66.7 c -14.5 0 -26.2 11.8 -26.2 26.2 v 9.1 c 0 14.5 11.8 26.2 26.2 26.2 h 66.7 V 487 c 0 14.5 11.8 26.2 26.2 26.2 H 355 c 14.5 0 26.2 -11.8 26.2 -26.2 v -44.6 h 64.4 c 14.5 0 26.2 -11.8 26.2 -26.2 v -9.1 c 0 -14.5 -11.8 -26.2 -26.2 -26.2 h -64.4 v -9.3 h 64.4 Z M 564 219.9 c -17.7 0 -32 14.3 -32 32 s 14.3 32 32 32 h 200 c 17.7 0 32 -14.3 32 -32 s -14.3 -32 -32 -32 H 564 Z M 694 415.9 c 17.7 0 32 -14.3 32 -32 s -14.3 -32 -32 -32 H 564 c -17.7 0 -32 14.3 -32 32 s 14.3 32 32 32 h 130 Z" p-id="509"></path><path d="M 162 895.9 V 128.1 l 0.1 -0.1 h 701.8 l 0.1 0.1 v 281.6 c 6.6 -3 13.5 -4.5 20.5 -4.5 c 12.6 0 24.6 5 34.7 14.3 l 8.9 8.2 V 128 c 0 -35.2 -28.8 -64 -64 -64 H 162 c -35.2 0 -64 28.8 -64 64 v 768 c 0 35.2 28.8 64 64 64 h 316.7 c -0.1 -0.9 -0.1 -1.8 0 -2.7 v -0.4 l 0.1 -0.7 l 8.4 -60.2 h -325 c -0.1 0 -0.2 -0.1 -0.2 -0.1 Z" p-id="510"></path><path d="M 943.7 511.5 l -34.6 -31.9 c -10.1 -9.4 -22.1 -14.3 -34.7 -14.3 c -14.8 0 -29.4 7 -41.1 19.7 L 561.4 774 l -14.7 105.3 l -0.1 0.7 v 0.4 c -0.3 6.2 2.1 12.1 6.7 16.4 c 3.9 3.6 8.9 5.5 14.1 5.5 c 0.8 0 1.6 0 2.4 -0.1 h 0.4 l 105.1 -22.7 L 945.4 592 c 10.6 -10.7 16.5 -25.5 16.1 -40.5 c -0.1 -15.2 -6.7 -29.7 -17.8 -40 Z M 647.1 827.3 l -32.9 3.6 l 1.2 -32.7 L 821.7 580 l 31.5 29.2 l -206.1 218.1 Z m 258.4 -274.6 l -14.1 15.2 l -31.4 -29.1 l 14 -15.2 h 0.3 l 31.2 28.8 c 0.1 0.1 0.1 0.2 0 0.3 Z" p-id="511"></path></svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Svg Vector Icons : http://www.sfont.cn -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
<metadata> Svg Vector Icons : http://www.sfont.cn </metadata>
<g><path d="M990,466.4l-11.9-11.9l-33.3,33.3L512.2,55.2l33.3-33.3L533.6,10l-33.3,33.3l-31.5-31.5l-11.9,11.9l31.5,31.5L55.2,488.4l-31.5-31.5l-11.9,11.9l31.5,31.5L10,533.6l11.9,11.9l33.3-33.3l432.6,432.6l-33.3,33.3l11.9,11.9l33.3-33.3l32.1,32.1l11.9-11.9l-32.1-32.1l433.2-433.2l32.1,32.1l11.9-11.9l-32.1-32.1L990,466.4z M499.7,932.9L67.1,500.3L500.3,67.1l432.6,432.6L499.7,932.9z"/><path d="M616.7,526.7c-9.1,0-18.8,3-28.4,7.9L466.6,412.8c4.9-9.6,7.8-19.2,7.8-28c0-48.4-46-95.3-94.4-95.3c-0.3,0-0.6,0-0.9,0c-0.2,0-5.7,5.6-8.7,8.6c39,39.1,35.8,32.7,35.8,56.7c0,19.4-31.1,50.1-50.1,50.1c-4.2,0-7.4,0.1-10.1,0.1c-13.2,0-13.4-2.8-46.5-35.9c-3.1,3.1-8.6,8.5-8.6,8.7c0.6,48.7,46.6,95.3,95.3,95.3c8.8,0,18.3-2.8,27.6-7.5l122.2,122.2c-4.6,9.3-7.4,18.6-7.4,27.2c0,48.4,46,95.3,94.4,95.3c0.3,0,0.6,0,0.9,0c0.2,0,5.7-5.6,8.7-8.6c-39-39-35.8-32.7-35.8-56.6c0-19.4,31.1-50.1,50.1-50.1c4.2,0,7.4-0.1,10.1-0.1c13.2,0,13.4,2.8,46.6,35.9c3.1-3.1,8.6-8.5,8.6-8.7C711.4,573.3,665.4,526.7,616.7,526.7"/><path d="M489,67.1h22v865.8h-22V67.1L489,67.1z"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525414253001" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7760" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M635.162103 26.13897734c-106.648749 68.977658-101.316311 18.577524-169.949941 24.942046-97.359987 9.116748-41.111372 111.637158-41.111372 111.637158L552.59533 383.92832734c-23.565933-7.052579-49.36805-7.912649-74.826138-1.032085-71.901898 19.26558-114.733412 92.027549-95.983874 162.381321 18.921552 70.353771 92.543591 111.809172 164.44549 92.371577s114.905426-92.027549 95.983874-162.38132c-0.516042-1.892155-1.032085-3.612296-1.548127-5.504452 0.172014-0.516042 0.172014-1.032085 0-1.892155-2.064169-24.25399-144.319839-301.368722-144.319839-301.368722s76.202251 17.717453 116.281539-28.726356C658.384008 84.62377534 638.774399 24.07480834 635.162103 26.13897734z m0 0" p-id="7761"></path><path d="M813.71275 172.00694334h-4.644381l-4.472367 1.204099c-0.516042 0.172014-47.991937 13.245087-111.981186 30.790526-18.40551 4.988409-29.070385 23.909961-24.081975 42.315471 4.988409 18.40551 23.909961 29.070385 42.315471 24.081975 52.120275-14.277171 93.403662-25.630102 107.164791-29.414413 34.574836 2.236183 61.92508 30.96254 61.925079 66.053419v385.139593c0 14.793214-7.224593 51.260205-74.138081 67.085503l-1.204099 0.344029c-1.204099 0.344028-121.958004 33.88678-252.000672 68.805644l-6.192508 1.548127v-94.607761c0-18.921552-15.48127-34.402822-34.402822-34.402822s-34.402822 15.48127-34.402822 34.402822v94.607761l-6.192508-1.548127c-124.194188-33.370737-239.959684-65.537376-251.140601-68.63363-67.601545-22.705863-76.202251-47.991937-76.202251-67.601546V307.03802034c0-35.090879 27.350244-63.817235 61.925079-66.053419 13.933143 3.956325 54.700487 15.309256 105.44465 29.414413 18.233496 4.988409 37.327062-5.676466 42.315471-24.081975 4.988409-18.233496-5.676466-37.327062-24.081975-42.315471-62.441122-17.201411-109.572988-30.618512-110.089031-30.618512l-4.644381-1.376113H210.28725c-74.48211 0-135.031077 60.548967-135.031077 135.031077v385.139593c0 35.778935 14.277171 66.225433 42.315472 90.479422 19.609609 17.029397 46.44381 30.96254 81.706702 42.831514l1.720141 0.516042c1.204099 0.344028 122.130018 33.88678 252.516714 68.977659 19.093566 5.160423 38.703175 7.740635 58.484798 7.740634s39.391231-2.580212 58.484798-7.740634c125.570301-33.714766 242.539896-66.225433 251.828657-68.805645 33.714766-8.084663 62.957164-22.705863 84.458929-41.971443 27.350244-24.598018 41.971443-56.420628 41.971443-91.855535v-385.311607c0-74.48211-60.548967-135.031077-135.031077-135.031077z" p-id="7762"></path></svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525412964267" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1444" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M991.252256 445.156522h-72.359435c-7.231944-50.647604-28.935774-101.303209-57.879548-144.710869l50.647605-50.647605c14.471887-14.471887 14.471887-36.175717 0-50.647604l-65.127492-65.119491c-14.471887-14.471887-36.167717-14.471887-50.647604 0l-50.647604 50.647604c-43.407661-28.943774-94.055265-50.647604-144.70287-65.119491V47.207631c0-21.71183-14.471887-36.175717-36.175717-36.175717H470.304326c-21.70383 0-36.167717 14.471887-36.167718 28.943774v72.359434c-50.647604 7.239943-101.303209 28.943774-144.710869 57.887548l-50.647604-50.647604c-14.471887-14.479887-36.175717-14.479887-50.647605 0l-65.119491 65.119491c-14.471887 14.471887-14.471887 36.175717 0 50.647604l50.647604 50.647605c-28.943774 43.407661-50.647604 94.055265-65.119491 144.702869H36.179717C14.475887 430.684635 0.004 445.156522 0.004 459.628409v94.055265c0 21.71183 14.471887 36.175717 28.943774 36.175718h72.359435c7.239943 50.647604 28.943774 101.295209 57.887547 144.710869l-50.647604 50.647604c-14.479887 14.471887-14.479887 36.175717 0 50.647605l65.119491 65.119491c14.471887 14.471887 36.175717 14.471887 50.647605 0l50.647604-50.647604c28.943774 21.71183 57.879548 36.175717 86.823322 43.407661V770.745979c-21.71183-14.471887-43.415661-28.943774-65.119492-50.647605-115.783095-115.767096-108.543152-303.885626 7.223944-412.412778 115.767096-115.775096 296.653682-108.535152 412.420778 7.231944s108.535152 303.885626-7.239944 412.420778c-21.70383 21.71183-43.407661 36.175717-65.119491 50.647604v123.007039c28.943774-7.239943 57.887548-21.71183 86.823322-43.415661l50.647604 50.647604c14.471887 14.479887 36.175717 14.479887 50.647604 0l65.119492-65.119491c14.479887-14.471887 14.479887-36.175717 0-50.647604l-50.647605-50.647604c28.943774-43.407661 50.647604-94.055265 65.127492-144.70287h72.351434c21.71183 0 36.175717-14.471887 36.175718-28.943774V474.100296c7.239943-14.471887-7.231944-28.943774-28.943774-28.943774z m-267.701909 72.351435c0-79.591378-43.415661-144.70287-108.535152-173.654643-7.239943 0-7.239943 0-7.239943 7.239943v115.767096a64.847493 64.847493 0 0 1-65.119491 65.119491h-50.647605a64.847493 64.847493 0 0 1-65.119491-65.119491V351.093257c0-7.239943-7.239943-7.239943-7.239944-7.239943C361.777174 380.037031 325.601456 445.156522 325.601456 510.276013c0 57.879548 28.943774 115.767096 65.119491 151.942813 21.71183 21.71183 36.175717 50.647604 36.175718 86.823322v245.998078c0 14.471887 14.471887 28.943774 28.943774 28.943774h28.943774V734.578261c0-14.479887 7.231944-21.71183 21.70383-28.943774 14.471887 0 28.943774 7.239943 28.943774 21.711831v289.413739h28.943774c14.471887 0 28.943774-14.471887 28.943774-28.943774V756.274092c0-36.175717 14.471887-65.119491 43.415661-86.823322 57.863548-28.935774 86.815322-86.815322 86.815321-151.942813z m0 0" fill="" p-id="1445"></path></svg>

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540799233963" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5004" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M862.624 321.728v17.568c0 3.168 0 10.08-1.728 15.264a164.544 164.544 0 0 1-21.6 57.568 148.16 148.16 0 0 1-26.496 32.544c-4.896 4.32-9.504 8.64-14.688 12.672a154.112 154.112 0 0 1-38.016 19.296 158.944 158.944 0 0 1-25.92 8.064 121.92 121.92 0 0 1-25.92 3.168h-24.768a18.464 18.464 0 0 0-13.824 5.76l-71.968 72.544-263.712 265.152-7.776 7.488a98.272 98.272 0 0 1-21.888 14.976 87.68 87.68 0 0 1-28.8 9.216H241.664a94.976 94.976 0 0 1-28.8-10.08 97.248 97.248 0 0 1-28.8-24.768 100.576 100.576 0 0 1-17.28-33.12 86.4 86.4 0 0 1-3.744-30.528 92.704 92.704 0 0 1 12.672-42.912c4.32-7.872 9.632-15.136 15.84-21.6l337.408-338.56h1.728a18.72 18.72 0 0 0 4.896-15.84c0-6.912 0-13.536-1.728-20.448a106.336 106.336 0 0 1 0-14.976 205.44 205.44 0 0 1 3.168-21.6c3.552-14.816 9.152-29.088 16.704-42.336 6.976-12.672 15.584-24.384 25.632-34.848 4.8-5.088 10.016-9.824 15.552-14.112 6.624-5.184 13.824-9.504 20.736-14.112 8.448-5.344 17.536-9.6 27.072-12.672 7.936-2.688 16-4.896 24.192-6.624a194.56 194.56 0 0 1 25.056-4.032c9.632-0.384 19.296 0.32 28.8 2.016a25.12 25.12 0 0 1 14.112 6.336 20.48 20.48 0 0 1 4.608 22.752 46.4 46.4 0 0 1-11.232 16.128l-27.36 28.8-28.8 28.8a71.904 71.904 0 0 0-11.52 14.112c-4.8 7.616-6.368 16.832-4.32 25.632 2.048 8.128 6.336 15.488 12.384 21.312 12.096 12.384 24.48 24.192 36.832 36.576 4 3.968 8.672 7.2 13.824 9.504a31.616 31.616 0 0 0 18.144 2.592c8.48-1.888 16.128-6.432 21.888-12.96l35.424-35.968 28.8-28.8a21.376 21.376 0 0 1 19.296-6.048 19.296 19.296 0 0 1 16.704 15.552c0.224 4.416 0.224 8.832 0 13.248v2.304M256.64 721.92a49.728 49.728 0 0 0-36.864 84.48 49.856 49.856 0 0 0 85.536-34.4 50.24 50.24 0 0 0-49.792-50.4" p-id="5005" fill="#e6e6e6"></path><path d="M250.88 159.936l8.352 1.728c4.704 1.28 9.312 2.816 13.824 4.608 10.112 4.48 19.2 10.944 26.752 19.008l14.112 13.536 13.824 13.248 35.136 36.288 28.8 28.8 18.72 19.008 17.568 18.144 19.296 18.432 23.04 23.328 7.776 8.352-26.496 25.92-8.928-9.792-34.848-34.848L271.04 208.608a29.024 29.024 0 0 0-11.232-8.064 10.624 10.624 0 0 0-12.096 8.352c-0.576 4.832 1.376 9.6 5.184 12.672l19.296 19.296 149.984 149.408 15.264 14.688-31.68 31.68-2.88-3.744-3.168-4.032-131.264-131.296-44.064-44.352a36.384 36.384 0 0 0-7.776-6.912 10.624 10.624 0 0 0-15.52 8.672 12.768 12.768 0 0 0 2.88 8.352c1.12 1.408 2.368 2.752 3.712 4l177.344 178.496c2.304 2.304 4.896 4.32 7.488 6.336l-16.992 16.416-9.792 8.064s-2.88 1.44-2.88 0l-14.976-14.688-161.76-161.504a90.752 90.752 0 0 1-24.768-45.216v-25.344c1.216-6.72 3.136-13.28 5.76-19.584 3.936-7.936 9.088-15.232 15.264-21.6a83.616 83.616 0 0 1 45.184-28.768h23.616M586.56 625.76l39.136-39.168h1.728l15.84 15.552 61.888 61.888 19.008 19.296c3.68 4.128 8.32 7.296 13.536 9.216 2.816 0.864 5.696 1.44 8.64 1.728 8.128 0.992 15.968 3.648 23.04 7.776 6.656 3.872 12.576 8.832 17.568 14.688 3.616 4.32 6.976 8.832 10.08 13.536 7.776 11.52 15.84 23.04 23.328 34.56 7.488 11.52 16.704 26.496 24.768 39.424 3.168 5.184 6.624 10.368 9.504 15.84a22.24 22.24 0 0 1 0 24.768c-3.84 5.12-9.024 9.088-14.976 11.52a17.792 17.792 0 0 1-10.656 0 82.752 82.752 0 0 1-18.72-8.64l-13.824-7.776-20.16-12.096a1013.952 1013.952 0 0 1-22.464-14.976 405.76 405.76 0 0 1-22.176-16.704c-7.2-5.76-12.384-9.792-17.856-15.264a68.256 68.256 0 0 1-18.72-33.696c0-4.032-1.728-8.064-2.88-12.096a24.096 24.096 0 0 0-6.624-10.368l-98.176-98.464-1.728-1.44" p-id="5006" fill="#e6e6e6"></path></svg>

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1528938426710" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3067" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M929.295093 873.474968 119.673029 873.474968 63.904067 873.474968 63.904067 817.603677l0-586.341561c0-15.451584 12.484061-27.935645 27.935645-27.935645 15.451584 0 27.935645 12.484061 27.935645 27.935645l0 586.341561 809.622065 0c15.451584 0 27.935645 12.484061 27.935645 27.935645C957.230738 860.990906 944.746677 873.474968 929.295093 873.474968L929.295093 873.474968zM845.590487 761.732387l-55.87129 0c-30.800839 0-55.87129-24.968122-55.87129-55.87129L733.847906 370.940342c0-30.800839 24.968122-55.87129 55.87129-55.87129l55.87129 0c30.800839 0 55.87129 24.968122 55.87129 55.87129l0 335.023084C901.461777 736.764265 876.391326 761.732387 845.590487 761.732387L845.590487 761.732387zM566.438693 761.732387l-55.87129 0c-30.800839 0-55.87129-24.968122-55.87129-55.87129L454.696113 203.4288c0-30.800839 24.968122-55.87129 55.87129-55.87129l55.87129 0c30.800839 0 55.87129 24.968122 55.87129 55.87129l0 502.534626C622.207655 736.764265 597.239532 761.732387 566.438693 761.732387L566.438693 761.732387zM287.184571 761.732387l-55.87129 0c-30.800839 0-55.87129-24.968122-55.87129-55.87129L175.441991 482.580594c0-30.800839 24.968122-55.87129 55.87129-55.87129l55.87129 0c30.800839 0 55.87129 24.968122 55.87129 55.87129l0 223.382832C343.055861 736.764265 318.087739 761.732387 287.184571 761.732387L287.184571 761.732387z" p-id="3068"></path></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1528938339737" class="icon" style="" viewBox="0 0 1045 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2270" xmlns:xlink="http://www.w3.org/1999/xlink" width="204.1015625" height="200"><defs><style type="text/css"></style></defs><path d="M229.83609 177.191812l461.985567 0 0 57.748052-461.985567 0 0-57.748052ZM228.296527 293.255001l461.985567 0 0 57.748052-461.985567 0 0-57.748052ZM114.341142 60.754415l692.976619 0 0 461.984413 57.748052 0 0-461.984413c0-31.893094-25.854958-57.748052-57.748052-57.748052l-692.976619 0c-31.893094 0-57.748052 25.854958-57.748052 57.748052l0 808.472722c0 31.893094 25.854958 57.748052 57.748052 57.748052l404.236361 0 0-57.748052-404.236361 0L114.341142 60.754415zM229.451488 524.241432l0 57.748052 140.452501 0c0-20.068603 2.939376-39.447694 8.386172-57.748052L229.451488 524.241432zM465.562482 408.745329 228.296527 408.745329l0 57.748052 175.543682 0C420.103216 443.180492 441.148916 423.454913 465.562482 408.745329zM902.807629 873.522437 770.391347 742.678057c30.443618-35.382231 48.851387-81.416668 48.851387-131.75449 0-111.626984-90.492352-202.11818-202.117026-202.11818-111.625829 0-202.11818 90.491197-202.11818 202.11818 0 111.624674 90.492352 202.11818 202.11818 202.11818 40.412086 0 78.049957-11.867225 109.631211-32.298485l135.217063 133.613977c11.275885 11.275885 29.557763 11.275885 40.833647 0C914.082359 903.0802 914.082359 884.799477 902.807629 873.522437zM472.754424 610.923567c0-79.73389 64.638549-144.370129 144.371284-144.370129 79.73158 0 144.368974 64.636239 144.368974 144.370129 0 79.73158-64.637394 144.370129-144.368974 144.370129C537.392973 755.293696 472.754424 690.655147 472.754424 610.923567z" p-id="2271"></path></svg>

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540799163447" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4302" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M362.666667 853.333333l298.666667 0c12.8 0 21.333333-8.533333 21.333333-21.333333 0-12.8-8.533333-21.333333-21.333333-21.333333L362.666667 810.666667c-12.8 0-21.333333 8.533333-21.333333 21.333333C341.333333 844.8 349.866667 853.333333 362.666667 853.333333zM362.666667 768l213.333333 0c12.8 0 21.333333-8.533333 21.333333-21.333333 0-12.8-8.533333-21.333333-21.333333-21.333333L362.666667 725.333333c-12.8 0-21.333333 8.533333-21.333333 21.333333C341.333333 759.466667 349.866667 768 362.666667 768zM853.333333 298.666667l-42.666667 0L810.666667 85.333333c0-23.466667-19.2-42.666667-42.666667-42.666667L256 42.666667c-23.466667 0-42.666667 19.2-42.666667 42.666667l0 213.333333L170.666667 298.666667c-70.4 0-128 57.6-128 128l0 341.333333c0 70.4 57.6 128 128 128l42.666667 0 0 42.666667c0 23.466667 19.2 42.666667 42.666667 42.666667l512 0c23.466667 0 42.666667-19.2 42.666667-42.666667l0-42.666667 42.666667 0c70.4 0 128-57.6 128-128L981.333333 426.666667C981.333333 356.266667 923.733333 298.666667 853.333333 298.666667zM256 85.333333l512 0 0 213.333333L256 298.666667 256 85.333333zM768 896l0 42.666667L256 938.666667l0-42.666667L256 682.666667l512 0L768 896zM938.666667 768c0 46.933333-38.4 85.333333-85.333333 85.333333l-42.666667 0 0-170.666667c0-23.466667-19.2-42.666667-42.666667-42.666667L256 640c-23.466667 0-42.666667 19.2-42.666667 42.666667l0 170.666667L170.666667 853.333333c-46.933333 0-85.333333-38.4-85.333333-85.333333L85.333333 426.666667c0-46.933333 38.4-85.333333 85.333333-85.333333l682.666667 0c46.933333 0 85.333333 38.4 85.333333 85.333333L938.666667 768zM810.666667 426.666667c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666667 42.666667-19.2 42.666667-42.666667S834.133333 426.666667 810.666667 426.666667zM682.666667 426.666667c-23.466667 0-42.666667 19.2-42.666667 42.666667s19.2 42.666667 42.666667 42.666667 42.666667-19.2 42.666667-42.666667S706.133333 426.666667 682.666667 426.666667z" p-id="4303"></path></svg>

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1532993461637" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6291" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M150.130688 624.482304L686.3872 88.31488c31.736832-31.760384 71.737344-32.330752 101.890048-2.154496l149.618688 149.588992c30.164992 30.1824 29.58848 70.124544-2.171904 101.890048L399.492096 873.814016l-283.469824 83.968c-39.259136 9.1648-59.005952-10.570752-49.85344-49.876992l83.961856-283.42272z m55.421952 44.338176l-61.966336 211.544064 211.585024-61.960192-149.618688-149.583872z m673.52576-358.708224c25.921536-25.703424 24.267776-25.326592-2.766848-52.719616l-111.013888-111.0016c-26.409984-27.981824-28.91776-28.335104-52.72576-2.7904l-58.269696 58.27584L820.80768 368.364544l58.27072-58.252288M404.559872 784.560128l374.624256-374.559744-166.52288-166.499328-374.606848 374.565888c16.126976 16.162816 109.536256 109.50656 166.505472 166.493184" p-id="6292" fill="#ffffff"></path></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525413620464" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5511" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M926.202115 345.83554v581.063958H96.10943c-0.283456 0 0-28.0478 0-83.009575V96.806813h581.066005V13.798261H96.10943c-54.745858 0.192382-83.009576 32.911574-83.009576 83.008552v830.093708c-0.13303 48.487318 33.636075 80.20981 83.009576 83.009576l746.759745 0.528026 83.333963-0.528026c49.694819-0.753153 83.463923-33.498952 83.008552-83.009576V345.83554c0-0.161682-72.511477 0-83.009575 0z m-314.082348 63.269998c6.647397 6.647397 14.916734 10.011005 23.26589 10.011005 8.269337 0 16.576537-1.701758 23.224957-8.349155L962.397479 114.275673c13.254885-13.33368 13.254885-34.978652 0-48.313355-11.632945-13.334703-33.235962-13.334703-46.491871 0L612.119767 362.453009c-13.292748 11.672854-13.292748 33.317827 0 46.652529zM262.127558 594.863243c-0.050142-0.209778-0.113587-0.146333 0 0z m498.054383-83.008552H262.127558v83.008552h498.054383c0.12382-5.188162 0-64.690348 0-83.008552zM262.127558 760.880347c0.355087 0.294712 0 0 0 0 0 18.320251-0.121773 83.009576 0 83.009576h498.054383c0.12382 0 0-83.009576 0-83.009576H262.127558z" p-id="5512"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525413523112" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4957" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M1005.9 375.6c-0.1-0.1-0.2-0.3-0.3-0.4L753.3 87.1c-12.2-14.6-29.4-23-47.5-23.1h-0.3c-18.1 0-35.4 8.4-47.8 23-11.1 12.6-17.1 29.5-17.1 47.6v121.5H544c-17.7 0-32 14.3-32 32s14.3 32 32 32h128.7c17.7 0 32-14.3 32-32V134.6c0-2.2 0.5-3.9 0.9-4.8l251.6 287.3c2.5 3.1 2.5 9.5 0 12.6L705.8 717.1c-0.6-1.1-1.1-2.8-1.1-5.1V545.3c0-17.7-14.3-32-32-32H383.3V378.6c0-38.8-29.1-70.4-64.8-70.4-18.4 0-35.8 8.2-47.8 22.4L19.4 619.1l-0.3 0.3c-22.7 26.8-22.7 68.7 0 95.5 0.1 0.2 0.3 0.4 0.5 0.5l251.2 284.1c12.2 14.6 29.4 23 47.4 23.1h0.3c18.1 0 35.4-8.4 47.8-23 11.1-12.6 17.1-29.5 17.1-47.6V832H482c17.7 0 32-14.3 32-32s-14.3-32-32-32H351.3c-17.7 0-32 14.3-32 32v152.2c0 2.2-0.5 3.9-0.9 4.8L67.8 673.5c-2.4-3.1-2.4-9.5 0-12.6l250.4-287.3c0.6 1.1 1.1 2.8 1.1 5.1v166.7c0 17.7 14.3 32 32 32h289.4v134.7c0 38.8 29.1 70.4 64.8 70.4 18.4 0 35.8-8.1 47.7-22.4l252.3-288.5c0.1-0.1 0.2-0.3 0.3-0.4 22.8-26.8 22.8-68.8 0.1-95.6z" fill="" p-id="4958"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525414077420" class="icon" style="" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6305" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.390625" height="200"><defs><style type="text/css"></style></defs><path d="M223.964349 155.150303c0 19.878836-15.45554 35.99427-34.521504 35.994271h-154.92034c-19.065965 0-34.521505-16.115435-34.521505-35.994271s15.45554-35.99427 34.521505-35.99427h154.92034c19.065965 0 34.521505 16.115435 34.521504 35.99427zM1025.836708 502.757971c0 19.878836-15.45554 35.99427-34.521505 35.994271H714.375286c-19.065965 0-34.521505-16.115435-34.521505-35.994271s15.45554-35.99427 34.521505-35.99427h276.939917c19.065965 0 34.521505 16.115435 34.521505 35.99427zM1025.985684 155.150303c0 19.878836-15.45554 35.99427-34.521505 35.994271H466.601726c-19.065965 0-34.521505-16.115435-34.521504-35.994271s15.45554-35.99427 34.521504-35.99427h524.861453c19.065965 0 34.522505 16.115435 34.522505 35.99427zM473.924561 504.871635c0 19.878836-15.45554 35.99427-34.521505 35.99427h-404.880551c-19.065965 0-34.521505-16.115435-34.521505-35.99427s15.45554-35.99427 34.521505-35.994271h404.880551c19.065965 0 34.521505 16.115435 34.521505 35.994271z" fill="" p-id="6306"></path><path d="M326.729991 292.483443c-80.637164 0-146.241721-65.603557-146.241721-146.241722s65.603557-146.241721 146.241721-146.241721c80.638164 0 146.241721 65.603557 146.241722 146.241721s-65.603557 146.241721-146.241722 146.241722z m0-220.494902c-40.943483 0-74.25318 33.309698-74.25318 74.25318s33.309698 74.25318 74.25318 74.253181 74.25318-33.309698 74.253181-74.253181-33.309698-74.25318-74.253181-74.25318z" fill="" p-id="6307"></path><path d="M1024.137978 876.021555c0 16.193422-10.589314 29.327332-23.655235 29.327332H653.103039c-13.06692 0-23.654235-13.133909-23.654234-29.327332 0-16.200421 10.587315-29.324332 23.654234-29.324332h347.379704c13.06592 0.001 23.655235 13.123911 23.655235 29.324332z" fill="#FFFFFF" p-id="6308"></path><path d="M1025.836708 876.023555c0 19.878836-15.45554 35.99427-34.521505 35.99427H614.391201c-19.065965 0-34.521505-16.115435-34.521504-35.99427s15.45554-35.99427 34.521504-35.994271h376.924002C1010.381168 840.029284 1025.836708 856.144719 1025.836708 876.023555zM403.935702 876.023555c0 19.878836-15.45554 35.99427-34.521505 35.99427h-334.891692c-19.066965 0-34.522505-16.115435-34.522505-35.99427s15.45554-35.99427 34.521505-35.994271h334.891692C388.480162 840.029284 403.935702 856.144719 403.935702 876.023555zM576.196281 644.42642c-80.637164 0-146.241721-65.603557-146.241721-146.240721S495.558117 351.943978 576.196281 351.943978 722.438003 417.548535 722.438003 498.185699c0 80.637164-65.604557 146.240721-146.241722 146.240721z m0-220.493901c-40.942483 0-74.25318 33.309698-74.25318 74.25318s33.309698 74.252181 74.25318 74.252181 74.25318-33.308698 74.253181-74.252181-33.310698-74.25318-74.253181-74.25318z" fill="" p-id="6309"></path><path d="M484.210923 1022.265276c-80.637164 0-146.241721-65.603557-146.241721-146.241721S403.573759 729.781834 484.210923 729.781834 630.452645 795.386391 630.452645 876.023555 564.848088 1022.265276 484.210923 1022.265276z m0-220.494902c-40.943483 0-74.25318 33.309698-74.25318 74.253181s33.309698 74.25318 74.25318 74.25318c40.942483 0 74.25318-33.309698 74.253181-74.25318s-33.310698-74.25318-74.253181-74.253181z" fill="" p-id="6310"></path></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1542252193563" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1280" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M812.569 895.806H216.097c-17.673 0-32-14.327-32-32s14.327-32 32-32h596.472c17.673 0 32 14.327 32 32s-14.327 32-32 32zM800.924 791.006H223.757c-24.345 0-44.151-19.807-44.151-44.151V611.677c0-24.345 19.806-44.151 44.151-44.151h190.436c17.673 0 32 14.327 32 32s-14.327 32-32 32H243.605v95.48h537.47v-95.48H616.043c-17.673 0-32-14.327-32-32s14.327-32 32-32h184.881c24.345 0 44.151 19.807 44.151 44.151v135.178c0 24.344-19.806 44.151-44.151 44.151z m0-159.481h0.01-0.01zM580.917 490.143c-12.784 0.001-24.857-7.713-29.803-20.336-6.447-16.456 1.667-35.021 18.122-41.468 46.569-18.244 76.66-62.358 76.66-112.386 0-66.524-54.121-120.646-120.646-120.646s-120.646 54.122-120.646 120.646c0 47.903 28.352 91.295 72.23 110.547 16.184 7.101 23.547 25.977 16.447 42.161-7.102 16.184-25.979 23.547-42.161 16.447-67.136-29.456-110.517-95.853-110.517-169.154 0-101.814 82.832-184.646 184.646-184.646 101.813 0 184.646 82.832 184.646 184.646 0 37.862-11.385 74.26-32.923 105.257-21.021 30.254-50.203 53.325-84.392 66.718a31.902 31.902 0 0 1-11.663 2.214z" fill="" p-id="1281"></path><path d="M416.891 625.033a31.95 31.95 0 0 1-10.945-1.939c-16.607-6.047-25.167-24.411-19.121-41.018l49.598-136.222c6.046-16.606 24.412-25.167 41.017-19.121 16.607 6.046 25.167 24.41 19.121 41.017l-49.598 136.223c-4.732 12.992-17.004 21.06-30.072 21.06zM606.476 631.532c-14.979 0-28.358-10.569-31.362-25.822l-27.821-141.256c-3.416-17.34 7.873-34.165 25.213-37.581 17.346-3.417 34.166 7.875 37.58 25.213l27.821 141.256c3.416 17.34-7.873 34.165-25.213 37.58-2.088 0.412-4.169 0.61-6.218 0.61z" fill="" p-id="1282"></path></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1,5 @@
<<<<<<< HEAD
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1533020396731" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1912" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M832 287.904V0H512v32H64v960h579.968c36.736 20.384 79.04 32 124.032 32 22.08 0 43.52-2.816 64-8.064V1024H32V0h800v287.904z m0 0.16V320h-32v193.984c10.88 1.344 21.568 3.392 32 6.08v-232V320H512V0h320v287.904l0.064 0.064-0.064 0.096z m0-0.16V0h-288v0.096l288 287.808zM784 288L544 48V288h240z m-48.064 225.984a254.304 254.304 0 0 0-91.968 30.016H159.808a32.032 32.032 0 0 1 0-64h544.352a31.84 31.84 0 0 1 31.776 33.984zM513.984 736a258.528 258.528 0 0 0 0 64H159.84a32.032 32.032 0 0 1 0-64h354.144zM128 256c0-17.664 14.592-32 31.84-32h256.32c17.6 0 31.84 14.208 31.84 32 0 17.664-14.592 32-31.84 32h-256.32A31.84 31.84 0 0 1 128 256z m640 736a224 224 0 1 1 0-448 224 224 0 0 1 0 448z m0-32a192 192 0 1 0 0-384 192 192 0 0 0 0 384z m0-128l-75.232 39.552 14.368-83.776-60.864-59.328 84.096-12.224L768 640l37.632 76.224 84.096 12.224-60.864 59.328 14.4 83.776L768 832z" p-id="1913"></path></svg>
=======
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1533515259777" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2060" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M219.53 388.084h617.59c14.983 0 27.173-12.19 27.173-27.175 0-14.983-12.19-27.174-27.173-27.174H219.53c-14.984 0-27.174 12.19-27.174 27.174 0 14.985 12.19 27.175 27.174 27.175zM219.53 251.579h617.59c14.983 0 27.173-12.19 27.173-27.174 0-14.983-12.19-27.174-27.173-27.174H219.53c-14.984 0-27.174 12.19-27.174 27.174s12.19 27.174 27.174 27.174zM915.14 828.824c-6.685 7.712-14.035 14.77-21.847 20.976a164.407 164.407 0 0 1-21.622 14.508l-5.231 2.94 50.53 63.641 53.331-42.353-51.124-64.372-4.038 4.66z" fill="" p-id="2061"></path><path d="M947.24 76.05c-17.631-17.63-41.073-27.34-66.007-27.34H175.42c-51.47 0-93.344 41.874-93.344 93.345V941.22l5.12-0.003c0.165 0 16.88-0.022 44.3-1.041l4.927-0.183V142.055c0-21.502 17.494-38.996 38.997-38.996h705.813c21.504 0 38.997 17.494 38.997 38.996V494.37a255.538 255.538 0 0 0-19.577-21.975c-47.622-47.625-110.943-73.852-178.295-73.852-66.288 0-128.747 25.445-176.115 71.693H219.53c-14.984 0-27.174 12.19-27.174 27.172 0.002 14.983 12.192 27.171 27.174 27.171h284.404c-14.734 25.453-24.771 53.034-29.892 82.166H219.53c-14.984 0-27.174 12.19-27.174 27.174 0 14.985 12.19 27.176 27.174 27.176h250.886c2.439 59.758 25.76 116.132 66.166 160.102a600.525 600.525 0 0 0-16.97 5.63c-56.428 19.662-120.29 30.905-169.622 38.504l-4.338 0.667v55.012l5.876-0.882c58.184-8.73 125.276-19.875 185.17-41.713 15.807-5.766 32.609-10.85 49.972-15.126 40.47 25.884 87.336 39.554 135.687 39.554 67.357 0 130.677-26.228 178.296-73.85 45.016-45.019 71.05-104.47 73.635-167.9h0.29V142.056c0-24.934-9.708-48.374-27.339-66.005zM524.917 661.092h0.11l-0.135-5.248c-0.345-13.445 0.534-26.503 2.613-38.81 5.827-34.041 20.488-65.956 42.448-92.458h0.197l1.532-1.806c3.02-3.558 6.3-7.347 9.81-10.95a202.541 202.541 0 0 1 4.855-4.76l0.004-0.004c10.793-10.18 23.191-19.358 36.852-27.28l8.298-4.815c27.93-14.41 59.134-21.986 90.859-21.986 52.896 0 102.568 20.543 139.864 57.843 37.297 37.302 57.84 86.976 57.84 139.873 0.002 52.899-20.538 102.57-57.839 139.865-37.302 37.299-86.976 57.839-139.875 57.839-17.903 0-35.65-2.397-52.83-7.129l-4.832-1.464c-23.217-7.035-44.788-18.28-64.112-33.423l-1.895-1.485-0.18 0.039a200.208 200.208 0 0 1-16.014-14.377c-34.702-34.701-55.027-80.5-57.57-129.464z" fill="" p-id="2062"></path></svg>
>>>>>>> c7715166c2db7a63c3f04f9003ea6f93887572ba

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525413098437" class="icon" style="" viewBox="0 0 1026 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2173" xmlns:xlink="http://www.w3.org/1999/xlink" width="200.390625" height="200"><defs><style type="text/css"></style></defs><path d="M512.551478 900.586887c-17.888412 0-34.437886-8.690269-44.138771-23.346763L74.031451 201.158705c-9.470034-14.215311-9.752186-32.267884-1.000355-48.596766 9.588025-17.996142 27.917619-29.143696 47.811872-29.143696h789.044662c18.668176 0 34.437886 9.418734 43.184586 25.804047 8.977551 16.713635 8.197787 36.551458-1.83142 51.715824l-394.663407 676.527732c-9.644455 14.430772-26.142629 23.121042-44.025911 23.121041zM143.358666 210.182427a4.760667 4.760667 0 0 0-3.293479 1.395368 4.529816 4.529816 0 0 0-0.554043 5.34549l343.783778 591.769389a4.575986 4.575986 0 0 0 3.898822 2.231563c0.389882 0 0.779764-0.0513 1.169646-0.107731a4.591376 4.591376 0 0 0 3.344779-4.396435v-287.389366a4.858138 4.858138 0 0 0-0.615603-2.344423L383.987816 336.350365a4.688847 4.688847 0 0 0-1.78525-1.67239l-236.730328-123.992805a4.709367 4.709367 0 0 0-2.113572-0.502743z m744.018396 5.632772a4.216884 4.216884 0 0 0-2.005841 0.502743L648.640893 334.683105a4.617026 4.617026 0 0 0-1.836551 1.72882l-107.104749 180.335917a4.145064 4.145064 0 0 0-0.672034 2.282863v287.389366c0 2.057142 1.333808 3.842392 3.339649 4.345135a4.493906 4.493906 0 0 0 1.174777 0.164161 4.575986 4.575986 0 0 0 3.903952-2.231563l343.773517-586.136617a4.370785 4.370785 0 0 0-0.610473-5.34549 4.493906 4.493906 0 0 0-3.231919-1.400498z m-434.010731 123.992806a4.509296 4.509296 0 0 0-3.898822 2.226432 4.401565 4.401565 0 0 0-0.05643 4.457996l61.965622 112.737522a4.776057 4.776057 0 0 0 3.903953 2.344423h0.05643a4.416955 4.416955 0 0 0 3.847522-2.175132l67.654825-112.737522a4.324615 4.324615 0 0 0 0.05643-4.565726 4.493906 4.493906 0 0 0-3.898822-2.282863H453.366331v-0.00513zM188.497793 170.732502a4.473385 4.473385 0 0 0-4.401565 3.45251 4.488776 4.488776 0 0 0 2.282863 5.068469l219.790971 112.737521c0.666904 0.282152 1.390238 0.446313 2.118703 0.446313h214.163329a4.452865 4.452865 0 0 0 2.062272-0.502743l219.790971-112.737522a4.529816 4.529816 0 0 0 2.334163-5.068469 4.473385 4.473385 0 0 0-4.396435-3.457639H188.497793v0.06156z" fill="" p-id="2174"></path></svg>

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1531186005157" class="icon" style="" viewBox="0 0 1038 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="7579" data-spm-anchor-id="a313x.7781069.0.i1" xmlns:xlink="http://www.w3.org/1999/xlink" width="223.0078125" height="220"><defs><style type="text/css"></style></defs><path d="M941.176 157.501l0 0c-26.234-26.234-69.08-26.234-95.313 0l-296.882 296.882 95.313 95.313 296.882-296.882c26.234-26.234 26.234-69.08 0-95.313zM519.451 562.617c-1.846 9.756 6.724 18.324 16.611 16.611l96.631-17.797-95.313-95.313-17.929 96.5zM853.834 928.857c0 17.439-14.24 31.679-31.679 31.679l-652.773 0c-17.439 0-31.679-14.24-31.679-31.679l0-791.007c0-17.439 14.24-31.679 31.679-31.679l652.773 0c11.04 0 20.639 5.6 26.239 14.079l34.238-34.078c-14.559-17.12-36.158-27.998-60.477-27.998l-652.773 0c-43.838 0-79.517 35.678-79.517 79.676l0 791.168c0 43.838 35.678 79.676 79.676 79.676l652.773 0c43.838 0 79.676-35.678 79.676-79.676l0-600.935-47.998 47.998 0 552.777zM746.638 697.506l-501.579 0c-10.56 0-19.199 8.64-19.199 19.199l0 11.999c0 10.56 8.64 19.199 19.199 19.199l501.579 0c10.56 0 19.199-8.64 19.199-19.199l0-11.999c0-10.56-8.64-19.199-19.199-19.199zM650.642 318.802l-405.583 0c-10.56 0-19.199 8.64-19.199 19.199l0 11.999c0 10.56 8.64 19.199 19.199 19.199l355.185 0 50.398-50.398zM649.362 577.671l-130.715 24.159c-13.28 2.4-24.799-9.12-22.399-22.399l1.44-8.16-252.629 0c-10.56 0-19.199 8.64-19.199 19.199l0 11.999c0 10.56 8.64 19.199 19.199 19.199l501.579 0c10.56 0 19.199-8.64 19.199-19.199l0-11.999c0-10.56-8.64-19.199-19.199-19.199l-103.675 0 6.399 6.399zM245.058 495.435l232.47 0 50.398-50.398-282.868 0c-10.56 0-19.199 8.64-19.199 19.199l0 11.999c0 10.56 8.64 19.199 19.199 19.199zM765.837 476.235l0-11.199-30.398 30.398 11.199 0c10.56 0 19.199-8.64 19.199-19.199z" p-id="7580"></path></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1542252364538" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="1806" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M256 234.666667a21.333333 21.333333 0 0 0-21.333333 21.333333v512a21.333333 21.333333 0 0 0 21.333333 21.333333h512a21.333333 21.333333 0 0 0 21.333333-21.333333V256a21.333333 21.333333 0 0 0-21.333333-21.333333H256z m0-42.666667h512A64 64 0 0 1 832 256v512a64 64 0 0 1-64 64H256A64 64 0 0 1 192 768V256A64 64 0 0 1 256 192z" fill="#bfbfbf" p-id="1807"></path><path d="M213.333333 341.333333h597.333334v42.666667H213.333333zM483.328 625.365333l135.765333-135.765333a21.333333 21.333333 0 1 1 30.208 30.165333l-150.869333 150.869334a21.333333 21.333333 0 0 1-30.165333 0l-90.496-90.538667a21.333333 21.333333 0 1 1 30.165333-30.165333l75.392 75.434666z" fill="#bfbfbf" p-id="1808"></path></svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1542252442197" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2699" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M397.312 744.913455c-181.775515 0-329.69697-147.921455-329.69697-329.69697S215.536485 85.519515 397.312 85.519515 727.04 233.44097 727.04 415.216485c0 84.340364-31.837091 164.615758-89.615515 225.993697a326.749091 326.749091 0 0 1-240.081455 103.703273z m588.8 215.226181l-0.620606-0.682666-1.148121-1.210182-282.59297-296.89794a389.864727 389.864727 0 0 0 87.319273-246.132363c0-215.970909-175.755636-391.757576-391.757576-391.757576C181.341091 23.458909 5.585455 199.214545 5.585455 415.216485s175.755636 391.757576 391.757575 391.757576c96.566303 0 190.091636-36.460606 261.616485-100.600243l282.189576 296.525576 0.093091-0.062061c5.988848 6.299152 14.273939 10.302061 23.61406 9.929697 17.252848-0.682667 30.657939-15.204848 29.975273-32.457697a30.968242 30.968242 0 0 0-8.781576-20.107636l0.093091-0.062061z" p-id="2700" fill="#e6e6e6"></path></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525413963024" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5625" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M761.12 143.606h-61.134V89.18c0.051-6.693-2.574-13.125-7.282-17.858s-11.109-7.367-17.77-7.312a24.782 24.782 0 0 0-17.757 7.316 25.038 25.038 0 0 0-7.278 17.854v54.426H372.178V89.18a25.046 25.046 0 0 0-7.278-17.854 24.782 24.782 0 0 0-17.757-7.316 24.802 24.802 0 0 0-17.761 7.316 25.076 25.076 0 0 0-7.278 17.854v54.426h-60.555c-76.274 0-138.581 53.336-138.581 118.203v576.525c0 64.968 62.294 118.198 138.581 118.198H761.12c76.271 0 138.577-53.259 138.577-118.198V261.839c-0.589-64.968-62.29-118.202-138.577-118.202v-0.031z m88.502 694.789c0 37.478-40.15 68.467-89.077 68.467H261.52c-48.915 0-89.077-30.427-89.077-68.467V261.839c0-37.479 40.15-68.472 89.077-68.472h61.13v54.431c0 13.9 11.21 25.166 25.039 25.166 13.828 0 25.035-11.266 25.035-25.166v-54.443h278.352v54.443c0 13.9 11.207 25.166 25.035 25.166s25.04-11.266 25.04-25.166v-54.443h61.129c48.911 0 89.078 30.426 89.078 68.467v576.513l-1.736 0.06zM382.145 433.96a25.039 25.039 0 0 1-7.279 17.854 24.78 24.78 0 0 1-17.756 7.317h-79.845c-13.827 0-25.039-11.271-25.039-25.171 0-13.898 11.212-25.165 25.039-25.165h80.301a24.685 24.685 0 0 1 17.415 7.49 24.936 24.936 0 0 1 7.037 17.674h0.127z m387.778 0a25.042 25.042 0 0 1-7.278 17.854 24.783 24.783 0 0 1-17.757 7.317H440.883c-13.829 0-25.04-11.271-25.04-25.171 0-13.898 11.211-25.165 25.04-25.165h303.933a24.762 24.762 0 0 1 17.757 7.316 25.02 25.02 0 0 1 7.278 17.848h0.072z m-387.85 160.895a25.047 25.047 0 0 1-7.278 17.854 24.762 24.762 0 0 1-17.757 7.317h-79.772c-13.827 0-25.039-11.271-25.039-25.171 0-13.896 11.212-25.165 25.039-25.165h80.301c13.495 0.562 24.21 11.597 24.452 25.165h0.054z m387.778 0a25.043 25.043 0 0 1-7.278 17.854 24.759 24.759 0 0 1-17.757 7.317H440.883c-13.829 0-25.04-11.271-25.04-25.171 0-13.896 11.211-25.165 25.04-25.165h303.933c13.98 0.575 25.035 11.705 25.035 25.165zM382.073 756.402a25.047 25.047 0 0 1-7.278 17.854 24.797 24.797 0 0 1-17.757 7.315h-79.772c-13.827 0-25.039-11.27-25.039-25.169 0-13.901 11.212-25.168 25.039-25.168h80.301a24.686 24.686 0 0 1 17.415 7.491 24.938 24.938 0 0 1 7.037 17.677h0.054z m387.778 0a25.043 25.043 0 0 1-7.278 17.854 24.794 24.794 0 0 1-17.757 7.315H440.883c-13.829 0-25.04-11.27-25.04-25.169 0-13.901 11.211-25.168 25.04-25.168h303.933a24.766 24.766 0 0 1 17.757 7.316 25.04 25.04 0 0 1 7.278 17.852z m0 0" p-id="5626"></path></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1532938191092" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2967" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M932.981 644.538c-16.379 0-35.29 13.401-35.29 29.78v120.165c0 57.030-46.011 103.189-102.594 103.189h-569.106c-56.732 0-102.594-46.159-102.594-103.189v-567.914c0-57.030 45.862-103.189 102.594-103.189h252.091c16.379 0 29.632 1.489 29.632-14.89s-13.252-44.67-29.632-44.67h-295.87c-65.368 0-118.377 53.307-118.377 119.122v655.171c0 65.815 53.009 119.122 118.377 119.122h656.66c65.368 0 118.377-53.307 118.377-119.122v-163.793c0.001-16.379-7.891-29.78-24.27-29.78zM247.731 742.963c-4.765 32.46 17.422 54.2 49.584 48.245l188.808-34.099-209.208-210.549-29.185 196.403zM639.643 280.024c23.229-23.377 60.603-23.377 83.832 0l41.842 41.99c23.080 23.377 23.080 61.050 0 84.278l-188.363 189.554c-23.080 23.229-60.603 23.229-83.683 0l-41.842-42.14c-23.080-23.229-23.080-60.901 0-84.278l188.214-189.405zM535.113 722.264l355.728-358.11-209.208-210.548-355.728 357.962 209.208 210.697zM935.809 304.594c34.694-34.844 24.42-81.152-10.274-115.995l-83.683-84.279c-34.694-34.844-90.831-34.844-125.525 0l209.208 210.548 10.274-10.274z" p-id="2968"></path></svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Svg Vector Icons : http://www.sfont.cn -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve">
<metadata> Svg Vector Icons : http://www.sfont.cn </metadata>
<g><path d="M944.1,362.2H745c-25.4,0-45.9-20.6-45.9-45.9s20.6-45.9,45.9-45.9h79.1c-71.9-101.7-190-168.4-324.1-168.4c-219.9,0-398.1,178.2-398.1,398.1c0,25.4-20.6,45.9-45.9,45.9C30.6,545.9,10,525.4,10,500l0,0C10,229.4,229.4,10,500,10c164.3,0,309.4,81.1,398.1,205.3v-82.8c0-25.4,20.6-45.9,45.9-45.9c25.4,0,45.9,20.6,45.9,45.9v183.7C990,341.6,969.4,362.2,944.1,362.2L944.1,362.2z M55.9,637.8H255c25.4,0,45.9,20.6,45.9,45.9c0,25.4-20.6,45.9-45.9,45.9h-79.7c72,101.9,190.5,168.4,324.7,168.4c219.9,0,398.1-178.2,398.1-398.1c0-25.4,20.6-45.9,45.9-45.9S990,474.6,990,500l0,0c0,270.6-219.4,490-490,490c-164.5,0-309.5-81.5-398.1-206v83.5c0,25.4-20.6,45.9-45.9,45.9c-25.4,0-45.9-20.6-45.9-45.9V683.7C10,658.4,30.6,637.8,55.9,637.8L55.9,637.8z"/></g>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1525414131085" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="6999" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M958.4 241.7c-7.7-35.5-42.7-58.1-78.2-50.4s-58.1 42.7-50.4 78.2c2.1 9.5 6.1 18.1 11.5 25.4L685 537.5c-10-2.8-20.9-3.4-31.8-1C639.1 539.6 627 547 618 557L422.4 429.9c0.7-6.7 0.4-13.6-1.1-20.6-7.7-35.5-42.7-58.1-78.2-50.4s-58.1 42.7-50.4 78.2c2.1 9.5 6.1 18.1 11.6 25.4L147.9 705.1c-10.1-2.9-20.9-3.4-31.9-1-35.5 7.7-58.1 42.7-50.4 78.2s42.7 58.1 78.2 50.4 58.1-42.7 50.4-78.2c-1.9-8.9-5.6-17-10.5-24l157-243.5c9.6 2.4 19.8 2.8 30.1 0.5 12.8-2.8 23.8-9.1 32.5-17.6l198.1 128.5c-0.2 5.4 0.3 10.8 1.5 16.3 7.7 35.5 42.7 58.1 78.2 50.4s58.1-42.7 50.4-78.2c-1.9-8.9-5.6-17-10.5-24l156.9-243.5c9.6 2.5 19.9 2.8 30.2 0.6 35.4-7.7 58-42.8 50.3-78.3z" p-id="7000"></path></svg>

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1540798636531" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2171" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M830.464 1024h-716.8C50.688 1024 0 973.312 0 911.36V112.64C0 50.688 50.688 0 113.664 0h716.8c62.464 0 113.664 50.688 113.664 112.64v66.56c0 22.016-17.92 39.936-39.936 39.936s-39.936-17.92-39.936-39.936v-66.56c0-18.432-14.848-33.28-33.28-33.28h-716.8c-18.432 0-33.28 14.848-33.28 33.28v798.72c0 18.432 14.848 33.28 33.28 33.28h716.8c18.432 0 33.28-14.848 33.28-33.28V649.728c0-22.016 17.92-39.936 39.936-39.936s39.936 17.92 39.936 39.936V911.36c0 61.952-51.2 112.64-113.664 112.64z" p-id="2172"></path><path d="M455.168 367.616H164.352c-5.632 0-9.728-4.608-9.728-9.728v-59.904c0-5.632 4.608-9.728 9.728-9.728h290.816c5.632 0 9.728 4.608 9.728 9.728v59.904c0 5.632-4.096 9.728-9.728 9.728z m0 213.504H164.352c-5.632 0-9.728-4.608-9.728-9.728v-59.904c0-5.632 4.608-9.728 9.728-9.728h290.816c5.632 0 9.728 4.608 9.728 9.728v59.904c0 5.632-4.096 9.728-9.728 9.728zM719.36 794.624H164.352c-5.632 0-9.728-4.608-9.728-9.728v-59.904c0-5.632 4.608-9.728 9.728-9.728H719.36c5.632 0 9.728 4.608 9.728 9.728v59.904c0 5.12-4.608 9.728-9.728 9.728zM729.6 629.76c-11.264 0-22.016-4.608-29.696-13.312L560.64 462.336c-14.848-16.384-13.312-41.472 3.072-56.32 16.384-14.848 41.984-13.312 56.832 3.072L729.6 529.92l224.256-254.464c14.336-16.384 39.936-18.432 56.32-3.584 16.896 14.336 18.432 39.424 3.584 56.32L759.808 616.448c-7.168 8.192-18.432 13.312-30.208 13.312 0.512 0 0.512 0 0 0z" p-id="2173"></path></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1533622997134" class="icon" style="" viewBox="0 0 1147 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2167" xmlns:xlink="http://www.w3.org/1999/xlink" width="224.0234375" height="200"><defs><style type="text/css"></style></defs><path d="M88.576 237.906767L692.966977 573.593985a40.03609 40.03609 0 0 0 35.416542 0l384.962406-170.923308a36.186466 36.186466 0 0 0 21.557895-30.796993 35.416541 35.416541 0 0 0-18.478196-32.336842L514.344421 4.619549a40.03609 40.03609 0 0 0-35.416541 0l-384.962406 170.923308a36.186466 36.186466 0 0 0-21.557895 30.796993 35.416541 35.416541 0 0 0 16.168421 31.566917zM493.556451 76.992481l527.398496 291.031579-307.969924 133.966917-523.548873-291.031579z" fill="#ffffff" p-id="2168"></path><path d="M54.699308 448.866165l630.568421 348.77594a41.57594 41.57594 0 0 0 36.186466 0l402.670677-177.852631a37.726316 37.726316 0 0 0 23.097745-32.336842 36.956391 36.956391 0 0 0-19.248121-33.876692L1096.407579 538.947368a40.806015 40.806015 0 0 0-53.894737 13.088722 35.416541 35.416541 0 0 0-4.619549 26.177444l-331.067669 146.285714-557.425564-307.969925A35.416541 35.416541 0 0 0 154.019609 384.962406a40.03609 40.03609 0 0 0-52.354887-17.708271L57.779008 384.962406a37.726316 37.726316 0 0 0-22.32782 32.336842 36.956391 36.956391 0 0 0 19.24812 31.566917z" fill="#ffffff" p-id="2169"></path><path d="M1127.204571 769.924812l-32.336842-17.708271a42.345865 42.345865 0 0 0-55.434586 13.858647 36.956391 36.956391 0 0 0-4.619549 26.947368L692.966977 941.618045 118.603068 624.409023a36.186466 36.186466 0 0 0 0-33.106767 41.57594 41.57594 0 0 0-53.894737-18.478196l-41.57594 18.478196a38.496241 38.496241 0 0 0-23.097744 32.336842 38.496241 38.496241 0 0 0 20.018045 35.416541l650.586466 359.554887a42.345865 42.345865 0 0 0 37.726316 0l415.759398-183.242105a38.496241 38.496241 0 0 0 23.097745-33.106767 38.496241 38.496241 0 0 0-20.018046-32.336842z" fill="#ffffff" p-id="2170"></path></svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

@@ -0,0 +1 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1532937577028" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3113" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M947.2 102.4H76.8c-15.36 0-25.6 10.24-25.6 25.6v768c0 15.36 10.24 25.6 25.6 25.6h870.4c15.36 0 25.6-10.24 25.6-25.6V128c0-15.36-10.24-25.6-25.6-25.6z m-25.6 51.2v512H102.4V153.6h819.2zM102.4 870.4v-153.6h819.2v153.6H102.4z" p-id="3114"></path><path d="M537.6 768H179.2c-12.8 0-25.6 12.8-25.6 25.6s12.8 25.6 25.6 25.6h358.4c12.8 0 25.6-12.8 25.6-25.6s-12.8-25.6-25.6-25.6zM844.8 768h-153.6c-12.8 0-25.6 10.24-25.6 25.6 0 12.8 12.8 25.6 25.6 25.6h153.6c12.8 0 25.6-12.8 25.6-25.6 0-15.36-12.8-25.6-25.6-25.6zM179.2 460.8h102.4c10.24 0 17.92-5.12 23.04-15.36l79.36-158.72 156.16 312.32c5.12 7.68 12.8 15.36 23.04 15.36s17.92-5.12 23.04-15.36l104.96-209.92 28.16 56.32c5.12 7.68 12.8 15.36 23.04 15.36h102.4c15.36 0 25.6-10.24 25.6-25.6s-10.24-25.6-25.6-25.6h-87.04l-43.52-87.04c-7.68-17.92-38.4-17.92-46.08 0L563.2 532.48 407.04 220.16c-7.68-17.92-38.4-17.92-46.08 0L266.24 409.6H179.2c-15.36 0-25.6 10.24-25.6 25.6s10.24 25.6 25.6 25.6z" p-id="3115"></path></svg>

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -456,11 +456,11 @@ export default {
this.tableData1 = response.data
})
} else if (this.PartType === '外购件') {
searchPart1(this.groupFloatValue, 1).then(response => {
searchPart1(this.groupFloatValue, 2).then(response => {
this.tableData2 = response.data
})
} else if (this.PartType === '标准件') {
searchPart1(this.groupFloatValue, 2).then(response => {
searchPart1(this.groupFloatValue, 1).then(response => {
this.tableData3 = response.data
})
}
@@ -480,11 +480,11 @@ export default {
this.tableData1 = response.data
})
} else if (this.PartType === '外购件') {
searchPart1(row.组件流水号, 1).then(response => {
searchPart1(row.组件流水号, 2).then(response => {
this.tableData2 = response.data
})
} else if (this.PartType === '标准件') {
searchPart1(row.组件流水号, 2).then(response => {
searchPart1(row.组件流水号, 1).then(response => {
this.tableData3 = response.data
})
}
@@ -625,9 +625,11 @@ export default {
this.result = 0
if (this.PartType === '基本件') {
for (let i = 0; i < this.BasicPartsNumber.length; i++) {
purchaseRequisition(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.BasicPartsNumber[i], this.MaterialName[i], this.NumberOfParts[i], this.PartType, this.time, this.MaterialNum[i]).then(response => {
purchaseRequisition(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.BasicPartsNumber[i], this.MaterialName[i], this.NumberOfParts[i], 3, this.time, this.MaterialNum[i]).then(response => {
this.result += parseInt(response.data[0].result)
console.log(this.result)
if (this.result === this.BasicPartsNumber.length) {
console.log(1111)
this.$message.success('请购成功')
searchPart(this.groupFloatValue).then(response => {
this.tableData1 = response.data
@@ -640,11 +642,11 @@ export default {
}
} else if (this.PartType === '外购件') {
for (let i = 0; i < this.StandardPartsAndOutsourcing.length; i++) {
purchaseRequisition1(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.StandardPartsAndOutsourcing[i], this.MaterialName[i], this.MaterialSpecification[i], this.MaterialModel[i], this.NumberOfParts[i], this.PartType, this.time, this.MaterialNum[i]).then(response => {
purchaseRequisition1(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.StandardPartsAndOutsourcing[i], this.MaterialName[i], this.MaterialSpecification[i], this.MaterialModel[i], this.NumberOfParts[i], 2, this.time, this.MaterialNum[i]).then(response => {
this.result += parseInt(response.data[0].result)
if (this.result === this.StandardPartsAndOutsourcing.length) {
this.$message.success('请购成功')
searchPart1(this.groupFloatValue, 1).then(response => {
searchPart1(this.groupFloatValue, 2).then(response => {
this.tableData2 = response.data
})
searchDetailed(this.RequisitionList).then(response => {
@@ -655,11 +657,11 @@ export default {
}
} else if (this.PartType === '标准件') {
for (let i = 0; i < this.StandardPartsAndOutsourcing.length; i++) {
purchaseRequisition1(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.StandardPartsAndOutsourcing[i], this.MaterialName[i], this.MaterialSpecification[i], this.MaterialModel[i], this.NumberOfParts[i], this.PartType, this.time, this.MaterialNum[i]).then(response => {
purchaseRequisition1(this.RequisitionList, this.projectName, this.projectFloatValue, this.MachineToolNumber, this.machineFloatValue, this.groupName, this.groupFloatValue, this.StandardPartsAndOutsourcing[i], this.MaterialName[i], this.MaterialSpecification[i], this.MaterialModel[i], this.NumberOfParts[i], 1, this.time, this.MaterialNum[i]).then(response => {
this.result += parseInt(response.data[0].result)
if (this.result === this.StandardPartsAndOutsourcing.length) {
this.$message.success('请购成功')
searchPart1(this.groupFloatValue, 2).then(response => {
searchPart1(this.groupFloatValue, 1).then(response => {
this.tableData3 = response.data
})
searchDetailed(this.RequisitionList).then(response => {
@@ -683,11 +685,11 @@ export default {
if (response.data[0].result === '1') {
this.$message.success('请购成功')
if (this.PartType === '外购件') {
searchPart1(this.groupFloatValue, 1).then(response => {
searchPart1(this.groupFloatValue, 2).then(response => {
this.tableData2 = response.data
})
} else {
searchPart1(this.groupFloatValue, 2).then(response => {
searchPart1(this.groupFloatValue, 1).then(response => {
this.tableData3 = response.data
})
}
@@ -729,24 +731,33 @@ export default {
searchPart(this.groupFloatValue).then(response => {
this.tableData1 = response.data
})
searchDetailed(this.RequisitionList).then(response => {
this.tableData5 = response.data
})
} else { this.$message.error('移出失败') }
})
} else if (row.零件类型 === '外购件') {
MoveOut1(row.请购单明细流水号, row.标准件和外购件流水号).then(response => {
if (response.data[0].result === '1') {
this.$message.success('移出成功')
searchPart1(this.groupFloatValue, 1).then(response => {
searchPart1(this.groupFloatValue, 2).then(response => {
this.tableData2 = response.data
})
searchDetailed(this.RequisitionList).then(response => {
this.tableData5 = response.data
})
} else { this.$message.error('移出失败') }
})
} else if (row.零件类型 === '标准件') {
MoveOut1(row.请购单明细流水号, row.标准件和外购件流水号).then(response => {
if (response.data[0].result === '1') {
this.$message.success('移出成功')
searchPart1(this.groupFloatValue, 2).then(response => {
searchPart1(this.groupFloatValue, 1).then(response => {
this.tableData3 = response.data
})
searchDetailed(this.RequisitionList).then(response => {
this.tableData5 = response.data
})
} else { this.$message.error('移出失败') }
})
}
@@ -767,7 +778,7 @@ export default {
</script>
<style scoped>
span{
span{
margin: 10px 0px 10px 10px;
}
}
</style>

View File

@@ -0,0 +1,230 @@
<template>
<div class="app-container">
<el-card>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<el-table
v-loading=""
:data="tableData1"
border
highlight-current-row
style="width: 100%;max-height: 250px;"
height="250px"
size="mini"
@row-click="searchTable2">
<el-table-column label="采购合同编号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" min-width="120">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间.split(' ')[0] }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="到货情况" align="center" min-width="70">
<template slot-scope="scope">
<el-tag v-if="judge[scope.$index]===1" type="success" size="small">全部到货</el-tag>
<el-tag v-if="judge[scope.$index]===2" type="warning" size="small">即将拖期</el-tag>
<el-tag v-if="judge[scope.$index]===3" type="danger" size="small">已拖期</el-tag>
<el-tag v-if="judge[scope.$index]===4" type="primary" size="small">进度正常</el-tag>
</template>
</el-table-column>
<el-table-column label="到货进度" align="center" min-width="150">
<template slot-scope="scope">
<el-progress
:text-inside="true"
:stroke-width="18"
:percentage="100*(parseInt(scope.row.合同物料到货总数)/parseInt(scope.row.合同物料采购总数)).toFixed(4)"
status="success"/>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
<el-table v-loading="" :data="tableData2" stripe border style="width: 100%;max-height: 300px;margin-top: 10px" height="300px" size="mini">
<el-table-column label="采购合同编号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="物料名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="物料规格" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<el-table-column label="物料型号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column label="采购总数量" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.数量 }}
</template>
</el-table-column>
<el-table-column label="已到货数量" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.总到货数量 }}
</template>
</el-table-column>
</el-table>
</el-card>
</div>
</template>
<script>
import { initArrivalStateContact, searchArrivalState, searchArrivalNum } from '@/api/WorkshopProcurement/ArrivalStateSearch'
import { mapGetters } from 'vuex'
export default {
name: '', // 项目总价查询
data() {
return {
check1: 0,
check2: 0,
contractNumValue: '',
contractNum: [],
supplierName: '',
tableData1: [],
pageSize1: 10,
pageCurrent1: 1,
total1: 0,
tableData2: [],
now: '',
arrival: [],
judge: []
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initArrivalStateContact().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
},
searchTable1() {
this.arrival = [] // 规定到货时间数组
this.now = new Date()
this.contractNumValue ? this.check1 = 1 : this.check1 = 0
this.supplierName ? this.check2 = 1 : this.check2 = 0
searchArrivalState(this.pageCurrent1, this.pageSize1, this.check1, this.contractNumValue, this.check2, this.supplierName).then(response => {
for (let i = 0; i < response.data.rows.length; i++) {
this.arrival.push(new Date(response.data.rows[i].规定到货时间))
if (parseInt(response.data.rows[i].合同物料到货总数) === parseInt(response.data.rows[i].合同物料采购总数)) {
this.judge[i] = 1
} else if (parseInt(response.data.rows[i].合同物料到货总数) !== parseInt(response.data.rows[i].合同物料采购总数) && (this.now - this.arrival[i]) > 0 && (this.now - this.arrival[i]) < 86400000) {
this.judge[i] = 2
} else if (parseInt(response.data.rows[i].合同物料到货总数) !== parseInt(response.data.rows[i].合同物料采购总数) && (this.now - this.arrival[i]) > 86400000) {
this.judge[i] = 3
} else if (parseInt(response.data.rows[i].合同物料到货总数) !== parseInt(response.data.rows[i].合同物料采购总数) && (this.now - this.arrival[i]) < 0) {
this.judge[i] = 4
}
}
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
handleSizeChange1(val) {
this.pageSize1 = val
this.pageCurrent1 = 1
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
searchTable2(row) {
searchArrivalNum(row.采购合同流水号).then(response => {
this.tableData2 = response.data
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
.el-tag{
margin: 0
}
</style>

View File

@@ -0,0 +1,812 @@
<template>
<div class="app-container">
<el-card class="searchContract">
<el-form ref="form1" :model="form1" label-position="right" label-width="130px" class="searchForm">
<el-row>
<el-col :span="6">
<el-form-item label="请购单号/合同编号">
<el-select v-model="contractNumValue" size="small" @change="searchData">
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="合同名称">
<el-input v-model="contractName" size="small"/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="供应商">
<el-input v-model="supplierName" size="small" readonly clearable @dblclick.native="dialogVisible1=true;submitDisable=true" @clear="emptySupplierDetail"/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="付款方式">
<el-select v-model="payMethodValue" placeholder="付款方式" size="small" @change="payMethodChange">
<el-option
v-for="item in payMethod"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="币种">
<el-select v-model="currencyValue" placeholder="币种" size="small" clearable>
<el-option
v-for="item in currency"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="第1次付款时间">
<el-select v-model="payTime1Value" placeholder="请选择" size="small" clearable>
<el-option
v-for="item in payTime1"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="第2次付款时间">
<el-select v-model="payTime2Value" :disabled="disable2" placeholder="请选择" size="small" clearable>
<el-option
v-for="item in payTime2"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="第3次付款时间">
<el-select v-model="payTime3Value" :disabled="disable3" placeholder="请选择" size="small" clearable>
<el-option
v-for="item in payTime3"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="第4次付款时间">
<el-select v-model="payTime4Value" :disabled="disable4" placeholder="请选择" size="small" clearable>
<el-option
v-for="item in payTime4"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="第5次付款时间">
<el-select v-model="payTime5Value" :disabled="disable5" placeholder="请选择" size="small" clearable>
<el-option
v-for="item in payTime5"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
</el-col>
<!--<el-col :span="6">-->
<!--<el-form-item label="第6次付款时间">-->
<!--<el-select v-model="payTime6Value" placeholder="请选择" :disabled="disable6" size="small" clearable>-->
<!--<el-option-->
<!--v-for="item in payTime6"-->
<!--:key="item.value"-->
<!--:label="item.label"-->
<!--:value="item.value">-->
<!--</el-option>-->
<!--</el-select>-->
<!--</el-form-item>-->
<!--</el-col>-->
<el-col :span="6">
<el-form-item label="计划到货时间">
<el-date-picker
v-model="planArrivalTime"
size="small"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="选择日期"/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="规定到货时间">
<el-date-picker
v-model="stipulateArrivalTime"
size="small"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
placeholder="选择日期"
@change="contractChange"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="6">
<el-form-item label="采购员">
<el-input v-model="name" size="small" readonly/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="运费">
<el-input v-model="freight" size="small"/>
</el-form-item>
</el-col>
<el-col :span="6">
<el-form-item label="税率">
<el-input v-model="taxRate" size="small"/>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-card>
<el-card>
<el-table v-loading="loading" :data="tableData3" border style="width: 100%;max-height: 400px;" height="400px" size="mini">
<el-table-column label="参考价格" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.参考价格 }}
</template>
</el-table-column>
<el-table-column label="单价" align="center" width="100">
<template slot-scope="scope">
<el-input v-model="scope.row.单价" size="mini" style="width:70px"/>
</template>
</el-table-column>
<el-table-column label="发货天数" align="center" width="100">
<template slot-scope="scope">
<el-input v-model="deliveryDay[scope.$index]" size="mini" style="width:70px"/>
</template>
</el-table-column>
<el-table-column label="物料名称" align="center" min-width="200">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="物料型号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column label="物料规格" align="center" width="200">
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<el-table-column label="订货数量" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.零件数量 }}
</template>
</el-table-column>
<el-table-column label="金额" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.金额 }}
</template>
</el-table-column>
<el-table-column label="物料计划到货时间" align="center" width="150">
<template slot-scope="scope">
{{ scope.row.物料计划到货时间 }}
</template>
</el-table-column>
<!--<el-table-column label="计算方式" align="center" width="110">-->
<!--<template slot-scope="scope">-->
<!--<el-select v-model="calculateWayValue[scope.$index]" style="width:75px" size="mini">-->
<!--<el-option-->
<!--v-for="item in calculateWay"-->
<!--:key="item.value"-->
<!--:label="item.label"-->
<!--:value="item.value">-->
<!--</el-option>-->
<!--</el-select>-->
<!--</template>-->
<!--</el-table-column>-->
<!--<el-table-column label="重量" align="center" width="100">-->
<!--<template slot-scope="scope">-->
<!--<el-input size="mini" v-model="weight[scope.$index]" style="width:70px"></el-input>-->
<!--</template>-->
<!--</el-table-column>-->
</el-table>
<el-button
type="primary"
size="small"
icon=""
style="margin-top:10px"
@click="calculateContractSum">计算合同总额</el-button>
<span>合同总额:</span>
<el-input v-model="contractSum" size="small"/>
</el-card>
<el-card>
<el-table
:data="tableData2"
:show-header="false"
highlight-current-row
border
height="280px"
style="width: 250px;display:inline-block;max-height: 280px;"
size="mini"
@row-click="searchDemo">
<el-table-column align="center" label="合同模板名称">
<template slot-scope="scope">
{{ scope.row.合同模板名称 }}
</template>
</el-table-column>
</el-table>
<el-input :rows="20" v-model="textArea" type="textarea" style="width:calc(99% - 250px);float:right;margin-bottom: 20px" resize="none"/>
<el-button
type="primary"
size="small"
icon=""
style="margin-left: 4.5%"
@click="doneContract">生成采购合同</el-button>
<!--<el-button type="primary" size="small" icon="" style="float:right;margin: 0 10px 15px 0"-->
<!--@click="doneContract">生成采购合同</el-button>-->
</el-card>
<el-dialog :visible.sync="dialogVisible1" title="供应商选择" center style="min-height: 300px">
<el-form ref="form1" :model="form1" label-position="left" label-width="90px" class="searchForm">
<el-row>
<el-col :span="12">
<el-form-item label="供应商名称">
<el-input v-model="supplierName" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="企业性质">
<el-input v-model="enterpriseNature" size="small"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="货期">
<el-input v-model="goodTime" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="注册资本">
<el-input v-model="registeredCapital" size="small"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="税号">
<el-input v-model="taxNum" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="电子邮箱">
<el-input v-model="EMail" size="small"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="地址">
<el-input v-model="address" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="账号">
<el-input v-model="account" size="small"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="开户行">
<el-input v-model="openingBank" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="电话号码">
<el-input v-model="phone" size="small"/>
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-col :span="12">
<el-form-item label="传真">
<el-input v-model="fax" size="small"/>
</el-form-item>
</el-col>
<el-col :span="12">
<el-button
type="success"
size="small"
icon="el-icon-search"
@click="searchSupplier">查询</el-button>
<el-button
:disabled="submitDisable"
type="primary"
size="small"
icon="el-icon-check"
@click="submitSelectSupplier">确定</el-button>
<el-button
type="danger"
size="small"
icon="el-icon-delete"
@click="emptySupplierDetail">清空</el-button>
</el-col>
</el-row>
<el-table :data="tableData01" size="mini" style="width: 97%;max-height: 300px;margin-top:15px" height="200px" border @row-click="showSupplierDetail">
<el-table-column align="center" label="供应商名称" width="200">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="企业性质">
<template slot-scope="scope">
{{ scope.row.企业性质 }}
</template>
</el-table-column>
<el-table-column align="center" label="创立日期">
<template slot-scope="scope">
{{ scope.row.创立日期 }}
</template>
</el-table-column>
<el-table-column align="center" label="注册资本">
<template slot-scope="scope">
{{ scope.row.注册资本 }}
</template>
</el-table-column>
</el-table>
</el-form>
</el-dialog>
</div>
</template>
<script>
import { searchSupplier, initPayMethod, initPayTimeNode, searchSheetContract, doneContract, initPurchaseOrder, searchData, searchContractDemo } from '@/api/WorkshopProcurement/CreatingProcurementContracts'
import { mapGetters } from 'vuex'
export default {
inject: ['reload'],
data() {
return {
submitDisable: true, // 不点击表格中的行不让确定
loading: false,
dialogVisible1: false,
disable2: true,
disable3: true,
disable4: true,
disable5: true,
disable6: true,
tableData01: [],
tableData2: [], // 合同模板表
form1: {},
form2: {},
textArea: '',
paramRow: '', // 参数row
contractSum: 0,
deliveryDay: [],
contractNumValue: '',
RequisitionNumber: '',
contractNum: [], // 合同号
contractName: '产品购销合同', // 合同名称
supplierName: '', // 供应商
supplier: [],
supplierValue: '', // 供应商流水号
enterpriseNature: '', // 企业性质
createDate: '', // 创立日期
registeredCapital: '', // 注册资本
taxNum: '', // 税号
EMail: '', // 电子邮箱
address: '', // 地址
account: '', // 账户
openingBank: '', // 开户行
phone: '', // 电话号码
fax: '', // 传真
goodTime: '', // 货期
supplierCheck1: 0,
supplierCheck2: 0,
supplierCheck3: 0,
supplierCheck4: 0,
supplierCheck5: 0,
supplierCheck6: 0,
supplierCheck7: 0,
supplierCheck8: 0,
supplierCheck9: 0,
supplierCheck10: 0,
supplierCheck11: 0,
supplierCheck12: 0,
payMethod: [], // 付款方式
payMethodValue: 1,
payMethodName: '货到付款',
currency: [{
label: '人民币',
value: 1
}, {
label: '美元',
value: 2
}, {
label: '英镑',
value: 3
}, {
label: '欧元',
value: 4
}], // 币种
currencyValue: 1,
payTime1: [],
payTime1Value: 1,
payTime2: [],
payTime2Value: 1,
payTime3: [],
payTime3Value: 1,
payTime4: [],
payTime4Value: 1,
payTime5: [],
payTime5Value: 1,
payTime6: [],
payTime6Value: 1,
planArrivalTime: '', // 计划到货时间
stipulateArrivalTime: '', // 规定到货时间
freight: '', // 运费
taxRate: '', // 税率
tableData3: [],
groupNum1: [],
group1: '',
group2: '',
group3: '',
group4: '',
group5: '',
group6: '',
group7: '',
group8: '',
group9: '',
group10: ''
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id'
])
},
created() {
this.fetchData()
},
methods: {
searchData() {
searchData(this.contractNumValue).then(response => {
this.tableData3 = response.data
for (let i = 0; i < response.data.length; i++) {
this.deliveryDay[i] = 0
this.tableData3[i].金额 = parseFloat(this.tableData3[i].单价) * parseFloat(this.tableData3[i].零件数量)
}
}).then(() => {
this.groupNum1 = this.tableData3 // 给中间变量需要时重新push
})
},
calculateContractSum() { // 计算合同总额
this.contractSum = 0
this.costAccount = 0
this.riseFallPoint = 0
this.tableData3 = []
for (let i = 0; i < this.groupNum1.length; i++) {
this.groupNum1[i].金额 = parseFloat(this.groupNum1[i].单价) * parseFloat(this.groupNum1[i].零件数量)
this.contractSum += parseFloat(this.groupNum1[i].金额)
this.tableData3.push(this.groupNum1[i])
}
this.contractSum = this.contractSum.toFixed(2)
this.costAccount = this.contractSum
if (parseInt(this.costAccount) === 0) {
this.$message.error('成本核算不可为0')
} else {
this.riseFallPoint = (this.contractSum - this.costAccount) / this.costAccount
this.riseFallPoint = this.riseFallPoint.toFixed(2)
}
},
searchDemo(row = this.paramRow) {
for (let i = 0; i < this.payMethod.length; i++) {
if (this.payMethod[i].value === this.payMethodValue) {
this.payMethodName = this.payMethod[i].label
}
}
this.paramRow = row
searchContractDemo(this.paramRow.合同模板流水号).then(response => {
this.textArea = response.data[0].合同模板内容.replace('stipulateArrivalTime', this.stipulateArrivalTime).replace('payMethodName', this.payMethodName)
})
},
contractChange() {
searchSheetContract(this.inquirySheetFlowNum).then(response => {
for (let i = 0; i < this.deliveryDay.length; i++) {
this.stipulateArrivalTime
? (this.deliveryDay[i] = parseInt((Date.parse(this.stipulateArrivalTime) - new Date()) / (1000 * 60 * 60 * 24)))
: (this.deliveryDay[i] = 0)
}
this.tableData3 = response.data
this.calculateContractSum()
this.searchDemo(this.paramRow)
})
},
fetchData() {
searchContractDemo().then(response => { // 初始化合同模板
this.tableData2 = response.data
})
this.payMethod = []
initPayMethod().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.payMethod.push({
label: response.data[i].付款方式内容,
value: response.data[i].付款方式流水号
})
}
})
this.payTime1 = []
this.payTime2 = []
this.payTime3 = []
this.payTime4 = []
this.payTime5 = []
this.payTime6 = []
initPayTimeNode().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.payTime1.push({
label: response.data[i].付款时间节点名称,
value: response.data[i].付款时间节点流水号
})
this.payTime2.push({
label: response.data[i].付款时间节点名称,
value: response.data[i].付款时间节点流水号
})
this.payTime3.push({
label: response.data[i].付款时间节点名称,
value: response.data[i].付款时间节点流水号
})
this.payTime4.push({
label: response.data[i].付款时间节点名称,
value: response.data[i].付款时间节点流水号
})
this.payTime5.push({
label: response.data[i].付款时间节点名称,
value: response.data[i].付款时间节点流水号
})
this.payTime6.push({
label: response.data[i].付款时间节点名称,
value: response.data[i].付款时间节点流水号
})
}
})
this.getSelect(initPurchaseOrder, ['请购单编号', '请购单流水号'], 'contractNum')
},
searchSupplier() { // 查询创立日期和注册资本大于符合条件的数据
this.supplierName ? this.supplierCheck1 = 1 : (this.supplierCheck1 = 0, this.supplierName = '')
this.enterpriseNature ? this.supplierCheck2 = 1 : (this.supplierCheck2 = 0, this.enterpriseNature = '')
this.createDate ? this.supplierCheck3 = 1 : (this.supplierCheck3 = 0, this.createDate = '')
this.registeredCapital ? this.supplierCheck4 = 1 : (this.supplierCheck4 = 0, this.registeredCapital = '')
this.taxNum ? this.supplierCheck5 = 1 : (this.supplierCheck5 = 0, this.taxNum = '')
this.EMail ? this.supplierCheck6 = 1 : (this.supplierCheck6 = 0, this.EMail = '')
this.address ? this.supplierCheck7 = 1 : (this.supplierCheck7 = 0, this.address = '')
this.account ? this.supplierCheck8 = 1 : (this.supplierCheck8 = 0, this.account = '')
this.openingBank ? this.supplierCheck9 = 1 : (this.supplierCheck9 = 0, this.openingBank = '')
this.phone ? this.supplierCheck10 = 1 : (this.supplierCheck10 = 0, this.phone = '')
this.fax ? this.supplierCheck11 = 1 : (this.supplierCheck11 = 0, this.fax = '')
this.goodTime ? this.supplierCheck12 = 1 : (this.supplierCheck12 = 0, this.goodTime = '')
searchSupplier(this.supplierCheck1, this.supplierName, this.supplierCheck2, this.enterpriseNature, this.supplierCheck3, this.createDate, this.supplierCheck4, this.registeredCapital, this.supplierCheck5, this.taxNum, this.supplierCheck6, this.EMail, this.supplierCheck7, this.address, this.supplierCheck8, this.account, this.supplierCheck9, this.openingBank, this.supplierCheck10, this.phone, this.supplierCheck11, this.fax, this.supplierCheck12, this.goodTime).then(response => {
this.tableData01 = response.data
})
},
submitSelectSupplier() { // 确定选择供应商
this.dialogVisible1 = false
},
emptySupplierDetail() { // 清空
this.submitDisable = true
this.supplierValue = ''
this.supplierName = ''
this.enterpriseNature = ''
this.createDate = ''
this.registeredCapital = ''
this.taxNum = ''
this.EMail = ''
this.address = ''
this.account = ''
this.openingBank = ''
this.phone = ''
this.fax = ''
this.goodTime = ''
},
showSupplierDetail(row) {
this.submitDisable = false
this.form2.supplierValue = row.供应商流水号
this.form2.supplierName = row.供应商名称
this.supplierValue = row.供应商流水号
this.supplierName = row.供应商名称
this.enterpriseNature = row.企业性质
this.createDate = row.创立日期
this.registeredCapital = row.注册资本
this.taxNum = row.税号
this.EMail = row.电子信箱
this.address = row.地址
this.account = row.帐号
this.openingBank = row.开户行
this.phone = row.电话号码
this.fax = row.传真
this.goodTime = row.货期
},
doneContract() { // 生成采购合同
if (this.contractNumValue === '') {
this.$message.error('请选择生成合同的询价单')
} else if (this.stipulateArrivalTime === '' || this.stipulateArrivalTime === null) {
this.$message.error('请选择规定到货时间!')
} else {
for (let i = 0; i < this.deliveryDay.length; i++) {
if (parseInt(this.deliveryDay[i]) < 0) {
this.$message.error('规定到货日期不可小于当前日期')
return
}
}
this.group1 = ''
this.group2 = ''
this.group3 = ''
this.group4 = ''
this.group5 = ''
this.group6 = ''
this.group7 = ''
this.group8 = ''
this.group9 = ''
this.group10 = ''
for (let i = 0; i < this.tableData3.length; i++) {
this.group1 += this.tableData3[i].物料流水号 + ','
this.group2 += this.tableData3[i].零件数量 + ','
this.group3 += this.tableData3[i].单价 + ','
this.group4 += this.deliveryDay[i] + ','
this.group7 += this.taxRate + ','
this.group8 += this.currencyValue + ','
this.group9 += this.tableData3[i].请购单明细流水号 + ','
}
for (let i = 0; i < this.contractNum.length; i++) {
if (this.contractNum[i].value === this.contractNumValue) {
this.RequisitionNumber = this.contractNum[i].label
}
}
for (let i = 0; i < this.payMethod.length; i++) {
if (this.payMethod[i].value === this.payMethodValue) {
this.payMethodName = this.payMethod[i].label
}
}
const payTimeNum = this.payMethodName.split(':')
if (payTimeNum.length > 1) {
for (let i = 0; i < payTimeNum.length; i++) {
switch (i) {
case 0:
this.group6 += this.payTime1Value + ','
break
case 1:
this.group6 += this.payTime2Value + ','
break
case 2:
this.group6 += this.payTime3Value + ','
break
case 3:
this.group6 += this.payTime4Value + ','
break
case 4:
this.group6 += this.payTime5Value + ','
break
case 5:
this.group6 += this.payTime6Value + ','
break
}
this.group5 += payTimeNum[i] + ',' // 付款比例 付款方式 付款计划
}
} else {
this.group5 = '10,' // 付款比例 付款方式 付款计划
this.group6 = this.payTime1Value + ',' // 付款时间
}
this.group1 = this.group1.substr(0, this.group1.length - 1)
this.group2 = this.group2.substr(0, this.group2.length - 1)
this.group3 = this.group3.substr(0, this.group3.length - 1)
this.group4 = this.group4.substr(0, this.group4.length - 1)
this.group5 = this.group5.substr(0, this.group5.length - 1)
this.group6 = this.group6.substr(0, this.group6.length - 1)
this.group7 = this.group7.substr(0, this.group7.length - 1)
this.group8 = this.group8.substr(0, this.group8.length - 1)
this.group9 = this.group9.substr(0, this.group9.length - 1)
this.group10 = this.group10.substr(0, this.group10.length - 1)
doneContract(this.contractNumValue, this.RequisitionNumber, this.contractName, this.planArrivalTime, this.stipulateArrivalTime, this.payMethodName, this.supplierValue, this.textArea, this.freight, this.group1, this.group2, this.group3, this.group4, this.group5, this.group6, this.group7, this.group8, this.group9, this.id).then(response => {
if (response.data[0].result === '1') {
this.$message.success('生成合同成功')
this.reload()
} else { this.$message.error('生成合同失败') }
})
}
},
payMethodChange() { // 付款方式改变
for (let i = 0; i < this.payMethod.length; i++) {
if (this.payMethod[i].value === this.payMethodValue) {
this.payMethodName = this.payMethod[i].label
}
}
const payTimeNum = this.payMethodName.split(':')
switch (payTimeNum.length) {
case 1:
this.disable2 = true
this.disable3 = true
this.disable4 = true
this.disable5 = true
this.disable6 = true
break
case 2:
this.disable2 = false
this.disable3 = true
this.disable4 = true
this.disable5 = true
this.disable6 = true
break
case 3:
this.disable2 = false
this.disable3 = false
this.disable4 = true
this.disable5 = true
this.disable6 = true
break
case 4:
this.disable2 = false
this.disable3 = false
this.disable4 = false
this.disable5 = true
this.disable6 = true
break
case 5:
this.disable2 = false
this.disable3 = false
this.disable4 = false
this.disable5 = false
this.disable6 = true
break
case 6:
this.disable2 = false
this.disable3 = false
this.disable4 = false
this.disable5 = false
this.disable6 = false
break
}
this.fetchData()
},
exportExcel() {}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:200px
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
</style>

View File

@@ -0,0 +1,486 @@
<template>
<div class="app-container">
<el-card>
<span>开始时间:</span>
<el-date-picker
v-model="startDate"
size="small"
type="date"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
placeholder="选择日期"/>
<span>结束时间:</span>
<el-date-picker
v-model="endDate"
size="small"
type="date"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
placeholder="选择日期"/>
<span>合同号:</span>
<el-input v-model="contractNum" placeholder="合同号" size="small" style="width:180px" clearable/>
<span>采购员:</span>
<el-input
v-model="buyerName"
placeholder="采购员"
size="small"
readonly
clearable
style="width:100px"
@dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<el-table v-loading="loading1" :data="tableData1" size="mini" border style="width: 100%;">
<el-table-column label="采购合同编号" min-width="150" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" min-width="150" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" width="100" align="center">
<template slot-scope="scope">
{{ scope.row.规定到货时间 }}
</template>
</el-table-column>
<el-table-column label="供应商" min-width="200" align="center">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="总金额" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="付款方式" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" min-width="100" align="center">
<template slot-scope="scope">
{{ scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="采购员" width="70" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="本次请款金额" min-width="100" align="center">
<template slot-scope="scope">
<el-input v-model="scope.row.本次应请款" size="mini" style="width:70px"/>
</template>
</el-table-column>
<el-table-column label="请款付款情况" width="810" align="center">
<template slot-scope="scope">
<el-table v-show="tableData11[scope.$index].length!==0" :data="tableData11[scope.$index]" size="mini" border style="width: 100%;">
<el-table-column label="次数" min-width="60" align="center" type="index"/>
<el-table-column label="请款金额" width="70" align="center">
<template slot-scope="scope">
{{ scope.row.请款金额 }}
</template>
</el-table-column>
<el-table-column label="请款时间" width="90" align="center">
<template slot-scope="scope">
{{ scope.row.请款时间 }}
</template>
</el-table-column>
<el-table-column label="审核情况内容" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.审核情况内容 }}
</template>
</el-table-column>
<el-table-column label="未通过审核原因" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.未通过审核原因 }}
</template>
</el-table-column>
<el-table-column label="审批情况内容" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.审批情况内容 }}
</template>
</el-table-column>
<el-table-column label="未通过审批原因" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.未通过审批原因 }}
</template>
</el-table-column>
<el-table-column label="付款情况" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.付款情况内容 }}
</template>
</el-table-column>
<el-table-column label="未付款原因" width="80" align="center">
<template slot-scope="scope">
{{ scope.row.未付款原因 }}
</template>
</el-table-column>
<el-table-column width="100" align="center">
<template slot-scope="scope">
<el-button
type="danger"
size="mini"
icon=""
@click="cancelRequestFund(scope.row)">取消请款</el-button>
</template>
</el-table-column>
</el-table>
</template>
</el-table-column>
<el-table-column label="请款" min-width="80" align="center" fixed="right">
<template slot-scope="scope">
<el-button
type="primary"
size="mini"
icon=""
@click="requestFund(scope.row)">请款</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
</el-card>
<el-card>
<span>请款开始时间:</span>
<el-date-picker
v-model="startRequestDate"
size="small"
type="date"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
placeholder="选择日期"/>
<span>请款结束时间:</span>
<el-date-picker
v-model="endRequestDate"
size="small"
type="date"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
placeholder="选择日期"/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="searchRequestTable">查询</el-button>
<el-button
type="warning"
size="small"
icon="el-icon-download"
style="margin-left:10px">导出Excel</el-button>
</el-card>
<el-card>
<el-table v-loading="loading2" :data="tableData2" size="mini" border style="width: 100%;min-height:300px" height="300px">
<el-table-column label="采购合同编号" min-width="150" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" min-width="150" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" width="100" align="center">
<template slot-scope="scope">
{{ scope.row.规定到货时间 }}
</template>
</el-table-column>
<el-table-column label="供应商" min-width="150" align="center">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="总金额" min-width="80" align="center">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="付款方式" min-width="80" align="center">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" min-width="80" align="center">
<template slot-scope="scope">
{{ scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="采购员" width="70" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="请款金额" min-width="80" align="center">
<template slot-scope="scope">
{{ scope.row.请款金额 }}
</template>
</el-table-column>
<el-table-column label="请款时间" width="100" align="center">
<template slot-scope="scope">
{{ scope.row.请款时间 }}
</template>
</el-table-column>
</el-table>
</el-card>
<el-dialog :visible.sync="dialogVisible2" title="采购员选择" center style="min-height: 300px;" width="40%">
<el-table
:data="tableData02"
size="small"
border
style="width: 100%;min-height:300px"
height="300px"
highlight-current-row
@row-click="clickBuyer">
<el-table-column label="考勤编号" align="center">
<template slot-scope="scope">
{{ scope.row.考勤编号 }}
</template>
</el-table-column>
<el-table-column label="姓名" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="性别" align="center">
<template slot-scope="scope">
{{ scope.row.性别 }}
</template>
</el-table-column>
<el-table-column label="工作岗位" align="center">
<template slot-scope="scope">
{{ scope.row.岗位名称 }}
</template>
</el-table-column>
</el-table>
<div slot="footer" class="dialog-footer">
<el-button :disabled="submitDisable" type="primary" size="small" icon="el-icon-check" @click="submitSelectBuyer">确定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { searchTable1, requestFund, searchCondition, cancelRequestFund, searchRequestTable, initBuyer } from '@/api/WorkshopProcurement/DepartmentBuyerRequestFund'
import { mapGetters } from 'vuex'
export default {
data() {
return {
tableData02: [],
dialogVisible2: false,
loading2: false,
tableData2: [],
tableData11: [],
total1: 0,
pageCurrent1: 1,
pageSize1: 10,
startDate: '',
endDate: '',
contractNum: '',
buyerName: '',
dialogVisible1: false,
submitDisable: true,
form1: {},
supplierValue: '',
supplierName: '',
enterpriseNature: '',
createDate: '',
registeredCapital: '',
taxNum: '',
EMail: '',
address: '',
account: '',
openingBank: '',
phone: '',
fax: '',
goodTime: '',
supplierCheck1: 0,
supplierCheck2: 0,
supplierCheck3: 0,
supplierCheck4: 0,
supplierCheck5: 0,
supplierCheck6: 0,
supplierCheck7: 0,
supplierCheck8: 0,
supplierCheck9: 0,
supplierCheck10: 0,
supplierCheck11: 0,
supplierCheck12: 0,
tableData01: [],
loading1: false,
tableData1: [],
check1: 0,
check2: 0,
check3: 0,
check4: 0,
startRequestDate: '',
endRequestDate: '',
checkRequest: 0
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id'
])
},
methods: {
submitSelectBuyer() { // 确定
this.dialogVisible2 = false
},
clickBuyer(row) { // 点击采购员表某一行
this.submitDisable = false
this.buyerName = row.姓名
},
initBuyer() { // 初始化采购人员
initBuyer().then(response => {
this.tableData02 = response.data
})
},
searchTable1() {
this.loading1 = true
this.tableData1 = []
this.startDate && this.endDate ? this.check1 = 1 : this.check1 = 0
this.contractNum ? this.check2 = 1 : this.check2 = 0
this.buyerName ? this.check3 = 1 : this.check3 = 0
this.supplierName ? this.check4 = 1 : this.check4 = 0
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startDate, this.endDate, this.check2, this.contractNum, this.check3, this.buyerName, this.check4, this.supplierName).then(response => {
for (let j = 0; j < response.data.rows.length; j++) {
if (response.data.rows[j].规定到货时间 !== null) {
response.data.rows[j].规定到货时间 = response.data.rows[j].规定到货时间.substring(0, response.data.rows[j].规定到货时间.indexOf(' '))
}
this.tableData11[j] = []
searchCondition(response.data.rows[j].采购合同流水号).then(response0 => {
this.tableData1 = response.data.rows
this.total1 = response.data.total
for (let i = 0; i < response0.data.length; i++) {
if (response0.data[i].请款时间 !== null) {
response0.data[i].请款时间 = response0.data[i].请款时间.substring(0, response0.data[i].请款时间.indexOf(' '))
}
this.tableData11[j].push(response0.data[i])
}
})
}
}).then(() => {
this.loading1 = false
})
},
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
requestFund(row) { // 请款
const day1 = new Date()
const day2 = day1.getFullYear() + '-' + (day1.getMonth() + 1) + '-' + day1.getDate()
requestFund(row.采购合同流水号, row.本次应请款, day2, this.id).then(response => {
if (response.data[0].result === '1') {
this.$message.success('请款成功')
this.searchTable1()
this.startRequestDate = ''
this.endRequestDate = ''
this.tableData2 = []
} else { this.$message.error('请款失败') }
})
},
cancelRequestFund(row) { // 取消请款
this.$confirm('确认取消请款吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
if (parseInt(row.采购科请款流水号) !== 1) {
cancelRequestFund(row.采购科请款流水号).then(response => {
if (response.data[0].result === '1') {
this.$message.success('操作成功')
this.searchTable1()
this.startRequestDate = ''
this.endRequestDate = ''
this.tableData2 = []
} else { this.$message.error('操作失败') }
})
} else {
this.$message.error('财务已经付款')
}
}).catch(() => {
this.$message({
type: 'info',
message: '已取消操作'
})
})
},
searchRequestTable() { // 查询请款表
this.loading2 = true
if (this.startRequestDate === '' || this.startRequestDate === null || this.endRequestDate === '' || this.endRequestDate === null) {
this.checkRequest = 0
} else { this.checkRequest = 1 }
searchRequestTable(this.checkRequest, this.startRequestDate, this.endRequestDate).then(response => {
for (let j = 0; j < response.data.length; j++) {
if (response.data[j].规定到货时间 !== null) {
response.data[j].规定到货时间 = response.data[j].规定到货时间.substring(0, response.data[j].规定到货时间.indexOf(' '))
}
if (response.data[j].请款时间 !== null) {
response.data[j].请款时间 = response.data[j].请款时间.substring(0, response.data[j].请款时间.indexOf(' '))
}
}
this.tableData2 = response.data
this.loading2 = false
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:150px!important;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
</style>

View File

@@ -0,0 +1,184 @@
<template>
<div class="app-container">
<el-card>
<el-table v-loading="" :data="tableData" border style="width: 100%;max-height: 500px;" height="600px" size="mini">
<el-table-column label="采购合同编号" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间.split(' ')[0] }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="已付金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.已付金额 }}
</template>
</el-table-column>
<el-table-column label="请款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.请款金额 }}
</template>
</el-table-column>
<el-table-column label="审核" align="center" min-width="200">
<template slot-scope="scope">
<el-button type="primary" size="mini" icon="el-icon-check" @click="yesApproval(scope.row)">通过</el-button>
<el-button type="danger" size="mini" icon="el-icon-close" @click="noApproval(scope.row)">不通过</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize"
:total="total"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
</div>
</el-card>
</div>
</template>
<script>
import { execApproval, initApproval1 } from '@/api/WorkshopProcurement/FundApproval'
import { mapGetters } from 'vuex'
export default {
name: '', // 财务审核
data() {
return {
tableData: [],
pageSize: 10,
pageCurrent: 1,
total: 0,
gridData: []
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
this.searchTable()
},
searchTable() {
initApproval1(this.pageCurrent, this.pageSize, 1).then(response => {
this.tableData = response.data.rows
this.total = response.data.total
})
},
handleSizeChange(val) {
this.pageSize = val
this.pageCurrent = 1
this.searchTable()
},
handleCurrentChange(val) {
this.pageCurrent = val
this.searchTable()
},
yesApproval(row) { // 通过审核
this.$confirm('确定审核通过?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
execApproval(row.采购科请款流水号, 1, '通过', this.id, 1).then(response => {
if (response.data[0].result === '1') {
this.$message.success('执行成功')
this.searchTable()
} else { this.$message.error('执行失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消操作'
})
})
},
noApproval(row) { // 不通过审核
this.$prompt('请输入不通过原因', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消'
}).then(({ value }) => {
execApproval(row.采购科请款流水号, 2, value, this.id, 1).then(response => {
if (response.data[0].result === '1') {
this.$message.success('执行成功')
this.searchTable()
} else { this.$message.error('执行失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消操作'
})
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
.el-tag{
margin: 0
}
</style>

View File

@@ -0,0 +1,184 @@
<template>
<div class="app-container">
<el-card>
<el-table v-loading="" :data="tableData" border style="width: 100%;max-height: 500px;" height="500px" size="mini">
<el-table-column label="采购合同编号" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间.split(' ')[0] }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="已付金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.已付金额 }}
</template>
</el-table-column>
<el-table-column label="请款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.请款金额 }}
</template>
</el-table-column>
<el-table-column label="审核" align="center" min-width="200">
<template slot-scope="scope">
<el-button type="primary" size="mini" icon="el-icon-check" @click="yesApproval(scope.row)">通过</el-button>
<el-button type="danger" size="mini" icon="el-icon-close" @click="noApproval(scope.row)">不通过</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize"
:total="total"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
</div>
</el-card>
</div>
</template>
<script>
import { execApproval, initApproval1 } from '@/api/WorkshopProcurement/FundApproval'
import { mapGetters } from 'vuex'
export default {
name: '', // 财务审核
data() {
return {
tableData: [],
pageSize: 10,
pageCurrent: 1,
total: 0,
gridData: []
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
this.searchTable()
},
searchTable() {
initApproval1(this.pageCurrent, this.pageSize, 2).then(response => {
this.tableData = response.data.rows
this.total = response.data.total
})
},
handleSizeChange(val) {
this.pageSize = val
this.pageCurrent = 1
this.searchTable()
},
handleCurrentChange(val) {
this.pageCurrent = val
this.searchTable()
},
yesApproval(row) { // 通过审核
this.$confirm('确定审核通过?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
execApproval(row.采购科请款流水号, 1, '通过', this.id, 2).then(response => {
if (response.data[0].result === '1') {
this.$message.success('执行成功')
this.searchTable()
} else { this.$message.error('执行失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消操作'
})
})
},
noApproval(row) { // 不通过审核
this.$prompt('请输入不通过原因', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消'
}).then(({ value }) => {
execApproval(row.采购科请款流水号, 2, value, this.id, 2).then(response => {
if (response.data[0].result === '1') {
this.$message.success('执行成功')
this.searchTable()
} else { this.$message.error('执行失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消操作'
})
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
.el-tag{
margin: 0
}
</style>

View File

@@ -0,0 +1,184 @@
<template>
<div class="app-container">
<el-card>
<el-table v-loading="" :data="tableData" border style="width: 100%;max-height: 500px;" height="500px" size="mini">
<el-table-column label="采购合同编号" align="center" min-width="150">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间.split(' ')[0] }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="已付金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.已付金额 }}
</template>
</el-table-column>
<el-table-column label="请款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.请款金额 }}
</template>
</el-table-column>
<el-table-column label="审核" align="center" min-width="200">
<template slot-scope="scope">
<el-button type="primary" size="mini" icon="el-icon-check" @click="yesApproval(scope.row)">通过</el-button>
<el-button type="danger" size="mini" icon="el-icon-close" @click="noApproval(scope.row)">不通过</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize"
:total="total"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
</div>
</el-card>
</div>
</template>
<script>
import { execApproval, initApproval1 } from '@/api/WorkshopProcurement/FundApproval'
import { mapGetters } from 'vuex'
export default {
name: '', // 财务审核
data() {
return {
tableData: [],
pageSize: 10,
pageCurrent: 1,
total: 0,
gridData: []
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
this.searchTable()
},
searchTable() {
initApproval1(this.pageCurrent, this.pageSize, 3).then(response => {
this.tableData = response.data.rows
this.total = response.data.total
})
},
handleSizeChange(val) {
this.pageSize = val
this.pageCurrent = 1
this.searchTable()
},
handleCurrentChange(val) {
this.pageCurrent = val
this.searchTable()
},
yesApproval(row) { // 通过审核
this.$confirm('确定审核通过?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
execApproval(row.采购科请款流水号, 1, '通过', this.id, 3).then(response => {
if (response.data[0].result === '1') {
this.$message.success('执行成功')
this.searchTable()
} else { this.$message.error('执行失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消操作'
})
})
},
noApproval(row) { // 不通过审核
this.$prompt('请输入不通过原因', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消'
}).then(({ value }) => {
execApproval(row.采购科请款流水号, 2, value, this.id, 3).then(response => {
if (response.data[0].result === '1') {
this.$message.success('执行成功')
this.searchTable()
} else { this.$message.error('执行失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '取消操作'
})
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
.el-tag{
margin: 0
}
</style>

View File

@@ -0,0 +1,224 @@
<template>
<div class="app-container">
<el-card>
<span>采购合同号:</span>
<el-select v-model="contractNum" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNums"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left: 10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<el-table v-loading="" :data="tableData1" size="mini" style="max-height: 300px" height="300px" stripe border @row-click="searchTable2">
<el-table-column align="center" label="采购合同编号" min-width="100px">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="采购合同名称" min-width="150px">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商" min-width="200px">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="合同总金额" min-width="100px">
<template slot-scope="scope">
{{ scope.row.合同总金额 }}
</template>
</el-table-column>
<el-table-column align="center" label="到票总金额" min-width="100px">
<template slot-scope="scope">
{{ scope.row.到票总金额 }}
</template>
</el-table-column>
<el-table-column align="center" label="到票情况" min-width="200px">
<template slot-scope="scope">
<el-progress :text-inside="true" :stroke-width="18" :percentage="100*(scope.row.到票总金额/scope.row.合同总金额).toFixed(4)" status="success"/>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
<el-table v-loading="" :data="tableData2" size="mini" style="max-height: 200px;margin-top: 10px" height="200px" stripe border>
<el-table-column align="center" label="发票号" min-width="120px">
<template slot-scope="scope">
{{ scope.row.发票号 }}
</template>
</el-table-column>
<el-table-column align="center" label="开票时间" min-width="100px">
<template slot-scope="scope">
{{ scope.row.开票时间 }}
</template>
</el-table-column>
<el-table-column align="center" label="开票金额" min-width="100px">
<template slot-scope="scope">
{{ scope.row.开票金额 }}
</template>
</el-table-column>
<el-table-column align="center" label="传送人" min-width="80px">
<template slot-scope="scope">
{{ scope.row.传送人姓名 }}
</template>
</el-table-column>
<el-table-column align="center" label="接收人" min-width="80px">
<template slot-scope="scope">
{{ scope.row.接收人姓名 }}
</template>
</el-table-column>
<el-table-column align="center" label="采购合同号" min-width="120px">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="备注" min-width="200px">
<template slot-scope="scope">
{{ scope.row.备注 }}
</template>
</el-table-column>
</el-table>
</el-card>
</div>
</template>
<script>
import { searchContractInvoice, searchInvoice, initPerson, initContract } from '@/api/WorkshopProcurement/InvoiceStateSearch'
import { mapGetters } from 'vuex'
export default {
name: '', // 到票情况查询
data() {
return {
contractNumValue: '',
contractNums: [],
supplierName: '',
invoiceNum: '',
invoiceTime: '',
transmitValue: '',
selectPerson: [], // 传送人接收人
recipientValue: '',
contractNum: '',
pageCurrent1: 1,
pageSize1: 10,
total1: 0,
tableData1: [],
check1: 0,
check2: 0,
check3: 0,
check4: 0,
check5: 0,
tableData2: []
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initContract().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNums.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
initPerson().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.selectPerson.push({
label: response.data[i].姓名,
value: response.data[i].人员编号
})
}
})
},
searchTable1() {
this.contractNum ? this.check1 = 1 : this.check1 = 0
this.supplierName ? this.check2 = 1 : this.check2 = 0
searchContractInvoice(this.pageCurrent1, this.pageSize1, this.check1, this.contractNum, this.check2, this.supplierName).then(response => {
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
searchTable2(row) {
searchInvoice(row.采购合同流水号).then(response => {
for (let j = 0; j < response.data.length; j++) {
if (response.data[j].开票时间 !== null) {
response.data[j].开票时间 = response.data[j].开票时间.substring(0, response.data[j].开票时间.indexOf(' '))
}
if (response.data[j].开票时间 === '1900/1/1') {
response.data[j].开票时间 = ''
}
}
this.tableData2 = response.data
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:150px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-top: 1px;
margin-bottom: 1px;
}
</style>

View File

@@ -0,0 +1,180 @@
<template>
<div class="app-container">
<el-card>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<el-table v-loading="" :data="tableData1" stripe border style="width: 100%;max-height: 500px;" height="500px" size="mini">
<el-table-column label="采购合同编号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" min-width="120">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间.split(' ')[0] }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="欠款金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="已付金额" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.总金额 - scope.row.欠款金额 }}
</template>
</el-table-column>
<el-table-column label="付款情况" align="center" min-width="150">
<template slot-scope="scope">
<el-progress
:text-inside="true"
:stroke-width="18"
:percentage="100*((scope.row.总金额 - scope.row.欠款金额)/scope.row.总金额).toFixed(4)"
status="success"/>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
</el-card>
</div>
</template>
<script>
import { initPayState, searchPayState } from '@/api/WorkshopProcurement/PayStateSearch'
import { mapGetters } from 'vuex'
export default {
name: '', // 付款情况查询
data() {
return {
check1: 0,
check2: 0,
contractNumValue: '',
contractNum: [],
supplierName: '',
tableData1: [],
pageSize1: 10,
pageCurrent1: 1,
total1: 0,
dialogVisible1: false
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initPayState().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
},
searchTable1() {
this.contractNumValue ? this.check1 = 1 : this.check1 = 0
this.supplierName ? this.check2 = 1 : this.check2 = 0
searchPayState(this.pageCurrent1, this.pageSize1, this.check1, this.contractNumValue, this.check2, this.supplierName).then(response => {
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
handleSizeChange1(val) {
this.pageSize1 = val
this.pageCurrent1 = 1
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
.el-tag{
margin: 0
}
</style>

View File

@@ -0,0 +1,433 @@
<template>
<div class="app-container">
<el-card>
<span>时间段:</span>
<el-date-picker
v-model="startEndDate"
style="width:250px"
size="small"
type="daterange"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>采购员:</span>
<el-input v-model="buyerName" placeholder="采购员" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<el-table
v-loading="loading1"
:data="tableData1"
size="mini"
border
style="width: 100%;max-height: 300px;"
height="300px"
highlight-current-row
@row-click="searchTable2">
<el-table-column label="采购合同号" align="center" width="250">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="预到货时间" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.预到货时间 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间 }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center" width="200">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100">
<template slot-scope="scope">
<el-button type="primary" size="mini" icon="el-icon-edit-outline" @click="Open(scope.row)">审批</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
</el-card>
<el-card>
<div style="width:900px;margin-left: 350px">
<el-card>
<table id="1" cellspacing="0px" align="center" border width="100%" style="">
<tr style="height: 40px">
<td colspan="1" align="center" style="font-weight: bold">GAOJING</td>
<td colspan="3" align="center" style="font-weight: bold">产品销售合同</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">需方</td>
<td colspan="1" align="center">江苏高精机电装备有限公司</td>
<td colspan="1" align="center">合同编号</td>
<td colspan="1" align="center">{{ contract }}</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">供方</td>
<td colspan="1" align="center">{{ supplier }}</td>
<td colspan="1" align="center">签订地点</td>
<td colspan="1" align="center">江苏盐城</td>
</tr>
</table>
<div> 产品名称型号数量单价品牌</div>
<table id="2" cellspacing="0px" align="center" border width="100%" style="">
<tbody id="4">
<tr id="tableHead" style="height: 40px">
<td colspan="1" align="center">物料名称</td>
<td colspan="1" align="center">物料规格</td>
<td colspan="1" align="center">物料型号</td>
<td colspan="1" align="center">发货天数</td>
<td colspan="1" align="center">数量</td>
<td colspan="1" align="center">单价</td>
<td colspan="1" align="center">总价</td>
</tr>
</tbody>
<tfoot>
<tr style="height: 40px">
<td colspan="6">运费</td>
<td colspan="1" align="center">{{ freight }}</td>
</tr>
<tr style="height: 40px">
<td colspan="6">总价: (人民币){{ RMB }}(含0.17增值税) </td>
<td colspan="1" align="center">{{ TotalAmount }}</td>
</tr>
</tfoot>
</table>
<div id="23"/>
<!--<el-input-->
<!--type="textarea"-->
<!--:rows="40" style="width:900px;margin:20px auto;display: block"-->
<!--v-model="textarea">-->
<!--</el-input>-->
</el-card>
</div>
</el-card>
<el-dialog :visible.sync="dialogVisible2" title="采购员选择" center style="min-height: 300px;" width="40%">
<el-table
:data="tableData02"
size="small"
border
style="width: 100%;min-height:300px"
height="300px"
highlight-current-row
@row-click="clickBuyer">
<el-table-column label="考勤编号" align="center">
<template slot-scope="scope">
{{ scope.row.考勤编号 }}
</template>
</el-table-column>
<el-table-column label="姓名" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="性别" align="center">
<template slot-scope="scope">
{{ scope.row.性别 }}
</template>
</el-table-column>
<el-table-column label="工作岗位" align="center">
<template slot-scope="scope">
{{ scope.row.岗位名称 }}
</template>
</el-table-column>
</el-table>
<div slot="footer" class="dialog-footer">
<el-button :disabled="submitDisable" type="primary" size="small" icon="el-icon-check" @click="submitSelectBuyer">确定</el-button>
</div>
</el-dialog>
<el-dialog :visible.sync="dialogVisible3" title="审批" center style="min-height: 300px;" width="20%">
<el-form ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
<el-form-item label="审批是否通过" prop="审批是否通过" center>
<el-select v-model="form2.审批是否通过" size="small" @change="selectChange">
<el-option
v-for="item in approval"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
<el-form-item label="未通过原因" prop="未通过原因">
<el-input v-model="form2.未通过原因" :disabled="disabled" size="small"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="submitApproval('form2')">确定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { initContract, initBuyer, searchTable1, searchTable2, submitApproval } from '@/api/WorkshopProcurement/ProcurementContractApproval'
export default {
data() {
return {
RMB: '',
TotalAmount: '',
check1: 0,
check2: 0,
check3: 0,
check4: 0,
startEndDate: '',
contract: '',
freight: '',
contractNumValue: '',
contractNum: [],
ProcurementContractNum: '',
buyerName: '',
buyerValue: '',
supplier: '',
supplierName: '',
supplierValue: '',
total1: 0,
pageCurrent1: 1,
pageSize1: 10,
tableData1: [],
loading1: false,
dialogVisible1: false,
dialogVisible3: false,
form1: {},
returns: [],
tableData01: [],
tableData02: [],
submitDisable: true,
dialogVisible2: false,
approval: [
{
value: 1,
label: '是'
},
{
value: 2,
label: '否'
}
],
disabled: true,
form2: {
审批是否通过: '',
未通过原因: ''
},
rules2: {},
tableData2: [],
textarea: ``,
contractValue: '' // 显示表2和变更合同用的变量
}
},
created() {
this.fetchData()
},
methods: {
fetchData() {
this.contractNum = []
initContract().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
},
initBuyer() { // 初始化采购人员
initBuyer().then(response => {
this.tableData02 = response.data
})
},
clickBuyer(row) { // 点击采购员表某一行
this.submitDisable = false
this.buyerName = row.姓名
this.buyerValue = row.人员编号
},
submitSelectBuyer() { // 确定
this.dialogVisible2 = false
},
searchTable1() {
this.tableData2 = []
this.textarea = ``
this.loading1 = true
if (this.startEndDate === '' || this.startEndDate === null || this.startEndDate[0] === '' || this.startEndDate[1] === '') {
this.check1 = 0
this.startEndDate = ''
} else { this.check1 = 1 }
this.contractNumValue ? this.check2 = 1 : this.check2 = 0
this.buyerName ? this.check3 = 1 : this.check3 = 0
this.supplierName ? this.check4 = 1 : this.check4 = 0
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.buyerValue, this.check4, this.supplierName).then(response => {
console.log(response)
this.loading1 = false
for (let j = 0; j < response.data.rows.length; j++) {
if (response.data.rows[j].预到货时间 !== null) {
response.data.rows[j].预到货时间 = response.data.rows[j].预到货时间.substring(0, response.data.rows[j].预到货时间.indexOf(' '))
}
if (response.data.rows[j].规定到货时间 !== null) {
response.data.rows[j].规定到货时间 = response.data.rows[j].规定到货时间.substring(0, response.data.rows[j].规定到货时间.indexOf(' '))
}
}
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
Open(row) {
console.log(row)
this.dialogVisible3 = true
this.ProcurementContractNum = row.采购合同流水号
},
selectChange() {
if (this.form2.审批是否通过 === 2) {
this.disabled = false
} else if (this.form2.审批是否通过 === 1) {
this.disabled = true
}
},
submitApproval(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
submitApproval(this.ProcurementContractNum, this.form2.审批是否通过, this.form2.未通过原因).then(response => {
if (response.data[0].result === '1') {
this.$message.success('审批成功')
this.dialogVisible3 = false
this.searchTable1()
} else { this.$message.error('审批失败') }
})
} else {
console.log('error submit!!')
return false
}
})
},
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
searchTable2(row) {
console.log(row)
this.textarea = row.合同文本
this.supplier = row.供应商名称
this.contract = row.采购合同编号
this.freight = parseInt(row.总金额) - parseInt(row.总金额_小计)
this.RMB = row.总金额_文本
this.TotalAmount = row.总金额
document.getElementById('23').innerText = this.textarea
this.contractValue = parseInt(row.采购合同流水号)
searchTable2(this.contractValue).then(response => {
this.returns = response.data
const children = document.getElementsByClassName('tableData')
const parent = document.getElementById('4')
if (children.length !== 0) {
for (let i = children.length - 1; i >= 0; i--) {
parent.removeChild(children[i])
}
}
const tr = []
for (let i = 0; i < this.returns.length; i++) {
tr[i] = document.createElement('tr')
tr[i].setAttribute('class', 'tableData')
tr[i].innerHTML = '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' +
'<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>'
document.getElementById('tableHead').after(tr[i])
}
for (let j = 0; j < this.returns.length; j++) {
document.getElementsByClassName('tableData')[j].children[0].innerHTML = response.data[j].物料名称
document.getElementsByClassName('tableData')[j].children[1].innerHTML = response.data[j].物料规格
document.getElementsByClassName('tableData')[j].children[2].innerHTML = response.data[j].物料型号
document.getElementsByClassName('tableData')[j].children[3].innerHTML = response.data[j].发货天数
document.getElementsByClassName('tableData')[j].children[4].innerHTML = response.data[j].数量
document.getElementsByClassName('tableData')[j].children[5].innerHTML = response.data[j].单价
document.getElementsByClassName('tableData')[j].children[6].innerHTML = response.data[j].金额
}
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:200px
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
</style>
<style>
.tableData{
height: 30px;
}
</style>

View File

@@ -0,0 +1,432 @@
<template>
<div class="app-container">
<el-card>
<span>时间段:</span>
<el-date-picker
v-model="startEndDate"
style="width:250px"
size="small"
type="daterange"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>采购员:</span>
<el-input v-model="buyerName" placeholder="采购员" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<span>审批情况:</span>
<el-select v-model="approvalValue" placeholder="审批情况" size="small" clearable>
<el-option
v-for="item in approval"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<el-table
v-loading="loading1"
:data="tableData1"
:row-class-name="tableRowClassName"
size="mini"
border
style="width: 100%;max-height: 300px;"
height="300px"
highlight-current-row
@row-click="searchTable2">
<el-table-column label="采购合同号" align="center" width="250">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="采购合同名称" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.规定到货时间 }}
</template>
</el-table-column>
<el-table-column label="供应商" align="center">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center" width="70">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center" width="80">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center" width="200">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="审批情况" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.审批情况内容 }}
</template>
</el-table-column>
<el-table-column label="未通过原因" align="center" width="100">
<template slot-scope="scope">
{{ scope.row.未通过原因 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100">
<template slot-scope="scope">
<el-button type="danger" size="mini" @click="Disable(scope.row)">禁用</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
</el-card>
<el-card>
<div style="width:900px;margin-left: 350px">
<el-card>
<table id="1" cellspacing="0px" align="center" border width="100%" style="">
<tr style="height: 40px">
<td colspan="1" align="center" style="font-weight: bold">GAOJING</td>
<td colspan="3" align="center" style="font-weight: bold">产品销售合同</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">需方</td>
<td colspan="1" align="center">江苏高精机电装备有限公司</td>
<td colspan="1" align="center">合同编号</td>
<td colspan="1" align="center">{{ contract }}</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">供方</td>
<td colspan="1" align="center">{{ supplier }}</td>
<td colspan="1" align="center">签订地点</td>
<td colspan="1" align="center">江苏盐城</td>
</tr>
</table>
<div> 产品名称型号数量单价品牌</div>
<table id="2" cellspacing="0px" align="center" border width="100%" style="">
<tbody id="4">
<tr id="tableHead" style="height: 40px">
<td colspan="1" align="center">物料名称</td>
<td colspan="1" align="center">物料规格</td>
<td colspan="1" align="center">物料型号</td>
<td colspan="1" align="center">发货天数</td>
<td colspan="1" align="center">数量</td>
<td colspan="1" align="center">单价</td>
<td colspan="1" align="center">总价</td>
</tr>
</tbody>
<tfoot>
<tr style="height: 40px">
<td colspan="6">运费</td>
<td colspan="1" align="center">{{ freight }}</td>
</tr>
<tr style="height: 40px">
<td colspan="6">总价: (人民币){{ RMB }}(含0.17增值税) </td>
<td colspan="1" align="center">{{ TotalAmount }}</td>
</tr>
</tfoot>
</table>
<div id="23"/>
<!--<el-input-->
<!--type="textarea"-->
<!--:rows="40" style="width:900px;margin:20px auto;display: block"-->
<!--v-model="textarea">-->
<!--</el-input>-->
</el-card>
</div>
</el-card>
<el-dialog :visible.sync="dialogVisible2" title="采购员选择" center style="min-height: 300px;" width="40%">
<el-table
:data="tableData02"
size="small"
border
style="width: 100%;min-height:300px"
height="300px"
highlight-current-row
@row-click="clickBuyer">
<el-table-column label="考勤编号" align="center">
<template slot-scope="scope">
{{ scope.row.考勤编号 }}
</template>
</el-table-column>
<el-table-column label="姓名" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="性别" align="center">
<template slot-scope="scope">
{{ scope.row.性别 }}
</template>
</el-table-column>
<el-table-column label="工作岗位" align="center">
<template slot-scope="scope">
{{ scope.row.岗位名称 }}
</template>
</el-table-column>
</el-table>
<div slot="footer" class="dialog-footer">
<el-button :disabled="submitDisable" type="primary" size="small" icon="el-icon-check" @click="submitSelectBuyer">确定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { initContract, initBuyer, searchTable1, searchTable2, Disable } from '@/api/WorkshopProcurement/ProcurementContractEnquiry'
export default {
data() {
return {
approval: [{
value: 0,
label: '全部'
}, {
value: 1,
label: '通过'
}, {
value: 2,
label: '未通过'
}, {
value: 3,
label: '未审批'
}],
approvalValue: '',
RMB: '',
TotalAmount: '',
check1: 0,
check2: 0,
check3: 0,
check4: 0,
check5: 0,
startEndDate: '',
contract: '',
freight: '',
contractNumValue: '',
contractNum: [],
ProcurementContractNum: '',
buyerName: '',
buyerValue: '',
supplier: '',
supplierName: '',
supplierValue: '',
total1: 0,
pageCurrent1: 1,
pageSize1: 10,
tableData1: [],
loading1: false,
dialogVisible1: false,
form1: {},
goodTime: '',
returns: [],
tableData02: [],
submitDisable: true,
dialogVisible2: false,
textarea: ``,
contractValue: '' // 显示表2和变更合同用的变量
}
},
created() {
this.fetchData()
},
methods: {
fetchData() {
this.contractNum = []
initContract().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
},
initBuyer() { // 初始化采购人员
initBuyer().then(response => {
this.tableData02 = response.data
})
},
clickBuyer(row) { // 点击采购员表某一行
this.submitDisable = false
this.buyerName = row.姓名
this.buyerValue = row.人员编号
},
submitSelectBuyer() { // 确定
this.dialogVisible2 = false
},
searchTable1() {
this.textarea = ``
this.loading1 = true
if (this.startEndDate === '' || this.startEndDate === null || this.startEndDate[0] === '' || this.startEndDate[1] === '') {
this.check1 = 0
this.startEndDate = ''
} else { this.check1 = 1 }
this.contractNumValue ? this.check2 = 1 : this.check2 = 0
this.buyerName ? this.check3 = 1 : this.check3 = 0
this.supplierName ? this.check4 = 1 : this.check4 = 0
if (this.approvalValue === '' || this.approvalValue === 0) {
this.check5 = 0
} else {
this.check5 = 1
}
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.buyerValue, this.check4, this.supplierName, this.check5, this.approvalValue).then(response => {
this.loading1 = false
console.log(response.data.rows)
for (let j = 0; j < response.data.rows.length; j++) {
if (response.data.rows[j].规定到货时间 !== null) {
response.data.rows[j].规定到货时间 = response.data.rows[j].规定到货时间.substring(0, response.data.rows[j].规定到货时间.indexOf(' '))
}
}
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
tableRowClassName({ row, rowIndex }) {
if (row.审批情况流水号 === '1') {
return 'adopt'
} else if (row.审批情况流水号 === '2') {
return 'NotThrough'
}
},
Disable(row) {
this.$confirm('此操作将永久禁用该行, 是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
Disable(row.采购合同流水号).then(response => {
if (response.data[0].result === '1') {
this.$message.success('禁用成功')
this.searchTable1()
} else {
this.$message.error('禁用失败')
}
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消禁用'
})
})
},
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
searchTable2(row) {
console.log(row)
this.textarea = row.合同文本
this.supplier = row.供应商名称
this.contract = row.采购合同编号
this.freight = parseInt(row.总金额) - parseInt(row.总金额_小计)
this.RMB = row.总金额_文本
this.TotalAmount = row.总金额
document.getElementById('23').innerText = this.textarea
this.contractValue = parseInt(row.采购合同流水号)
searchTable2(this.contractValue).then(response => {
this.returns = response.data
const children = document.getElementsByClassName('tableData')
const parent = document.getElementById('4')
if (children.length !== 0) {
for (let i = children.length - 1; i >= 0; i--) {
parent.removeChild(children[i])
}
}
const tr = []
for (let i = 0; i < this.returns.length; i++) {
tr[i] = document.createElement('tr')
tr[i].setAttribute('class', 'tableData')
tr[i].innerHTML = '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' +
'<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>'
document.getElementById('tableHead').after(tr[i])
}
for (let j = 0; j < this.returns.length; j++) {
document.getElementsByClassName('tableData')[j].children[0].innerHTML = response.data[j].物料名称
document.getElementsByClassName('tableData')[j].children[1].innerHTML = response.data[j].物料规格
document.getElementsByClassName('tableData')[j].children[2].innerHTML = response.data[j].物料型号
document.getElementsByClassName('tableData')[j].children[3].innerHTML = response.data[j].发货天数
document.getElementsByClassName('tableData')[j].children[4].innerHTML = response.data[j].数量
document.getElementsByClassName('tableData')[j].children[5].innerHTML = response.data[j].单价
document.getElementsByClassName('tableData')[j].children[6].innerHTML = response.data[j].金额
}
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:200px
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
</style>
<style>
.tableData{
height: 30px;
}
.el-table .adopt{
background: limegreen;
}
.el-table .NotThrough{
background: palevioletred;
}
</style>

View File

@@ -0,0 +1,192 @@
<template>
<div class="app-container">
<el-card>
<span>项目名称:</span>
<el-select v-model="projectValue" placeholder="项目名称" size="small" filterable clearable>
<el-option
v-for="item in project"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card>
<el-card>
<div style="margin-bottom: 20px;margin-left: 10px;font-size: 20px;">采购部采购</div>
<el-table v-loading="" :data="tableData1" show-summary border style="width: 100%;max-height: 500px;" height="300px" size="mini">
<el-table-column label="项目名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column label="物料名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="物料规格" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<el-table-column label="物料型号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column label="数量" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.数量 }}
</template>
</el-table-column>
<el-table-column label="单价" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.单价 }}
</template>
</el-table-column>
<el-table-column label="小计(元)" align="center" min-width="100" prop="金额">
<template slot-scope="scope">
{{ scope.row.金额 }}
</template>
</el-table-column>
</el-table>
</el-card>
<el-card>
<div style="margin-bottom: 20px;margin-left: 10px;font-size: 20px;">车间采购</div>
<el-table v-loading="" :data="tableData" show-summary border style="width: 100%;max-height: 500px;" height="300px" size="mini">
<el-table-column label="项目名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column label="物料名称" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column label="物料规格" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料规格 }}
</template>
</el-table-column>
<el-table-column label="物料型号" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column label="数量" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.数量 }}
</template>
</el-table-column>
<el-table-column label="单价" align="center" min-width="100">
<template slot-scope="scope">
{{ scope.row.单价 }}
</template>
</el-table-column>
<el-table-column label="小计(元)" align="center" min-width="100" prop="金额">
<template slot-scope="scope">
{{ scope.row.金额 }}
</template>
</el-table-column>
</el-table>
</el-card>
</div>
</template>
<script>
import { initProject, searchProjectTotal, searchProjectTotal1 } from '@/api/WorkshopProcurement/ProjectTotalSearch'
import { mapGetters } from 'vuex'
export default {
name: '', // 项目总价查询
data() {
return {
projectValue: '',
project: [],
pageCurrent1: 1,
pageSize1: 10,
total1: 0,
tableData: [],
tableData1: []
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initProject().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.project.push({
label: response.data[i].项目名称,
value: response.data[i].项目流水号
})
}
})
},
searchTable1() {
if (this.projectValue) {
searchProjectTotal(this.projectValue).then(response => {
console.log(response.data)
this.tableData1 = response.data
})
searchProjectTotal1(this.projectValue).then(response => {
console.log(response.data)
this.tableData = response.data
})
} else {
this.$message.error('请选择项目')
}
},
handleSizeChange1(val) {
this.pageSize1 = val
this.pageCurrent1 = 1
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
.el-tag{
margin: 0
}
.el-date-editor{
width:300px
}
</style>

View File

@@ -0,0 +1,626 @@
<template>
<div class="app-container">
<div style="width: 48%; float: left;margin-left: 20px">
<el-card>
<el-row>
<span>时间段:</span>
<el-date-picker
v-model="startEndDate"
style="width:250px"
size="small"
type="daterange"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>采购员:</span>
<el-input v-model="buyerName" placeholder="采购员" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true;Buyer=0"/>
</el-row>
<el-row style="margin-top: 10px">
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询现有合同</el-button>
</el-row>
<el-card>
<el-table v-loading="loading1" :data="tableData1" border style="width: 100%;max-height: 400px;" height="200px" highlight-current-row size="mini" @row-click="searchTable2">
<el-table-column label="采购合同号" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center">
<template slot-scope="scope">
{{ scope.row.规定到货时间 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" width="100" fixed="right">
<template slot-scope="scope">
<el-button type="primary" size="mini" @click="open(scope.row)">变更合同</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
</el-card>
<el-card>
<div style="width:750px">
<el-card>
<table id="1" cellspacing="0px" align="center" border width="100%" style="">
<tr style="height: 40px">
<td colspan="1" align="center" style="font-weight: bold">GAOJING</td>
<td colspan="3" align="center" style="font-weight: bold">产品销售合同</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">需方</td>
<td colspan="1" align="center">江苏高精机电装备有限公司</td>
<td colspan="1" align="center">合同编号</td>
<td colspan="1" align="center">{{ contract }}</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">供方</td>
<td colspan="1" align="center">{{ supplier }}</td>
<td colspan="1" align="center">签订地点</td>
<td colspan="1" align="center">江苏盐城</td>
</tr>
</table>
<div> 产品名称型号数量单价品牌</div>
<table id="2" cellspacing="0px" align="center" border width="100%" style="">
<tbody id="4">
<tr id="tableHead" style="height: 40px">
<td colspan="1" align="center">物料名称</td>
<td colspan="1" align="center">物料规格</td>
<td colspan="1" align="center">物料型号</td>
<td colspan="1" align="center">发货天数</td>
<td colspan="1" align="center">数量</td>
<td colspan="1" align="center">单价</td>
<td colspan="1" align="center">总价</td>
</tr>
</tbody>
<tfoot>
<tr style="height: 40px">
<td colspan="6">运费</td>
<td colspan="1" align="center">{{ freight }}</td>
</tr>
<tr style="height: 40px">
<td colspan="6">总价: (人民币){{ RMB }}(含0.17增值税) </td>
<td colspan="1" align="center">{{ TotalAmount }}</td>
</tr>
</tfoot>
</table>
<div id="23"/>
<!--<el-input-->
<!--type="textarea"-->
<!--:rows="40" style="width:900px;margin:20px auto;display: block"-->
<!--v-model="textarea">-->
<!--</el-input>-->
</el-card>
</div>
</el-card>
</el-card>
</div>
<div style="width: 48%; float: right; margin-right: 20px">
<el-card>
<el-row>
<span>时间段:</span>
<el-date-picker
v-model="startEndDate"
style="width:250px"
size="small"
type="daterange"
value-format="yyyy-MM-dd"
format="yyyy-MM-dd"
start-placeholder="开始日期"
end-placeholder="结束日期"/>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>采购员:</span>
<el-input v-model="buyerName1" placeholder="采购员" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true;buyer=1"/>
</el-row>
<el-row style="margin-top: 10px">
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left:10px"
@click="total2=0;pageCurrent2=1;pageSize2=10;searchTable3()">查询变更记录</el-button>
</el-row>
<el-card>
<el-table v-loading="loading2" :data="tableData2" border style="width: 100%;max-height: 400px" height="200px" highlight-current-row size="mini" @row-click="searchTable4">
<el-table-column label="采购合同号" align="center">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column label="规定到货时间" align="center">
<template slot-scope="scope">
{{ scope.row.规定到货时间 }}
</template>
</el-table-column>
<el-table-column label="采购员" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="总金额" align="center">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column label="付款方式" align="center">
<template slot-scope="scope">
{{ scope.row.付款方式内容 }}
</template>
</el-table-column>
<el-table-column label="变更原因" align="center">
<template slot-scope="scope">
{{ scope.row.合同变更原因 }}
</template>
</el-table-column>
<el-table-column label="变更标记" align="center">
<template slot-scope="scope">
{{ scope.row.更改标记 }}
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent2"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize2"
:total="total2"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange2"
@current-change="handleCurrentChange2"/>
</div>
</el-card>
<el-card>
<div style="width:750px">
<el-card>
<table id="3" cellspacing="0px" align="center" border width="100%" style="">
<tr style="height: 40px">
<td colspan="1" align="center" style="font-weight: bold">GAOJING</td>
<td colspan="3" align="center" style="font-weight: bold">产品销售合同</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">需方</td>
<td colspan="1" align="center">江苏高精机电装备有限公司</td>
<td colspan="1" align="center">合同编号</td>
<td colspan="1" align="center">{{ contract1 }}</td>
</tr>
<tr style="height: 40px">
<td colspan="1" align="center">供方</td>
<td colspan="1" align="center">{{ supplier1 }}</td>
<td colspan="1" align="center">签订地点</td>
<td colspan="1" align="center">江苏盐城</td>
</tr>
</table>
<div> 产品名称型号数量单价品牌</div>
<table id="5" cellspacing="0px" align="center" border width="100%" style="">
<tbody id="6">
<tr id="tableHead1" style="height: 40px">
<td colspan="1" align="center">物料名称</td>
<td colspan="1" align="center">物料规格</td>
<td colspan="1" align="center">物料型号</td>
<td colspan="1" align="center">发货天数</td>
<td colspan="1" align="center">数量</td>
<td colspan="1" align="center">单价</td>
<td colspan="1" align="center">总价</td>
</tr>
</tbody>
<tfoot>
<tr style="height: 40px">
<td colspan="6">运费</td>
<td colspan="1" align="center">{{ freight1 }}</td>
</tr>
<tr style="height: 40px">
<td colspan="6">总价: (人民币){{ RMB1 }}(含0.17增值税) </td>
<td colspan="1" align="center">{{ TotalAmount1 }}</td>
</tr>
</tfoot>
</table>
<div id="24"/>
<!--<el-input-->
<!--type="textarea"-->
<!--:rows="40" style="width:900px;margin:20px auto;display: block"-->
<!--v-model="textarea">-->
<!--</el-input>-->
</el-card>
</div>
</el-card>
</el-card>
</div>
<el-dialog :visible.sync="dialogVisible2" title="采购员选择" center style="min-height: 300px;" width="40%">
<el-table
:data="tableData02"
size="small"
border
style="width: 100%;min-height:300px"
height="300px"
highlight-current-row
@row-click="clickBuyer">
<el-table-column label="考勤编号" align="center">
<template slot-scope="scope">
{{ scope.row.考勤编号 }}
</template>
</el-table-column>
<el-table-column label="姓名" align="center">
<template slot-scope="scope">
{{ scope.row.姓名 }}
</template>
</el-table-column>
<el-table-column label="性别" align="center">
<template slot-scope="scope">
{{ scope.row.性别 }}
</template>
</el-table-column>
<el-table-column label="工作岗位" align="center">
<template slot-scope="scope">
{{ scope.row.岗位名称 }}
</template>
</el-table-column>
</el-table>
<div slot="footer" class="dialog-footer">
<el-button :disabled="submitDisable" type="primary" size="small" icon="el-icon-check" @click="submitSelectBuyer">确定</el-button>
</div>
</el-dialog>
<el-dialog :visible.sync="dialogVisible3" title="合同变更" center style="min-height: 300px;" width="20%">
<el-form ref="form2" :model="form2" :rules="rules2" label-position="left" label-width="110px" class="demo-ruleForm">
<el-form-item label="变更原因" prop="变更原因" center>
<el-input v-model="form2.变更原因" size="small"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" size="small" @click="submitContract('form2')">确定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { initContract, initBuyer, searchTable1, searchTable2, searchTable3, searchTable4, submitContract } from '@/api/WorkshopProcurement/PurchaseContractChange'
export default {
data() {
return {
RMB: '',
TotalAmount: '',
RMB1: '',
TotalAmount1: '',
check1: 0,
check2: 0,
check3: 0,
check4: 0,
check5: 0,
startEndDate: '',
contract: '',
contract1: '',
freight: '',
freight1: '',
contractNumValue: '',
contractNum: [],
ProcurementContractNum: '',
buyer: 0,
Supplier: 0,
buyerName: '',
buyerValue: '',
buyerName1: '',
buyerValue1: '',
supplier: '',
supplierName: '',
supplierValue: '',
supplier1: '',
supplierName1: '',
supplierValue1: '',
total1: 0,
pageCurrent1: 1,
pageSize1: 10,
tableData1: [],
total2: 0,
pageCurrent2: 1,
pageSize2: 10,
tableData2: [],
loading1: false,
loading2: false,
dialogVisible1: false,
form1: {},
form2: {
变更原因: ''
},
rules2: {
变更原因: [{ required: true, message: '请输入变更原因', trigger: 'blur' }]
},
returns: [],
returns1: [],
tableData01: [],
tableData02: [],
submitDisable: true,
dialogVisible2: false,
dialogVisible3: false,
contractChangeValue: '',
textarea: ``,
textarea1: ``,
contractValue: '', // 显示表2和变更合同用的变量
contractValue1: ''
}
},
created() {
this.fetchData()
},
methods: {
fetchData() {
this.contractNum = []
initContract().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
},
initBuyer() { // 初始化采购人员
initBuyer().then(response => {
this.tableData02 = response.data
})
},
clickBuyer(row) { // 点击采购员表某一行
this.submitDisable = false
if (this.buyer === 0) {
this.buyerName = row.姓名
this.buyerValue = row.人员编号
} else if (this.buyer === 1) {
this.buyerName1 = row.姓名
this.buyerValue1 = row.人员编号
}
},
submitSelectBuyer() { // 确定
this.dialogVisible2 = false
},
searchTable1() {
this.textarea = ``
this.loading1 = true
if (this.startEndDate === '' || this.startEndDate === null || this.startEndDate[0] === '' || this.startEndDate[1] === '') {
this.check1 = 0
this.startEndDate = ''
} else { this.check1 = 1 }
this.contractNumValue ? this.check2 = 1 : this.check2 = 0
this.buyerName ? this.check3 = 1 : this.check3 = 0
this.supplierName ? this.check4 = 1 : this.check4 = 0
if (this.approvalValue === '' || this.approvalValue === 0) {
this.check5 = 0
} else {
this.check5 = 1
}
searchTable1(this.pageCurrent1, this.pageSize1, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.buyerValue, this.check4, this.supplierName, this.check5, this.approvalValue).then(response => {
this.loading1 = false
for (let j = 0; j < response.data.rows.length; j++) {
if (response.data.rows[j].规定到货时间 !== null) {
response.data.rows[j].规定到货时间 = response.data.rows[j].规定到货时间.substring(0, response.data.rows[j].规定到货时间.indexOf(' '))
}
}
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
searchTable3() {
this.textarea1 = ``
this.loading2 = true
if (this.startEndDate === '' || this.startEndDate === null || this.startEndDate[0] === '' || this.startEndDate[1] === '') {
this.check1 = 0
this.startEndDate = ''
} else { this.check1 = 1 }
this.contractNumValue ? this.check2 = 1 : this.check2 = 0
this.buyerName ? this.check3 = 1 : this.check3 = 0
this.supplierName ? this.check4 = 1 : this.check4 = 0
searchTable3(this.pageCurrent2, this.pageSize2, this.check1, this.startEndDate[0], this.startEndDate[1], this.check2, this.contractNumValue, this.check3, this.buyerValue, this.check4, this.supplierName).then(response => {
this.loading2 = false
for (let j = 0; j < response.data.rows.length; j++) {
if (response.data.rows[j].规定到货时间 !== null) {
response.data.rows[j].规定到货时间 = response.data.rows[j].规定到货时间.substring(0, response.data.rows[j].规定到货时间.indexOf(' '))
}
}
this.tableData2 = response.data.rows
this.total2 = response.data.total
})
},
open(row) {
if (this.$refs['form2'] !== undefined) {
this.$refs['form2'].resetFields()
}
this.dialogVisible3 = true
this.contractChangeValue = row.采购合同流水号
},
submitContract(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
this.dialogVisible3 = false
submitContract(this.contractChangeValue, this.form2.变更原因).then(response => {
if (response.data[0].result === '1') {
this.$message.success('变更成功')
this.searchTable1()
} else { this.$message.error('变更失败') }
})
} else {
console.log('error submit!!')
return false
}
})
},
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
handleSizeChange2(val) {
this.pageCurrent2 = 1
this.pageSize2 = val
this.searchTable3()
},
handleCurrentChange2(val) {
this.pageCurrent2 = val
this.searchTable3()
},
searchTable2(row) {
console.log(row)
this.textarea = row.合同文本
this.supplier = row.供应商名称
this.contract = row.采购合同编号
this.freight = parseInt(row.总金额) - parseInt(row.总金额_小计)
this.RMB = row.总金额_文本
this.TotalAmount = row.总金额
document.getElementById('23').innerText = this.textarea
this.contractValue = parseInt(row.采购合同流水号)
searchTable2(this.contractValue).then(response => {
this.returns = response.data
const children = document.getElementsByClassName('tableData')
const parent = document.getElementById('4')
if (children.length !== 0) {
for (let i = children.length - 1; i >= 0; i--) {
parent.removeChild(children[i])
}
}
const tr = []
for (let i = 0; i < this.returns.length; i++) {
tr[i] = document.createElement('tr')
tr[i].setAttribute('class', 'tableData')
tr[i].innerHTML = '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' +
'<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>'
document.getElementById('tableHead').after(tr[i])
}
for (let j = 0; j < this.returns.length; j++) {
document.getElementsByClassName('tableData')[j].children[0].innerHTML = response.data[j].物料名称
document.getElementsByClassName('tableData')[j].children[1].innerHTML = response.data[j].物料规格
document.getElementsByClassName('tableData')[j].children[2].innerHTML = response.data[j].物料型号
document.getElementsByClassName('tableData')[j].children[3].innerHTML = response.data[j].发货天数
document.getElementsByClassName('tableData')[j].children[4].innerHTML = response.data[j].数量
document.getElementsByClassName('tableData')[j].children[5].innerHTML = response.data[j].单价
document.getElementsByClassName('tableData')[j].children[6].innerHTML = response.data[j].金额
}
})
},
searchTable4(row) {
console.log(row)
this.textarea1 = row.合同文本
this.supplier1 = row.供应商名称
this.contract1 = row.采购合同编号
this.freight1 = parseInt(row.总金额) - parseInt(row.总金额_小计)
this.RMB1 = row.总金额_文本
this.TotalAmount1 = row.总金额
document.getElementById('24').innerText = this.textarea1
this.contractValue1 = parseInt(row.采购合同变更流水号)
searchTable4(this.contractValue1).then(response => {
this.returns1 = response.data
const children1 = document.getElementsByClassName('tableData1')
const parent1 = document.getElementById('6')
if (children1.length !== 0) {
for (let i = children1.length - 1; i >= 0; i--) {
parent1.removeChild(children1[i])
}
}
const tr = []
for (let i = 0; i < this.returns1.length; i++) {
tr[i] = document.createElement('tr')
tr[i].setAttribute('class', 'tableData1')
tr[i].innerHTML = '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' +
'<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>' + '<td colspan="1" align="center"></td>'
document.getElementById('tableHead1').after(tr[i])
}
for (let j = 0; j < this.returns1.length; j++) {
document.getElementsByClassName('tableData1')[j].children[0].innerHTML = response.data[j].物料名称
document.getElementsByClassName('tableData1')[j].children[1].innerHTML = response.data[j].物料规格
document.getElementsByClassName('tableData1')[j].children[2].innerHTML = response.data[j].物料型号
document.getElementsByClassName('tableData1')[j].children[3].innerHTML = response.data[j].发货天数
document.getElementsByClassName('tableData1')[j].children[4].innerHTML = response.data[j].数量
document.getElementsByClassName('tableData1')[j].children[5].innerHTML = response.data[j].单价
document.getElementsByClassName('tableData1')[j].children[6].innerHTML = response.data[j].金额
}
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:200px
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-bottom: 5px;
}
</style>
<style>
.tableData1{
height: 30px;
}
</style>

View File

@@ -0,0 +1,232 @@
<template>
<div class="app-container">
<el-card>
<el-row>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable style="width: 200px"/>
<span>零件号:</span>
<el-select v-model="PartNumberValue" placeholder="零件号" size="small" clearable>
<el-option
v-for="item in PartNumber"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left:10px" @click="total=0;pageCurrent=1;pageSize=10;searchTable()">查询</el-button>
</el-row>
</el-card>
<el-card>
<el-table
v-loading="loading"
:data="tableData"
style="width: 100%"
size="small"
highlight-current-row
min-height="540px"
height="540px"
border>
<el-table-column align="center" label="采购合同编号">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="零件号">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="零件名称" width="130px">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="数量" width="70px">
<template slot-scope="scope">
{{ scope.row.数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="交检日期 " width="180px">
<template slot-scope="scope">
<el-date-picker
v-model="scope.row.交检日期"
size="small"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
style="width: 135px"
@change="update(scope.row)"/>
</template>
</el-table-column>
<el-table-column align="center" label="废品数量" width="80px">
<template slot-scope="scope">
<el-input v-model="scope.row.废品数量" size="mini" style="width: 50px" align="center" @change="update(scope.row)"/>
</template>
</el-table-column>
<el-table-column align="center" label="检查日期" width="180px">
<template slot-scope="scope">
<el-date-picker
v-model="scope.row.检查日期"
size="small"
type="date"
format="yyyy-MM-dd"
value-format="yyyy-MM-dd"
style="width: 135px"
@change="update(scope.row)"/>
</template>
</el-table-column>
<el-table-column align="center" label="报废原因">
<template slot-scope="scope">
<el-input v-model="scope.row.报废原因" size="mini" align="center" @change="update(scope.row)"/>
</template>
</el-table-column>
<el-table-column align="center" label="备注">
<template slot-scope="scope">
<el-input v-model="scope.row.备注" size="mini" align="center" @change="update(scope.row)"/>
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="120px">
<template slot-scope="scope">
<el-button
size="mini"
type="primary"
icon="el-icon-star-off"
@click="handleEdit(scope.row)">通过</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40, 50]"
:page-size="pageSize"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
</div>
</el-card>
</div>
</template>
<script>
import { initPayState, initParts, searchParts, update, deleteData, editData } from '@/api/WorkshopProcurement/PurchasingQualityInspection'
import { mapGetters } from 'vuex'
export default {
data() {
return {
check1: 0,
check2: 0,
check3: 0,
loading: false,
contractNumValue: '',
contractNum: [],
supplierName: '',
PartNumberValue: '',
PartNumber: [],
tableData: [],
pageSize: 10,
pageCurrent: 1,
total: 0
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initPayState().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
initParts().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.PartNumber.push({
label: response.data[i].物料名称,
value: response.data[i].物料流水号
})
}
})
},
searchTable() {
this.loading = true
this.contractNumValue ? this.check1 = 1 : this.check1 = 0
this.supplierName ? this.check2 = 1 : this.check2 = 0
this.PartNumberValue ? this.check3 = 1 : this.check3 = 0
searchParts(this.pageCurrent, this.pageSize, this.check1, this.contractNumValue, this.check2, this.supplierName, this.check3, this.PartNumberValue).then(response => {
this.loading = false
this.tableData = response.data.rows
this.total = response.data.total
})
},
update(row) {
update(row.id, row.交检日期, row.废品数量, row.检查日期, row.报废原因, row.备注).then(response => {
})
},
handleEdit(row) {
this.$confirm('是否确认无误?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
editData(row.id).then(response => {
if (response.data[0].result === '1') {
this.$message.success('通过成功')
this.searchTable()
} else { this.$message.error('通过失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消操作'
})
})
},
handleDelete(row) {
this.deleteRow(deleteData, row.id, function() { this.searchTable() })
},
handleSizeChange(val) {
this.pageSize = val
this.pageCurrent = 1
this.searchTable()
},
handleCurrentChange(val) {
this.pageCurrent = val
this.searchTable()
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,183 @@
<template>
<div class="app-container">
<el-card>
<el-row>
<span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNum"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>供应商:</span>
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable style="width: 200px"/>
<span>零件号:</span>
<el-select v-model="PartNumberValue" placeholder="零件号" size="small" clearable>
<el-option
v-for="item in PartNumber"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left:10px" @click="total=0;pageCurrent=1;pageSize=10;searchTable()">查询</el-button>
</el-row>
</el-card>
<el-card>
<el-table
v-loading="loading"
:data="tableData"
style="width: 100%"
size="small"
highlight-current-row
min-height="540px"
height="540px"
border>
<el-table-column align="center" label="采购合同编号">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="零件号">
<template slot-scope="scope">
{{ scope.row.物料型号 }}
</template>
</el-table-column>
<el-table-column align="center" label="零件名称" width="130px">
<template slot-scope="scope">
{{ scope.row.物料名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="数量" width="70px">
<template slot-scope="scope">
{{ scope.row.数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="交检日期 " width="180px">
<template slot-scope="scope">
{{ scope.row.交检日期 }}
</template>
</el-table-column>
<el-table-column align="center" label="废品数量" width="80px">
<template slot-scope="scope">
{{ scope.row.废品数量 }}
</template>
</el-table-column>
<el-table-column align="center" label="检查日期" width="180px">
<template slot-scope="scope">
{{ scope.row.检查日期 }}
</template>
</el-table-column>
<el-table-column align="center" label="报废原因">
<template slot-scope="scope">
{{ scope.row.报废原因 }}
</template>
</el-table-column>
<el-table-column align="center" label="备注">
<template slot-scope="scope">
{{ scope.row.备注 }}
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent"
:page-sizes="[10, 20, 30, 40, 50]"
:page-size="pageSize"
:total="total"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"/>
</div>
</el-card>
</div>
</template>
<script>
import { initPayState, initParts, searchParts } from '@/api/WorkshopProcurement/QualityInspectionQuery'
import { mapGetters } from 'vuex'
export default {
data() {
return {
check1: 0,
check2: 0,
check3: 0,
loading: false,
contractNumValue: '',
contractNum: [],
supplierName: '',
PartNumberValue: '',
PartNumber: [],
tableData: [],
pageSize: 10,
pageCurrent: 1,
total: 0
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initPayState().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNum.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
initParts().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.PartNumber.push({
label: response.data[i].物料名称,
value: response.data[i].物料流水号
})
}
})
},
searchTable() {
this.loading = true
this.contractNumValue ? this.check1 = 1 : this.check1 = 0
this.supplierName ? this.check2 = 1 : this.check2 = 0
this.PartNumberValue ? this.check3 = 1 : this.check3 = 0
searchParts(this.pageCurrent, this.pageSize, this.check1, this.contractNumValue, this.check2, this.supplierName, this.check3, this.PartNumberValue).then(response => {
this.loading = false
this.tableData = response.data.rows
this.total = response.data.total
})
},
handleSizeChange(val) {
this.pageSize = val
this.pageCurrent = 1
this.searchTable()
},
handleCurrentChange(val) {
this.pageCurrent = val
this.searchTable()
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,419 @@
<template>
<div class="app-container">
<el-card>
<span>发票号:</span>
<el-input v-model="invoiceNum" size="small" clearable/>
<!--<span>开票时间:</span>-->
<!--<el-date-picker v-model="invoiceTime" size="small" type="date" value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期"></el-date-picker>-->
<span>采购合同号:</span>
<el-select v-model="contractNum" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNums"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
<span>传送人:</span>
<el-select v-model="transmitValue" placeholder="传送人" size="small" filterable clearable style="width:100px">
<el-option
v-for="item in selectPerson"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<span>接收人:</span>
<el-select v-model="recipientValue" placeholder="接收人" size="small" filterable clearable style="width:100px">
<el-option
v-for="item in selectPerson"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
<el-button
type="success"
size="small"
icon="el-icon-search"
style="margin-left: 10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
<el-button
type="primary"
size="small"
icon="el-icon-circle-plus-outline"
style="margin-left: 10px"
@click="addTable1()">增加</el-button>
<el-button
type="warning"
size="small"
icon="el-icon-download"
style="margin-left: 10px">导出</el-button>
</el-card>
<el-card>
<el-table v-loading="" :data="tableData1" size="mini" style="max-height: 400px" height="400px" stripe border>
<el-table-column align="center" label="发票号" min-width="120px">
<template slot-scope="scope">
{{ scope.row.发票号 }}
</template>
</el-table-column>
<el-table-column align="center" label="开票时间" min-width="100px">
<template slot-scope="scope">
{{ scope.row.开票时间 }}
</template>
</el-table-column>
<el-table-column align="center" label="开票金额" min-width="100px">
<template slot-scope="scope">
{{ scope.row.开票金额 }}
</template>
</el-table-column>
<el-table-column align="center" label="采购合同编号" min-width="100px">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
</template>
</el-table-column>
<el-table-column align="center" label="采购合同名称" min-width="150px">
<template slot-scope="scope">
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="供应商" min-width="200px">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
</el-table-column>
<el-table-column align="center" label="总金额" min-width="100px">
<template slot-scope="scope">
{{ scope.row.总金额 }}
</template>
</el-table-column>
<el-table-column align="center" label="传送人" min-width="80px">
<template slot-scope="scope">
{{ scope.row.传送人姓名 }}
</template>
</el-table-column>
<el-table-column align="center" label="接收人" min-width="80px">
<template slot-scope="scope">
{{ scope.row.接收人姓名 }}
</template>
</el-table-column>
<el-table-column align="center" label="备注" min-width="200px">
<template slot-scope="scope">
{{ scope.row.备注 }}
</template>
</el-table-column>
<el-table-column align="center" label="操作" fixed="right" width="200px">
<template slot-scope="scope">
<el-button
type="primary"
size="mini"
icon="el-icon-edit"
@click="editTable1(scope.row)">编辑</el-button>
<el-button
type="danger"
size="mini"
icon="el-icon-delete"
@click="deleteTable1(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
<div class="block" style="margin-top: 10px;">
<el-pagination
:current-page="pageCurrent1"
:page-sizes="[10, 20, 30, 40]"
:page-size="pageSize1"
:total="total1"
style="display:inline-block;width:50%"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange1"
@current-change="handleCurrentChange1"/>
</div>
</el-card>
<el-dialog :title="title1" :visible.sync="dialogVisible1" center style="min-height: 300px" width="25%">
<el-form ref="form1" :model="form1" :rules="rules1" label-position="left" label-width="110px">
<el-form-item label="采购合同号" prop="contractNum">
<el-select v-model="form1.contractNum" placeholder="合同号" size="small" filterable clearable>
<el-option
v-for="item in contractNums"
:key="item.value"
:label="item.label"
:value="item.value">
<div style="float: left">{{ item.label }}</div>
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option>
</el-select>
</el-form-item>
<el-form-item label="发票号" prop="invoiceNum">
<el-input v-model="form1.invoiceNum" size="small"/>
</el-form-item>
<el-form-item label="开票时间" prop="invoiceTime">
<el-date-picker v-model="form1.invoiceTime" size="small" type="date" value-format="yyyy-MM-dd" format="yyyy-MM-dd" placeholder="选择日期"/>
</el-form-item>
<el-form-item label="开票金额" prop="money">
<el-input v-model="form1.money" size="small" placeholder="开票金额"/>
</el-form-item>
<el-form-item label="传送人" prop="sendPerson">
<el-select v-model="form1.sendPersonValue" placeholder="传送人" size="small" disabled filterable clearable style="width:100px">
<el-option
v-for="item in selectPerson"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
<el-form-item label="接收人" prop="receivePerson">
<el-select v-model="form1.receivePersonValue" placeholder="接收人" size="small" filterable clearable style="width:100px">
<el-option
v-for="item in selectPerson"
:key="item.value"
:label="item.label"
:value="item.value"/>
</el-select>
</el-form-item>
<el-form-item label="备注" prop="remark">
<el-input v-model="form1.remark" size="small"/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button size="small" @click="dialogVisible1 = false">取消</el-button>
<el-button v-show="title1==='增加'" size="small" type="primary" @click="submitAdd1('form1')">确定</el-button>
<el-button v-show="title1==='编辑'" size="small" type="primary" @click="submitEdit1('form1')">确定</el-button>
</div>
</el-dialog>
</div>
</template>
<script>
import { searchInvoice, addInvoice, editInvoice, deleteInvoice, initPerson, initContract } from '@/api/WorkshopProcurement/ReceiptConnectionSheet'
import { mapGetters } from 'vuex'
export default {
name: '', // 发票交接单
data() {
return {
contractNumValue: '',
contractNums: [],
invoiceNum: '',
invoiceTime: '',
transmitValue: '',
selectPerson: [], // 传送人接收人
recipientValue: '',
contractNum: '',
pageCurrent1: 1,
pageSize1: 10,
total1: 0,
tableData1: [],
check1: 0,
check2: 0,
check3: 0,
check4: 0,
check5: 0,
dialogVisible1: false,
title1: '',
form1: {
contractNum: '',
invoiceNum: '',
invoiceNumValue: '',
invoiceTime: '',
money: '',
sendPersonValue: '',
receivePersonValue: '',
remark: ''
},
rules1: {
contractNum: [
{ required: true, message: '请选择合同号', trigger: 'change' }
],
invoiceNum: [
{ required: true, message: '请输入发票号', trigger: 'blur' }
]
}
}
},
computed: {
...mapGetters([
'sidebar',
'avatar',
'name',
'id' // 人员编号
])
},
created() {
this.fetchData()
},
methods: {
fetchData() {
initContract().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.contractNums.push({
label: response.data[i].采购合同编号,
name: response.data[i].采购合同名称,
value: response.data[i].采购合同流水号
})
}
})
initPerson().then(response => {
for (let i = 0; i < response.data.length; i++) {
this.selectPerson.push({
label: response.data[i].姓名,
value: response.data[i].人员编号
})
}
})
},
searchTable1() {
this.invoiceNum ? this.check1 = 1 : this.check1 = 0
this.invoiceTime ? this.check2 = 1 : this.check2 = 0
this.transmitValue ? this.check3 = 1 : this.check3 = 0
this.recipientValue ? this.check4 = 1 : this.check4 = 0
this.contractNum ? this.check5 = 1 : this.check5 = 0
searchInvoice(this.pageCurrent1, this.pageSize1, this.check1, this.invoiceNum, this.check2, this.invoiceTime, this.check3, this.transmitValue, this.check4, this.recipientValue, this.check5, this.contractNum).then(response => {
for (let j = 0; j < response.data.rows.length; j++) {
if (response.data.rows[j].开票时间 !== null) {
response.data.rows[j].开票时间 = response.data.rows[j].开票时间.substring(0, response.data.rows[j].开票时间.indexOf(' '))
}
if (response.data.rows[j].开票时间 === '1900/1/1') {
response.data.rows[j].开票时间 = ''
}
}
this.tableData1 = response.data.rows
this.total1 = response.data.total
})
},
handleSizeChange1(val) {
this.pageCurrent1 = 1
this.pageSize1 = val
this.searchTable1()
},
handleCurrentChange1(val) {
this.pageCurrent1 = val
this.searchTable1()
},
addTable1() {
if (this.$refs['form1'] !== undefined) {
this.$refs['form1'].resetFields()
}
this.title1 = '增加'
this.dialogVisible1 = true
this.form1.contractNum = ''
this.form1.invoiceNum = ''
this.form1.invoiceTime = ''
this.form1.money = ''
this.form1.sendPersonValue = parseInt(this.id)
this.form1.receivePersonValue = ''
this.form1.remark = ''
},
submitAdd1(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
const myDate = new Date()
const year = myDate.getFullYear()
const month = myDate.getMonth() + 1
const date = myDate.getDate()
const nowDate = year + '-' + month + '-' + date
addInvoice(this.form1.contractNum, this.form1.invoiceNum, this.form1.invoiceTime, this.form1.money, this.form1.sendPersonValue, this.form1.receivePersonValue, this.form1.remark, nowDate).then(response => {
console.log(response.data)
if (response.data.result[0].result === '1') {
this.$message.success('增加成功')
this.dialogVisible1 = false
this.searchTable1()
} else { this.$message.error('增加失败') }
})
} else {
console.log('error submit!!')
return false
}
})
},
editTable1(row) {
if (this.$refs['form1'] !== undefined) {
this.$refs['form1'].resetFields()
}
this.title1 = '编辑'
this.dialogVisible1 = true
this.form1.contractNum = parseInt(row.采购合同流水号)
this.form1.invoiceNum = row.发票号
this.form1.invoiceNumValue = row.发票流水号
this.form1.invoiceTime = row.开票时间
this.form1.money = row.开票金额
this.form1.sendPersonValue = parseInt(row.传送人)
this.form1.receivePersonValue = parseInt(row.接收人)
this.form1.remark = row.备注
console.log(row.开票时间)
if (row.开票时间 === '1900/1/1') {
this.form1.invoiceTime = null
}
if (parseInt(row.传送人) === 0) {
this.form1.sendPersonValue = ''
}
if (parseInt(row.接收人) === 0) {
this.form1.receivePersonValue = ''
}
},
submitEdit1(formName) {
this.$refs[formName].validate((valid) => {
if (valid) {
editInvoice(this.form1.invoiceNumValue, this.form1.contractNum, this.form1.invoiceNum, this.form1.invoiceTime, this.form1.money, this.form1.sendPersonValue, this.form1.receivePersonValue, this.form1.remark).then(response => {
console.log(this.form1.invoiceNumValue, this.form1.contractNum, this.form1.invoiceNum, this.form1.invoiceTime, this.form1.money, this.form1.sendPersonValue, this.form1.receivePersonValue, this.form1.remark)
console.log(response.data)
if (response.data[0].result === '1') {
this.$message.success('编辑成功')
this.dialogVisible1 = false
this.searchTable1()
} else { this.$message.error('编辑失败') }
})
} else {
console.log('error submit!!')
return false
}
})
},
deleteTable1(row) {
console.log(row)
this.$confirm('确认删除吗?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
deleteInvoice(row.发票流水号).then(response => {
console.log(response.data)
if (response.data[0].result === '1') {
this.$message.success('删除成功')
this.dialogVisible1 = false
this.searchTable1()
} else { this.$message.error('删除失败') }
})
}).catch(() => {
this.$message({
type: 'info',
message: '已取消操作'
})
})
}
}
}
</script>
<style scoped>
.el-card{
margin-bottom: 15px;
}
.el-date-editor{
width:150px;
}
.el-select{
width:200px
}
.el-input{
width:200px
}
span{
margin: 10px 0 10px 10px;
}
.searchForm .el-form-item{
margin-top: 1px;
margin-bottom: 1px;
}
</style>