王晓迪
1 week ago
18 changed files with 526 additions and 2712 deletions
@ -1,123 +0,0 @@ |
|||||
package com.ruoyi.purchase.controller; |
|
||||
|
|
||||
import com.ruoyi.common.annotation.Log; |
|
||||
import com.ruoyi.common.core.controller.BaseController; |
|
||||
import com.ruoyi.common.core.domain.AjaxResult; |
|
||||
import com.ruoyi.common.core.page.TableDataInfo; |
|
||||
import com.ruoyi.common.enums.BusinessType; |
|
||||
import com.ruoyi.common.utils.poi.ExcelUtil; |
|
||||
import com.ruoyi.purchase.domain.PurchaseOrderDetail; |
|
||||
import com.ruoyi.purchase.service.IPurchaseOrderDetailService; |
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Controller; |
|
||||
import org.springframework.ui.ModelMap; |
|
||||
import org.springframework.web.bind.annotation.*; |
|
||||
|
|
||||
import java.util.List; |
|
||||
|
|
||||
/** |
|
||||
* 采购订单详情Controller |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-04-24 |
|
||||
*/ |
|
||||
@Controller |
|
||||
@RequestMapping("/purchase/purchaseOrderDetail") |
|
||||
public class PurchaseOrderDetailController extends BaseController |
|
||||
{ |
|
||||
private String prefix = "purchase/purchaseOrderDetail"; |
|
||||
|
|
||||
@Autowired |
|
||||
private IPurchaseOrderDetailService purchaseOrderDetailService; |
|
||||
|
|
||||
@RequiresPermissions("purchase:purchaseOrderDetail:view") |
|
||||
@GetMapping() |
|
||||
public String purchaseOrderDetail() |
|
||||
{ |
|
||||
return prefix + "/purchaseOrderDetail"; |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询采购订单详情列表 |
|
||||
*/ |
|
||||
@RequiresPermissions("purchase:purchaseOrderDetail:list") |
|
||||
@PostMapping("/list") |
|
||||
@ResponseBody |
|
||||
public TableDataInfo list(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
startPage(); |
|
||||
List<PurchaseOrderDetail> list = purchaseOrderDetailService.selectPurchaseOrderDetailList(purchaseOrderDetail); |
|
||||
return getDataTable(list); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 导出采购订单详情列表 |
|
||||
*/ |
|
||||
@RequiresPermissions("purchase:purchaseOrderDetail:export") |
|
||||
@Log(title = "采购订单详情", businessType = BusinessType.EXPORT) |
|
||||
@PostMapping("/export") |
|
||||
@ResponseBody |
|
||||
public AjaxResult export(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
List<PurchaseOrderDetail> list = purchaseOrderDetailService.selectPurchaseOrderDetailList(purchaseOrderDetail); |
|
||||
ExcelUtil<PurchaseOrderDetail> util = new ExcelUtil<PurchaseOrderDetail>(PurchaseOrderDetail.class); |
|
||||
return util.exportExcel(list, "采购订单详情数据"); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增采购订单详情 |
|
||||
*/ |
|
||||
@GetMapping("/add") |
|
||||
public String add() |
|
||||
{ |
|
||||
return prefix + "/add"; |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增保存采购订单详情 |
|
||||
*/ |
|
||||
@RequiresPermissions("purchase:purchaseOrderDetail:add") |
|
||||
@Log(title = "采购订单详情", businessType = BusinessType.INSERT) |
|
||||
@PostMapping("/add") |
|
||||
@ResponseBody |
|
||||
public AjaxResult addSave(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
return toAjax(purchaseOrderDetailService.insertPurchaseOrderDetail(purchaseOrderDetail)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改采购订单详情 |
|
||||
*/ |
|
||||
@GetMapping("/edit/{purchaseOrderNumber}") |
|
||||
public String edit(@PathVariable("purchaseOrderNumber") String purchaseOrderNumber, ModelMap mmap) |
|
||||
{ |
|
||||
PurchaseOrderDetail purchaseOrderDetail = purchaseOrderDetailService.selectPurchaseOrderDetailById(purchaseOrderNumber); |
|
||||
mmap.put("purchaseOrderDetail", purchaseOrderDetail); |
|
||||
return prefix + "/edit"; |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改保存采购订单详情 |
|
||||
*/ |
|
||||
@RequiresPermissions("purchase:purchaseOrderDetail:edit") |
|
||||
@Log(title = "采购订单详情", businessType = BusinessType.UPDATE) |
|
||||
@PostMapping("/edit") |
|
||||
@ResponseBody |
|
||||
public AjaxResult editSave(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
return toAjax(purchaseOrderDetailService.updatePurchaseOrderDetail(purchaseOrderDetail)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除采购订单详情 |
|
||||
*/ |
|
||||
@RequiresPermissions("purchase:purchaseOrderDetail:remove") |
|
||||
@Log(title = "采购订单详情", businessType = BusinessType.DELETE) |
|
||||
@PostMapping( "/remove") |
|
||||
@ResponseBody |
|
||||
public AjaxResult remove(String ids) |
|
||||
{ |
|
||||
return toAjax(purchaseOrderDetailService.deletePurchaseOrderDetailByIds(ids)); |
|
||||
} |
|
||||
} |
|
@ -1,558 +0,0 @@ |
|||||
package com.ruoyi.purchase.domain; |
|
||||
|
|
||||
import org.apache.commons.lang3.builder.ToStringBuilder; |
|
||||
import org.apache.commons.lang3.builder.ToStringStyle; |
|
||||
import com.ruoyi.common.annotation.Excel; |
|
||||
import com.ruoyi.common.core.domain.BaseEntity; |
|
||||
|
|
||||
/** |
|
||||
* 采购订单详情对象 purchase_order_detail |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-04-24 |
|
||||
*/ |
|
||||
public class PurchaseOrderDetail extends BaseEntity |
|
||||
{ |
|
||||
private static final long serialVersionUID = 1L; |
|
||||
|
|
||||
/** 订购单号 */ |
|
||||
@Excel(name = "订购单号") |
|
||||
private String purchaseOrderNumber; |
|
||||
|
|
||||
/** 供应商代码 */ |
|
||||
@Excel(name = "供应商代码") |
|
||||
private String supplierCode; |
|
||||
|
|
||||
/** 供应商名称 */ |
|
||||
@Excel(name = "供应商名称") |
|
||||
private String supplierName; |
|
||||
|
|
||||
/** 联系人 */ |
|
||||
private String customerContact; |
|
||||
|
|
||||
/** 联系电话 */ |
|
||||
private String contactNumber; |
|
||||
|
|
||||
/** 传真号码 */ |
|
||||
private String customerFax; |
|
||||
|
|
||||
/** 交货地点 */ |
|
||||
private String deliveryAddress; |
|
||||
|
|
||||
/** 付款条件 */ |
|
||||
private String paymentTerms; |
|
||||
|
|
||||
/** 交货条件 */ |
|
||||
private String deliveryConditions; |
|
||||
|
|
||||
/** 交货方式 */ |
|
||||
private String deliveryMethod; |
|
||||
|
|
||||
/** 购方名称 */ |
|
||||
private String purchaseName; |
|
||||
|
|
||||
/** 开单日期 */ |
|
||||
@Excel(name = "开单日期") |
|
||||
private String billingDate; |
|
||||
|
|
||||
/** 税率 */ |
|
||||
private String taxRate; |
|
||||
|
|
||||
/** 订购种类 */ |
|
||||
private String purchaseCategory; |
|
||||
|
|
||||
/** 采购担当 */ |
|
||||
private String purchaseCommander; |
|
||||
|
|
||||
/** 客户订单号 */ |
|
||||
private String customerOrderNumber; |
|
||||
|
|
||||
/** 备注内容 */ |
|
||||
private String remarkContent; |
|
||||
|
|
||||
/** 结案否 */ |
|
||||
@Excel(name = "结案否") |
|
||||
private String closeCaseNo; |
|
||||
|
|
||||
/** 结案人 */ |
|
||||
private String closeCaseName; |
|
||||
|
|
||||
/** 结案时间 */ |
|
||||
private String closeCaseTime; |
|
||||
|
|
||||
/** 确认否 */ |
|
||||
private String confirmNo; |
|
||||
|
|
||||
/** 确认人 */ |
|
||||
private String confirmName; |
|
||||
|
|
||||
/** 确认时间 */ |
|
||||
private String confirmTime; |
|
||||
|
|
||||
/** 审核否 */ |
|
||||
private String auditNo; |
|
||||
|
|
||||
/** 审核人 */ |
|
||||
private String auditName; |
|
||||
|
|
||||
/** 审核时间 */ |
|
||||
private String auditTime; |
|
||||
|
|
||||
/** 核准否 */ |
|
||||
private String approveNo; |
|
||||
|
|
||||
/** 核准人 */ |
|
||||
private String approveName; |
|
||||
|
|
||||
/** 核准时间 */ |
|
||||
private String approveTime; |
|
||||
|
|
||||
/** 原辅料代码 */ |
|
||||
@Excel(name = "原辅料代码") |
|
||||
private String rawSubsidiaryCode; |
|
||||
|
|
||||
/** 原辅料名称 */ |
|
||||
@Excel(name = "原辅料名称") |
|
||||
private String rawSubsidiaryName; |
|
||||
|
|
||||
/** 规格型号 */ |
|
||||
@Excel(name = "规格型号") |
|
||||
private String specificationModel; |
|
||||
|
|
||||
/** 物料类别 */ |
|
||||
private String materialType; |
|
||||
|
|
||||
/** 币别 */ |
|
||||
@Excel(name = "币别") |
|
||||
private String commonCurrency; |
|
||||
|
|
||||
/** 采购单位 */ |
|
||||
@Excel(name = "采购单位") |
|
||||
private String purchasingUnit; |
|
||||
|
|
||||
/** 采购单价 */ |
|
||||
@Excel(name = "采购单价") |
|
||||
private String purchasePrice; |
|
||||
|
|
||||
/** 数量 */ |
|
||||
@Excel(name = "数量") |
|
||||
private String materialQuantity; |
|
||||
|
|
||||
/** 金额 */ |
|
||||
@Excel(name = "金额") |
|
||||
private String amountMoney; |
|
||||
|
|
||||
/** 交期 */ |
|
||||
@Excel(name = "交期") |
|
||||
private String deliveryTime; |
|
||||
|
|
||||
/** 说明 */ |
|
||||
private String purchaseExplain; |
|
||||
|
|
||||
public void setPurchaseOrderNumber(String purchaseOrderNumber) |
|
||||
{ |
|
||||
this.purchaseOrderNumber = purchaseOrderNumber; |
|
||||
} |
|
||||
|
|
||||
public String getPurchaseOrderNumber() |
|
||||
{ |
|
||||
return purchaseOrderNumber; |
|
||||
} |
|
||||
public void setSupplierCode(String supplierCode) |
|
||||
{ |
|
||||
this.supplierCode = supplierCode; |
|
||||
} |
|
||||
|
|
||||
public String getSupplierCode() |
|
||||
{ |
|
||||
return supplierCode; |
|
||||
} |
|
||||
public void setSupplierName(String supplierName) |
|
||||
{ |
|
||||
this.supplierName = supplierName; |
|
||||
} |
|
||||
|
|
||||
public String getSupplierName() |
|
||||
{ |
|
||||
return supplierName; |
|
||||
} |
|
||||
public void setCustomerContact(String customerContact) |
|
||||
{ |
|
||||
this.customerContact = customerContact; |
|
||||
} |
|
||||
|
|
||||
public String getCustomerContact() |
|
||||
{ |
|
||||
return customerContact; |
|
||||
} |
|
||||
public void setContactNumber(String contactNumber) |
|
||||
{ |
|
||||
this.contactNumber = contactNumber; |
|
||||
} |
|
||||
|
|
||||
public String getContactNumber() |
|
||||
{ |
|
||||
return contactNumber; |
|
||||
} |
|
||||
public void setCustomerFax(String customerFax) |
|
||||
{ |
|
||||
this.customerFax = customerFax; |
|
||||
} |
|
||||
|
|
||||
public String getCustomerFax() |
|
||||
{ |
|
||||
return customerFax; |
|
||||
} |
|
||||
public void setDeliveryAddress(String deliveryAddress) |
|
||||
{ |
|
||||
this.deliveryAddress = deliveryAddress; |
|
||||
} |
|
||||
|
|
||||
public String getDeliveryAddress() |
|
||||
{ |
|
||||
return deliveryAddress; |
|
||||
} |
|
||||
public void setPaymentTerms(String paymentTerms) |
|
||||
{ |
|
||||
this.paymentTerms = paymentTerms; |
|
||||
} |
|
||||
|
|
||||
public String getPaymentTerms() |
|
||||
{ |
|
||||
return paymentTerms; |
|
||||
} |
|
||||
public void setDeliveryConditions(String deliveryConditions) |
|
||||
{ |
|
||||
this.deliveryConditions = deliveryConditions; |
|
||||
} |
|
||||
|
|
||||
public String getDeliveryConditions() |
|
||||
{ |
|
||||
return deliveryConditions; |
|
||||
} |
|
||||
public void setDeliveryMethod(String deliveryMethod) |
|
||||
{ |
|
||||
this.deliveryMethod = deliveryMethod; |
|
||||
} |
|
||||
|
|
||||
public String getDeliveryMethod() |
|
||||
{ |
|
||||
return deliveryMethod; |
|
||||
} |
|
||||
public void setPurchaseName(String purchaseName) |
|
||||
{ |
|
||||
this.purchaseName = purchaseName; |
|
||||
} |
|
||||
|
|
||||
public String getPurchaseName() |
|
||||
{ |
|
||||
return purchaseName; |
|
||||
} |
|
||||
public void setBillingDate(String billingDate) |
|
||||
{ |
|
||||
this.billingDate = billingDate; |
|
||||
} |
|
||||
|
|
||||
public String getBillingDate() |
|
||||
{ |
|
||||
return billingDate; |
|
||||
} |
|
||||
public void setTaxRate(String taxRate) |
|
||||
{ |
|
||||
this.taxRate = taxRate; |
|
||||
} |
|
||||
|
|
||||
public String getTaxRate() |
|
||||
{ |
|
||||
return taxRate; |
|
||||
} |
|
||||
public void setPurchaseCategory(String purchaseCategory) |
|
||||
{ |
|
||||
this.purchaseCategory = purchaseCategory; |
|
||||
} |
|
||||
|
|
||||
public String getPurchaseCategory() |
|
||||
{ |
|
||||
return purchaseCategory; |
|
||||
} |
|
||||
public void setPurchaseCommander(String purchaseCommander) |
|
||||
{ |
|
||||
this.purchaseCommander = purchaseCommander; |
|
||||
} |
|
||||
|
|
||||
public String getPurchaseCommander() |
|
||||
{ |
|
||||
return purchaseCommander; |
|
||||
} |
|
||||
public void setCustomerOrderNumber(String customerOrderNumber) |
|
||||
{ |
|
||||
this.customerOrderNumber = customerOrderNumber; |
|
||||
} |
|
||||
|
|
||||
public String getCustomerOrderNumber() |
|
||||
{ |
|
||||
return customerOrderNumber; |
|
||||
} |
|
||||
public void setRemarkContent(String remarkContent) |
|
||||
{ |
|
||||
this.remarkContent = remarkContent; |
|
||||
} |
|
||||
|
|
||||
public String getRemarkContent() |
|
||||
{ |
|
||||
return remarkContent; |
|
||||
} |
|
||||
public void setCloseCaseNo(String closeCaseNo) |
|
||||
{ |
|
||||
this.closeCaseNo = closeCaseNo; |
|
||||
} |
|
||||
|
|
||||
public String getCloseCaseNo() |
|
||||
{ |
|
||||
return closeCaseNo; |
|
||||
} |
|
||||
public void setCloseCaseName(String closeCaseName) |
|
||||
{ |
|
||||
this.closeCaseName = closeCaseName; |
|
||||
} |
|
||||
|
|
||||
public String getCloseCaseName() |
|
||||
{ |
|
||||
return closeCaseName; |
|
||||
} |
|
||||
public void setCloseCaseTime(String closeCaseTime) |
|
||||
{ |
|
||||
this.closeCaseTime = closeCaseTime; |
|
||||
} |
|
||||
|
|
||||
public String getCloseCaseTime() |
|
||||
{ |
|
||||
return closeCaseTime; |
|
||||
} |
|
||||
public void setConfirmNo(String confirmNo) |
|
||||
{ |
|
||||
this.confirmNo = confirmNo; |
|
||||
} |
|
||||
|
|
||||
public String getConfirmNo() |
|
||||
{ |
|
||||
return confirmNo; |
|
||||
} |
|
||||
public void setConfirmName(String confirmName) |
|
||||
{ |
|
||||
this.confirmName = confirmName; |
|
||||
} |
|
||||
|
|
||||
public String getConfirmName() |
|
||||
{ |
|
||||
return confirmName; |
|
||||
} |
|
||||
public void setConfirmTime(String confirmTime) |
|
||||
{ |
|
||||
this.confirmTime = confirmTime; |
|
||||
} |
|
||||
|
|
||||
public String getConfirmTime() |
|
||||
{ |
|
||||
return confirmTime; |
|
||||
} |
|
||||
public void setAuditNo(String auditNo) |
|
||||
{ |
|
||||
this.auditNo = auditNo; |
|
||||
} |
|
||||
|
|
||||
public String getAuditNo() |
|
||||
{ |
|
||||
return auditNo; |
|
||||
} |
|
||||
public void setAuditName(String auditName) |
|
||||
{ |
|
||||
this.auditName = auditName; |
|
||||
} |
|
||||
|
|
||||
public String getAuditName() |
|
||||
{ |
|
||||
return auditName; |
|
||||
} |
|
||||
public void setAuditTime(String auditTime) |
|
||||
{ |
|
||||
this.auditTime = auditTime; |
|
||||
} |
|
||||
|
|
||||
public String getAuditTime() |
|
||||
{ |
|
||||
return auditTime; |
|
||||
} |
|
||||
public void setApproveNo(String approveNo) |
|
||||
{ |
|
||||
this.approveNo = approveNo; |
|
||||
} |
|
||||
|
|
||||
public String getApproveNo() |
|
||||
{ |
|
||||
return approveNo; |
|
||||
} |
|
||||
public void setApproveName(String approveName) |
|
||||
{ |
|
||||
this.approveName = approveName; |
|
||||
} |
|
||||
|
|
||||
public String getApproveName() |
|
||||
{ |
|
||||
return approveName; |
|
||||
} |
|
||||
public void setApproveTime(String approveTime) |
|
||||
{ |
|
||||
this.approveTime = approveTime; |
|
||||
} |
|
||||
|
|
||||
public String getApproveTime() |
|
||||
{ |
|
||||
return approveTime; |
|
||||
} |
|
||||
public void setRawSubsidiaryCode(String rawSubsidiaryCode) |
|
||||
{ |
|
||||
this.rawSubsidiaryCode = rawSubsidiaryCode; |
|
||||
} |
|
||||
|
|
||||
public String getRawSubsidiaryCode() |
|
||||
{ |
|
||||
return rawSubsidiaryCode; |
|
||||
} |
|
||||
public void setRawSubsidiaryName(String rawSubsidiaryName) |
|
||||
{ |
|
||||
this.rawSubsidiaryName = rawSubsidiaryName; |
|
||||
} |
|
||||
|
|
||||
public String getRawSubsidiaryName() |
|
||||
{ |
|
||||
return rawSubsidiaryName; |
|
||||
} |
|
||||
public void setSpecificationModel(String specificationModel) |
|
||||
{ |
|
||||
this.specificationModel = specificationModel; |
|
||||
} |
|
||||
|
|
||||
public String getSpecificationModel() |
|
||||
{ |
|
||||
return specificationModel; |
|
||||
} |
|
||||
public void setMaterialType(String materialType) |
|
||||
{ |
|
||||
this.materialType = materialType; |
|
||||
} |
|
||||
|
|
||||
public String getMaterialType() |
|
||||
{ |
|
||||
return materialType; |
|
||||
} |
|
||||
public void setCommonCurrency(String commonCurrency) |
|
||||
{ |
|
||||
this.commonCurrency = commonCurrency; |
|
||||
} |
|
||||
|
|
||||
public String getCommonCurrency() |
|
||||
{ |
|
||||
return commonCurrency; |
|
||||
} |
|
||||
public void setPurchasingUnit(String purchasingUnit) |
|
||||
{ |
|
||||
this.purchasingUnit = purchasingUnit; |
|
||||
} |
|
||||
|
|
||||
public String getPurchasingUnit() |
|
||||
{ |
|
||||
return purchasingUnit; |
|
||||
} |
|
||||
public void setPurchasePrice(String purchasePrice) |
|
||||
{ |
|
||||
this.purchasePrice = purchasePrice; |
|
||||
} |
|
||||
|
|
||||
public String getPurchasePrice() |
|
||||
{ |
|
||||
return purchasePrice; |
|
||||
} |
|
||||
public void setMaterialQuantity(String materialQuantity) |
|
||||
{ |
|
||||
this.materialQuantity = materialQuantity; |
|
||||
} |
|
||||
|
|
||||
public String getMaterialQuantity() |
|
||||
{ |
|
||||
return materialQuantity; |
|
||||
} |
|
||||
public void setAmountMoney(String amountMoney) |
|
||||
{ |
|
||||
this.amountMoney = amountMoney; |
|
||||
} |
|
||||
|
|
||||
public String getAmountMoney() |
|
||||
{ |
|
||||
return amountMoney; |
|
||||
} |
|
||||
public void setDeliveryTime(String deliveryTime) |
|
||||
{ |
|
||||
this.deliveryTime = deliveryTime; |
|
||||
} |
|
||||
|
|
||||
public String getDeliveryTime() |
|
||||
{ |
|
||||
return deliveryTime; |
|
||||
} |
|
||||
public void setPurchaseExplain(String purchaseExplain) |
|
||||
{ |
|
||||
this.purchaseExplain = purchaseExplain; |
|
||||
} |
|
||||
|
|
||||
public String getPurchaseExplain() |
|
||||
{ |
|
||||
return purchaseExplain; |
|
||||
} |
|
||||
|
|
||||
@Override |
|
||||
public String toString() { |
|
||||
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE) |
|
||||
.append("purchaseOrderNumber", getPurchaseOrderNumber()) |
|
||||
.append("supplierCode", getSupplierCode()) |
|
||||
.append("supplierName", getSupplierName()) |
|
||||
.append("customerContact", getCustomerContact()) |
|
||||
.append("contactNumber", getContactNumber()) |
|
||||
.append("customerFax", getCustomerFax()) |
|
||||
.append("deliveryAddress", getDeliveryAddress()) |
|
||||
.append("paymentTerms", getPaymentTerms()) |
|
||||
.append("deliveryConditions", getDeliveryConditions()) |
|
||||
.append("deliveryMethod", getDeliveryMethod()) |
|
||||
.append("purchaseName", getPurchaseName()) |
|
||||
.append("billingDate", getBillingDate()) |
|
||||
.append("taxRate", getTaxRate()) |
|
||||
.append("purchaseCategory", getPurchaseCategory()) |
|
||||
.append("purchaseCommander", getPurchaseCommander()) |
|
||||
.append("customerOrderNumber", getCustomerOrderNumber()) |
|
||||
.append("remarkContent", getRemarkContent()) |
|
||||
.append("closeCaseNo", getCloseCaseNo()) |
|
||||
.append("closeCaseName", getCloseCaseName()) |
|
||||
.append("closeCaseTime", getCloseCaseTime()) |
|
||||
.append("confirmNo", getConfirmNo()) |
|
||||
.append("confirmName", getConfirmName()) |
|
||||
.append("confirmTime", getConfirmTime()) |
|
||||
.append("auditNo", getAuditNo()) |
|
||||
.append("auditName", getAuditName()) |
|
||||
.append("auditTime", getAuditTime()) |
|
||||
.append("approveNo", getApproveNo()) |
|
||||
.append("approveName", getApproveName()) |
|
||||
.append("approveTime", getApproveTime()) |
|
||||
.append("rawSubsidiaryCode", getRawSubsidiaryCode()) |
|
||||
.append("rawSubsidiaryName", getRawSubsidiaryName()) |
|
||||
.append("specificationModel", getSpecificationModel()) |
|
||||
.append("materialType", getMaterialType()) |
|
||||
.append("commonCurrency", getCommonCurrency()) |
|
||||
.append("purchasingUnit", getPurchasingUnit()) |
|
||||
.append("purchasePrice", getPurchasePrice()) |
|
||||
.append("materialQuantity", getMaterialQuantity()) |
|
||||
.append("amountMoney", getAmountMoney()) |
|
||||
.append("deliveryTime", getDeliveryTime()) |
|
||||
.append("purchaseExplain", getPurchaseExplain()) |
|
||||
.toString(); |
|
||||
} |
|
||||
} |
|
@ -1,61 +0,0 @@ |
|||||
package com.ruoyi.purchase.mapper; |
|
||||
|
|
||||
import java.util.List; |
|
||||
import com.ruoyi.purchase.domain.PurchaseOrderDetail; |
|
||||
|
|
||||
/** |
|
||||
* 采购订单详情Mapper接口 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-04-24 |
|
||||
*/ |
|
||||
public interface PurchaseOrderDetailMapper |
|
||||
{ |
|
||||
/** |
|
||||
* 查询采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderNumber 采购订单详情ID |
|
||||
* @return 采购订单详情 |
|
||||
*/ |
|
||||
public PurchaseOrderDetail selectPurchaseOrderDetailById(String purchaseOrderNumber); |
|
||||
|
|
||||
/** |
|
||||
* 查询采购订单详情列表 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 采购订单详情集合 |
|
||||
*/ |
|
||||
public List<PurchaseOrderDetail> selectPurchaseOrderDetailList(PurchaseOrderDetail purchaseOrderDetail); |
|
||||
|
|
||||
/** |
|
||||
* 新增采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int insertPurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail); |
|
||||
|
|
||||
/** |
|
||||
* 修改采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int updatePurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail); |
|
||||
|
|
||||
/** |
|
||||
* 删除采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderNumber 采购订单详情ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int deletePurchaseOrderDetailById(String purchaseOrderNumber); |
|
||||
|
|
||||
/** |
|
||||
* 批量删除采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderNumbers 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int deletePurchaseOrderDetailByIds(String[] purchaseOrderNumbers); |
|
||||
} |
|
@ -1,61 +0,0 @@ |
|||||
package com.ruoyi.purchase.service; |
|
||||
|
|
||||
import java.util.List; |
|
||||
import com.ruoyi.purchase.domain.PurchaseOrderDetail; |
|
||||
|
|
||||
/** |
|
||||
* 采购订单详情Service接口 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-04-24 |
|
||||
*/ |
|
||||
public interface IPurchaseOrderDetailService |
|
||||
{ |
|
||||
/** |
|
||||
* 查询采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderNumber 采购订单详情ID |
|
||||
* @return 采购订单详情 |
|
||||
*/ |
|
||||
public PurchaseOrderDetail selectPurchaseOrderDetailById(String purchaseOrderNumber); |
|
||||
|
|
||||
/** |
|
||||
* 查询采购订单详情列表 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 采购订单详情集合 |
|
||||
*/ |
|
||||
public List<PurchaseOrderDetail> selectPurchaseOrderDetailList(PurchaseOrderDetail purchaseOrderDetail); |
|
||||
|
|
||||
/** |
|
||||
* 新增采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int insertPurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail); |
|
||||
|
|
||||
/** |
|
||||
* 修改采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int updatePurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail); |
|
||||
|
|
||||
/** |
|
||||
* 批量删除采购订单详情 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int deletePurchaseOrderDetailByIds(String ids); |
|
||||
|
|
||||
/** |
|
||||
* 删除采购订单详情信息 |
|
||||
* |
|
||||
* @param purchaseOrderNumber 采购订单详情ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
public int deletePurchaseOrderDetailById(String purchaseOrderNumber); |
|
||||
} |
|
@ -1,94 +0,0 @@ |
|||||
package com.ruoyi.purchase.service.impl; |
|
||||
|
|
||||
import java.util.List; |
|
||||
import org.springframework.beans.factory.annotation.Autowired; |
|
||||
import org.springframework.stereotype.Service; |
|
||||
import com.ruoyi.purchase.mapper.PurchaseOrderDetailMapper; |
|
||||
import com.ruoyi.purchase.domain.PurchaseOrderDetail; |
|
||||
import com.ruoyi.purchase.service.IPurchaseOrderDetailService; |
|
||||
import com.ruoyi.common.core.text.Convert; |
|
||||
|
|
||||
/** |
|
||||
* 采购订单详情Service业务层处理 |
|
||||
* |
|
||||
* @author ruoyi |
|
||||
* @date 2023-04-24 |
|
||||
*/ |
|
||||
@Service |
|
||||
public class PurchaseOrderDetailServiceImpl implements IPurchaseOrderDetailService |
|
||||
{ |
|
||||
@Autowired |
|
||||
private PurchaseOrderDetailMapper purchaseOrderDetailMapper; |
|
||||
|
|
||||
/** |
|
||||
* 查询采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderNumber 采购订单详情ID |
|
||||
* @return 采购订单详情 |
|
||||
*/ |
|
||||
@Override |
|
||||
public PurchaseOrderDetail selectPurchaseOrderDetailById(String purchaseOrderNumber) |
|
||||
{ |
|
||||
return purchaseOrderDetailMapper.selectPurchaseOrderDetailById(purchaseOrderNumber); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 查询采购订单详情列表 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 采购订单详情 |
|
||||
*/ |
|
||||
@Override |
|
||||
public List<PurchaseOrderDetail> selectPurchaseOrderDetailList(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
return purchaseOrderDetailMapper.selectPurchaseOrderDetailList(purchaseOrderDetail); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 新增采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int insertPurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
return purchaseOrderDetailMapper.insertPurchaseOrderDetail(purchaseOrderDetail); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 修改采购订单详情 |
|
||||
* |
|
||||
* @param purchaseOrderDetail 采购订单详情 |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int updatePurchaseOrderDetail(PurchaseOrderDetail purchaseOrderDetail) |
|
||||
{ |
|
||||
return purchaseOrderDetailMapper.updatePurchaseOrderDetail(purchaseOrderDetail); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除采购订单详情对象 |
|
||||
* |
|
||||
* @param ids 需要删除的数据ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deletePurchaseOrderDetailByIds(String ids) |
|
||||
{ |
|
||||
return purchaseOrderDetailMapper.deletePurchaseOrderDetailByIds(Convert.toStrArray(ids)); |
|
||||
} |
|
||||
|
|
||||
/** |
|
||||
* 删除采购订单详情信息 |
|
||||
* |
|
||||
* @param purchaseOrderNumber 采购订单详情ID |
|
||||
* @return 结果 |
|
||||
*/ |
|
||||
@Override |
|
||||
public int deletePurchaseOrderDetailById(String purchaseOrderNumber) |
|
||||
{ |
|
||||
return purchaseOrderDetailMapper.deletePurchaseOrderDetailById(purchaseOrderNumber); |
|
||||
} |
|
||||
} |
|
@ -1,265 +0,0 @@ |
|||||
<?xml version="1.0" encoding="UTF-8" ?> |
|
||||
<!DOCTYPE mapper |
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|
||||
<mapper namespace="com.ruoyi.purchase.mapper.PurchaseOrderDetailMapper"> |
|
||||
|
|
||||
<resultMap type="PurchaseOrderDetail" id="PurchaseOrderDetailResult"> |
|
||||
<result property="purchaseOrderNumber" column="purchase_order_number" /> |
|
||||
<result property="supplierCode" column="supplier_code" /> |
|
||||
<result property="supplierName" column="supplier_name" /> |
|
||||
<result property="customerContact" column="customer_contact" /> |
|
||||
<result property="contactNumber" column="contact_number" /> |
|
||||
<result property="customerFax" column="customer_fax" /> |
|
||||
<result property="deliveryAddress" column="delivery_address" /> |
|
||||
<result property="paymentTerms" column="payment_terms" /> |
|
||||
<result property="deliveryConditions" column="delivery_conditions" /> |
|
||||
<result property="deliveryMethod" column="delivery_method" /> |
|
||||
<result property="purchaseName" column="purchase_name" /> |
|
||||
<result property="billingDate" column="billing_date" /> |
|
||||
<result property="taxRate" column="tax_rate" /> |
|
||||
<result property="purchaseCategory" column="purchase_category" /> |
|
||||
<result property="purchaseCommander" column="purchase_commander" /> |
|
||||
<result property="customerOrderNumber" column="customer_order_number" /> |
|
||||
<result property="remarkContent" column="remark_content" /> |
|
||||
<result property="closeCaseNo" column="close_case_no" /> |
|
||||
<result property="closeCaseName" column="close_case_name" /> |
|
||||
<result property="closeCaseTime" column="close_case_time" /> |
|
||||
<result property="confirmNo" column="confirm_no" /> |
|
||||
<result property="confirmName" column="confirm_name" /> |
|
||||
<result property="confirmTime" column="confirm_time" /> |
|
||||
<result property="auditNo" column="audit_no" /> |
|
||||
<result property="auditName" column="audit_name" /> |
|
||||
<result property="auditTime" column="audit_time" /> |
|
||||
<result property="approveNo" column="approve_no" /> |
|
||||
<result property="approveName" column="approve_name" /> |
|
||||
<result property="approveTime" column="approve_time" /> |
|
||||
<result property="rawSubsidiaryCode" column="raw_subsidiary_code" /> |
|
||||
<result property="rawSubsidiaryName" column="raw_subsidiary_name" /> |
|
||||
<result property="specificationModel" column="specification_model" /> |
|
||||
<result property="materialType" column="material_type" /> |
|
||||
<result property="commonCurrency" column="common_currency" /> |
|
||||
<result property="purchasingUnit" column="purchasing_unit" /> |
|
||||
<result property="purchasePrice" column="purchase_price" /> |
|
||||
<result property="materialQuantity" column="material_quantity" /> |
|
||||
<result property="amountMoney" column="amount_money" /> |
|
||||
<result property="deliveryTime" column="delivery_time" /> |
|
||||
<result property="purchaseExplain" column="purchase_explain" /> |
|
||||
</resultMap> |
|
||||
|
|
||||
<!-- <sql id="selectPurchaseOrderDetailVo">--> |
|
||||
<!-- select purchase_order_number, supplier_code, supplier_name, customer_contact, contact_number, customer_fax, delivery_address, payment_terms, delivery_conditions, delivery_method, purchase_name, billing_date, tax_rate, purchase_category, purchase_commander, customer_order_number, remark_content, close_case_no, close_case_name, close_case_time, confirm_no, confirm_name, confirm_time, audit_no, audit_name, audit_time, approve_no, approve_name, approve_time, raw_subsidiary_code, raw_subsidiary_name, specification_model, material_type, common_currency, purchasing_unit, purchase_price, material_quantity, amount_money, delivery_time, purchase_explain from purchase_order_detail--> |
|
||||
<!-- </sql>--> |
|
||||
<sql id="selectPurchaseOrderDetailVo"> |
|
||||
SELECT |
|
||||
po.purchase_order_number, |
|
||||
po.supplier_code, |
|
||||
po.supplier_name, |
|
||||
po.customer_contact, |
|
||||
po.contact_number, |
|
||||
po.customer_fax, |
|
||||
po.delivery_address, |
|
||||
po.payment_terms, |
|
||||
po.delivery_conditions, |
|
||||
po.delivery_method, |
|
||||
po.purchase_name, |
|
||||
po.billing_date, |
|
||||
po.tax_rate, |
|
||||
po.purchase_category, |
|
||||
po.purchase_commander, |
|
||||
po.customer_order_number, |
|
||||
po.remark_content, |
|
||||
po.close_case_no, |
|
||||
po.close_case_name, |
|
||||
po.close_case_time, |
|
||||
po.confirm_no, |
|
||||
po.confirm_name, |
|
||||
po.confirm_time, |
|
||||
po.audit_no, |
|
||||
po.audit_name, |
|
||||
po.audit_time, |
|
||||
po.approve_no, |
|
||||
po.approve_name, |
|
||||
po.approve_time, |
|
||||
pm.raw_subsidiary_code, |
|
||||
pm.raw_subsidiary_name, |
|
||||
pm.specification_model, |
|
||||
pm.material_type, |
|
||||
pm.common_currency, |
|
||||
pm.purchasing_unit, |
|
||||
pm.material_quantity, |
|
||||
pm.purchase_price, |
|
||||
pm.amount_money, |
|
||||
pm.delivery_time, |
|
||||
pm.purchase_explain |
|
||||
FROM |
|
||||
purchase_order po,purchase_material pm |
|
||||
WHERE po.purchase_order_number = pm.purchase_order_number |
|
||||
</sql> |
|
||||
|
|
||||
<select id="selectPurchaseOrderDetailList" parameterType="PurchaseOrderDetail" resultMap="PurchaseOrderDetailResult"> |
|
||||
<include refid="selectPurchaseOrderDetailVo"/> |
|
||||
<if test="purchaseOrderNumber != null and purchaseOrderNumber != ''"> and po.purchase_order_number like concat('%', #{purchaseOrderNumber}, '%')</if> |
|
||||
<if test="supplierCode != null and supplierCode != ''"> and po.supplier_code like concat('%', #{supplierCode}, '%')</if> |
|
||||
<if test="supplierName != null and supplierName != ''"> and po.supplier_name like concat('%', #{supplierName}, '%')</if> |
|
||||
<if test="params.beginBillingDate != null and params.beginBillingDate != '' and params.endBillingDate != null and params.endBillingDate != ''"> and billing_date between #{params.beginBillingDate} and #{params.endBillingDate}</if> |
|
||||
<if test="closeCaseNo != null and closeCaseNo != ''"> and close_case_no = #{closeCaseNo}</if> |
|
||||
<if test="confirmNo != null and confirmNo != ''"> and confirm_no = #{confirmNo}</if> |
|
||||
<if test="auditNo != null and auditNo != ''"> and audit_no = #{auditNo}</if> |
|
||||
<if test="approveNo != null and approveNo != ''"> and approve_no = #{approveNo}</if> |
|
||||
<if test="rawSubsidiaryCode != null and rawSubsidiaryCode != ''"> and raw_subsidiary_code like concat('%', #{rawSubsidiaryCode}, '%')</if> |
|
||||
<if test="rawSubsidiaryName != null and rawSubsidiaryName != ''"> and raw_subsidiary_name like concat('%', #{rawSubsidiaryName}, '%')</if> |
|
||||
<if test="params.beginDeliveryTime != null and params.beginDeliveryTime != '' and params.endDeliveryTime != null and params.endDeliveryTime != ''"> and delivery_time between #{params.beginDeliveryTime} and #{params.endDeliveryTime}</if> |
|
||||
</select> |
|
||||
<!-- --> |
|
||||
<!-- <select id="selectPurchaseOrderDetailById" parameterType="String" resultMap="PurchaseOrderDetailResult">--> |
|
||||
<!-- <include refid="selectPurchaseOrderDetailVo"/>--> |
|
||||
<!-- where purchase_order_number = #{purchaseOrderNumber}--> |
|
||||
<!-- </select>--> |
|
||||
<!-- --> |
|
||||
<!-- <insert id="insertPurchaseOrderDetail" parameterType="PurchaseOrderDetail">--> |
|
||||
<!-- insert into purchase_order_detail--> |
|
||||
<!-- <trim prefix="(" suffix=")" suffixOverrides=",">--> |
|
||||
<!-- <if test="purchaseOrderNumber != null">purchase_order_number,</if>--> |
|
||||
<!-- <if test="supplierCode != null">supplier_code,</if>--> |
|
||||
<!-- <if test="supplierName != null">supplier_name,</if>--> |
|
||||
<!-- <if test="customerContact != null">customer_contact,</if>--> |
|
||||
<!-- <if test="contactNumber != null">contact_number,</if>--> |
|
||||
<!-- <if test="customerFax != null">customer_fax,</if>--> |
|
||||
<!-- <if test="deliveryAddress != null">delivery_address,</if>--> |
|
||||
<!-- <if test="paymentTerms != null">payment_terms,</if>--> |
|
||||
<!-- <if test="deliveryConditions != null">delivery_conditions,</if>--> |
|
||||
<!-- <if test="deliveryMethod != null">delivery_method,</if>--> |
|
||||
<!-- <if test="purchaseName != null">purchase_name,</if>--> |
|
||||
<!-- <if test="billingDate != null">billing_date,</if>--> |
|
||||
<!-- <if test="taxRate != null">tax_rate,</if>--> |
|
||||
<!-- <if test="purchaseCategory != null">purchase_category,</if>--> |
|
||||
<!-- <if test="purchaseCommander != null">purchase_commander,</if>--> |
|
||||
<!-- <if test="customerOrderNumber != null">customer_order_number,</if>--> |
|
||||
<!-- <if test="remarkContent != null">remark_content,</if>--> |
|
||||
<!-- <if test="closeCaseNo != null">close_case_no,</if>--> |
|
||||
<!-- <if test="closeCaseName != null">close_case_name,</if>--> |
|
||||
<!-- <if test="closeCaseTime != null">close_case_time,</if>--> |
|
||||
<!-- <if test="confirmNo != null">confirm_no,</if>--> |
|
||||
<!-- <if test="confirmName != null">confirm_name,</if>--> |
|
||||
<!-- <if test="confirmTime != null">confirm_time,</if>--> |
|
||||
<!-- <if test="auditNo != null">audit_no,</if>--> |
|
||||
<!-- <if test="auditName != null">audit_name,</if>--> |
|
||||
<!-- <if test="auditTime != null">audit_time,</if>--> |
|
||||
<!-- <if test="approveNo != null">approve_no,</if>--> |
|
||||
<!-- <if test="approveName != null">approve_name,</if>--> |
|
||||
<!-- <if test="approveTime != null">approve_time,</if>--> |
|
||||
<!-- <if test="rawSubsidiaryCode != null">raw_subsidiary_code,</if>--> |
|
||||
<!-- <if test="rawSubsidiaryName != null">raw_subsidiary_name,</if>--> |
|
||||
<!-- <if test="specificationModel != null">specification_model,</if>--> |
|
||||
<!-- <if test="materialType != null">material_type,</if>--> |
|
||||
<!-- <if test="commonCurrency != null">common_currency,</if>--> |
|
||||
<!-- <if test="purchasingUnit != null">purchasing_unit,</if>--> |
|
||||
<!-- <if test="purchasePrice != null">purchase_price,</if>--> |
|
||||
<!-- <if test="materialQuantity != null">material_quantity,</if>--> |
|
||||
<!-- <if test="amountMoney != null">amount_money,</if>--> |
|
||||
<!-- <if test="deliveryTime != null">delivery_time,</if>--> |
|
||||
<!-- <if test="purchaseExplain != null">purchase_explain,</if>--> |
|
||||
<!-- </trim>--> |
|
||||
<!-- <trim prefix="values (" suffix=")" suffixOverrides=",">--> |
|
||||
<!-- <if test="purchaseOrderNumber != null">#{purchaseOrderNumber},</if>--> |
|
||||
<!-- <if test="supplierCode != null">#{supplierCode},</if>--> |
|
||||
<!-- <if test="supplierName != null">#{supplierName},</if>--> |
|
||||
<!-- <if test="customerContact != null">#{customerContact},</if>--> |
|
||||
<!-- <if test="contactNumber != null">#{contactNumber},</if>--> |
|
||||
<!-- <if test="customerFax != null">#{customerFax},</if>--> |
|
||||
<!-- <if test="deliveryAddress != null">#{deliveryAddress},</if>--> |
|
||||
<!-- <if test="paymentTerms != null">#{paymentTerms},</if>--> |
|
||||
<!-- <if test="deliveryConditions != null">#{deliveryConditions},</if>--> |
|
||||
<!-- <if test="deliveryMethod != null">#{deliveryMethod},</if>--> |
|
||||
<!-- <if test="purchaseName != null">#{purchaseName},</if>--> |
|
||||
<!-- <if test="billingDate != null">#{billingDate},</if>--> |
|
||||
<!-- <if test="taxRate != null">#{taxRate},</if>--> |
|
||||
<!-- <if test="purchaseCategory != null">#{purchaseCategory},</if>--> |
|
||||
<!-- <if test="purchaseCommander != null">#{purchaseCommander},</if>--> |
|
||||
<!-- <if test="customerOrderNumber != null">#{customerOrderNumber},</if>--> |
|
||||
<!-- <if test="remarkContent != null">#{remarkContent},</if>--> |
|
||||
<!-- <if test="closeCaseNo != null">#{closeCaseNo},</if>--> |
|
||||
<!-- <if test="closeCaseName != null">#{closeCaseName},</if>--> |
|
||||
<!-- <if test="closeCaseTime != null">#{closeCaseTime},</if>--> |
|
||||
<!-- <if test="confirmNo != null">#{confirmNo},</if>--> |
|
||||
<!-- <if test="confirmName != null">#{confirmName},</if>--> |
|
||||
<!-- <if test="confirmTime != null">#{confirmTime},</if>--> |
|
||||
<!-- <if test="auditNo != null">#{auditNo},</if>--> |
|
||||
<!-- <if test="auditName != null">#{auditName},</if>--> |
|
||||
<!-- <if test="auditTime != null">#{auditTime},</if>--> |
|
||||
<!-- <if test="approveNo != null">#{approveNo},</if>--> |
|
||||
<!-- <if test="approveName != null">#{approveName},</if>--> |
|
||||
<!-- <if test="approveTime != null">#{approveTime},</if>--> |
|
||||
<!-- <if test="rawSubsidiaryCode != null">#{rawSubsidiaryCode},</if>--> |
|
||||
<!-- <if test="rawSubsidiaryName != null">#{rawSubsidiaryName},</if>--> |
|
||||
<!-- <if test="specificationModel != null">#{specificationModel},</if>--> |
|
||||
<!-- <if test="materialType != null">#{materialType},</if>--> |
|
||||
<!-- <if test="commonCurrency != null">#{commonCurrency},</if>--> |
|
||||
<!-- <if test="purchasingUnit != null">#{purchasingUnit},</if>--> |
|
||||
<!-- <if test="purchasePrice != null">#{purchasePrice},</if>--> |
|
||||
<!-- <if test="materialQuantity != null">#{materialQuantity},</if>--> |
|
||||
<!-- <if test="amountMoney != null">#{amountMoney},</if>--> |
|
||||
<!-- <if test="deliveryTime != null">#{deliveryTime},</if>--> |
|
||||
<!-- <if test="purchaseExplain != null">#{purchaseExplain},</if>--> |
|
||||
<!-- </trim>--> |
|
||||
<!-- </insert>--> |
|
||||
|
|
||||
<!-- <update id="updatePurchaseOrderDetail" parameterType="PurchaseOrderDetail">--> |
|
||||
<!-- update purchase_order_detail--> |
|
||||
<!-- <trim prefix="SET" suffixOverrides=",">--> |
|
||||
<!-- <if test="supplierCode != null">supplier_code = #{supplierCode},</if>--> |
|
||||
<!-- <if test="supplierName != null">supplier_name = #{supplierName},</if>--> |
|
||||
<!-- <if test="customerContact != null">customer_contact = #{customerContact},</if>--> |
|
||||
<!-- <if test="contactNumber != null">contact_number = #{contactNumber},</if>--> |
|
||||
<!-- <if test="customerFax != null">customer_fax = #{customerFax},</if>--> |
|
||||
<!-- <if test="deliveryAddress != null">delivery_address = #{deliveryAddress},</if>--> |
|
||||
<!-- <if test="paymentTerms != null">payment_terms = #{paymentTerms},</if>--> |
|
||||
<!-- <if test="deliveryConditions != null">delivery_conditions = #{deliveryConditions},</if>--> |
|
||||
<!-- <if test="deliveryMethod != null">delivery_method = #{deliveryMethod},</if>--> |
|
||||
<!-- <if test="purchaseName != null">purchase_name = #{purchaseName},</if>--> |
|
||||
<!-- <if test="billingDate != null">billing_date = #{billingDate},</if>--> |
|
||||
<!-- <if test="taxRate != null">tax_rate = #{taxRate},</if>--> |
|
||||
<!-- <if test="purchaseCategory != null">purchase_category = #{purchaseCategory},</if>--> |
|
||||
<!-- <if test="purchaseCommander != null">purchase_commander = #{purchaseCommander},</if>--> |
|
||||
<!-- <if test="customerOrderNumber != null">customer_order_number = #{customerOrderNumber},</if>--> |
|
||||
<!-- <if test="remarkContent != null">remark_content = #{remarkContent},</if>--> |
|
||||
<!-- <if test="closeCaseNo != null">close_case_no = #{closeCaseNo},</if>--> |
|
||||
<!-- <if test="closeCaseName != null">close_case_name = #{closeCaseName},</if>--> |
|
||||
<!-- <if test="closeCaseTime != null">close_case_time = #{closeCaseTime},</if>--> |
|
||||
<!-- <if test="confirmNo != null">confirm_no = #{confirmNo},</if>--> |
|
||||
<!-- <if test="confirmName != null">confirm_name = #{confirmName},</if>--> |
|
||||
<!-- <if test="confirmTime != null">confirm_time = #{confirmTime},</if>--> |
|
||||
<!-- <if test="auditNo != null">audit_no = #{auditNo},</if>--> |
|
||||
<!-- <if test="auditName != null">audit_name = #{auditName},</if>--> |
|
||||
<!-- <if test="auditTime != null">audit_time = #{auditTime},</if>--> |
|
||||
<!-- <if test="approveNo != null">approve_no = #{approveNo},</if>--> |
|
||||
<!-- <if test="approveName != null">approve_name = #{approveName},</if>--> |
|
||||
<!-- <if test="approveTime != null">approve_time = #{approveTime},</if>--> |
|
||||
<!-- <if test="rawSubsidiaryCode != null">raw_subsidiary_code = #{rawSubsidiaryCode},</if>--> |
|
||||
<!-- <if test="rawSubsidiaryName != null">raw_subsidiary_name = #{rawSubsidiaryName},</if>--> |
|
||||
<!-- <if test="specificationModel != null">specification_model = #{specificationModel},</if>--> |
|
||||
<!-- <if test="materialType != null">material_type = #{materialType},</if>--> |
|
||||
<!-- <if test="commonCurrency != null">common_currency = #{commonCurrency},</if>--> |
|
||||
<!-- <if test="purchasingUnit != null">purchasing_unit = #{purchasingUnit},</if>--> |
|
||||
<!-- <if test="purchasePrice != null">purchase_price = #{purchasePrice},</if>--> |
|
||||
<!-- <if test="materialQuantity != null">material_quantity = #{materialQuantity},</if>--> |
|
||||
<!-- <if test="amountMoney != null">amount_money = #{amountMoney},</if>--> |
|
||||
<!-- <if test="deliveryTime != null">delivery_time = #{deliveryTime},</if>--> |
|
||||
<!-- <if test="purchaseExplain != null">purchase_explain = #{purchaseExplain},</if>--> |
|
||||
<!-- </trim>--> |
|
||||
<!-- where purchase_order_number = #{purchaseOrderNumber}--> |
|
||||
<!-- </update>--> |
|
||||
|
|
||||
<!-- <delete id="deletePurchaseOrderDetailById" parameterType="String">--> |
|
||||
<!-- delete from purchase_order_detail where purchase_order_number = #{purchaseOrderNumber}--> |
|
||||
<!-- </delete>--> |
|
||||
|
|
||||
<!-- <delete id="deletePurchaseOrderDetailByIds" parameterType="String">--> |
|
||||
<!-- delete from purchase_order_detail where purchase_order_number in --> |
|
||||
<!-- <foreach item="purchaseOrderNumber" collection="array" open="(" separator="," close=")">--> |
|
||||
<!-- #{purchaseOrderNumber}--> |
|
||||
<!-- </foreach>--> |
|
||||
<!-- </delete>--> |
|
||||
|
|
||||
</mapper> |
|
@ -1,334 +0,0 @@ |
|||||
<!DOCTYPE html> |
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" > |
|
||||
<head> |
|
||||
<th:block th:include="include :: header('新增采购订单详情')" /> |
|
||||
<th:block th:include="include :: datetimepicker-css" /> |
|
||||
<th:block th:include="include :: summernote-css" /> |
|
||||
</head> |
|
||||
<body class="white-bg"> |
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
||||
<form class="form-horizontal m" id="form-purchaseOrderDetail-add"> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">订购单号:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseOrderNumber" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">供应商代码:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="supplierCode" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">供应商名称:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="supplierName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">联系人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="customerContact" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">联系电话:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="contactNumber" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">传真号码:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="customerFax" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交货地点:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="deliveryAddress" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">付款条件:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="paymentTerms" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交货条件:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="deliveryConditions" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交货方式:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="deliveryMethod" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">购方名称:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">开单日期:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<div class="input-group date"> |
|
||||
<input name="billingDate" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">税率:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="taxRate" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">订购种类:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseCategory" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">采购担当:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseCommander" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">客户订单号:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="customerOrderNumber" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">备注内容:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input type="hidden" class="form-control" name="remarkContent"> |
|
||||
<div class="summernote" id="remarkContent"></div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">结案否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="closeCaseNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">结案人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="closeCaseName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">结案时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="closeCaseTime" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">确认否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="confirmNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">确认人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="confirmName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">确认时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="confirmTime" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">审核否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="auditNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">审核人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="auditName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">审核时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="auditTime" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">核准否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="approveNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">核准人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="approveName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">核准时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="approveTime" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">原辅料代码:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="rawSubsidiaryCode" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">原辅料名称:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="rawSubsidiaryName" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">规格型号:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="specificationModel" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">物料类别:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="materialType" class="form-control m-b"> |
|
||||
<option value="">所有</option> |
|
||||
</select> |
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">币别:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="commonCurrency" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">采购单位:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchasingUnit" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">采购单价:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchasePrice" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">数量:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="materialQuantity" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">金额:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="amountMoney" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交期:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<div class="input-group date"> |
|
||||
<input name="deliveryTime" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">说明:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseExplain" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
</form> |
|
||||
</div> |
|
||||
<th:block th:include="include :: footer" /> |
|
||||
<th:block th:include="include :: datetimepicker-js" /> |
|
||||
<th:block th:include="include :: summernote-js" /> |
|
||||
<script th:inline="javascript"> |
|
||||
var prefix = ctx + "purchase/purchaseOrderDetail" |
|
||||
$("#form-purchaseOrderDetail-add").validate({ |
|
||||
focusCleanup: true |
|
||||
}); |
|
||||
|
|
||||
function submitHandler() { |
|
||||
if ($.validate.form()) { |
|
||||
$.operate.save(prefix + "/add", $('#form-purchaseOrderDetail-add').serialize()); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
$("input[name='billingDate']").datetimepicker({ |
|
||||
format: "yyyy-mm-dd", |
|
||||
minView: "month", |
|
||||
autoclose: true |
|
||||
}); |
|
||||
|
|
||||
$("input[name='deliveryTime']").datetimepicker({ |
|
||||
format: "yyyy-mm-dd", |
|
||||
minView: "month", |
|
||||
autoclose: true |
|
||||
}); |
|
||||
|
|
||||
$(function() { |
|
||||
$('.summernote').summernote({ |
|
||||
lang: 'zh-CN', |
|
||||
callbacks: { |
|
||||
onChange: function(contents, $edittable) { |
|
||||
$("input[name='" + this.id + "']").val(contents); |
|
||||
}, |
|
||||
onImageUpload: function(files) { |
|
||||
var obj = this; |
|
||||
var data = new FormData(); |
|
||||
data.append("file", files[0]); |
|
||||
$.ajax({ |
|
||||
type: "post", |
|
||||
url: ctx + "common/upload", |
|
||||
data: data, |
|
||||
cache: false, |
|
||||
contentType: false, |
|
||||
processData: false, |
|
||||
dataType: 'json', |
|
||||
success: function(result) { |
|
||||
if (result.code == web_status.SUCCESS) { |
|
||||
$('#' + obj.id).summernote('insertImage', result.url); |
|
||||
} else { |
|
||||
$.modal.alertError(result.msg); |
|
||||
} |
|
||||
}, |
|
||||
error: function(error) { |
|
||||
$.modal.alertWarning("图片上传失败。"); |
|
||||
} |
|
||||
}); |
|
||||
} |
|
||||
} |
|
||||
}); |
|
||||
}); |
|
||||
</script> |
|
||||
</body> |
|
||||
</html> |
|
@ -1,339 +0,0 @@ |
|||||
<!DOCTYPE html> |
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" > |
|
||||
<head> |
|
||||
<th:block th:include="include :: header('修改采购订单详情')" /> |
|
||||
<th:block th:include="include :: datetimepicker-css" /> |
|
||||
<th:block th:include="include :: summernote-css" /> |
|
||||
</head> |
|
||||
<body class="white-bg"> |
|
||||
<div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
|
||||
<form class="form-horizontal m" id="form-purchaseOrderDetail-edit" th:object="${purchaseOrderDetail}"> |
|
||||
<input name="purchaseOrderNumber" th:field="*{purchaseOrderNumber}" type="hidden"> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">订购单号:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseOrderNumber" th:field="*{purchaseOrderNumber}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">供应商代码:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="supplierCode" th:field="*{supplierCode}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">供应商名称:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="supplierName" th:field="*{supplierName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">联系人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="customerContact" th:field="*{customerContact}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">联系电话:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="contactNumber" th:field="*{contactNumber}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">传真号码:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="customerFax" th:field="*{customerFax}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交货地点:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="deliveryAddress" th:field="*{deliveryAddress}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">付款条件:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="paymentTerms" th:field="*{paymentTerms}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交货条件:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="deliveryConditions" th:field="*{deliveryConditions}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交货方式:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="deliveryMethod" th:field="*{deliveryMethod}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">购方名称:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseName" th:field="*{purchaseName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">开单日期:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<div class="input-group date"> |
|
||||
<input name="billingDate" th:value="${#dates.format(purchaseOrderDetail.billingDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">税率:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="taxRate" th:field="*{taxRate}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">订购种类:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseCategory" th:field="*{purchaseCategory}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">采购担当:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseCommander" th:field="*{purchaseCommander}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">客户订单号:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="customerOrderNumber" th:field="*{customerOrderNumber}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">备注内容:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input type="hidden" class="form-control" th:field="*{remarkContent}"> |
|
||||
<div class="summernote" id="remarkContent"></div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">结案否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="closeCaseNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{closeCaseNo}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">结案人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="closeCaseName" th:field="*{closeCaseName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">结案时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="closeCaseTime" th:field="*{closeCaseTime}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">确认否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="confirmNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{confirmNo}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">确认人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="confirmName" th:field="*{confirmName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">确认时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="confirmTime" th:field="*{confirmTime}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">审核否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="auditNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{auditNo}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">审核人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="auditName" th:field="*{auditName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">审核时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="auditTime" th:field="*{auditTime}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">核准否:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="approveNo" class="form-control m-b" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{approveNo}"></option> |
|
||||
</select> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">核准人:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="approveName" th:field="*{approveName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">核准时间:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="approveTime" th:field="*{approveTime}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">原辅料代码:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="rawSubsidiaryCode" th:field="*{rawSubsidiaryCode}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">原辅料名称:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="rawSubsidiaryName" th:field="*{rawSubsidiaryName}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">规格型号:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="specificationModel" th:field="*{specificationModel}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">物料类别:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<select name="materialType" class="form-control m-b"> |
|
||||
<option value="">所有</option> |
|
||||
</select> |
|
||||
<span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">币别:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="commonCurrency" th:field="*{commonCurrency}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">采购单位:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchasingUnit" th:field="*{purchasingUnit}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">采购单价:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchasePrice" th:field="*{purchasePrice}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">数量:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="materialQuantity" th:field="*{materialQuantity}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">金额:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="amountMoney" th:field="*{amountMoney}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">交期:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<div class="input-group date"> |
|
||||
<input name="deliveryTime" th:value="${#dates.format(purchaseOrderDetail.deliveryTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
|
||||
<span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<div class="form-group"> |
|
||||
<label class="col-sm-3 control-label">说明:</label> |
|
||||
<div class="col-sm-8"> |
|
||||
<input name="purchaseExplain" th:field="*{purchaseExplain}" class="form-control" type="text"> |
|
||||
</div> |
|
||||
</div> |
|
||||
</form> |
|
||||
</div> |
|
||||
<th:block th:include="include :: footer" /> |
|
||||
<th:block th:include="include :: datetimepicker-js" /> |
|
||||
<th:block th:include="include :: summernote-js" /> |
|
||||
<script th:inline="javascript"> |
|
||||
var prefix = ctx + "purchase/purchaseOrderDetail"; |
|
||||
$("#form-purchaseOrderDetail-edit").validate({ |
|
||||
focusCleanup: true |
|
||||
}); |
|
||||
|
|
||||
function submitHandler() { |
|
||||
if ($.validate.form()) { |
|
||||
$.operate.save(prefix + "/edit", $('#form-purchaseOrderDetail-edit').serialize()); |
|
||||
} |
|
||||
} |
|
||||
|
|
||||
$("input[name='billingDate']").datetimepicker({ |
|
||||
format: "yyyy-mm-dd", |
|
||||
minView: "month", |
|
||||
autoclose: true |
|
||||
}); |
|
||||
|
|
||||
$("input[name='deliveryTime']").datetimepicker({ |
|
||||
format: "yyyy-mm-dd", |
|
||||
minView: "month", |
|
||||
autoclose: true |
|
||||
}); |
|
||||
|
|
||||
$(function() { |
|
||||
$('.summernote').each(function(i) { |
|
||||
$('#' + this.id).summernote({ |
|
||||
lang: 'zh-CN', |
|
||||
callbacks: { |
|
||||
onChange: function(contents, $edittable) { |
|
||||
$("input[name='" + this.id + "']").val(contents); |
|
||||
}, |
|
||||
onImageUpload: function(files) { |
|
||||
var obj = this; |
|
||||
var data = new FormData(); |
|
||||
data.append("file", files[0]); |
|
||||
$.ajax({ |
|
||||
type: "post", |
|
||||
url: ctx + "common/upload", |
|
||||
data: data, |
|
||||
cache: false, |
|
||||
contentType: false, |
|
||||
processData: false, |
|
||||
dataType: 'json', |
|
||||
success: function(result) { |
|
||||
if (result.code == web_status.SUCCESS) { |
|
||||
$('#' + obj.id).summernote('insertImage', result.url); |
|
||||
} else { |
|
||||
$.modal.alertError(result.msg); |
|
||||
} |
|
||||
}, |
|
||||
error: function(error) { |
|
||||
$.modal.alertWarning("图片上传失败。"); |
|
||||
} |
|
||||
}); |
|
||||
} |
|
||||
} |
|
||||
}); |
|
||||
var content = $("input[name='" + this.id + "']").val(); |
|
||||
$('#' + this.id).summernote('code', content); |
|
||||
}) |
|
||||
}); |
|
||||
</script> |
|
||||
</body> |
|
||||
</html> |
|
@ -1,200 +0,0 @@ |
|||||
<!DOCTYPE html> |
|
||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro"> |
|
||||
<head> |
|
||||
<th:block th:include="include :: header('采购订单详情列表')" /> |
|
||||
</head> |
|
||||
<body class="gray-bg"> |
|
||||
<div class="container-div"> |
|
||||
<div class="row"> |
|
||||
<div class="col-sm-12 search-collapse"> |
|
||||
<form id="formId"> |
|
||||
<div class="select-list"> |
|
||||
<ul> |
|
||||
<li> |
|
||||
<label>订购单号:</label> |
|
||||
<input type="text" name="purchaseOrderNumber"/> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>供应商代码:</label> |
|
||||
<input type="text" name="supplierCode"/> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>供应商名称:</label> |
|
||||
<input type="text" name="supplierName"/> |
|
||||
</li> |
|
||||
<li class="select-time"> |
|
||||
<label>开单日期:</label> |
|
||||
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginBillingDate]"/> |
|
||||
<span>-</span> |
|
||||
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endBillingDate]"/> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>结案否:</label> |
|
||||
<select name="closeCaseNo" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option value="">所有</option> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>确认否:</label> |
|
||||
<select name="confirmNo" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option value="">所有</option> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>审核否:</label> |
|
||||
<select name="auditNo" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option value="">所有</option> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>核准否:</label> |
|
||||
<select name="approveNo" th:with="type=${@dict.getType('sys_whether')}"> |
|
||||
<option value="">所有</option> |
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option> |
|
||||
</select> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>原辅料代码:</label> |
|
||||
<input type="text" name="rawSubsidiaryCode"/> |
|
||||
</li> |
|
||||
<li> |
|
||||
<label>原辅料名称:</label> |
|
||||
<input type="text" name="rawSubsidiaryName"/> |
|
||||
</li> |
|
||||
<li class="select-time"> |
|
||||
<label>交期:</label> |
|
||||
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginDeliveryTime]"/> |
|
||||
<span>-</span> |
|
||||
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endDeliveryTime]"/> |
|
||||
</li> |
|
||||
<li> |
|
||||
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a> |
|
||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a> |
|
||||
</li> |
|
||||
</ul> |
|
||||
</div> |
|
||||
</form> |
|
||||
</div> |
|
||||
|
|
||||
<div class="btn-group-sm" id="toolbar" role="group"> |
|
||||
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="purchase:purchaseOrderDetail:add">--> |
|
||||
<!-- <i class="fa fa-plus"></i> 添加--> |
|
||||
<!-- </a>--> |
|
||||
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="purchase:purchaseOrderDetail:edit">--> |
|
||||
<!-- <i class="fa fa-edit"></i> 修改--> |
|
||||
<!-- </a>--> |
|
||||
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="purchase:purchaseOrderDetail:remove">--> |
|
||||
<!-- <i class="fa fa-remove"></i> 删除--> |
|
||||
<!-- </a>--> |
|
||||
<!-- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="purchase:purchaseOrderDetail:export">--> |
|
||||
<!-- <i class="fa fa-download"></i> 导出--> |
|
||||
<!-- </a>--> |
|
||||
</div> |
|
||||
<div class="col-sm-12 select-table table-striped"> |
|
||||
<table id="bootstrap-table" style="white-space: nowrap"></table> |
|
||||
</div> |
|
||||
</div> |
|
||||
</div> |
|
||||
<th:block th:include="include :: footer" /> |
|
||||
<script th:inline="javascript"> |
|
||||
var editFlag = [[${@permission.hasPermi('purchase:purchaseOrderDetail:edit')}]]; |
|
||||
var removeFlag = [[${@permission.hasPermi('purchase:purchaseOrderDetail:remove')}]]; |
|
||||
var closeCaseNoDatas = [[${@dict.getType('sys_whether')}]]; |
|
||||
var confirmNoDatas = [[${@dict.getType('sys_whether')}]]; |
|
||||
var auditNoDatas = [[${@dict.getType('sys_whether')}]]; |
|
||||
var approveNoDatas = [[${@dict.getType('sys_whether')}]]; |
|
||||
var commonCurrencyDatas = [[${@dict.getType('sys_common_currency')}]]; |
|
||||
var prefix = ctx + "purchase/purchaseOrderDetail"; |
|
||||
|
|
||||
$(function() { |
|
||||
var options = { |
|
||||
url: prefix + "/list", |
|
||||
createUrl: prefix + "/add", |
|
||||
updateUrl: prefix + "/edit/{id}", |
|
||||
removeUrl: prefix + "/remove", |
|
||||
exportUrl: prefix + "/export", |
|
||||
modalName: "采购订单详情", |
|
||||
columns: [{ |
|
||||
checkbox: true |
|
||||
}, |
|
||||
{ |
|
||||
field: 'purchaseOrderNumber', |
|
||||
title: '订购单号' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'supplierCode', |
|
||||
title: '供应商代码' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'supplierName', |
|
||||
title: '供应商名称' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'billingDate', |
|
||||
title: '开单日期' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'closeCaseNo', |
|
||||
title: '结案否', |
|
||||
formatter: function(value, row, index) { |
|
||||
return $.table.selectDictLabel(closeCaseNoDatas, value); |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
field: 'rawSubsidiaryCode', |
|
||||
title: '原辅料代码' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'rawSubsidiaryName', |
|
||||
title: '原辅料名称' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'specificationModel', |
|
||||
title: '规格型号' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'commonCurrency', |
|
||||
title: '币别', |
|
||||
formatter: function(value, row, index) { |
|
||||
return $.table.selectDictLabel(commonCurrencyDatas, value); |
|
||||
} |
|
||||
}, |
|
||||
{ |
|
||||
field: 'purchasingUnit', |
|
||||
title: '采购单位' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'purchasePrice', |
|
||||
title: '采购单价' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'materialQuantity', |
|
||||
title: '数量' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'amountMoney', |
|
||||
title: '金额' |
|
||||
}, |
|
||||
{ |
|
||||
field: 'deliveryTime', |
|
||||
title: '交期' |
|
||||
}] |
|
||||
// { |
|
||||
// title: '操作', |
|
||||
// align: 'center', |
|
||||
// formatter: function(value, row, index) { |
|
||||
// var actions = []; |
|
||||
// actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.purchaseOrderNumber + '\')"><i class="fa fa-edit"></i>编辑</a> '); |
|
||||
// actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.purchaseOrderNumber + '\')"><i class="fa fa-remove"></i>删除</a>'); |
|
||||
// return actions.join(''); |
|
||||
// } |
|
||||
// } |
|
||||
}; |
|
||||
$.table.init(options); |
|
||||
}); |
|
||||
</script> |
|
||||
</body> |
|
||||
</html> |
|
Loading…
Reference in new issue