|
|
@@ -1160,6 +1160,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ getCurrentManufactureCount2 () {
|
|
|
+ return this.$refs['manufacturerList'].getCurrentManufactureCount3()
|
|
|
+ },
|
|
|
deletedata (FileName, FileUrl) {
|
|
|
let _this = this
|
|
|
_this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
|
|
|
@@ -1284,12 +1287,10 @@ export default {
|
|
|
if (name) {
|
|
|
name = ''
|
|
|
}
|
|
|
- console.log(name, 'dada1')
|
|
|
var newUrl = url + _this.SubfileForm['FileUrl']
|
|
|
var newName = name + _this.SubfileForm['FileName']
|
|
|
var nameArr = newName.split('$')
|
|
|
var urlArr = newUrl.split('$')
|
|
|
- console.log(newName, 'dada1')
|
|
|
// name去重
|
|
|
for (var i = 0, len = nameArr.length; i < len; i++) {
|
|
|
for (var j = i + 1, len = nameArr.length; j < len; j++) {
|
|
|
@@ -1322,7 +1323,6 @@ export default {
|
|
|
nameArr.splice(index1, 1)
|
|
|
}
|
|
|
}
|
|
|
- console.log(nameArr.join('$'), 'dada')
|
|
|
_this.SubfileForm['FileName'] = nameArr.join('$')
|
|
|
_this.SubfileForm['FileUrl'] = urlArr.join('$')
|
|
|
_this.$axios.put('/supplier/editsubfile/' + this.SubfileForm.SupplierId, _this.SubfileForm)
|
|
|
@@ -1347,7 +1347,6 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
getSupplierSceneFile () {
|
|
|
- console.log('不设置下显示显示?')
|
|
|
if (this.formData.Id !== '') {
|
|
|
let params = {
|
|
|
SupplierId: this.formData.Id
|
|
|
@@ -1357,7 +1356,6 @@ export default {
|
|
|
this.scenefile = res.data.item
|
|
|
if (this.scenefile && this.scenefile.FileUrl && this.scenefile != null) {
|
|
|
this.scenefileurllist = this.scenefile.FileUrl.split('$')
|
|
|
- console.log(this.scenefileurllist, '说过的话')
|
|
|
}
|
|
|
})
|
|
|
}
|