-
客户信息
@@ -45,7 +45,7 @@
-
+
@@ -562,20 +562,6 @@
trigger: 'blur',
},
],
- // mobile: [
- // {
- // required: true,
- // validator: checkSubmit,
- // trigger: 'blur',
- // },
- // ],
- // idnumber: [
- // {
- // required: true,
- // validator: identitycard,
- // trigger: 'blur',
- // },
- // ],
},
}
},
@@ -613,8 +599,6 @@
this.stateId = sid
console.log('888888888888', this.stateId)
this.isOnRemind='否'
- // this.client = customer.name
- // this.clientphone = customer.mobile
if (this.stateId !== '0') {
getPcCustomerInfoBySid(this.stateId).then((response) => {
console.log(response.data)
@@ -622,7 +606,6 @@
this.$refs['dataForm'].clearValidate()
this.temp = response.data
this.temp.birthday = this.getDates(this.temp.birthday)
- // this.temp.address=this.temp.province+this.temp.city+this.temp.county
this.visible = true
if(this.temp.customerType!==''){
typeValues({type: 'customerType'}).then((res) => {
@@ -859,6 +842,7 @@
handleReturn() {
this.visible=false
this.activeNames=['1']
+ this.$emit('doReturn')
this.$emit('handleReturn')
},
// 添加前数据初始化
@@ -914,7 +898,7 @@
// 首次 续购
changexuanze() {
this.aseTypeBox = [this.aseTypeBox[this.aseTypeBox.length - 1]]
- var item = this.findselect(this.aseType, this.aseTypeBox[0])
+ const item = this.findselect(this.aseType, this.aseTypeBox[0]);
this.templooke.purchase_time = item.divtkey
},
// 保存客户运营数据
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/xunidingdanguanli.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/xunidingdanguanli.vue
new file mode 100644
index 0000000000..6d1807bb49
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/xunidingdanguanli.vue
@@ -0,0 +1,449 @@
+
+
+
+
+
+
+
{{ searchxianshitit }}
+
+
+
+
+
+
+
+
+
+
+
+
+ 办理
+
+ 查看
+
+
+
+
+
+ {{ scope.row.nodeState }}
+
+
+
+
+ {{ scope.row.depositBillType }}
+
+
+
+
+ {{ scope.row.billNo }}
+
+
+
+
+ {{ scope.row.createDate }}
+
+
+
+
+ {{ scope.row.staffName }}
+
+
+
+
+ {{ scope.row.name }}
+
+
+
+
+ {{ scope.row.mobile }}
+
+
+
+
+ {{ scope.row.deposit }}
+
+
+
+
+ {{ scope.row.usedDeposit }}
+
+
+
+
+ {{ scope.row.depositVehicle }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/xunidingdanxuanze.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/xunidingdanxuanze.vue
new file mode 100644
index 0000000000..4f3a5c6e01
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/xunidingdanxuanze.vue
@@ -0,0 +1,204 @@
+
+
+
+
+
+
+
{{ searchxianshitit }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.brandName }}
+
+
+
+
+ {{ scope.row.modelAlias }}
+
+
+
+
+ {{ scope.row.config }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/yixiangchexingxuanze.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/yixiangchexingxuanze.vue
new file mode 100644
index 0000000000..7c915e2d17
--- /dev/null
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/relation/yixiangchexingxuanze.vue
@@ -0,0 +1,208 @@
+
+
+
+
+
+
+
{{ searchxianshitit }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.brandName }}
+
+
+
+
+ {{ scope.row.modelAlias }}
+
+
+
+
+ {{ scope.row.config }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue
index dc941cd3d2..056097ff8d 100644
--- a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdan.vue
@@ -6,7 +6,7 @@
新增
删除
- 提交
+
关闭
@@ -16,7 +16,7 @@
-
+
-
-
-
-
-
-
-
-
+
+
diff --git a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanAdd.vue b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanAdd.vue
index 613e3db76b..968e703429 100644
--- a/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanAdd.vue
+++ b/anrui-buscenter/anrui-buscenter-ui/src/views/xiaoshouguanli/xiaoshoudingdan/xiaoshoudingdanAdd.vue
@@ -2,12 +2,14 @@
-
+
diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue
index a52a2cb91b..1ffe9b6952 100644
--- a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationInfo.vue
@@ -10,81 +10,68 @@
-
- 外采申请表
+ 外采申请表
- 申请编号
- {{ formobj.applicationCode }}
+ 申请编号
+
+ {{ formobj.applicationCode }}
+ 申请人姓名
+ {{ formobj.createByName }}
+ 申请日期
+ {{ formobj.applicationDate }}
-
- 申请人姓名
- {{ formobj.createByName }}
-
-
- 申请日期
- {{ formobj.applicationDate }}
-
-
- 外采类型key
- {{ formobj.externalMiningTypeKey }}
-
-
- 外采类型value
- {{ formobj.externalMiningTypeValue }}
-
-
- 采购单位sid
- {{ formobj.purchasingUnitSid }}
-
-
- 采购单位名称
- {{ formobj.purchasingUnitName }}
-
-
- 车型sid
- {{ formobj.modelSid }}
-
-
- 车型名称
- {{ formobj.modelName }}
+
+ 外采类型
+
+
+ 政策外采
+ 直接外采
+
- 常用配置名称
- {{ formobj.configName }}
+ 采购单位名称
+ {{ formobj.purchasingUnitName }}
- 采购价格
- {{ formobj.purchasePrice }}
+ 车型名称
+ {{ formobj.modelName }}
+ 常用配置名称
+ {{ formobj.configName }}
+
+ 采购价格
+ {{ formobj.purchasePrice }}
+
销售指导价
{{ formobj.guidedPrice }}
-
-
- 厂家合同价
- {{ formobj.manufactorSettlementPrice }}
-
-
+
+ 厂家合同价
+ {{ formobj.manufactorSettlementPrice }}
+
台数
{{ formobj.num }}
-
-
- 订金
- {{ formobj.deposit }}
-
-
+
+ 订金
+ {{ formobj.deposit }}
+
费用名称
{{ formobj.expenseName }}
-
-
- 费用金额合计
- {{ formobj.totalExpenseAmount }}
-
-
- 部门sid
- {{ formobj.orgSid }}
-
+
+ 费用金额合计
+ {{ formobj.totalExpenseAmount }}
+
+
+
@@ -95,22 +82,44 @@ export default {
name: 'BaseOutsourcingApplicationInfo',
data() {
return {
- formobj: {}
+ formobj: {
+ sid: '',
+ applicationCode: '123456', // 申请编号
+ createByName: window.sessionStorage.getItem('name'), // 申请人姓名
+ applicationDate: '', // 申请日期
+ externalMiningTypeKey: '1', // 外采类型key
+ externalMiningTypeValue: '', // 外采类型value
+ purchasingUnitName: '', // 采购单位名称
+ modelSid: '', // 车型sid
+ modelName: '', // 车型名称
+ configName: '', // 常用配置名称
+ configSid: '', // 常用配置sid
+ purchasePrice: '', // 采购价格
+ guidedPrice: '', // 销售指导价
+ manufactorSettlementPrice: '', // 厂家合同价
+ num: '0', // 台数
+ deposit: '', // 订金
+ expenseName: '', // 费用名称
+ totalExpenseAmount: '', // 费用金额合计
+ orgSid: '', // 部门sid
+ baseOutsourcingApplicationVehicleDtos:[]
+ }
}
},
methods: {
handleReturn() {
- this.formobj = {}
this.$emit('doback')
},
showInfo(row) {
+ this.$nextTick(() => {
+ this.$refs['form_obj'].clearValidate()
+ })
+ const _this = this
req
.fetchBySid(row.sid)
.then(resp => {
if (resp.success) {
const vdata = resp.data
- _this.formobj.id = vdata.id
- _this.formobj.sid = vdata.sid // SID
_this.formobj.applicationCode = vdata.applicationCode // 申请编号
_this.formobj.createByName = vdata.createByName // 申请人姓名
_this.formobj.applicationDate = vdata.applicationDate // 申请日期
@@ -122,13 +131,14 @@ export default {
_this.formobj.modelName = vdata.modelName // 车型名称
_this.formobj.configName = vdata.configName // 常用配置名称
_this.formobj.purchasePrice = vdata.purchasePrice // 采购价格
- _this.formobj.guidedPrice = vdata.guidedPrice // 销售指导价
+ _this.formobj.guidedPrice = vdata.guidedPrice // 销售指导价
_this.formobj.manufactorSettlementPrice = vdata.manufactorSettlementPrice // 厂家合同价
_this.formobj.num = vdata.num // 台数
_this.formobj.deposit = vdata.deposit // 订金
_this.formobj.expenseName = vdata.expenseName // 费用名称
_this.formobj.totalExpenseAmount = vdata.totalExpenseAmount // 费用金额合计
_this.formobj.orgSid = vdata.orgSid // 部门sid
+ _this.formobj.baseOutsourcingApplicationVehicleDtos = vdata.baseOutsourcingApplicationVehicleVos
}
})
.catch(e => {
diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue
index 84487dc6af..21d3db8f41 100644
--- a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationvehicle.vue
@@ -1,12 +1,10 @@
-
{{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }}
-
-
-
-
-
-
-
-
-
- {{ scope.row.sid }}
-
-
-
-
-
+
+
+
+
+
+ {{ scope.row.brandName }}
+
+
+
+
+ {{ scope.row.vehicleAlias }}
+
+
+
+
+ {{ scope.row.vinNo }}
+
+
+
+
+ {{ scope.row.color }}
+
+
+
+
+ {{ scope.row.location }}
+
+
+
+
+ {{ scope.row.guidedPrice }}
+
+
+
@@ -51,13 +66,6 @@
/>
-
-
-
-
-
-
-
@@ -66,31 +74,47 @@ import req from '@/api/baseoutsourcingapplication/baseoutsourcingapplicationvehi
import ButtonBar from '@/components/ButtonBar'
import Pagination from '@/components/pagination'
import pageye from '@/components/pagination/pageye'
-import divAdd from './baseoutsourcingapplicationvehicleAdd'
-import divInfo from './baseoutsourcingapplicationvehicleInfo'
export default {
name: 'BaseOutsourcingApplicationVehicleIndex',
components: {
ButtonBar,
Pagination,
- pageye,
- divAdd,
- divInfo
+ pageye
},
+ props:{
+ selectedSids:{
+ type:String,
+ required:true
+ },
+ modelSid:{
+ type:String,
+ required:true
+ },
+ configSid:{
+ type:String,
+ required:true
+ }
+ },
data() {
return {
btndisabled: false,
viewState: 1, // 1、列表 2、添加 3、修改 4、查看
- isSearchShow: true,
+ isSearchShow: false,
tableLoading: false,
dataList: [],
+ list: [],
+ tableKey:0,
+ listLoading: false,
+ sids: [],
queryParams: {
current: 1,
size: 10,
total: 0,
params: {
- sids: [], // 用于导出的时候保存已选择SID
+ modelSid:"",
+ configSid:"",
+ vehicleSid: "", // 用于导出的时候保存已选择SID
outAppSid: '', // 外采申请单sid
VIN: '' // 车架号
}
@@ -102,159 +126,28 @@ export default {
this.loadList()
},
methods: {
+ getSids(){
+ return this.multipleSelection;
+ },
resetState() {
this.viewState = 1
},
- btnHandle(btnKey) {
- switch (btnKey) {
- case 'toAdd':
- this.toAdd()
- break
- case 'toEdit':
- this.toEdit()
- break
- case 'doSubmit':
- this.doSubmit()
- break
- case 'doDel':
- this.doDel()
- break
- case 'doImport':
- this.doImport()
- break
- case 'doExport':
- this.doExport()
- break
- default:
- break
- }
- },
- toAdd(row) {
- this.viewState = 2
- this.$refs['divadd'].showAdd()
- },
- toEdit() {
- if (this.multipleSelection.length === 0) {
- this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行编辑' })
- return
- }
- if (this.multipleSelection.length > 1) {
- this.$message({ showClose: true, type: 'error', message: '只能选择一条记录进行编辑' })
- return
- }
- this.viewState = 3
- const row = this.multipleSelection[0]
- this.$refs['divadd'].showEdit(row)
- },
- doSubmit(row) {
- // 提交的代码
- this.btndisabled = true
- req
- .doSubmit(this.queryParams.params)
- .then(resp => {
- console.log(resp)
- this.btndisabled = false
- if (resp.success) {
- // 加提交后的逻辑
- } else {
- // 根据resp.code进行异常情况处理
- }
- })
- .catch(() => {
- this.btndisabled = false
- })
- },
- doDel(row) {
- if (this.multipleSelection.length === 0) {
- this.$message({ showClose: true, type: 'error', message: '请选择至少一条记录进行删除操作' })
- return
- }
- const _this = this
- const sids = []
- this.multipleSelection.forEach(row => {
- sids.push(row.sid)
- })
- const tip = '请确认是否删除所选 ' + this.multipleSelection.length + ' 条记录?'
- this.$confirm(tip, '提示', {
- confirmButtonText: '确定',
- cancelButtonText: '取消',
- type: 'warning'
- })
- .then(() => {
- const loading = this.$loading({
- lock: true,
- text: 'Loading',
- spinner: 'el-icon-loading',
- background: 'rgba(0, 0, 0, 0.7)'
- })
- req
- .delBySids(sids)
- .then(resp => {
- loading.close()
- if (resp.success) {
- _this.$message({ type: 'success', message: resp.msg, showClose: true })
- _this.loadList()
- } else {
- // 根据resp.code进行异常情况处理
- }
- })
- .catch(e => {
- loading.close()
- })
- })
- .catch(() => {})
- },
- doImport(row) {
- // 导入的代码
- req
- .importExcel(this.queryParams.params)
- .then(resp => {
- if (resp.success) {
- console.log(resp)
- }
- })
- .catch(() => {})
- },
- doExport(row) {
- // 导出的代码
- const sids = []
- this.multipleSelection.forEach(row => {
- sids.push(row.sid)
- })
- this.queryParams.params.sids = sids
- req
- .exportExcel(this.queryParams.params)
- .then(resp => {
- if (resp.success) {
- var map = resp.data
- const fileName = map.filename // 导出文件名
- // // 对于
标签,只有 Firefox 和 Chrome(内核) 支持 download 属性
- // // IE10以上支持blob但是依然不支持download
- const link = document.createElement('a') // 创建a标签
- link.download = fileName // a标签添加属性
- link.style.display = 'none'
- link.href = map.downurl
- document.body.appendChild(link)
- link.click() // 执行下载
- URL.revokeObjectURL(link.href) // 释放url
- document.body.removeChild(link) // 释放标签
- }
- })
- .catch(() => {})
- },
dosearch() {
this.queryParams.current = 1
this.loadList()
},
resetQuery() {
- this.queryParams.params = {}
- this.queryParams.params.sid = '' // sid
- this.queryParams.params.name = '' // 登录名
+ this.queryParams.params.vehicleSid = ''
+ this.queryParams.params.modelSid = ''
+ this.queryParams.params.configSid = ''
this.dosearch()
},
loadList() {
const _this = this
this.tableLoading = true
+ this.queryParams.params.vehicleSid = this.selectedSids
+ this.queryParams.params.modelSid = this.modelSid
+ this.queryParams.params.configSid = this.configSid
req
.listPage(this.queryParams)
.then(resp => {
diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue
new file mode 100644
index 0000000000..93bf81ba1b
--- /dev/null
+++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplication.vue
@@ -0,0 +1,207 @@
+
+
+
+
+
+
+
外采申请表
+
+ 申请编号
+
+ {{ formobj.applicationCode }}
+ 申请人姓名
+ {{ formobj.createByName }}
+ 申请日期
+ {{ formobj.applicationDate }}
+
+
+ 外采类型
+
+
+ 政策外采
+ 直接外采
+
+
+
+ 采购单位名称
+ {{ formobj.purchasingUnitName }}
+
+
+ 车型名称
+ {{ formobj.modelName }}
+
+
+ 常用配置名称
+ {{ formobj.configName }}
+
+ 采购价格
+ {{ formobj.purchasePrice }}
+
+ 销售指导价
+ {{ formobj.guidedPrice }}
+
+ 厂家合同价
+ {{ formobj.manufactorSettlementPrice }}
+
+ 台数
+ {{ formobj.num }}
+
+ 订金
+ {{ formobj.deposit }}
+
+ 费用名称
+ {{ formobj.expenseName }}
+
+ 费用金额合计
+ {{ formobj.totalExpenseAmount }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue
new file mode 100644
index 0000000000..f8d27104e9
--- /dev/null
+++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue
@@ -0,0 +1,453 @@
+
+
+
+
+
+
+
+
+
+ 外采申请表
+
+
+
+ *申请编号
+
+
+ {{formobj.applicationCode}}
+
+
+ *申请人
+
+
+ {{formobj.createByName}}
+
+
+ *申请日期
+
+
+ {{formobj.applicationDate}}
+
+
+
+
+ *外采类型
+
+
+ 直接外采
+ 政策外采
+
+
+
+
+ *采购单位
+
+
+
+
+
+
+
+ *车型
+
+
+ {{formobj.modelName}}
+
+
+
+ 选择
+
+
+
+
+ *常用配置名称
+
+
+ {{formobj.configName}}
+
+
+
+
+ *采购价格
+
+
+
+
+
+ *销售指导价
+
+
+
+ {{formobj.guidedPrice}}
+
+
+
+
+ *厂家合同价
+
+
+
+ {{formobj.manufactorSettlementPrice}}
+
+
+ *台数
+
+
+
+ {{formobj.num}}
+
+
+
+
+ *订金
+
+
+
+
+
+
+
+ *费用名称
+
+
+
+
+
+ *费用金额合计
+
+
+
+
+
+
+
+ 车辆列表 选择车辆
+
+
‘
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationInfo.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationInfo.vue
new file mode 100644
index 0000000000..fedfe2c636
--- /dev/null
+++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationInfo.vue
@@ -0,0 +1,192 @@
+
+
+
+
+
+
+
外采申请表
+
+ 申请编号
+
+ {{ formobj.applicationCode }}
+ 申请人姓名
+ {{ formobj.createByName }}
+ 申请日期
+ {{ formobj.applicationDate }}
+
+
+ 外采类型
+
+
+ 政策外采
+ 直接外采
+
+
+
+ 采购单位名称
+ {{ formobj.purchasingUnitName }}
+
+
+ 车型名称
+ {{ formobj.modelName }}
+
+
+ 常用配置名称
+ {{ formobj.configName }}
+
+ 采购价格
+ {{ formobj.purchasePrice }}
+
+ 销售指导价
+ {{ formobj.guidedPrice }}
+
+ 厂家合同价
+ {{ formobj.manufactorSettlementPrice }}
+
+ 台数
+ {{ formobj.num }}
+
+ 订金
+ {{ formobj.deposit }}
+
+ 费用名称
+ {{ formobj.expenseName }}
+
+ 费用金额合计
+ {{ formobj.totalExpenseAmount }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
index 934dbb8d98..0988045cff 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/chexing.vue
@@ -544,7 +544,7 @@
},
handlePeizhi(row) {
this.viewState = 5
- this.$refs['divGuanLianPeiZhi'].showGuanlian(row.sid, row.modelName)
+ this.$refs['divGuanLianPeiZhi'].showGuanlian(row )
},
handleSelectionChange(row) {
const aa = []
diff --git a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue
index c993e28dc5..ad5acd1b2a 100644
--- a/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/cheliang/chexing/relation/chexingguanlianchangyong.vue
@@ -609,8 +609,6 @@
])
},
created() {
-
- this.getList() // 加载列表
this.getType()
},
methods: {
@@ -623,12 +621,12 @@
this.searchxianshitit = '显示查询条件'
}
},
- showGuanlian(modelSid, modelName) {
- console.log('sid:', modelSid, 'name:', modelName)
- this.setRelList.modelSid = modelSid
- this.checkRelieve_list.modelSid = modelSid
- // this.listQuery.params.modelSid = modelSid
- this.title = modelName
+ showGuanlian(row) {
+ this.setRelList.modelSid = row.sid
+ this.checkRelieve_list.modelSid = row.sid
+ this.title = row.modelName
+ this.listQuery.params.modelSid = row.sid
+ this.getList() // 加载列表
},
init() {
var name = this.$store.state.modelName
diff --git a/anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue b/anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue
index 8c36949c95..e3fb1202be 100644
--- a/anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/supplychain/caigoutuiku/caigoutuiku.vue
@@ -236,14 +236,6 @@
this.$refs['divadd'].showAdd()
},
toEdit() {
- if (this.sids.length === 0) {
- this.$message({ showClose: true, type: 'error', message: '请选择一条记录进行编辑' })
- return
- }
- if (this.sids.length > 1) {
- this.$message({ showClose: true, type: 'error', message: '只能选择一条记录进行编辑' })
- return
- }
this.viewState = 3
const sid = this.sids[0]
const row = this.row
diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuiku.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuiku.vue
index aa7fc89ddd..450c2ca32a 100644
--- a/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuiku.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuiku.vue
@@ -218,7 +218,7 @@
type: 'success',
duration: 2000
})
- this.refreshIt()
+ // this.refreshIt()
} else {
this.$notify({
title: '提示',
@@ -257,7 +257,7 @@
type: 'success',
duration: 2000
})
- this.refreshIt()
+ // this.refreshIt()
} else {
this.$notify({
title: '提示',
@@ -296,7 +296,7 @@
type: 'success',
duration: 2000
})
- this.refreshIt()
+ // this.refreshIt()
} else {
this.$notify({
title: '提示',
diff --git a/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuikuEdit.vue b/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuikuEdit.vue
index 133de83489..fd0fa625d7 100644
--- a/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuikuEdit.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/workFlow/caigoutuikuFlow/caigoutuikuEdit.vue
@@ -259,7 +259,7 @@
type: 'success',
duration: 2000
})
- this.refreshIt()
+ // this.refreshIt()
} else {
this.$notify({
title: '提示',