@ -324,7 +324,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 = "200" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-voucherId')" > * < / span > 凭证编号
@ -345,7 +345,8 @@
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "单据类型"
v - if = "judgeShow('deliveryvoucherrelation-documentType')" prop = "documentType" >
v - if = "judgeShow('deliveryvoucherrelation-documentType')" prop = "documentType"
width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-documentType')" > * < / span > 单据类型
@ -362,7 +363,8 @@
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "凭证类型"
v - if = "judgeShow('deliveryvoucherrelation-voucherType')" prop = "voucherType" >
v - if = "judgeShow('deliveryvoucherrelation-voucherType')" prop = "voucherType"
width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-voucherType')" > * < / span > 凭证类型
@ -379,7 +381,7 @@
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "磅单编号" v -if = " judgeShow ( ' deliveryvoucherrelation -poundCode ' ) "
prop = "poundCode" >
prop = "poundCode" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-poundCode')" > * < / span > 磅单编号
@ -395,7 +397,8 @@
< / e l - t a b l e - c o l u m n >
< el -table -column label = "磅单时间"
v - if = "judgeShow('deliveryvoucherrelation-poundlistTime')" prop = "poundlistTime" >
v - if = "judgeShow('deliveryvoucherrelation-poundlistTime')" prop = "poundlistTime"
width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-poundlistTime')" > * < / span > 磅单时间
@ -411,7 +414,7 @@
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "车牌号" v -if = " judgeShow ( ' deliveryvoucherrelation -vehicleId ' ) "
prop = "vehicleId" >
prop = "vehicleId" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-vehicleId')" > * < / span > 车牌号
@ -435,7 +438,7 @@
< / template >
< / e l - t a b l e - c o l u m n >
< 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 > 商品名称
@ -445,18 +448,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 >
< / e l - t a b l e - c o l u m n >
< 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 > 规格
@ -464,14 +465,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "单位" v -if = " judgeShow ( ' deliveryvoucherrelation -unit ' ) "
prop = "unit" >
prop = "unit" width = "100" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-unit')" > * < / span > 单位
@ -479,14 +478,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "毛重" v -if = " judgeShow ( ' deliveryvoucherrelation -grossWeight ' ) "
prop = "grossWeight" >
prop = "grossWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-grossWeight')" > * < / span > 毛重
@ -494,14 +491,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "皮重" v -if = " judgeShow ( ' deliveryvoucherrelation -tareWeight ' ) "
prop = "tareWeight" >
prop = "tareWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-tareWeight')" > * < / span > 皮重
@ -509,14 +504,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "扣重" v -if = " judgeShow ( ' deliveryvoucherrelation -buckleWeight ' ) "
prop = "buckleWeight" >
prop = "buckleWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-buckleWeight')" > * < / span > 扣重
@ -524,14 +517,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "净重" v -if = " judgeShow ( ' deliveryvoucherrelation -netWeight ' ) "
prop = "netWeight" >
prop = "netWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryvoucherrelationList-netWeight')" > * < / span > 净重
@ -539,14 +530,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 >
< / e l - t a b l e - c o l u m n >
< 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 > 备注
@ -582,7 +571,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 > 商品名称
@ -592,18 +581,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 >
< / e l - t a b l e - c o l u m n >
< 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 > 规格
@ -611,15 +598,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "库存单位"
v - if = "judgeShow('deliveryproductrelation-inventoryUnitId')"
prop= "inventoryUnitId ">
v - if = "judgeShow('deliveryproductrelation-inventoryUnitId')" prop = "inventoryUnitId"
width= "100 ">
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-inventoryUnitId')" > * < / span > 库存单位
@ -627,15 +612,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "销售单位"
v - if = "judgeShow('deliveryproductrelation-salesMainUnitId')"
prop= "salesMainUnitId ">
v - if = "judgeShow('deliveryproductrelation-salesMainUnitId')" prop = "salesMainUnitId"
width= "100 ">
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-salesMainUnitId')" > * < / span > 销售单位
@ -643,14 +626,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "销售数量" v -if = " judgeShow ( ' deliveryproductrelation -saleNum ' ) "
prop = "saleNum" >
prop = "saleNum" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-saleNum')" > * < / span > 销售数量
@ -658,14 +639,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "发货单位"
v - if = "judgeShow('deliveryproductrelation-deliveryUnit')" prop = "deliveryUnit" >
v - if = "judgeShow('deliveryproductrelation-deliveryUnit')" prop = "deliveryUnit"
width = "100" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-deliveryUnit')" > * < / span > 发货单位
@ -673,16 +653,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "毛重" v -if = " judgeShow ( ' deliveryproductrelation -grossWeight ' ) "
prop = "grossWeight" >
prop = "grossWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-grossWeight')" > * < / span > 毛重
@ -690,14 +668,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "皮重" v -if = " judgeShow ( ' deliveryproductrelation -tareWeight ' ) "
prop = "tareWeight" >
prop = "tareWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-tareWeight')" > * < / span > 皮重
@ -705,14 +681,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "扣重" v -if = " judgeShow ( ' deliveryproductrelation -buckleWeight ' ) "
prop = "buckleWeight" >
prop = "buckleWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-buckleWeight')" > * < / span > 扣重
@ -720,14 +694,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "净重" v -if = " judgeShow ( ' deliveryproductrelation -netWeight ' ) "
prop = "netWeight" >
prop = "netWeight" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-netWeight')" > * < / span > 净重
@ -735,34 +707,32 @@
< 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 >
< / e l - t a b l e - c o l u m n >
< 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 > 货区名称
< / template >
< template slot -scope = " scope " >
< JnpfPopupSelect v -model = " scope.row.cargoId "
@ change = "changeData('deliveryproductrelation-cargoId', scope.$index)"
< JnpfPopupSelect v -model = " scope.row.cargoId " @change ="batchNoMethod"
: rowIndex = "scope.$index" : formData = "dataForm"
: templateJson = "interfaceRes.deliveryproductrelationcargoId" placeholder = "请选择"
: disabled = "judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-cargoId')"
propsValue = "id" popupWidth = "800px" popupTitle = "选择数据" popupType = "dialog"
relationField = 'cargo _n ame' : field = "'cargoId' + scope.$index"
interfaceId = "5 30700536261903749 " : pageSize = "20"
relationField = 'cargo N ame' : field = "'cargoId' + scope.$index"
interfaceId = "5 49927783325776837 " : pageSize = "20"
: columnOptions = "deliveryproductrelationcargoIdcolumnOptions" clearable
: style = '{ "width": "100%" }' >
< / JnpfPopupSelect >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "发货数量"
v - if = "judgeShow('deliveryproductrelation-deliveryNum')" prop = "deliveryNum" >
v - if = "judgeShow('deliveryproductrelation-deliveryNum')" prop = "deliveryNum"
width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-deliveryNum')" > * < / span > 发货数量
@ -777,7 +747,7 @@
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "批次号" v -if = " judgeShow ( ' deliveryproductrelation -batchNo ' ) "
prop = "batchNo" >
prop = "batchNo" width = "200" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-batchNo')" > * < / span > 批次号
@ -785,46 +755,44 @@
< template slot -scope = " scope " >
< JnpfInput v -model = " scope.row.batchNo "
@ change = "changeData('deliveryproductrelation-batchNo', scope.$index)"
placeholder = "请输入"
: disabled = "judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-batchNo')"
clearable : style = '{ "width": "100%" }' >
placeholder = "请输入" : disabled = "true" clearable : style = '{ "width": "100%" }' >
< / JnpfInput >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "生产日期"
v- if = "judgeShow('deliveryproductrelation-produceTime')" prop = "produceTime ">
< el -table -column label = "生产日期" v -if = " judgeShow ( ' warehousingproduct -produceDate ' ) "
prop= "produceDate" width = "200 ">
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired(' deliveryproductrelationList-produceTim e')"> * < / span > 生产日期
v - if = "judgeRequired(' warehousingproductList-produceDat e')"> * < / span > 生产日期
< / template >
< template slot -scope = " scope " >
< JnpfDatePicker v -model = " scope.row.produceTime "
@ change = "changeData('deliveryproductrelation-produceTime', scope.$index)"
: startTime = "dateTime(false, 1, 1, '', '')"
: endTime = "dateTime(false, 1, 1, '', '')" placeholder = "请选择"
: disabled = "judgeWrite('deliveryproductrelationList') || judgeWrite('deliveryproductrelationList-produceTime')"
clearable : style = '{ "width": "100%" }' type = "date" format = "yyyy-MM-dd" >
< JnpfDatePicker v -model = " scope.row.produceDate " @ change = "
changeData (
'warehousingproduct-produceDate' ,
scope . $index
)
" :startTime=" dateTime ( false , 1 , 1 , '' , '' ) "
: endTime = "dateTime(false, 1, 1, '', '')" placeholder = "请选择" : disabled = " true
" clearable :style=" { width : '100%' } " type=" date " format=" yyyy - MM - dd " >
< / JnpfDatePicker >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = " 退 货单价" v -if = " judgeShow ( ' deliveryproductrelation -returnUnit ' ) "
prop = "returnUnit" >
< el -table -column label = " 发 货单价" v -if = " judgeShow ( ' deliveryproductrelation -returnUnit ' ) "
prop = "returnUnit" width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-returnUnit')" > * < / span > 退 货单价
v - if = "judgeRequired('deliveryproductrelationList-returnUnit')" > * < / span > 发 货单价
< / template >
< 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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "税率" v -if = " judgeShow ( ' deliveryproductrelation -tax ' ) "
prop = "tax" >
prop = "tax" width = "100" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-tax')" > * < / span > 税率
@ -832,14 +800,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 >
< / e l - t a b l e - c o l u m n >
< 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 > 含税小计
@ -847,14 +813,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 >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "不含税单价"
v - if = "judgeShow('deliveryproductrelation-notTaxPrice')" prop = "notTaxPrice" >
v - if = "judgeShow('deliveryproductrelation-notTaxPrice')" prop = "notTaxPrice"
width = "150" >
< template slot = "header" >
< span class = "required-sign"
v - if = "judgeRequired('deliveryproductrelationList-notTaxPrice')" > * < / span > 不含税单价
@ -862,14 +827,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 >
< / e l - t a b l e - c o l u m n >
< 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 > 不含税小计
@ -877,9 +841,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 >
< / e l - t a b l e - c o l u m n >
@ -1123,7 +1085,7 @@ export default {
transportModeProps : { "label" : "fullName" , "value" : "id" } ,
deliveryTypeOptions : [ { "fullName" : "销售发货" , "id" : "2" } ] ,
deliveryTypeProps : { "label" : "fullName" , "value" : "id" } ,
businessIdcolumnOptions : [ { "label" : "订单编号" , "value" : "code" } , ] ,
businessIdcolumnOptions : [ { "label" : "订单编号" , "value" : "code" } , { "label" : "客户名称" , "value" : "subjectName" } , { "label" : "单据类型" , "value" : "orderType1" } , { "label" : "配送方式" , "value" : "deliveryType1" } , { "label" : "状态" , "value" : "saleStatus" } , ] ,
reservedFields1columnOptions : [ { "label" : "业务线编码" , "value" : "code" } , { "label" : "业务线名称" , "value" : "name" } , ] ,
subjectIdcolumnOptions : [ { "label" : "客户编码" , "value" : "code" } , { "label" : "客户名称" , "value" : "name" } , ] ,
enterpriseIdcolumnOptions : [ { "label" : "机构编码" , "value" : "f_en_code" } , { "label" : "机构名称" , "value" : "f_full_name" } , ] ,
@ -1138,7 +1100,10 @@ export default {
deliveryproductrelationproductIdcolumnOptions : [ { "label" : "商品编码" , "value" : "code" } , { "label" : "商品名称" , "value" : "name" } , ] ,
deliveryproductrelationdeliveryUnitOptions : [ { "fullName" : "吨" , "id" : "1" } , { "fullName" : "千克" , "id" : "2" } ] ,
deliveryproductrelationdeliveryUnitProps : { "label" : "fullName" , "value" : "id" } ,
deliveryproductrelationcargoIdcolumnOptions : [ { "label" : "货区类型" , "value" : "cargo_type" } , { "label" : "货区名称" , "value" : "cargo_name" } , ] ,
deliveryproductrelationcargoIdcolumnOptions : [ { label : "货区类型" , value : "cargoType" } ,
{ label : "货区名称" , value : "cargoName" } ,
{ label : "批次号" , value : "batch_number" } ,
{ label : "库存数量" , value : "inventory_number" } ] ,
vouchervehiclevehicleIdcolumnOptions : [ { "label" : "车牌号" , "value" : "vehicle_number" } , { "label" : "驾驶员" , "value" : "name" } , { "label" : "电话" , "value" : "mobile" } , ] ,
childIndex : - 1 ,
isEdit : false ,
@ -1178,7 +1143,26 @@ export default {
deliveryproductrelationtareWeight : [ ] ,
deliveryproductrelationbuckleWeight : [ ] ,
deliveryproductrelationnetWeight : [ ] ,
deliveryproductrelationcargoId : [ { "fieldName" : "" , "field" : "businessOrganizeId" , "defaultValue" : "" , "jnpfKey" : "popupSelect" , "dataType" : "varchar" , "id" : "AyAmdw1" , "relationField" : "warehouseId" , "required" : "0" } ] ,
deliveryproductrelationcargoId : [ {
fieldName : "" ,
field : "warehouseId" ,
defaultValue : "" ,
jnpfKey : "popupSelect" ,
dataType : "varchar" ,
id : "AyAmdw1" ,
relationField : "warehouseId" ,
required : "0"
} ,
{
fieldName : "" ,
field : "productId" ,
defaultValue : "" ,
jnpfKey : "popupSelect" ,
dataType : "varchar" ,
id : "AyAmdw1" ,
relationField : "deliveryProductRelationList-productId" ,
required : "0"
} ] ,
deliveryproductrelationdeliveryNum : [ ] ,
deliveryproductrelationbatchNo : [ ] ,
deliveryproductrelationproduceTime : [ ] ,
@ -1208,6 +1192,10 @@ export default {
this . initPurchaseData ( ) ;
} ,
methods : {
batchNoMethod ( val , val2 , idx ) {
this . dataForm . deliveryProductRelationList [ idx ] . batchNo = val2 . batch _number
this . dataForm . deliveryProductRelationList [ idx ] . produceDate = val2 . produce _date
} ,
/ / 选 择 商 品 弹 窗
choiceProduct ( ) {
this . BomgoodsBoxVisible = true
@ -1250,7 +1238,7 @@ export default {
let businessType = '2' ;
let documentType = '2' ;
let businessId = '' ;
let type = ' 1 ';
let type = ' 3 ';
this . $nextTick ( ( ) => {
this . $refs . VoucherBox . init ( excludeIdList , businessType , documentType , this . productIdList , businessId , type )
} )