/*
 * @Date: 2023-05-08 21:49:41
 * @LastEditors: 陈禹琨 chenyukun@prolog-int.com
 * @LastEditTime: 2023-06-14 18:24:39
 * @FilePath: /upcloud-wms-henanyiyao-web/src/views/kzyWMS/inBound/printLibrary/noticePrinting/config/detail/extend.js
 * @Description: cyk
 */
export const extendFormItems = function (_this) {
  return [
    { hidden: true, title: "taskRqcId", dataIndex: "taskRqcId", key: "taskRqcId" },
    { hidden: true, title: "rcvHeaderId", dataIndex: "rcvHeaderId", key: "rcvHeaderId" },
    { hidden: true, title: "taskRqcId", dataIndex: "taskRqcId", key: "taskRqcId" },
    {
      type: "txt",
      title: "监管",
      dataIndex: "isSupervise",
      key: "isSupervise",
      width: 120,
      customRender(text) {
        return text == "1" ? "是" : "否";
      },
    },
    // { type: 'txt', title: "受否入备货库", dataIndex: "itemNum", key: "itemNum", width: 120 },
    { type: "txt", title: "商品编号", dataIndex: "itemNum", key: "itemNum", width: 120 },
    { type: "txt", title: "商品名称", dataIndex: "itemName", key: "itemName", width: 160 },
    { type: "txt", title: "商品规格", dataIndex: "specification", key: "specification", width: 120 },
    { type: "txt", title: "容器号", dataIndex: "containerCode", key: "containerCode", width: 120 },
    { type: "txt", title: "库别", dataIndex: "whAreaCategoryCode", key: "categoryName", width: 120 },
 
    { type: "txt", title: "生产厂家", dataIndex: "manufacturerName", key: "manufacturerName", width: 120 },
    { type: "txt", title: "包装单位", dataIndex: "uom", key: "uom", width: 120 },
    { type: "txt", title: "包装数", dataIndex: "conversionRate", key: "conversionRate", width: 120 },
    { type: "txt", title: "可用数量", dataIndex: "pieceQty", key: "pieceQty", width: 120 },
    { type: "txt", title: "可用件数", dataIndex: "oddCaseQty", key: "oddCaseQty", width: 120 },
    { type: "txt", title: "可用零散数", dataIndex: "oddPieceQty", key: "oddPieceQty", width: 120 },
    { type: "txt", title: "批号", dataIndex: "manufacturerLotNum", key: "manufacturerLotNum", width: 120 },
    { type: "txt", title: "生产日期", dataIndex: "showProductionDate", key: "showProductionDate", width: 120 },
    { type: "txt", title: "有效期至", dataIndex: "showExpiredDate", key: "showExpiredDate", width: 120 },
    // { type: 'txt', title: "已完成数量", dataIndex: "itemName", key: "itemName", width: 120 },
    // { type: 'txt', title: "标准托盘量", dataIndex: "palletStdQuantity", key: "palletStdQuantity", width: 120 },
    { type: "txt", title: "通用名", dataIndex: "itemHealthCommonName", key: "itemHealthCommonName", width: 120 },
    { type: "txt", title: "单价", dataIndex: "piecePriceTi", key: "piecePriceTi", width: 120 },
    // { type: 'txt', title: "金额", dataIndex: "asnHeaderId", key: "asnHeaderId", width: 120 },
    { type: "txt", title: "批准文号", dataIndex: "approvalNumber", key: "approvalNumber", width: 120 },
    // { type: 'txt', title: "行号", dataIndex: "lineNo", key: "lineNo", width: 120 },
    // { type: 'txt', title: "采购单行号", dataIndex: "poLineNo", key: "poLineNo", width: 120 },
    // { type: 'txt', title: "商品内码", dataIndex: "categoryName", key: "categoryName", width: 120 },
    // { type: 'txt', title: "商品助记码", dataIndex: "itemZjm", key: "itemZjm", width: 120 },
    { type: "txt", title: "商品大类", dataIndex: "categoryName", key: "categoryName", width: 120 },
    {
      type: "txt",
      title: "存储分类",
      dataIndex: "itemHealthStoreCategory",
      key: "itemHealthStoreCategory",
      width: 120,
    },
  ];
};
