This commit is contained in:
cun-nan 2024-03-15 09:52:11 +08:00
parent 39f2709f54
commit b3dd88bc7b
4 changed files with 12 additions and 13 deletions

View File

@ -1376,7 +1376,7 @@ export default {
this.gasolinePreferential.push(temp);
},
subGasOline(idx){
this.gasolinePreferential.splice(idx-1,1);
this.gasolinePreferential.splice(idx,1);
},
addDiesel(){
let temp= {
@ -1387,7 +1387,7 @@ export default {
this.dieselPreferential.push(temp);
},
subDiesel(idx){
this.dieselPreferential.splice(idx-1,1);
this.dieselPreferential.splice(idx,1);
},
addNaturalGas(){
let temp= {
@ -1398,7 +1398,7 @@ export default {
this.naturalGasPreferential.push(temp);
},
subNaturalGas(idx){
this.naturalGasPreferential.splice(idx-1,1);
this.naturalGasPreferential.splice(idx,1);
},
}
}

View File

@ -157,7 +157,7 @@
</span>
</template>
</el-table-column>
<el-table-column label="油品提成" prop="royaltyRate" align="center"/>
<el-table-column label="提成信息" prop="royaltyRate" align="center"/>
<!-- <el-table-column label="生效时间" prop="takeEffect" align="center">-->
<!-- <template slot-scope="scope">-->
<!-- <span>-->
@ -285,9 +285,8 @@
<el-row>
<el-col :span="24">
<el-form-item label="提成金额" prop="royaltyRate">
<el-input v-model="form.royaltyRate" placeholder="请输入提成">
<el-select v-model="select" maxlength="10"
oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" style="width: 70px" slot="append" placeholder="请选择">
<el-input v-model="form.royaltyRate" placeholder="请输入提成" maxlength="10" oninput="value=value.replace(/^\D*(\d*(?:\.\d{0,2})?).*$/g, '$1')" >
<el-select v-model="select"style="width: 70px" slot="append" placeholder="请选择">
<el-option label="元" value="元"></el-option>
<el-option label="%" value="%"></el-option>
</el-select>

View File

@ -1079,7 +1079,7 @@ export default {
this.gasolinePreferential.push(temp);
},
subGasOline(idx){
this.gasolinePreferential.splice(idx-1,1);
this.gasolinePreferential.splice(idx,1);
},
addDiesel(){
let temp= {
@ -1090,7 +1090,7 @@ export default {
this.dieselPreferential.push(temp);
},
subDiesel(idx){
this.dieselPreferential.splice(idx-1,1);
this.dieselPreferential.splice(idx,1);
},
addNaturalGas(){
let temp= {
@ -1101,7 +1101,7 @@ export default {
this.naturalGasPreferential.push(temp);
},
subNaturalGas(idx){
this.naturalGasPreferential.splice(idx-1,1);
this.naturalGasPreferential.splice(idx,1);
},
//
getRule(){

View File

@ -186,9 +186,9 @@
<div>找零</div>
<div class="bule">{{ seekZero.toFixed(2) }}</div>
</div>
<div class="th-box">
<div @click="getStaffList">加油员</div>
<div style="cursor: pointer;color: crimson" @click="getStaffList" >{{ staff ? staff.realName : "--" }}</div>
<div class="th-box" @click="getStaffList">
<div>加油员</div>
<div style="cursor: pointer;color: crimson" >{{ staff ? staff.realName : "--" }}</div>
</div>
</div>
</div>