|
@@ -240,6 +240,7 @@
|
|
<ws-form-item label="称重扣款" span="1" prop="waterContent">
|
|
<ws-form-item label="称重扣款" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.weighingDeduction"
|
|
v-model="paymentList.weighingDeduction"
|
|
placeholder="请输入称重扣款"
|
|
placeholder="请输入称重扣款"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -250,6 +251,7 @@
|
|
<ws-form-item label="称重补助" span="1" prop="waterContent">
|
|
<ws-form-item label="称重补助" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.weighingSubsidy"
|
|
v-model="paymentList.weighingSubsidy"
|
|
placeholder="请输入称重补助"
|
|
placeholder="请输入称重补助"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -261,6 +263,7 @@
|
|
<ws-form-item label="运费扣款" span="1" prop="waterContent">
|
|
<ws-form-item label="运费扣款" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.freightDeduction"
|
|
v-model="paymentList.freightDeduction"
|
|
placeholder="请输入运费扣款"
|
|
placeholder="请输入运费扣款"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -271,6 +274,7 @@
|
|
<ws-form-item label="运费补助" span="1" prop="waterContent">
|
|
<ws-form-item label="运费补助" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.freightSubsidy"
|
|
v-model="paymentList.freightSubsidy"
|
|
placeholder="请输入运费补助"
|
|
placeholder="请输入运费补助"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -281,6 +285,7 @@
|
|
<ws-form-item label="卸车扣款" span="1" prop="waterContent">
|
|
<ws-form-item label="卸车扣款" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.unloadDeduction"
|
|
v-model="paymentList.unloadDeduction"
|
|
placeholder="请输入卸车扣款"
|
|
placeholder="请输入卸车扣款"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -291,6 +296,7 @@
|
|
<ws-form-item label="卸车补助" span="1" prop="waterContent">
|
|
<ws-form-item label="卸车补助" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.unloadSubsidy"
|
|
v-model="paymentList.unloadSubsidy"
|
|
placeholder="请输入卸车补助"
|
|
placeholder="请输入卸车补助"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -301,6 +307,7 @@
|
|
<ws-form-item label="质量扣款" span="1" prop="qualityDeduction">
|
|
<ws-form-item label="质量扣款" span="1" prop="qualityDeduction">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.qualityDeduction"
|
|
v-model="paymentList.qualityDeduction"
|
|
placeholder="请输入质量扣款"
|
|
placeholder="请输入质量扣款"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -312,6 +319,7 @@
|
|
<ws-form-item label="其他补助" span="1" prop="waterContent">
|
|
<ws-form-item label="其他补助" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.otherSubsidy"
|
|
v-model="paymentList.otherSubsidy"
|
|
placeholder="请输入其他补助"
|
|
placeholder="请输入其他补助"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -323,6 +331,7 @@
|
|
<ws-form-item label="其他扣款" span="1" prop="waterContent">
|
|
<ws-form-item label="其他扣款" span="1" prop="waterContent">
|
|
<ws-input
|
|
<ws-input
|
|
@input='grainMoney'
|
|
@input='grainMoney'
|
|
|
|
+ @focus="inputFocus($event)"
|
|
v-model="paymentList.otherDeduction"
|
|
v-model="paymentList.otherDeduction"
|
|
placeholder="请输入其他扣款"
|
|
placeholder="请输入其他扣款"
|
|
maxlength="100"
|
|
maxlength="100"
|
|
@@ -439,6 +448,9 @@ export default {
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ inputFocus(event){
|
|
|
|
+ event.currentTarget.select()
|
|
|
|
+ },
|
|
closeDialog(){
|
|
closeDialog(){
|
|
html2canvas(this.$refs.saveImg.$el).then((canvas) => {
|
|
html2canvas(this.$refs.saveImg.$el).then((canvas) => {
|
|
let dataURL = canvas.toDataURL('image/png')
|
|
let dataURL = canvas.toDataURL('image/png')
|