|
@@ -35,7 +35,7 @@
|
|
|
v-model="queryParam.state"
|
|
|
ref="state"
|
|
|
id="bulkWarehousingOrderList-state"
|
|
|
- code="PAYMENT_TYPE"
|
|
|
+ code="SPARE_PARTS_PURCHASE"
|
|
|
placeholder="请选择业务状态"
|
|
|
allowClear
|
|
|
></v-select>
|
|
@@ -77,7 +77,7 @@
|
|
|
</div>
|
|
|
<!-- 操作按钮 -->
|
|
|
<div class="table-operator">
|
|
|
- <a-button id="bulkWarehousingOrderList-add" type="primary" @click="handleAdd">新增</a-button>
|
|
|
+ <a-button id="bulkWarehousingOrderList-add" type="primary" class="button-error" @click="handleAdd">新增</a-button>
|
|
|
</div>
|
|
|
<!-- alert -->
|
|
|
<a-alert type="info" showIcon style="margin-bottom:15px">
|
|
@@ -171,17 +171,17 @@ export default {
|
|
|
methods: {
|
|
|
// 合计
|
|
|
getTotal (param) {
|
|
|
- sparePartsPurCount(param).then(res => {
|
|
|
- if (res.status == 200 && res.data) {
|
|
|
- this.productTotal = res.data
|
|
|
- } else {
|
|
|
- this.productTotal = {
|
|
|
- // 合计信息
|
|
|
- productTotalCost: '',
|
|
|
- productTotalQty: ''
|
|
|
- }
|
|
|
- }
|
|
|
- })
|
|
|
+ sparePartsPurCount(param).then(res => {
|
|
|
+ if (res.status == 200 && res.data) {
|
|
|
+ this.productTotal = res.data
|
|
|
+ } else {
|
|
|
+ this.productTotal = {
|
|
|
+ // 合计信息
|
|
|
+ productTotalCost: '',
|
|
|
+ productTotalQty: ''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
},
|
|
|
// 新增
|
|
|
handleAdd () {
|
|
@@ -250,9 +250,9 @@ export default {
|
|
|
this.$refs.table.refresh(true)
|
|
|
},
|
|
|
filterOption (input, option) {
|
|
|
- return (
|
|
|
- option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
- )
|
|
|
+ return (
|
|
|
+ option.componentOptions.children[0].text.toLowerCase().indexOf(input.toLowerCase()) >= 0
|
|
|
+ )
|
|
|
},
|
|
|
// 导出
|
|
|
handleExport () {
|