Browse Source

2023-04-18

供应商管理
master
guoxing 2 years ago
parent
commit
a9df06151d
  1. 2
      supervise-customer-ui/.env.development
  2. 8
      supervise-customer-ui/src/api/supervise/supplierbankinfo.js
  3. 15
      supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfo.vue

2
supervise-customer-ui/.env.development

@ -6,4 +6,4 @@ VUE_APP_BASE_API = '/api/service'
## 配置测试和本地开发时的 接口地址
##VUE_APP_URL = "http://8.130.39.13:8112"
VUE_APP_URL = "http://127.0.0.1:8112"
VUE_APP_URL = "http://192.168.3.173:8112"

8
supervise-customer-ui/src/api/supervise/supplierbankinfo.js

@ -30,8 +30,12 @@ export default {
delBySids: function(sid) {
return request({
baseURL: '/api',
url: '/customer/v1/supplierbankinfo/delBySids/' + sid,
method: 'delete'
url: '/customer/v1/supplierbankinfo/delBySids',
method: 'delete',
data: sid,
headers: {
'Content-Type': 'application/json'
}
})
},
// 通过sid查询一条记录

15
supervise-customer-ui/src/views/supervise/supplierbankinfo/supplierbankinfo.vue

@ -51,10 +51,10 @@
<el-table-column fixed width="50" type="selection" align="center" />
<el-table-column fixed width="60" label="序号" type="index" :index="indexMethod" align="center" />
<el-table-column label="供应商编号" align="center" width="110">
<template slot-scope="scope">
<el-table-column label="供应商编号" prop="codeUnified" align="center" width="110">
<!-- <template slot-scope="scope">
<span class="bluezi" @click="toInfo(scope.row)">{{ scope.row.codeUnified }}</span>
</template>
</template>-->
</el-table-column>
<el-table-column prop="name" label="供应商名称" align="center" />
<el-table-column prop="contacts" label="联系人" align="center" width="100" />
@ -271,6 +271,10 @@
},
filing() {},
toRelevancyInfo(row) {
let sids = []
sids.push(row.sid)
const tip = '请确认是否删除所选记录?'
this.$confirm(tip, '提示', {
confirmButtonText: '确定',
@ -283,7 +287,10 @@
spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)'
})
req.delBySids(row.sid).then((resp) => {
console.log("sids",sids)
req.delBySids(sids).then((resp) => {
loading.close()
if (resp.success) {
this.$message({

Loading…
Cancel
Save