|
@@ -524,7 +524,7 @@ export default {
|
|
|
callback()
|
|
|
}
|
|
|
var NumberSize = (rule, value, callback) => {
|
|
|
- if (+value > 100 || +value < 0 && value) {
|
|
|
+ if (+value > 100 || +value < 0 ) {
|
|
|
return callback(new Error('折扣范围(0-100%)'));
|
|
|
}
|
|
|
callback()
|
|
@@ -947,9 +947,12 @@ export default {
|
|
|
this.form.enterprisename = data[0].enterprisename
|
|
|
this.form.sys_enterpriseid = data[0].sys_enterpriseid
|
|
|
this.accountVisible = false
|
|
|
- this.salsemanParam.content.type = 3
|
|
|
- this.salsemanParam.content.sys_enterpriseid = this.form.sys_enterpriseid
|
|
|
- this.querySalse()
|
|
|
+ if (this.$route.query.type == '工具借用'){
|
|
|
+ this.salsemanParam.content.type = 3
|
|
|
+ this.salsemanParam.content.sys_enterpriseid = this.form.sys_enterpriseid
|
|
|
+ this.querySalse()
|
|
|
+ }
|
|
|
+
|
|
|
},
|
|
|
centerChange (data) {
|
|
|
this.form.enterprisename = data[0].enterprisename
|