|
@@ -150,8 +150,8 @@
|
|
|
<span>{{ row.isTax ? '是' : '否' }}</span>
|
|
<span>{{ row.isTax ? '是' : '否' }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="price" slot-scope="{ row }">
|
|
<template slot="price" slot-scope="{ row }">
|
|
|
- <el-input v-if="row.edit" type="number" v-model="row.price" size="small" :min="1" placeholder="请输入"
|
|
|
|
|
- @blur="priceinputfun($event, row)"></el-input>
|
|
|
|
|
|
|
+ <el-input-number v-if="row.edit" v-model="row.price" size="small" :min="1" placeholder="请输入"
|
|
|
|
|
+ @blur="priceinputfun($event, row)" :controls="false" style="width: 100%;"></el-input-number>
|
|
|
<span v-else>{{ row.price }}</span>
|
|
<span v-else>{{ row.price }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- <template slot="quantity" slot-scope="{ row }">
|
|
<!-- <template slot="quantity" slot-scope="{ row }">
|
|
@@ -160,8 +160,8 @@
|
|
|
<span v-else>{{ row.quantity }}</span>
|
|
<span v-else>{{ row.quantity }}</span>
|
|
|
</template> -->
|
|
</template> -->
|
|
|
<template slot="quantity" slot-scope="{ row }">
|
|
<template slot="quantity" slot-scope="{ row }">
|
|
|
- <el-input-number v-if="row.edit" type="number" v-model="row.quantity" size="small" :min="1"
|
|
|
|
|
- :controls="false" :precision="3" placeholder="请输入" style="width: 100%;"
|
|
|
|
|
|
|
+ <el-input-number v-if="row.edit" v-model="row.quantity" size="small" :min="1" :controls="false"
|
|
|
|
|
+ :precision="3" placeholder="请输入" style="width: 100%;"
|
|
|
@blur="quantityinputfun(row)"></el-input-number>
|
|
@blur="quantityinputfun(row)"></el-input-number>
|
|
|
<span v-else>{{ row.quantity }}</span>
|
|
<span v-else>{{ row.quantity }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -229,7 +229,7 @@
|
|
|
@click="copyfun('C')">生成应收
|
|
@click="copyfun('C')">生成应收
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button type="info" plain size="small" :disabled="disabled"
|
|
<el-button type="info" plain size="small" :disabled="disabled"
|
|
|
- @click="allClick('付费申请', 'C')">付费申请</el-button>
|
|
|
|
|
|
|
+ @click="allClick('付费申请', 'C')">付费申请</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="indexHeader" slot-scope="scope">
|
|
<template slot="indexHeader" slot-scope="scope">
|
|
|
<el-button v-if="roleName.indexOf('admin') != -1 || roleName.indexOf('应付修改') != -1" type="primary"
|
|
<el-button v-if="roleName.indexOf('admin') != -1 || roleName.indexOf('应付修改') != -1" type="primary"
|
|
@@ -301,8 +301,8 @@
|
|
|
<span>{{ row.isTax ? '是' : '否' }}</span>
|
|
<span>{{ row.isTax ? '是' : '否' }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<template slot="price" slot-scope="{ row }">
|
|
<template slot="price" slot-scope="{ row }">
|
|
|
- <el-input v-if="row.edit" type="number" v-model="row.price" size="small" :min="1" placeholder="请输入"
|
|
|
|
|
- @blur="priceinputfun($event, row)"></el-input>
|
|
|
|
|
|
|
+ <el-input-number v-if="row.edit" v-model="row.price" size="small" :min="1" placeholder="请输入"
|
|
|
|
|
+ @blur="priceinputfun($event, row)" :controls="false"></el-input-number>
|
|
|
<span v-else>{{ row.price }}</span>
|
|
<span v-else>{{ row.price }}</span>
|
|
|
</template>
|
|
</template>
|
|
|
<!-- <template slot="quantity" slot-scope="{ row }">
|
|
<!-- <template slot="quantity" slot-scope="{ row }">
|
|
@@ -311,8 +311,8 @@
|
|
|
<span v-else>{{ row.quantity }}</span>
|
|
<span v-else>{{ row.quantity }}</span>
|
|
|
</template> -->
|
|
</template> -->
|
|
|
<template slot="quantity" slot-scope="{ row }">
|
|
<template slot="quantity" slot-scope="{ row }">
|
|
|
- <el-input-number v-if="row.edit" type="number" v-model="row.quantity" size="small" :min="1"
|
|
|
|
|
- :controls="false" :precision="3" placeholder="请输入" style="width: 100%;"
|
|
|
|
|
|
|
+ <el-input-number v-if="row.edit" v-model="row.quantity" size="small" :min="1" :controls="false"
|
|
|
|
|
+ :precision="3" placeholder="请输入" style="width: 100%;"
|
|
|
@blur="quantityinputfun(row)"></el-input-number>
|
|
@blur="quantityinputfun(row)"></el-input-number>
|
|
|
<span v-else>{{ row.quantity }}</span>
|
|
<span v-else>{{ row.quantity }}</span>
|
|
|
</template>
|
|
</template>
|
|
@@ -1985,7 +1985,7 @@ export default {
|
|
|
for (let item of this.corpCnNameData) {
|
|
for (let item of this.corpCnNameData) {
|
|
|
console.log(item)
|
|
console.log(item)
|
|
|
if (item.shortName == value) {
|
|
if (item.shortName == value) {
|
|
|
-
|
|
|
|
|
|
|
+
|
|
|
this.$set(row, 'shortName', item.shortName)
|
|
this.$set(row, 'shortName', item.shortName)
|
|
|
this.$set(row, 'corpCnName', item.cnName)
|
|
this.$set(row, 'corpCnName', item.cnName)
|
|
|
this.$set(row, 'corpEnName', item.enName)
|
|
this.$set(row, 'corpEnName', item.enName)
|