新购模块逻辑优化
This commit is contained in:
parent
680cda1153
commit
77fddf5be7
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container" id="acceptDetail">
|
||||||
<el-form
|
<el-form
|
||||||
:model="queryParams"
|
:model="queryParams"
|
||||||
ref="queryForm"
|
ref="queryForm"
|
||||||
|
|
@ -330,7 +330,7 @@ import {
|
||||||
import { downloadFile } from "@/utils/download";
|
import { downloadFile } from "@/utils/download";
|
||||||
import { getToken } from "@/utils/auth";
|
import { getToken } from "@/utils/auth";
|
||||||
export default {
|
export default {
|
||||||
name: "GoodsAcceptDetail",
|
name: "AcceptDetail",
|
||||||
dicts: ["purchase_task_status"],
|
dicts: ["purchase_task_status"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
|
|
@ -447,7 +447,7 @@ export default {
|
||||||
taxRateChange(val){
|
taxRateChange(val){
|
||||||
this.maForm.taxRate = val.replace(/[^\d.]/g,'')
|
this.maForm.taxRate = val.replace(/[^\d.]/g,'')
|
||||||
this.equipmentList.forEach(item=>{
|
this.equipmentList.forEach(item=>{
|
||||||
item.purchaseTaxPrice = item.purchasePrice*(1 + val/100)
|
item.purchaseTaxPrice = ((item.purchasePrice*(1 + val))/100).toFixed(10)
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 含税单价
|
// 含税单价
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
@selection-change="handleSelectionChange"
|
@selection-change="handleSelectionChange"
|
||||||
>
|
>
|
||||||
<el-table-column type="selection" width="55" align="center" />
|
<!-- <el-table-column type="selection" width="55" align="center" /> -->
|
||||||
<el-table-column align="center" label="序号" type="index" />
|
<el-table-column align="center" label="序号" type="index" />
|
||||||
<el-table-column
|
<el-table-column
|
||||||
align="center"
|
align="center"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="app-container">
|
<div class="app-container" id="entryDetail">
|
||||||
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="90px">
|
||||||
<el-form-item label="类型规格:" prop="typeId" >
|
<el-form-item label="类型规格:" prop="typeId" >
|
||||||
<el-select v-model="queryParams.typeId" placeholder="请选择类型规格" clearable>
|
<el-select v-model="queryParams.typeId" placeholder="请选择类型规格" clearable>
|
||||||
|
|
@ -219,7 +219,7 @@ import { purchaseWarehouse,getMachineById,rejectPurchaseWarehouse } from "@/api/
|
||||||
import { downloadFile } from '@/utils/download'
|
import { downloadFile } from '@/utils/download'
|
||||||
import { getToken } from '@/utils/auth'
|
import { getToken } from '@/utils/auth'
|
||||||
export default {
|
export default {
|
||||||
name: "GoodsAcceptDetail",
|
name: "EntryDetail",
|
||||||
dicts: ["purchase_task_status"],
|
dicts: ["purchase_task_status"],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue