|
|
|
@ -1,171 +1,149 @@
|
|
|
|
|
<template>
|
|
|
|
|
<el-dialog :title="!dataForm.id ? '新建' : isDetail ? '详情':'编辑'"
|
|
|
|
|
:close-on-click-modal="false" append-to-body
|
|
|
|
|
:visible.sync="visible" class="JNPF-dialog JNPF-dialog_center" lock-scroll
|
|
|
|
|
width="1000px">
|
|
|
|
|
<el-dialog :title="!dataForm.id ? '新建' : isDetail ? '详情':'编辑'" :close-on-click-modal="false" append-to-body
|
|
|
|
|
:visible.sync="visible" class="JNPF-dialog JNPF-dialog_center" lock-scroll width="1000px">
|
|
|
|
|
<el-row :gutter="15" class="">
|
|
|
|
|
<el-form ref="elForm" :model="dataForm" :rules="rules" size="small" label-width="100px" label-position="right" >
|
|
|
|
|
<el-form ref="elForm" :model="dataForm" :rules="rules" size="small" label-width="100px"
|
|
|
|
|
label-position="right">
|
|
|
|
|
<template v-if="!loading">
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="单据编号"
|
|
|
|
|
prop="documentno" >
|
|
|
|
|
<el-input v-model="dataForm.documentno"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="单据编号" prop="documentno">
|
|
|
|
|
<el-input v-model="dataForm.documentno" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="供应商名称"
|
|
|
|
|
prop="suppliername" >
|
|
|
|
|
<el-input v-model="dataForm.suppliername"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="供应商名称" prop="suppliername">
|
|
|
|
|
<el-input v-model="dataForm.suppliername" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="合同名称"
|
|
|
|
|
prop="contractname" >
|
|
|
|
|
<el-input v-model="dataForm.contractname"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="合同名称" prop="contractname">
|
|
|
|
|
<el-input v-model="dataForm.contractname" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="制单人"
|
|
|
|
|
prop="creatorusername" >
|
|
|
|
|
<el-input v-model="dataForm.creatorusername"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="制单人" prop="creatorusername">
|
|
|
|
|
<el-input v-model="dataForm.creatorusername" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="采购部门"
|
|
|
|
|
prop="departmentId" >
|
|
|
|
|
<dep-select v-model="dataForm.departmentId"
|
|
|
|
|
placeholder="请选择" clearable >
|
|
|
|
|
<el-form-item label="采购部门" prop="departmentId">
|
|
|
|
|
<dep-select v-model="dataForm.departmentId" placeholder="请选择" clearable>
|
|
|
|
|
|
|
|
|
|
</dep-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="对方合同号"
|
|
|
|
|
prop="contractno" >
|
|
|
|
|
<el-input v-model="dataForm.contractno"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="对方合同号" prop="contractno">
|
|
|
|
|
<el-input v-model="dataForm.contractno" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="数量"
|
|
|
|
|
prop="num" >
|
|
|
|
|
<el-input-number v-model="dataForm.num"
|
|
|
|
|
placeholder="数字文本" :step="1" controls-position='right' >
|
|
|
|
|
<el-form-item label="数量" prop="num">
|
|
|
|
|
<el-input-number v-model="dataForm.num" placeholder="数字文本" :step="1"
|
|
|
|
|
controls-position='right'>
|
|
|
|
|
|
|
|
|
|
</el-input-number>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="金额"
|
|
|
|
|
prop="amount" >
|
|
|
|
|
<el-input v-model="dataForm.amount"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="金额" prop="amount">
|
|
|
|
|
<el-input v-model="dataForm.amount" placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="不含税金额"
|
|
|
|
|
prop="notamount" >
|
|
|
|
|
<el-input v-model="dataForm.notamount"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="不含税金额" prop="notamount">
|
|
|
|
|
<el-input v-model="dataForm.notamount" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="币别 "
|
|
|
|
|
prop="currency" >
|
|
|
|
|
<el-select v-model="dataForm.currency"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in currencyOptions" :key="index" :label="item.fullName" :value="item.id" :disabled="item.disabled" ></el-option>
|
|
|
|
|
<el-form-item label="币别 " prop="currency">
|
|
|
|
|
<el-select v-model="dataForm.currency" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in currencyOptions" :key="index" :label="item.fullName"
|
|
|
|
|
:value="item.id" :disabled="item.disabled"></el-option>
|
|
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="16">
|
|
|
|
|
<el-form-item label="备注"
|
|
|
|
|
prop="remark" >
|
|
|
|
|
<el-input v-model="dataForm.remark"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="备注" prop="remark">
|
|
|
|
|
<el-input v-model="dataForm.remark" placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="ERP订单号"
|
|
|
|
|
prop="erpno" >
|
|
|
|
|
<el-input v-model="dataForm.erpno"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="ERP订单号" prop="erpno">
|
|
|
|
|
<el-input v-model="dataForm.erpno" placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="已付款金额"
|
|
|
|
|
prop="payprice" >
|
|
|
|
|
<el-input v-model="dataForm.payprice"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="已付款金额" prop="payprice">
|
|
|
|
|
<el-input v-model="dataForm.payprice" placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="发票数量"
|
|
|
|
|
prop="invoicenum" >
|
|
|
|
|
<el-input v-model="dataForm.invoicenum"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="发票数量" prop="invoicenum">
|
|
|
|
|
<el-input v-model="dataForm.invoicenum" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="发票金额"
|
|
|
|
|
prop="invoiceamount" >
|
|
|
|
|
<el-input v-model="dataForm.invoiceamount"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="发票金额" prop="invoiceamount">
|
|
|
|
|
<el-input v-model="dataForm.invoiceamount" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="垫资金额"
|
|
|
|
|
prop="advanceamount" >
|
|
|
|
|
<el-input v-model="dataForm.advanceamount"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-form-item label="垫资金额" prop="advanceamount">
|
|
|
|
|
<el-input v-model="dataForm.advanceamount" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
|
|
|
|
|
</el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8">
|
|
|
|
|
<el-form-item label="单据状态"
|
|
|
|
|
prop="status" >
|
|
|
|
|
<el-select v-model="dataForm.status"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in statusOptions" :key="index" :label="item.fullName" :value="item.id" :disabled="item.disabled" ></el-option>
|
|
|
|
|
<el-form-item label="单据状态" prop="status">
|
|
|
|
|
<el-select v-model="dataForm.status" placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in statusOptions" :key="index" :label="item.fullName"
|
|
|
|
|
:value="item.id" :disabled="item.disabled"></el-option>
|
|
|
|
|
|
|
|
|
|
</el-select>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="10">
|
|
|
|
|
<el-form-item label="制单时间"
|
|
|
|
|
prop="creatortime" >
|
|
|
|
|
<el-date-picker v-model="dataForm.creatortime"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}' type="datetime" format="yyyy-MM-dd HH:mm:ss" value-format="timestamp" >
|
|
|
|
|
<el-form-item label="制单时间" prop="creatortime">
|
|
|
|
|
<el-date-picker v-model="dataForm.creatortime" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}' type="datetime" format="yyyy-MM-dd HH:mm:ss"
|
|
|
|
|
value-format="timestamp">
|
|
|
|
|
|
|
|
|
|
</el-date-picker>
|
|
|
|
|
</el-form-item>
|
|
|
|
@ -182,95 +160,104 @@
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column prop="licensenum" label="车牌号">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.licensenum"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.licensenum" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="materialname" label="物料名称">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.materialname"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.materialname" placeholder="请输入"
|
|
|
|
|
clearable :style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="pounttype" label="类型 ">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-select v-model="scope.row.pounttype"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in pounttypeOptions" :key="index" :label="item.fullName" :value="item.id" :disabled="item.disabled" ></el-option>
|
|
|
|
|
<el-select v-model="scope.row.pounttype" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in pounttypeOptions"
|
|
|
|
|
:key="index" :label="item.fullName" :value="item.id"
|
|
|
|
|
:disabled="item.disabled"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="netweight" label="净重">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.netweight"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.netweight" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="unit" label="单位">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-select v-model="scope.row.unit"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in unitOptions" :key="index" :label="item.fullName" :value="item.id" :disabled="item.disabled" ></el-option>
|
|
|
|
|
<el-select v-model="scope.row.unit" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in unitOptions" :key="index"
|
|
|
|
|
:label="item.fullName" :value="item.id"
|
|
|
|
|
:disabled="item.disabled"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="advance" label="是否垫资">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-select v-model="scope.row.advance"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in advanceOptions" :key="index" :label="item.fullName" :value="item.id" :disabled="item.disabled" ></el-option>
|
|
|
|
|
<el-select v-model="scope.row.advance" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in advanceOptions" :key="index"
|
|
|
|
|
:label="item.fullName" :value="item.id"
|
|
|
|
|
:disabled="item.disabled"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="price" label="单价">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.price"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.price" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="settlement" label="结算重量">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.settlement"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.settlement" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="rate" label="税率 ">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-select v-model="scope.row.rate"
|
|
|
|
|
placeholder="请选择" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in rateOptions" :key="index" :label="item.fullName" :value="item.id" :disabled="item.disabled" ></el-option>
|
|
|
|
|
<el-select v-model="scope.row.rate" placeholder="请选择" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
<el-option v-for="(item, index) in rateOptions" :key="index"
|
|
|
|
|
:label="item.fullName" :value="item.id"
|
|
|
|
|
:disabled="item.disabled"></el-option>
|
|
|
|
|
</el-select>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="amount" label="金额">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.amount"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.amount" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="notamount" label="不含税金额">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.notamount"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.notamount" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="remark" label="备注">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-input v-model="scope.row.remark"
|
|
|
|
|
placeholder="请输入" clearable :style='{"width":"100%"}'>
|
|
|
|
|
<el-input v-model="scope.row.remark" placeholder="请输入" clearable
|
|
|
|
|
:style='{"width":"100%"}'>
|
|
|
|
|
</el-input>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="操作" width="50">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<el-button size="mini" type="text" class="JNPF-table-delBtn" @click="delpurchaseorder_item0List(scope.$index)">删除</el-button>
|
|
|
|
|
<el-button size="mini" type="text" class="JNPF-table-delBtn"
|
|
|
|
|
@click="delpurchaseorder_item0List(scope.$index)">删除</el-button>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
</el-table>
|
|
|
|
@ -293,8 +280,12 @@
|
|
|
|
|
</template>
|
|
|
|
|
<script>
|
|
|
|
|
import request from '@/utils/request'
|
|
|
|
|
import { getDataInterfaceRes } from '@/api/systemData/dataInterface'
|
|
|
|
|
import { getDictionaryDataSelector } from '@/api/systemData/dictionary'
|
|
|
|
|
import {
|
|
|
|
|
getDataInterfaceRes
|
|
|
|
|
} from '@/api/systemData/dataInterface'
|
|
|
|
|
import {
|
|
|
|
|
getDictionaryDataSelector
|
|
|
|
|
} from '@/api/systemData/dictionary'
|
|
|
|
|
export default {
|
|
|
|
|
components: {},
|
|
|
|
|
props: [],
|
|
|
|
@ -325,22 +316,82 @@
|
|
|
|
|
purchaseorder_item0List: [],
|
|
|
|
|
},
|
|
|
|
|
activebgsnko: '0',
|
|
|
|
|
rules:
|
|
|
|
|
{
|
|
|
|
|
},
|
|
|
|
|
currencyOptions:[{"fullName":"人民币","id":"0"},{"fullName":"美元","id":"1"},{"fullName":"英镑","id":"2"}],
|
|
|
|
|
statusOptions:[{"fullName":"已保存","id":"0"},{"fullName":"开票中","id":"1"},{"fullName":"付款申请","id":"2"},{"fullName":"待付款","id":"3"},{"fullName":"付款中","id":"4"},{"fullName":"归档","id":"5"}],
|
|
|
|
|
rules: {},
|
|
|
|
|
currencyOptions: [{
|
|
|
|
|
"fullName": "人民币",
|
|
|
|
|
"id": "0"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "美元",
|
|
|
|
|
"id": "1"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "英镑",
|
|
|
|
|
"id": "2"
|
|
|
|
|
}],
|
|
|
|
|
statusOptions: [{
|
|
|
|
|
"fullName": "已保存",
|
|
|
|
|
"id": "0"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "开票中",
|
|
|
|
|
"id": "1"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "付款申请",
|
|
|
|
|
"id": "2"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "待付款",
|
|
|
|
|
"id": "3"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "付款中",
|
|
|
|
|
"id": "4"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "归档",
|
|
|
|
|
"id": "5"
|
|
|
|
|
}],
|
|
|
|
|
|
|
|
|
|
pounttypeOptions:[{"fullName":"贸易","id":"0"},{"fullName":"其他","id":"1"}],
|
|
|
|
|
unitOptions:[{"fullName":"吨","id":"0"},{"fullName":"千克","id":"1"}],
|
|
|
|
|
advanceOptions:[{"fullName":"是","id":"1"},{"fullName":"否","id":"0"}],
|
|
|
|
|
rateOptions:[{"fullName":"13","id":"0"},{"fullName":"9","id":"1"},{"fullName":"6","id":"2"},{"fullName":"5","id":"3"},{"fullName":"3","id":"4"},{"fullName":"0","id":"5"}],
|
|
|
|
|
pounttypeOptions: [{
|
|
|
|
|
"fullName": "贸易",
|
|
|
|
|
"id": "0"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "其他",
|
|
|
|
|
"id": "1"
|
|
|
|
|
}],
|
|
|
|
|
unitOptions: [{
|
|
|
|
|
"fullName": "吨",
|
|
|
|
|
"id": "0"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "千克",
|
|
|
|
|
"id": "1"
|
|
|
|
|
}],
|
|
|
|
|
advanceOptions: [{
|
|
|
|
|
"fullName": "是",
|
|
|
|
|
"id": "1"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "否",
|
|
|
|
|
"id": "0"
|
|
|
|
|
}],
|
|
|
|
|
rateOptions: [{
|
|
|
|
|
"fullName": "13",
|
|
|
|
|
"id": "0"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "9",
|
|
|
|
|
"id": "1"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "6",
|
|
|
|
|
"id": "2"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "5",
|
|
|
|
|
"id": "3"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "3",
|
|
|
|
|
"id": "4"
|
|
|
|
|
}, {
|
|
|
|
|
"fullName": "0",
|
|
|
|
|
"id": "5"
|
|
|
|
|
}],
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
computed: {},
|
|
|
|
|
watch: {},
|
|
|
|
|
created() {
|
|
|
|
|
},
|
|
|
|
|
created() {},
|
|
|
|
|
mounted() {},
|
|
|
|
|
methods: {
|
|
|
|
|
purchaseorder_item0Exist() {
|
|
|
|
@ -463,5 +514,4 @@
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|