|
@@ -370,7 +370,7 @@ export default {
|
|
}
|
|
}
|
|
if(e && (this.accAdd(Number(e),Number(that.formData.selfWebsitAmount)) >100)){
|
|
if(e && (this.accAdd(Number(e),Number(that.formData.selfWebsitAmount)) >100)){
|
|
this.formData.selfWorkerAmount = 0
|
|
this.formData.selfWorkerAmount = 0
|
|
- return this.$message.warning('网点与师傅分账比例和最大只能100%!');
|
|
|
|
|
|
+ return this.$message.warning('商户与师傅分账比例和最大只能100%!');
|
|
}else{
|
|
}else{
|
|
that.formData.selfWebsitAmount = this.Subtr(100,e)
|
|
that.formData.selfWebsitAmount = this.Subtr(100,e)
|
|
}
|
|
}
|
|
@@ -413,7 +413,7 @@ export default {
|
|
name: 'slot-component',
|
|
name: 'slot-component',
|
|
attributes: { placeholder: '请输入', type: 'number' },
|
|
attributes: { placeholder: '请输入', type: 'number' },
|
|
formItemAttributes: {
|
|
formItemAttributes: {
|
|
- label: '自有库存网点分账金额',
|
|
|
|
|
|
+ label: '自有库存商户分账金额',
|
|
prop: 'selfWebsitAmount',
|
|
prop: 'selfWebsitAmount',
|
|
rules: [...required]
|
|
rules: [...required]
|
|
},
|
|
},
|
|
@@ -433,7 +433,7 @@ export default {
|
|
name: 'slot-component',
|
|
name: 'slot-component',
|
|
attributes: { placeholder: '请输入', type: 'number' },
|
|
attributes: { placeholder: '请输入', type: 'number' },
|
|
formItemAttributes: {
|
|
formItemAttributes: {
|
|
- label: '网点分账比例',
|
|
|
|
|
|
+ label: '商户分账比例',
|
|
prop: 'selfWebsitAmount',
|
|
prop: 'selfWebsitAmount',
|
|
rules: [...required]
|
|
rules: [...required]
|
|
},
|
|
},
|
|
@@ -446,11 +446,11 @@ export default {
|
|
<el-input v-model={this.formData.selfWebsitAmount} onChange={(e)=>{
|
|
<el-input v-model={this.formData.selfWebsitAmount} onChange={(e)=>{
|
|
this.formData.selfWebsitAmount = Number(this.formData.selfWebsitAmount).toFixed(2)
|
|
this.formData.selfWebsitAmount = Number(this.formData.selfWebsitAmount).toFixed(2)
|
|
if(e && (Number(e) < 0)){
|
|
if(e && (Number(e) < 0)){
|
|
- return this.$message.warning('网点分账比例不能为0!');
|
|
|
|
|
|
+ return this.$message.warning('商户分账比例不能为0!');
|
|
}
|
|
}
|
|
if(e && (this.accAdd(Number(e),Number(that.formData.selfWorkerAmount)) >100)){
|
|
if(e && (this.accAdd(Number(e),Number(that.formData.selfWorkerAmount)) >100)){
|
|
this.formData.selfWebsitAmount = 0
|
|
this.formData.selfWebsitAmount = 0
|
|
- return this.$message.warning('网点与师傅分账比例和最大只能100%!');
|
|
|
|
|
|
+ return this.$message.warning('商户与师傅分账比例和最大只能100%!');
|
|
}else{
|
|
}else{
|
|
that.formData.selfWorkerAmount = this.Subtr(100,e)
|
|
that.formData.selfWorkerAmount = this.Subtr(100,e)
|
|
}
|
|
}
|
|
@@ -465,7 +465,7 @@ export default {
|
|
name: 'slot-component',
|
|
name: 'slot-component',
|
|
attributes: { placeholder: '请输入', type: 'number' },
|
|
attributes: { placeholder: '请输入', type: 'number' },
|
|
formItemAttributes: {
|
|
formItemAttributes: {
|
|
- label: '外购辅材网点分账金额',
|
|
|
|
|
|
+ label: '外购辅材商户分账金额',
|
|
prop: 'outWebsitAmount',
|
|
prop: 'outWebsitAmount',
|
|
rules: [...required]
|
|
rules: [...required]
|
|
},
|
|
},
|