|
|
|
@ -6,10 +6,10 @@
|
|
|
|
|
<template v-if="!loading && formOperates">
|
|
|
|
|
<!-- 具体表单 -->
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="基本信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">基本信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('receiptType')">
|
|
|
|
|
<jnpf-form-tip-item label-width="0" prop="receiptType">
|
|
|
|
@ -20,10 +20,10 @@
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="基础信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">基础信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('receiptCode')">
|
|
|
|
|
<jnpf-form-tip-item label="订单编号" v-if="judgeShow('receiptCode')" prop="receiptCode">
|
|
|
|
@ -44,10 +44,10 @@
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="关联信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">关联信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('businessId')">
|
|
|
|
|
<jnpf-form-tip-item label="退货单" v-if="judgeShow('businessId')" prop="businessId">
|
|
|
|
@ -56,7 +56,7 @@
|
|
|
|
|
placeholder="请选择" :disabled="judgeWrite('businessId')" propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='returnCargoCode' field='businessId' interfaceId="531492712415758085"
|
|
|
|
|
:pageSize="20" :columnOptions="businessIdcolumnOptions" clearable
|
|
|
|
|
:pageSize="20" :hasPage="true" :columnOptions="businessIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
@ -66,11 +66,10 @@
|
|
|
|
|
prop="reservedFields1">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.reservedFields1"
|
|
|
|
|
@change="changeData('reservedFields1', -1)" :rowIndex="null" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.reservedFields1" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('reservedFields1')" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='name' field='reservedFields1'
|
|
|
|
|
interfaceId="517979330417001669" :pageSize="20"
|
|
|
|
|
:columnOptions="reservedFields1columnOptions" clearable
|
|
|
|
|
:templateJson="interfaceRes.reservedFields1" placeholder="请选择" :disabled="true"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='name' field='reservedFields1' interfaceId="517979330417001669"
|
|
|
|
|
:pageSize="20" :columnOptions="reservedFields1columnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
@ -83,7 +82,7 @@
|
|
|
|
|
<el-table :data="dataForm.saleReturnCargoOrderInfo" size='mini'>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="销售退货订单" v-if="judgeShow('warehousingproduct-productName')"
|
|
|
|
|
prop="code">
|
|
|
|
|
prop="code" width="210">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-productName')">*</span>销售退货订单
|
|
|
|
@ -91,14 +90,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.returnCargoCode"
|
|
|
|
|
@change="changeData('warehousingproduct-productName', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('warehousingproductList') || judgeWrite('warehousingproductList-productName')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="订单类型"
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-inventoryUnitId')">*</span>订单类型
|
|
|
|
@ -127,7 +125,8 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
<el-table-column label="关联客户(二级)"
|
|
|
|
|
v-if="judgeShow('warehousingproduct-purchaseUnitId')" prop="purchaseUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproduct-purchaseUnitId')" prop="purchaseUnitId"
|
|
|
|
|
width="250">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-purchaseUnitId')">*</span>关联客户(二级)
|
|
|
|
@ -135,14 +134,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.secondCustomName"
|
|
|
|
|
@change="changeData('warehousingproduct-purchaseUnitId', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('warehousingproductList') || judgeWrite('warehousingproductList-purchaseUnitId')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="关联业务线" v-if="judgeShow('warehousingproduct-purchaseNum')"
|
|
|
|
|
prop="purchaseNum">
|
|
|
|
|
prop="purchaseNum" width="250">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-purchaseNum')">*</span>关联业务线
|
|
|
|
@ -150,14 +147,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.businessLineName"
|
|
|
|
|
@change="changeData('warehousingproduct-purchaseNum', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('warehousingproductList') || judgeWrite('warehousingproductList-purchaseNum')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="业务类型"
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-inventoryUnitId')">*</span>业务类型
|
|
|
|
@ -171,7 +167,8 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="币种"
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-inventoryUnitId')">*</span>币种
|
|
|
|
@ -185,7 +182,8 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="销售模式"
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-inventoryUnitId')">*</span>销售模式
|
|
|
|
@ -199,7 +197,8 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="交货方式"
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-inventoryUnitId')">*</span>交货方式
|
|
|
|
@ -213,7 +212,8 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="运输方式"
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('warehousingproductList-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('warehousingproductList-inventoryUnitId')">*</span>运输方式
|
|
|
|
@ -230,18 +230,18 @@
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="发货信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">发货信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('subjectId')">
|
|
|
|
|
<jnpf-form-tip-item label="客户名称" v-if="judgeShow('subjectId')" prop="subjectId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.subjectId" @change="changeData('subjectId', -1)"
|
|
|
|
|
:rowIndex="null" :formData="dataForm" :templateJson="interfaceRes.subjectId"
|
|
|
|
|
placeholder="请选择" :disabled="judgeWrite('subjectId')" propsValue="id"
|
|
|
|
|
popupWidth="800px" popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
field='subjectId' interfaceId="522693551289534725" :pageSize="20"
|
|
|
|
|
placeholder="请选择" :disabled="true" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='name' field='subjectId'
|
|
|
|
|
interfaceId="522693551289534725" :pageSize="20"
|
|
|
|
|
:columnOptions="subjectIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
@ -250,26 +250,26 @@
|
|
|
|
|
<jnpf-form-tip-item label="发货地址" v-if="judgeShow('shippingAddress')"
|
|
|
|
|
prop="shippingAddress">
|
|
|
|
|
<JnpfInput v-model="dataForm.shippingAddress"
|
|
|
|
|
@change="changeData('shippingAddress', -1)" placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('shippingAddress')" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
@change="changeData('shippingAddress', -1)" placeholder="请输入" :disabled="true"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="收货信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">收货信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="8" v-if="judgeShow('enterpriseId')">
|
|
|
|
|
<jnpf-form-tip-item label="机构名称" v-if="judgeShow('enterpriseId')" prop="enterpriseId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.enterpriseId"
|
|
|
|
|
@change="changeData('enterpriseId', -1)" :rowIndex="null" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.enterpriseId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('enterpriseId')" propsValue="f_id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='f_full_name'
|
|
|
|
|
field='enterpriseId' interfaceId="522729853024209157" :pageSize="20"
|
|
|
|
|
:columnOptions="enterpriseIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
:templateJson="interfaceRes.enterpriseId" placeholder="请选择" :disabled="true"
|
|
|
|
|
propsValue="f_id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='f_full_name' field='enterpriseId' interfaceId="522729853024209157"
|
|
|
|
|
:pageSize="20" :columnOptions="enterpriseIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -277,11 +277,11 @@
|
|
|
|
|
<jnpf-form-tip-item label="收货仓库" v-if="judgeShow('warehouseId')" prop="warehouseId">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.warehouseId"
|
|
|
|
|
@change="changeData('warehouseId', -1)" :rowIndex="null" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.warehouseId" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('warehouseId')" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='name' field='warehouseId'
|
|
|
|
|
interfaceId="522701377537837317" :pageSize="20"
|
|
|
|
|
:columnOptions="warehouseIdcolumnOptions" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
:templateJson="interfaceRes.warehouseId" placeholder="请选择" :disabled="true"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='name' field='warehouseId' interfaceId="522701377537837317"
|
|
|
|
|
:pageSize="20" :columnOptions="warehouseIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
@ -290,20 +290,20 @@
|
|
|
|
|
prop="deliveryAddress">
|
|
|
|
|
<JnpfPopupSelect v-model="dataForm.deliveryAddress"
|
|
|
|
|
@change="changeData('deliveryAddress', -1)" :rowIndex="null" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.deliveryAddress" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryAddress')" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='addressDetail'
|
|
|
|
|
field='deliveryAddress' interfaceId="522724961224231173" :pageSize="20"
|
|
|
|
|
:templateJson="interfaceRes.deliveryAddress" placeholder="请选择" :disabled="true"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='addressDetail' field='deliveryAddress'
|
|
|
|
|
interfaceId="522724961224231173" :pageSize="20"
|
|
|
|
|
:columnOptions="deliveryAddresscolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="其他信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">其他信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('remark')">
|
|
|
|
|
<jnpf-form-tip-item label="备注" v-if="judgeShow('remark')" prop="remark">
|
|
|
|
@ -314,10 +314,10 @@
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24">
|
|
|
|
|
<jnpf-form-tip-item>
|
|
|
|
|
<JnpfGroupTitle content="商品信息" contentPosition="left">
|
|
|
|
|
</JnpfGroupTitle>
|
|
|
|
|
</jnpf-form-tip-item>
|
|
|
|
|
<div style="padding:15px 0px">
|
|
|
|
|
<span style="color: #409EFF;">▋</span>
|
|
|
|
|
<span style="font-size: 14px;font-weight: 500;color:rgb(102, 102, 102);">商品信息</span>
|
|
|
|
|
</div>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="24" v-if="judgeShow('-${html.relationField}')">
|
|
|
|
|
<jnpf-form-tip-item label-width="0">
|
|
|
|
@ -327,7 +327,7 @@
|
|
|
|
|
<el-table :data="dataForm.deliveryVoucherRelationList" size='mini'>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="凭证编号" v-if="judgeShow('deliveryvoucherrelation-voucherId')"
|
|
|
|
|
prop="voucherId">
|
|
|
|
|
prop="voucherId" width="210">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-voucherId')">*</span>凭证编号
|
|
|
|
@ -336,18 +336,17 @@
|
|
|
|
|
<JnpfPopupSelect v-model="scope.row.voucherId" @change="getSaleReceiptVoucher"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.deliveryvoucherrelationvoucherId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-voucherId')"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='voucherCode' :field="'voucherId' + scope.$index"
|
|
|
|
|
interfaceId="531821041316530501" :pageSize="20"
|
|
|
|
|
:columnOptions="deliveryvoucherrelationvoucherIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请选择" :disabled="true" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='voucherCode'
|
|
|
|
|
:field="'voucherId' + scope.$index" interfaceId="531821041316530501"
|
|
|
|
|
:pageSize="20" :columnOptions="deliveryvoucherrelationvoucherIdcolumnOptions"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="单据类型"
|
|
|
|
|
v-if="judgeShow('deliveryvoucherrelation-documentType')" prop="documentType">
|
|
|
|
|
v-if="judgeShow('deliveryvoucherrelation-documentType')" prop="documentType"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-documentType')">*</span>单据类型
|
|
|
|
@ -355,16 +354,15 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfSelect v-model="scope.row.documentType"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-documentType', scope.$index)"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-documentType')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'
|
|
|
|
|
placeholder="请选择" :disabled="true" clearable :style='{ "width": "100%" }'
|
|
|
|
|
:options="deliveryvoucherrelationdocumentTypeOptions"
|
|
|
|
|
:props="deliveryvoucherrelationdocumentTypeProps">
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="凭证类型"
|
|
|
|
|
v-if="judgeShow('deliveryvoucherrelation-voucherType')" prop="voucherType">
|
|
|
|
|
v-if="judgeShow('deliveryvoucherrelation-voucherType')" prop="voucherType"
|
|
|
|
|
width="130">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-voucherType')">*</span>凭证类型
|
|
|
|
@ -372,16 +370,14 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfSelect v-model="scope.row.voucherType"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-voucherType', scope.$index)"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-voucherType')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'
|
|
|
|
|
placeholder="请选择" :disabled="true" clearable :style='{ "width": "100%" }'
|
|
|
|
|
:options="deliveryvoucherrelationvoucherTypeOptions"
|
|
|
|
|
:props="deliveryvoucherrelationvoucherTypeProps">
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="磅单编号" v-if="judgeShow('deliveryvoucherrelation-poundCode')"
|
|
|
|
|
prop="poundCode">
|
|
|
|
|
prop="poundCode" width="180">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-poundCode')">*</span>磅单编号
|
|
|
|
@ -389,15 +385,14 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.poundCode"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-poundCode', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-poundCode')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="磅单时间"
|
|
|
|
|
v-if="judgeShow('deliveryvoucherrelation-poundlistTime')" prop="poundlistTime">
|
|
|
|
|
v-if="judgeShow('deliveryvoucherrelation-poundlistTime')" prop="poundlistTime"
|
|
|
|
|
width="180">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-poundlistTime')">*</span>磅单时间
|
|
|
|
@ -406,14 +401,13 @@
|
|
|
|
|
<JnpfDatePicker v-model="scope.row.poundlistTime"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-poundlistTime', scope.$index)"
|
|
|
|
|
:startTime="dateTime(false, 1, 1, '', '')"
|
|
|
|
|
:endTime="dateTime(false, 1, 1, '', '')" placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-poundlistTime')"
|
|
|
|
|
:endTime="dateTime(false, 1, 1, '', '')" placeholder="请选择" :disabled="true"
|
|
|
|
|
clearable :style='{ "width": "100%" }' type="date" format="yyyy-MM-dd">
|
|
|
|
|
</JnpfDatePicker>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="车牌号" v-if="judgeShow('deliveryvoucherrelation-vehicleName')"
|
|
|
|
|
prop="vehicleId">
|
|
|
|
|
prop="vehicleId" width="170">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-vehicleName')">*</span>车牌号
|
|
|
|
@ -437,7 +431,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="商品名称" v-if="judgeShow('deliveryvoucherrelation-productId')"
|
|
|
|
|
prop="productId">
|
|
|
|
|
prop="productId" width="250">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-productId')">*</span>商品名称
|
|
|
|
@ -447,18 +441,16 @@
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-productId', scope.$index)"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.deliveryvoucherrelationproductId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-productId')"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='name' :field="'productId' + scope.$index"
|
|
|
|
|
interfaceId="529919666429100229" :pageSize="20"
|
|
|
|
|
:columnOptions="deliveryvoucherrelationproductIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请选择" :disabled="true" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
:field="'productId' + scope.$index" interfaceId="529919666429100229"
|
|
|
|
|
:pageSize="20" :columnOptions="deliveryvoucherrelationproductIdcolumnOptions"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="规格" v-if="judgeShow('deliveryvoucherrelation-spec')"
|
|
|
|
|
prop="spec">
|
|
|
|
|
prop="spec" width="150">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-spec')">*</span>规格
|
|
|
|
@ -466,14 +458,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.spec"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-spec', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-spec')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="单位" v-if="judgeShow('deliveryvoucherrelation-unit')"
|
|
|
|
|
prop="unit">
|
|
|
|
|
prop="unit" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-unit')">*</span>单位
|
|
|
|
@ -481,14 +471,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.unit"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-unit', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-unit')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="毛重" v-if="judgeShow('deliveryvoucherrelation-grossWeight')"
|
|
|
|
|
prop="grossWeight">
|
|
|
|
|
prop="grossWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-grossWeight')">*</span>毛重
|
|
|
|
@ -496,14 +484,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.grossWeight"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-grossWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-grossWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="皮重" v-if="judgeShow('deliveryvoucherrelation-tareWeight')"
|
|
|
|
|
prop="tareWeight">
|
|
|
|
|
prop="tareWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-tareWeight')">*</span>皮重
|
|
|
|
@ -511,14 +497,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.tareWeight"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-tareWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-tareWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="扣重" v-if="judgeShow('deliveryvoucherrelation-buckleWeight')"
|
|
|
|
|
prop="buckleWeight">
|
|
|
|
|
prop="buckleWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-buckleWeight')">*</span>扣重
|
|
|
|
@ -526,14 +510,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.buckleWeight"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-buckleWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-buckleWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="净重" v-if="judgeShow('deliveryvoucherrelation-netWeight')"
|
|
|
|
|
prop="netWeight">
|
|
|
|
|
prop="netWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-netWeight')">*</span>净重
|
|
|
|
@ -541,14 +523,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.netWeight"
|
|
|
|
|
@change="changeData('deliveryvoucherrelation-netWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryvoucherrelationList') || judgeWrite('deliveryvoucherrelationList-netWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="备注" v-if="judgeShow('deliveryvoucherrelation-remark')"
|
|
|
|
|
prop="remark">
|
|
|
|
|
prop="remark" width="150">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryvoucherrelationList-remark')">*</span>备注
|
|
|
|
@ -584,7 +564,7 @@
|
|
|
|
|
<el-table :data="dataForm.deliveryProductRelationList" size='mini'>
|
|
|
|
|
<el-table-column type="index" width="50" label="序号" align="center" />
|
|
|
|
|
<el-table-column label="商品名称" v-if="judgeShow('deliveryproductrelation-productId')"
|
|
|
|
|
prop="productId">
|
|
|
|
|
prop="productId" width="250">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-productId')">*</span>商品名称
|
|
|
|
@ -594,18 +574,16 @@
|
|
|
|
|
@change="changeData('deliveryproductrelation-productId', scope.$index)"
|
|
|
|
|
:rowIndex="scope.$index" :formData="dataForm"
|
|
|
|
|
:templateJson="interfaceRes.deliveryproductrelationproductId"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-productId')"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='name' :field="'productId' + scope.$index"
|
|
|
|
|
interfaceId="529919666429100229" :pageSize="20"
|
|
|
|
|
:columnOptions="deliveryproductrelationproductIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请选择" :disabled="true" propsValue="id" popupWidth="800px"
|
|
|
|
|
popupTitle="选择数据" popupType="dialog" relationField='name'
|
|
|
|
|
:field="'productId' + scope.$index" interfaceId="529919666429100229"
|
|
|
|
|
:pageSize="20" :columnOptions="deliveryproductrelationproductIdcolumnOptions"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="规格" v-if="judgeShow('deliveryproductrelation-spec')"
|
|
|
|
|
prop="spec">
|
|
|
|
|
prop="spec" width="150">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-spec')">*</span>规格
|
|
|
|
@ -613,15 +591,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.spec"
|
|
|
|
|
@change="changeData('deliveryproductrelation-spec', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-spec')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="库存单位"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-inventoryUnitId')"
|
|
|
|
|
prop="inventoryUnitId">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-inventoryUnitId')" prop="inventoryUnitId"
|
|
|
|
|
width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-inventoryUnitId')">*</span>库存单位
|
|
|
|
@ -629,15 +605,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.inventoryUnitId"
|
|
|
|
|
@change="changeData('deliveryproductrelation-inventoryUnitId', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-inventoryUnitId')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="退货单位"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-salesMainUnitId')"
|
|
|
|
|
prop="salesMainUnitId">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-salesMainUnitId')" prop="salesMainUnitId"
|
|
|
|
|
width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-salesMainUnitId')">*</span>退货单位
|
|
|
|
@ -645,14 +619,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.salesMainUnitId"
|
|
|
|
|
@change="changeData('deliveryproductrelation-salesMainUnitId', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-salesMainUnitId')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="退货数量" v-if="judgeShow('deliveryproductrelation-saleNum')"
|
|
|
|
|
prop="saleNum">
|
|
|
|
|
prop="saleNum" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-saleNum')">*</span>退货数量
|
|
|
|
@ -660,14 +632,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.saleNum"
|
|
|
|
|
@change="changeData('deliveryproductrelation-saleNum', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-saleNum')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="收货单位"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-deliveryUnit')" prop="deliveryUnit">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-deliveryUnit')" prop="deliveryUnit"
|
|
|
|
|
width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-deliveryUnit')">*</span>收货单位
|
|
|
|
@ -675,16 +646,14 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfSelect v-model="scope.row.deliveryUnit"
|
|
|
|
|
@change="changeData('deliveryproductrelation-deliveryUnit', scope.$index)"
|
|
|
|
|
placeholder="请选择"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-deliveryUnit')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'
|
|
|
|
|
placeholder="请选择" :disabled="true" clearable :style='{ "width": "100%" }'
|
|
|
|
|
:options="deliveryproductrelationdeliveryUnitOptions"
|
|
|
|
|
:props="deliveryproductrelationdeliveryUnitProps">
|
|
|
|
|
</JnpfSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="毛重" v-if="judgeShow('deliveryproductrelation-grossWeight')"
|
|
|
|
|
prop="grossWeight">
|
|
|
|
|
prop="grossWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-grossWeight')">*</span>毛重
|
|
|
|
@ -692,14 +661,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.grossWeight"
|
|
|
|
|
@change="changeData('deliveryproductrelation-grossWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-grossWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="皮重" v-if="judgeShow('deliveryproductrelation-tareWeight')"
|
|
|
|
|
prop="tareWeight">
|
|
|
|
|
prop="tareWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-tareWeight')">*</span>皮重
|
|
|
|
@ -707,14 +674,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.tareWeight"
|
|
|
|
|
@change="changeData('deliveryproductrelation-tareWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-tareWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="扣重" v-if="judgeShow('deliveryproductrelation-buckleWeight')"
|
|
|
|
|
prop="buckleWeight">
|
|
|
|
|
prop="buckleWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-buckleWeight')">*</span>扣重
|
|
|
|
@ -722,14 +687,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.buckleWeight"
|
|
|
|
|
@change="changeData('deliveryproductrelation-buckleWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-buckleWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="净重" v-if="judgeShow('deliveryproductrelation-netWeight')"
|
|
|
|
|
prop="netWeight">
|
|
|
|
|
prop="netWeight" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-netWeight')">*</span>净重
|
|
|
|
@ -737,14 +700,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.netWeight"
|
|
|
|
|
@change="changeData('deliveryproductrelation-netWeight', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-netWeight')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="货区名称" v-if="judgeShow('deliveryproductrelation-cargoId')"
|
|
|
|
|
prop="cargoId">
|
|
|
|
|
prop="cargoId" width="200">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-cargoId')">*</span>货区名称
|
|
|
|
@ -757,14 +718,15 @@
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-cargoId')"
|
|
|
|
|
propsValue="id" popupWidth="800px" popupTitle="选择数据" popupType="dialog"
|
|
|
|
|
relationField='cargo_name' :field="'cargoId' + scope.$index"
|
|
|
|
|
interfaceId="530700536261903749" :pageSize="20"
|
|
|
|
|
interfaceId="530700536261903749" :pageSize="20" :hasPahe="true"
|
|
|
|
|
:columnOptions="deliveryproductrelationcargoIdcolumnOptions" clearable
|
|
|
|
|
:style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfPopupSelect>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="收货数量"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-deliveryNum')" prop="deliveryNum">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-deliveryNum')" prop="deliveryNum"
|
|
|
|
|
width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-deliveryNum')">*</span>收货数量
|
|
|
|
@ -779,7 +741,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="批次号" v-if="judgeShow('deliveryproductrelation-batchNo')"
|
|
|
|
|
prop="batchNo">
|
|
|
|
|
prop="batchNo" width="170">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-batchNo')">*</span>批次号
|
|
|
|
@ -795,7 +757,8 @@
|
|
|
|
|
</el-table-column>
|
|
|
|
|
|
|
|
|
|
<el-table-column label="生产日期"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-produceTime')" prop="produceTime">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-produceTime')" prop="produceTime"
|
|
|
|
|
width="170">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-produceTime')">*</span>生产日期
|
|
|
|
@ -811,7 +774,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="退货单价" v-if="judgeShow('deliveryproductrelation-returnUnit')"
|
|
|
|
|
prop="returnUnit">
|
|
|
|
|
prop="returnUnit" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-returnUnit')">*</span>退货单价
|
|
|
|
@ -819,14 +782,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.returnUnit"
|
|
|
|
|
@change="changeData('deliveryproductrelation-returnUnit', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-returnUnit')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="税率" v-if="judgeShow('deliveryproductrelation-tax')"
|
|
|
|
|
prop="tax">
|
|
|
|
|
prop="tax" width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-tax')">*</span>税率
|
|
|
|
@ -834,14 +795,12 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.tax"
|
|
|
|
|
@change="changeData('deliveryproductrelation-tax', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-tax')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="含税小计" v-if="judgeShow('deliveryproductrelation-taxCount')"
|
|
|
|
|
prop="taxCount">
|
|
|
|
|
prop="taxCount" width="150">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-taxCount')">*</span>含税小计
|
|
|
|
@ -849,14 +808,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.taxCount"
|
|
|
|
|
@change="changeData('deliveryproductrelation-taxCount', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-taxCount')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="不含税单价"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-notTaxPrice')" prop="notTaxPrice">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-notTaxPrice')" prop="notTaxPrice"
|
|
|
|
|
width="120">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-notTaxPrice')">*</span>不含税单价
|
|
|
|
@ -864,14 +822,13 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.notTaxPrice"
|
|
|
|
|
@change="changeData('deliveryproductrelation-notTaxPrice', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-notTaxPrice')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column label="不含税小计"
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-notTaxCount')" prop="notTaxCount">
|
|
|
|
|
v-if="judgeShow('deliveryproductrelation-notTaxCount')" prop="notTaxCount"
|
|
|
|
|
width="150">
|
|
|
|
|
<template slot="header">
|
|
|
|
|
<span class="required-sign"
|
|
|
|
|
v-if="judgeRequired('deliveryproductrelationList-notTaxCount')">*</span>不含税小计
|
|
|
|
@ -879,9 +836,7 @@
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<JnpfInput v-model="scope.row.notTaxCount"
|
|
|
|
|
@change="changeData('deliveryproductrelation-notTaxCount', scope.$index)"
|
|
|
|
|
placeholder="请输入"
|
|
|
|
|
:disabled="judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-notTaxCount')"
|
|
|
|
|
clearable :style='{ "width": "100%" }'>
|
|
|
|
|
placeholder="请输入" :disabled="true" clearable :style='{ "width": "100%" }'>
|
|
|
|
|
</JnpfInput>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|