Merge branch 'master' of http://192.168.0.112:10010/r/高精2.0
This commit is contained in:
BIN
favicon.ico
BIN
favicon.ico
Binary file not shown.
|
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 18 KiB |
@@ -1,6 +1,6 @@
|
|||||||
import request from '@/utils/request'
|
import request from '@/utils/request'
|
||||||
// 初始化 项目名称
|
// 初始化 项目名称
|
||||||
export function getEntryNameValue() {
|
export function searchtable() {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|||||||
@@ -67,9 +67,45 @@ export function getParts(Number, pageCurrent, pageSize) {
|
|||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '车间生产管理_外协加工任务单明细_查询数据',
|
name: '车间生产管理工艺_外协发票管理_查询数据',
|
||||||
param: '外协加工任务单流水号=' + Number + '=int',
|
param: '外协加工任务单流水号=' + Number + '=int',
|
||||||
Pagination: pageCurrent + '&' + pageSize
|
Pagination: pageCurrent + '&' + pageSize
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
// 增加
|
||||||
|
export function edittype(num1, num2, num3, num4, num5, num6, num7) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '2',
|
||||||
|
name: '车间生产管理工艺_外协发票管理_增加数据',
|
||||||
|
param: '外协加工任务单流水号=' + num1 + '&发票号=' + num2 + '&开户行=' + num3 + '&开票时间=' + num4 + '&开票金额=' + num5 + '&接收人=' + num6 + '&接收时间=' + num7
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 编辑
|
||||||
|
export function handlechange(CoManufacturerFlowNumber, ManufacturerNumber, ManufacturerName, ManufacturerAbbreviation, address, roleName, phNumber, Fax, Remarks, category, attention, EquipmentCondition) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '2',
|
||||||
|
name: '车间生产管理工艺_基础表_外协厂家_修改数据',
|
||||||
|
param: '外协厂家流水号=' + CoManufacturerFlowNumber + '&序号=' + ManufacturerNumber + '&外协厂家名称=' + ManufacturerName + '&外协厂家简称=' + ManufacturerAbbreviation + '&地址=' + address + '&联系人=' + roleName + '&电话=' + phNumber + '&传真=' + Fax + '&备注=' + Remarks + '&类别=' + category + '&关注=' + attention + '&设备情况=' + EquipmentCondition
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
// 删除
|
||||||
|
export function handledelete(CoManufacturerFlowNumber) {
|
||||||
|
return request({
|
||||||
|
url: '',
|
||||||
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
type: '2',
|
||||||
|
name: '车间生产管理工艺_基础表_外协厂家_删除数据',
|
||||||
|
param: '外协厂家流水号=' + CoManufacturerFlowNumber + '=int'
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -60,15 +60,14 @@ export function deleteInvoice(num1) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 传送人初始化 采购科改16
|
// 传送人初始化
|
||||||
export function initSender() {
|
export function initSender() {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '人事档案管理_人员_部门与人员_查询数据_根据部门编号',
|
name: '人事档案管理_人员与角色_查询数据_采购员'
|
||||||
param: '考核部门编号=16'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,122 @@
|
|||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
|
||||||
|
<el-card>
|
||||||
|
<el-button type="success" class="el-icon-search" size="small">查询</el-button>
|
||||||
|
</el-card>
|
||||||
|
|
||||||
|
<el-card>
|
||||||
|
<el-table v-loading="loading0" :data="tableData" height="650" style="width: 100%;" border>
|
||||||
|
<el-table-column
|
||||||
|
label=" "
|
||||||
|
align="center"
|
||||||
|
type="index"
|
||||||
|
width="50"/>
|
||||||
|
<el-table-column label="外协厂家名称" align="center" width="280px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.外协厂家名称 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="外协厂家简称" align="center" width="110px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.外协厂家简称 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="地址" align="center" width="280px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.地址 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="联系人" align="center" width="120px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.联系人 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="电话" align="center" width="140px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.电话 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="传真" align="center" width="120px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.传真 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="设备情况" align="center" width="230px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.设备情况 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="备注" align="center" width="150px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.备注 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="操作" align="center" width="200px" fixed="right">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="primary"
|
||||||
|
class="el-icon-edit"
|
||||||
|
@click="handleChange1(scope.$index, scope.row, 'form');param = 1">编辑</el-button>
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
type="danger"
|
||||||
|
class="el-icon-delete"
|
||||||
|
@click="handleDelete(scope.$index, scope.row)">删除</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
</el-table>
|
||||||
|
<div class="block">
|
||||||
|
<el-pagination
|
||||||
|
v-if="!loading0"
|
||||||
|
:current-page="pageCurrent"
|
||||||
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
|
: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 {} from '@/api/ManufacturingCenter/MachiningSequenceAdjustment'
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
loading0: false,
|
||||||
|
tableData: [], // 表格数据
|
||||||
|
pageSize: 10,
|
||||||
|
pageCurrent: 1,
|
||||||
|
total: 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 分页
|
||||||
|
handleSizeChange(val) {
|
||||||
|
this.pageCurrent = 1
|
||||||
|
this.pageSize = val
|
||||||
|
this.searchTable()
|
||||||
|
},
|
||||||
|
handleCurrentChange(val) {
|
||||||
|
this.pageCurrent = val
|
||||||
|
this.searchTable()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped>
|
||||||
|
.el-card{
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
.el-input{
|
||||||
|
width: 210px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -200,36 +200,41 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
<el-card v-if="false">
|
<el-card>
|
||||||
<el-table v-loading="loading2" :data="tableData2" height="370" style="width: 100%;" border element-loading-text="拼命加载中">
|
<el-table v-loading="loading2" :data="tableData2" height="370" style="width: 100%;" border element-loading-text="拼命加载中">
|
||||||
<el-table-column
|
<el-table-column
|
||||||
label=" "
|
label=" "
|
||||||
type="index"
|
type="index"
|
||||||
align="center"
|
align="center"
|
||||||
width="50"/>
|
width="50"/>
|
||||||
<el-table-column label="零件图号" align="center" width="230px">
|
<el-table-column label="发票号" align="center" width="230px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件图号 }}
|
{{ scope.row.发票号 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="零件名称" align="center" width="230px">
|
<el-table-column label="开票金额" align="center" width="230px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.零件名称 }}
|
{{ scope.row.开票金额 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="项目名称" align="center" width="220px">
|
<el-table-column label="接收人" align="center" width="220px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.项目名称 }}
|
{{ scope.row.接收人 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="机床图号" align="center">
|
<el-table-column label="开户行" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.机床图号 }}
|
{{ scope.row.开户行 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="组号" align="center" width="180px">
|
<el-table-column label="开票时间" align="center" width="180px">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{ scope.row.组号 }}
|
{{ scope.row.开票时间 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="接收时间" align="center" width="180px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.接收时间 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
@@ -267,14 +272,74 @@
|
|||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
|
<el-dialog :title="title1" :visible.sync="dialogFormVisible" center style="min-height: 300px" width="700px">
|
||||||
|
<el-form ref="form" :model="form" :rules="rules" label-position="left" label-width="90px" class="demo-ruleForm">
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="厂家名称" prop="ManufacturerName" >
|
||||||
|
<el-input v-model="form.ManufacturerName" placeholder="厂家名称" clearable size="small"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="厂家简称" prop="ManufacturerAbbreviation">
|
||||||
|
<el-input v-model="form.ManufacturerAbbreviation" placeholder="厂家简称" clearable size="small" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="地址" prop="address">
|
||||||
|
<el-input v-model="form.address" placeholder="地址" clearable size="small" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="联系人" prop="roleName">
|
||||||
|
<el-input v-model="form.roleName" placeholder="联系人" clearable size="small"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="电话" prop="phNumber">
|
||||||
|
<el-input v-model="form.phNumber" placeholder="电话" clearable size="small"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="传真" prop="Fax">
|
||||||
|
<el-input v-model="form.Fax" placeholder="传真" clearable size="small"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
<el-row>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="设备情况" prop="EquipmentCondition">
|
||||||
|
<el-input v-model="form.EquipmentCondition" placeholder="设备情况" clearable size="small"/>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item label="备注" prop="Remarks">
|
||||||
|
<el-input v-model="form.Remarks" placeholder="备注" clearable size="small" />
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
</el-form>
|
||||||
|
<div slot="footer" class="dialog-footer">
|
||||||
|
<el-button @click="callOff('form')">取消</el-button>
|
||||||
|
<el-button type="primary" @click="submit('form')" >确定</el-button>
|
||||||
|
</div>
|
||||||
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { initOutHelp, searchtable, payTime, WithdrawingEdit, getParts } from '@/api/Outsourcing/OutsourcingPaymentPlanManagement'
|
import { initOutHelp, searchtable, payTime, WithdrawingEdit, getParts, edittype, handlechange, handledelete } from '@/api/Outsourcing/OutsourcingPaymentPlanManagement'
|
||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
title1: '',
|
||||||
|
dialogFormVisible: false,
|
||||||
|
count1: 0,
|
||||||
|
form: {},
|
||||||
实际付款时间: '',
|
实际付款时间: '',
|
||||||
loading: false,
|
loading: false,
|
||||||
loading2: false,
|
loading2: false,
|
||||||
@@ -437,12 +502,123 @@ export default {
|
|||||||
this.tableData2 = []
|
this.tableData2 = []
|
||||||
this.zhongjianbianliang = row.外协加工任务单流水号
|
this.zhongjianbianliang = row.外协加工任务单流水号
|
||||||
getParts(row.外协加工任务单流水号, this.pageCurrent2, this.pageSize2).then(response => {
|
getParts(row.外协加工任务单流水号, this.pageCurrent2, this.pageSize2).then(response => {
|
||||||
|
console.log(response.data)
|
||||||
this.tableData2 = response.data.rows
|
this.tableData2 = response.data.rows
|
||||||
this.total2 = response.data.total
|
this.total2 = response.data.total
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
this.loading2 = false
|
this.loading2 = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 点击增加
|
||||||
|
editType1(formName) {
|
||||||
|
this.count1 = this.count1 + 1
|
||||||
|
if (this.count1 !== 1) {
|
||||||
|
this.$refs[formName].resetFields()
|
||||||
|
}
|
||||||
|
this.title1 = '增加'
|
||||||
|
this.form.ManufacturerName = ''
|
||||||
|
this.dialogFormVisible = true
|
||||||
|
},
|
||||||
|
// 增加确定
|
||||||
|
editType() {
|
||||||
|
edittype(this.form.ManufacturerNumber, this.form.ManufacturerName, this.form.ManufacturerAbbreviation, this.form.address, this.form.roleName, this.form.phNumber, this.form.Fax, this.form.Remarks, this.form.category, this.form.attention, this.form.EquipmentCondition).then(response => {
|
||||||
|
if (response.data[0].result === '1') {
|
||||||
|
this.$notify({
|
||||||
|
title: '成功',
|
||||||
|
message: '信息增加成功',
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
this.pageCurrent = 1
|
||||||
|
this.pageSize = 10
|
||||||
|
this.searchTable()
|
||||||
|
} else {
|
||||||
|
this.$message.error('信息增加失败')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.dialogFormVisible = false
|
||||||
|
},
|
||||||
|
// 编辑打开
|
||||||
|
handleChange1(index, row, formName) {
|
||||||
|
this.count2 = this.count2 + 1
|
||||||
|
if (this.count2 !== 1) {
|
||||||
|
this.$refs[formName].resetFields()
|
||||||
|
}
|
||||||
|
this.form.ManufacturerNumber = row.序号
|
||||||
|
this.form.ManufacturerName = row.外协厂家名称
|
||||||
|
this.form.address = row.地址
|
||||||
|
this.form.roleName = row.联系人
|
||||||
|
this.form.phNumber = row.电话
|
||||||
|
this.form.Fax = row.传真
|
||||||
|
this.form.Remarks = row.备注
|
||||||
|
this.form.category = row.类别
|
||||||
|
this.form.EquipmentCondition = row.设备情况
|
||||||
|
this.form.ManufacturerAbbreviation = row.外协厂家简称
|
||||||
|
this.form.attention = row.关注
|
||||||
|
this.dialogFormVisible = true
|
||||||
|
this.title1 = '编辑'
|
||||||
|
this.CoManufacturerFlowNumber1 = row.外协厂家流水号
|
||||||
|
},
|
||||||
|
// 编辑确定
|
||||||
|
handleChange() {
|
||||||
|
handlechange(this.CoManufacturerFlowNumber1, this.form.ManufacturerNumber, this.form.ManufacturerName, this.form.ManufacturerAbbreviation, this.form.address, this.form.roleName, this.form.phNumber, this.form.Fax, this.form.Remarks, this.form.category, this.form.attention, this.form.EquipmentCondition).then(response => {
|
||||||
|
if (response.data[0].result === '1') {
|
||||||
|
this.$notify({
|
||||||
|
title: '成功',
|
||||||
|
message: '信息修改成功',
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
this.searchTable()
|
||||||
|
} else {
|
||||||
|
this.$message.error('信息修改失败')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
this.dialogFormVisible = false
|
||||||
|
},
|
||||||
|
// 提交添加或者修改
|
||||||
|
submit(formName) {
|
||||||
|
this.$refs[formName].validate((valid) => {
|
||||||
|
if (valid) {
|
||||||
|
if (this.param === 0) {
|
||||||
|
this.editType()
|
||||||
|
} else {
|
||||||
|
this.handleChange()
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 重置表单
|
||||||
|
callOff(formName) {
|
||||||
|
this.dialogFormVisible = false
|
||||||
|
this.$refs[formName].resetFields()
|
||||||
|
},
|
||||||
|
// 删除
|
||||||
|
handleDelete(index, row) {
|
||||||
|
this.$confirm('此操作将永久删除该行, 是否继续?', '提示', {
|
||||||
|
confirmButtonText: '确定',
|
||||||
|
cancelButtonText: '取消',
|
||||||
|
type: 'warning'
|
||||||
|
}).then(() => {
|
||||||
|
handledelete(row.外协厂家流水号).then(response => {
|
||||||
|
if (response.data[0].result === '1') {
|
||||||
|
this.$notify({
|
||||||
|
title: '成功',
|
||||||
|
message: '信息删除成功',
|
||||||
|
type: 'success'
|
||||||
|
})
|
||||||
|
this.searchTable()
|
||||||
|
} else {
|
||||||
|
this.$message.error('信息删除失败')
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}).catch(() => {
|
||||||
|
this.$message({
|
||||||
|
type: 'info',
|
||||||
|
message: '已取消删除'
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
// 分页
|
// 分页
|
||||||
handleSizeChange(val) {
|
handleSizeChange(val) {
|
||||||
this.pageCurrent = 1
|
this.pageCurrent = 1
|
||||||
@@ -478,9 +654,8 @@ export default {
|
|||||||
.el-card{
|
.el-card{
|
||||||
margin-bottom: 15px;
|
margin-bottom: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
|
||||||
<style>
|
|
||||||
.el-table .fukuan {
|
.el-table .fukuan {
|
||||||
background: #AEF199;
|
background: #AEF199;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
@@ -144,10 +144,6 @@
|
|||||||
@current-change="handleCurrentChange1"/>
|
@current-change="handleCurrentChange1"/>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
<div style="margin:5px;float: left">
|
|
||||||
<b>二维码:</b><br>
|
|
||||||
<img id="img">
|
|
||||||
</div>
|
|
||||||
<div id="print" class="print" style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
|
<div id="print" class="print" style="min-height:500px;margin: 0px auto;width:800px;border:1px solid black" v-html="returns"/>
|
||||||
<el-card v-show="searchView">
|
<el-card v-show="searchView">
|
||||||
<!--将新一般处理页添加至通讯服务器-->
|
<!--将新一般处理页添加至通讯服务器-->
|
||||||
@@ -312,11 +308,13 @@ export default {
|
|||||||
this.searchTable1()
|
this.searchTable1()
|
||||||
},
|
},
|
||||||
searchTable2(row) {
|
searchTable2(row) {
|
||||||
this.useqrcode(row.采购合同流水号)
|
|
||||||
this.searchPic() // 显示图片
|
this.searchPic() // 显示图片
|
||||||
this.contractValue = parseInt(row.采购合同流水号)
|
this.contractValue = parseInt(row.采购合同流水号)
|
||||||
searchTable2(this.contractValue).then(response => {
|
searchTable2(this.contractValue).then(response => {
|
||||||
this.returns = response.data[0].合同内容
|
this.returns = response.data[0].合同内容
|
||||||
|
}).then(() => {
|
||||||
|
$('#contractName').next('td').html(`<img id="img">`)
|
||||||
|
this.useqrcode(row.采购合同流水号) // 显示二维码
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user