徐州-什克金属
1.产品名称和规格型号改成物料编码和物料描述
| | |
| | | "logo": "logo/Logo.png", |
| | | "favicon": "favicon/favicon.ico" |
| | | }, |
| | | "BTYX": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南帮太优选食品有限公司", |
| | | "VITE_BASE_API": "http://1.15.17.182:9056", |
| | | "VITE_JAVA_API": "http://1.15.17.182:9057" |
| | | }, |
| | | "logo": "logo/BTYXLogo.png", |
| | | "favicon": "favicon/BTYXfavicon.ico" |
| | | }, |
| | | "ZXZN": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南智芯智能机器人有限公司", |
| | | "VITE_BASE_API": "http://192.168.0.200:9001", |
| | | "VITE_JAVA_API": "http://192.168.0.200:9000" |
| | | }, |
| | | "logo": "logo/ZXZNLogo.png", |
| | | "favicon": "favicon/ZXZNfavicon.ico" |
| | | }, |
| | | "SDTX": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南善鼎通信科技有限公司", |
| | | "VITE_BASE_API": "http://36.213.156.184:9001", |
| | | "VITE_JAVA_API": "http://36.213.156.184:9000" |
| | | }, |
| | | "logo": "logo/SDTXLogo.png", |
| | | "favicon": "favicon/SDTXfavicon.ico" |
| | | }, |
| | | "ZQSY": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "泽淇实业", |
| | | "VITE_BASE_API": "http://36.213.128.159:9000", |
| | | "VITE_JAVA_API": "http://36.213.128.159:9001" |
| | | }, |
| | | "logo": "logo/ZQSYLogo.png", |
| | | "favicon": "favicon/ZQSYfavicon.ico" |
| | | }, |
| | | "JXJH": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "浚县江海水泥制品有限公司", |
| | | "VITE_BASE_API": "http://36.139.201.20:9000", |
| | | "VITE_JAVA_API": "http://36.139.201.20:9001" |
| | | }, |
| | | "logo": "logo/JXJHLogo.png", |
| | | "favicon": "favicon/JXJHfavicon.ico" |
| | | }, |
| | | "YTJZ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "豫泰建筑材料有限公司", |
| | | "VITE_BASE_API": "http://36.139.201.181:9000", |
| | | "VITE_JAVA_API": "http://36.139.201.181:9001" |
| | | }, |
| | | "logo": "logo/YTJZLogo.png", |
| | | "favicon": "favicon/YTJZfavicon.ico" |
| | | }, |
| | | "HYLQ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "航逸路桥工程有限公司", |
| | | "VITE_BASE_API": "http://36.139.202.111:9000", |
| | | "VITE_JAVA_API": "http://36.139.202.111:9001" |
| | | }, |
| | | "logo": "logo/HYLQLogo.png", |
| | | "favicon": "favicon/HYLQfavicon.ico" |
| | | }, |
| | | "QXY": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "强信宇电器云主机", |
| | | "VITE_BASE_API": "http://36.134.154.10:9000", |
| | | "VITE_JAVA_API": "http://36.134.154.10:9001" |
| | | }, |
| | | "logo": "logo/QXYLogo.png", |
| | | "favicon": "favicon/QXYfavicon.ico" |
| | | }, |
| | | "HYJC": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "恒洋建材", |
| | | "VITE_BASE_API": "http://36.138.94.178:9000", |
| | | "VITE_JAVA_API": "http://36.138.94.178:9001" |
| | | }, |
| | | "logo": "logo/HYJCLogo.png", |
| | | "favicon": "favicon/HYJCfavicon.ico" |
| | | }, |
| | | "JHY": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "山西省榆社县晋和园食品有限公司", |
| | | "VITE_BASE_API": "http://223.15.233.27:9001", |
| | | "VITE_JAVA_API": "http://223.15.233.27:9002" |
| | | }, |
| | | "logo": "logo/JHYLogo.png", |
| | | "favicon": "favicon/JHYfavicon.ico" |
| | | }, |
| | | "XCDQ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "旭晨电器管理系统", |
| | | "VITE_BASE_API": "http://36.133.45.183:9001", |
| | | "VITE_JAVA_API": "http://36.133.45.183:9002" |
| | | }, |
| | | "logo": "logo/XCDQLogo.png", |
| | | "favicon": "favicon/XCDQfavicon.ico" |
| | | }, |
| | | "LMJN": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "绿美节能管理系统", |
| | | "VITE_BASE_API": "http://1.15.17.182:9105", |
| | | "VITE_JAVA_API": "http://1.15.17.182:9106" |
| | | }, |
| | | "logo": "logo/Logo.png", |
| | | "favicon": "favicon/favicon.ico" |
| | | }, |
| | | "XSWH": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "兴盛旺海管理系统", |
| | | "VITE_BASE_API": "http://36.138.177.225:9001", |
| | | "VITE_JAVA_API": "http://36.138.177.225:9002" |
| | | }, |
| | | "logo": "logo/XSWHLogo.png", |
| | | "favicon": "favicon/XSWHfavicon.ico" |
| | | }, |
| | | "TDDQ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南同德电气有限公司", |
| | | "VITE_BASE_API": "http://36.137.101.88:9001", |
| | | "VITE_JAVA_API": "http://36.137.101.88:9002" |
| | | }, |
| | | "logo": "logo/TDDQLogo.png", |
| | | "favicon": "favicon/TDDQfavicon.ico" |
| | | }, |
| | | "JHJM": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁市锦汇精密机械有限公司", |
| | | "VITE_BASE_API": "http://103.189.141.42:9001", |
| | | "VITE_JAVA_API": "http://103.189.141.42:9002" |
| | | }, |
| | | "logo": "logo/JHJMLogo.png", |
| | | "favicon": "favicon/JHJMfavicon.ico" |
| | | }, |
| | | "DDGW": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南东大高温节能材料有限公司", |
| | | "VITE_BASE_API": "http://36.133.40.190:81", |
| | | "VITE_JAVA_API": "http://36.133.40.190:82" |
| | | }, |
| | | "logo": "logo/DDGWLogo.png", |
| | | "favicon": "favicon/DDGWfavicon.ico" |
| | | }, |
| | | "DDGW-TEST": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南东大高温节能材料有限公司", |
| | | "VITE_BASE_API": "http://36.133.40.190:83", |
| | | "VITE_JAVA_API": "http://36.133.40.190:84" |
| | | }, |
| | | "logo": "logo/DDGWLogo.png", |
| | | "favicon": "favicon/DDGWfavicon.ico" |
| | | }, |
| | | "XHZG": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁欣弘重工有限公司", |
| | | "VITE_BASE_API": "http://103.189.141.42:9001", |
| | | "VITE_JAVA_API": "http://103.189.141.42:9002" |
| | | }, |
| | | "logo": "logo/XHZGLogo.png", |
| | | "favicon": "favicon/XHZGfavicon.ico" |
| | | }, |
| | | "SDKS": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁市四达矿山设备有限公司", |
| | | "VITE_BASE_API": "http://36.213.180.217:9520", |
| | | "VITE_JAVA_API": "http://36.213.180.217:9521" |
| | | }, |
| | | "logo": "logo/SDKSLogo.png", |
| | | "favicon": "favicon/SDKSfavicon.ico" |
| | | }, |
| | | "JMTM": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南捷美特镁科技有限公司", |
| | | "VITE_BASE_API": "http://36.133.40.61:81", |
| | | "VITE_JAVA_API": "http://36.133.40.61:82" |
| | | }, |
| | | "logo": "logo/JMTMLogo.png", |
| | | "favicon": "favicon/JMTMfavicon.ico" |
| | | }, |
| | | "CHMY": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁昌宏镁业有限公司", |
| | | "VITE_BASE_API": "http://36.133.39.224:81", |
| | | "VITE_JAVA_API": "http://36.133.39.224:82" |
| | | }, |
| | | "logo": "logo/CHMYLogo.png", |
| | | "favicon": "favicon/CHMYfavicon.ico" |
| | | }, |
| | | "SJDQ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁市山城区盛久电器有限公司", |
| | | "VITE_BASE_API": "http://36.139.201.235:81", |
| | | "VITE_JAVA_API": "http://36.139.201.235:82" |
| | | }, |
| | | "logo": "logo/SJDQLogo.png", |
| | | "favicon": "favicon/SJDQfavicon.ico" |
| | | }, |
| | | "TXDQ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁泰信电气有限公司", |
| | | "VITE_BASE_API": "http://36.133.46.171:81", |
| | | "VITE_JAVA_API": "http://36.133.46.171:82" |
| | | }, |
| | | "logo": "logo/TXDQLogo.png", |
| | | "favicon": "favicon/TXDQfavicon.ico" |
| | | }, |
| | | "SMDQ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁市晟铭电器有限公司", |
| | | "VITE_BASE_API": "http://36.137.102.125:81", |
| | | "VITE_JAVA_API": "http://36.137.102.125:82" |
| | | }, |
| | | "logo": "logo/SMDQLogo.png", |
| | | "favicon": "favicon/SMDQfavicon.ico" |
| | | }, |
| | | "BCKJ": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "河南冰驰科技有限公司", |
| | | "VITE_BASE_API": "http://36.133.209.54:81", |
| | | "VITE_JAVA_API": "http://36.133.209.54:82" |
| | | }, |
| | | "logo": "logo/BCKJLogo.png", |
| | | "favicon": "favicon/BCKJfavicon.ico" |
| | | }, |
| | | "HMCL": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鹤壁浩镁材料有限公司", |
| | | "VITE_BASE_API": "http://36.213.90.123:9522", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9523" |
| | | }, |
| | | "logo": "logo/HMCLLogo.png", |
| | | "favicon": "favicon/HMCLfavicon.ico" |
| | | }, |
| | | "DTZG": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "徐州东特重工科技有限公司", |
| | | "VITE_BASE_API": "http://36.213.90.123:9510", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9511" |
| | | }, |
| | | "logo": "logo/DTZGLogo.png", |
| | | "favicon": "favicon/DTZGfavicon.ico" |
| | | }, |
| | | "XLZN": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "江苏旭龙智能科技有限公司", |
| | | "VITE_BASE_API": "http://36.213.90.123:9512", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9513" |
| | | }, |
| | | "logo": "logo/XLZNLogo.png", |
| | | "favicon": "favicon/XLZNfavicon.ico" |
| | | }, |
| | | "SKJS": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "徐州什克金属制品有限公司", |
| | | "VITE_BASE_API": "http://36.213.90.123:9514", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9515" |
| | | "VITE_BASE_API": "http://36.213.90.123:9515", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9514" |
| | | }, |
| | | "logo": "logo/SKJSLogo.png", |
| | | "favicon": "favicon/SKJSFavicon.ico" |
| | | }, |
| | | "YJYY": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "徐州永佳液压设备有限公司", |
| | | "VITE_BASE_API": "http://36.213.90.123:9516", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9517" |
| | | }, |
| | | "logo": "logo/YJYYLogo.png", |
| | | "favicon": "favicon/YJYYFavicon.ico" |
| | | }, |
| | | "DYZN": { |
| | | "env": { |
| | | "VITE_APP_TITLE": "鼎业智能科技(江苏)有限公司", |
| | | "VITE_BASE_API": "http://36.213.90.123:9518", |
| | | "VITE_JAVA_API": "http://36.213.90.123:9519" |
| | | }, |
| | | "logo": "logo/DYZNLogo.png", |
| | | "favicon": "favicon/DYZNfavicon.ico" |
| | | }, |
| | | |
| | | "logo": "/src/assets/logo/logo.png", |
| | | "favicon": "/public/favicon.ico" |
| | | } |
| | |
| | | profitRate: '利润率', |
| | | reasons: '原因', |
| | | suggestion: '建议', |
| | | productName: '产品名称', |
| | | productName: '物料编码', |
| | | model: '型号', |
| | | quantity: '数量', |
| | | inventoryValue: '库存资金', |
| | |
| | | unReceiptPaymentAmount: '未收付款金额', |
| | | templateName: '模板名称', |
| | | productCategory: '产品类别', |
| | | specificationModel: '规格型号', |
| | | specificationModel: '物料描述', |
| | | unit: '单位', |
| | | taxRate: '税率', |
| | | taxInclusiveUnitPrice: '含税单价', |
| | |
| | | <div><span class="l">交货日期:</span><span class="v">${fmtDate(ledger.deliveryDate)}</span></div> |
| | | ${ledger.remarks ? `<div style="grid-column:1/-1"><span class="l">备注:</span><span class="v">${esc(ledger.remarks)}</span></div>` : ''} |
| | | </div> |
| | | <table><thead><tr><th>序号</th><th>产品名称 / 规格型号</th><th>单位</th><th>数量</th><th>含税单价</th><th>含税总价</th><th>税率</th><th>发票类型</th></tr></thead><tbody> |
| | | <table><thead><tr><th>序号</th><th>物料编码 / 物料描述</th><th>单位</th><th>数量</th><th>含税单价</th><th>含税总价</th><th>税率</th><th>发票类型</th></tr></thead><tbody> |
| | | ${productRows(products)} |
| | | </tbody></table> |
| | | <div class="summary"> |
| | |
| | | ${ledger.salesContractNo ? `<div><span class="l">关联销售合同号:</span><span class="v">${esc(ledger.salesContractNo)}</span></div>` : ''} |
| | | ${ledger.remarks ? `<div style="grid-column:1/-1"><span class="l">备注:</span><span class="v">${esc(ledger.remarks)}</span></div>` : ''} |
| | | </div> |
| | | <table><thead><tr><th>序号</th><th>产品名称 / 规格型号</th><th>单位</th><th>数量</th><th>含税单价</th><th>含税总价</th><th>税率</th><th>发票类型</th></tr></thead><tbody> |
| | | <table><thead><tr><th>序号</th><th>物料编码 / 物料描述</th><th>单位</th><th>数量</th><th>含税单价</th><th>含税总价</th><th>税率</th><th>发票类型</th></tr></thead><tbody> |
| | | ${productRows(products)} |
| | | </tbody></table> |
| | | <div class="summary"> |
| | |
| | | <template> |
| | | <el-dialog v-model="visible" title="选择产品" width="900px" destroy-on-close :close-on-click-modal="false"> |
| | | <el-form :inline="true" :model="query" class="mb-2"> |
| | | <el-form-item label="产品大类"> |
| | | <el-select v-model="query.topProductParentId" placeholder="选择产品大类" clearable @change="onSearch" style="width: 150px"> |
| | | <el-form-item label="物料编码"> |
| | | <el-select v-model="query.topProductParentId" placeholder="选择物料编码" clearable @change="onSearch" style="width: 150px"> |
| | | <el-option v-for="item in categoryList" :key="item.id" :label="item.label || item.productName" :value="item.id" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="产品名称"> |
| | | <el-input v-model="query.productName" placeholder="输入产品名称" clearable @keyup.enter="onSearch" style="width: 150px" /> |
| | | <el-form-item label="物料编码"> |
| | | <el-input v-model="query.productName" placeholder="输入物料编码" clearable @keyup.enter="onSearch" style="width: 150px" /> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="产品型号"> |
| | |
| | | @selection-change="handleSelectionChange" @select="handleSelect"> |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column type="index" label="序号" width="60" /> |
| | | <el-table-column prop="topProductName" label="产品大类" min-width="120" /> |
| | | <el-table-column prop="productName" label="产品名称" min-width="140" /> |
| | | <el-table-column prop="topProductName" label="物料编码" min-width="120" /> |
| | | <el-table-column prop="productName" label="物料编码" min-width="140" /> |
| | | <el-table-column prop="model" label="产品型号" min-width="180" /> |
| | | <el-table-column prop="unit" label="单位" min-width="100" /> |
| | | </el-table> |
| | |
| | | <el-button v-if="false" |
| | | type="primary" |
| | | @click="openProDia('addOne')" |
| | | style="margin-left: 10px">新增产品大类</el-button> |
| | | style="margin-left: 10px">新增物料编码</el-button> |
| | | </div> |
| | | <div ref="containerRef"> |
| | | <el-tree ref="tree" |
| | |
| | | v-if="isShowButton"> |
| | | <el-button type="primary" |
| | | @click="openModelDia('add')"> |
| | | 新增规格型号 |
| | | 新增物料描述 |
| | | </el-button> |
| | | <ImportExcel :product-id="currentId" |
| | | @uploadSuccess="getModelList" /> |
| | |
| | | ref="formRef"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="产品名称:" |
| | | <el-form-item label="物料编码:" |
| | | prop="productName"> |
| | | <el-input v-model="form.productName" |
| | | type="textarea" |
| | | resize="vertical" |
| | | placeholder="请输入产品名称" |
| | | placeholder="请输入物料编码" |
| | | maxlength="50" |
| | | show-word-limit |
| | | clearable |
| | |
| | | </template> |
| | | </el-dialog> |
| | | <el-dialog v-model="modelDia" |
| | | title="规格型号" |
| | | title="物料描述" |
| | | width="400px" |
| | | @close="closeModelDia" |
| | | @keydown.enter.prevent> |
| | |
| | | ref="modelFormRef"> |
| | | <el-row> |
| | | <el-col :span="24"> |
| | | <el-form-item label="产品编号:" |
| | | <el-form-item label="物料编码:" |
| | | prop="productCode"> |
| | | <el-input v-model="modelForm.productCode" |
| | | placeholder="请输入产品编号" |
| | | placeholder="请输入物料编码" |
| | | clearable |
| | | @keydown.enter.prevent /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="24"> |
| | | <el-form-item label="规格型号:" |
| | | <el-form-item label="物料描述:" |
| | | prop="model"> |
| | | <el-input v-model="modelForm.model" |
| | | placeholder="请输入规格型号" |
| | | placeholder="请输入物料描述" |
| | | clearable |
| | | @keydown.enter.prevent /> |
| | | </el-form-item> |
| | |
| | | const expandedKeys = ref([]); |
| | | const tableColumn = ref([ |
| | | { |
| | | label: "产品编号", |
| | | label: "物料编码", |
| | | prop: "productCode", |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "model", |
| | | }, |
| | | { |
| | |
| | | rules: { |
| | | productName: [ |
| | | { required: true, message: "请输入", trigger: "blur" }, |
| | | { max: 50, message: "产品名称不能超过50个字符", trigger: "blur" }, |
| | | { max: 50, message: "物料编码不能超过50个字符", trigger: "blur" }, |
| | | ], |
| | | }, |
| | | modelForm: { |
| | |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column prop="product" |
| | | label="产品名称" /> |
| | | label="物料编码" /> |
| | | <el-table-column prop="specification" |
| | | label="规格型号" /> |
| | | label="物料描述" /> |
| | | <el-table-column prop="unit" |
| | | label="单位" /> |
| | | <el-table-column prop="unitPrice" |
| | |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column prop="productCategory" |
| | | label="产品名称" /> |
| | | label="物料编码" /> |
| | | <el-table-column prop="specificationModel" |
| | | label="规格型号" /> |
| | | label="物料描述" /> |
| | | <el-table-column prop="unit" |
| | | label="单位" /> |
| | | <el-table-column prop="quantity" |
| | |
| | | label="批号" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="productName" |
| | | label="产品名称" |
| | | label="物料编码" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" |
| | | label="规格型号" |
| | | label="物料描述" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="deliveryQuantity" |
| | | label="发货数量" |
| | |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column prop="product" |
| | | label="产品名称" /> |
| | | label="物料编码" /> |
| | | <el-table-column prop="specification" |
| | | label="规格型号" /> |
| | | label="物料描述" /> |
| | | <el-table-column prop="unit" |
| | | label="单位" /> |
| | | <el-table-column prop="unitPrice" |
| | |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column prop="productCategory" |
| | | label="产品名称" /> |
| | | label="物料编码" /> |
| | | <el-table-column prop="specificationModel" |
| | | label="规格型号" /> |
| | | label="物料描述" /> |
| | | <el-table-column prop="unit" |
| | | label="单位" /> |
| | | <el-table-column prop="quantity" |
| | |
| | | label="批号" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="productName" |
| | | label="产品名称" |
| | | label="物料编码" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" |
| | | label="规格型号" |
| | | label="物料描述" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="deliveryQuantity" |
| | | label="发货数量" |
| | |
| | | label="序号" |
| | | type="index" |
| | | width="60" /> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productCategory" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="specificationModel" /> |
| | | <el-table-column label="单位" |
| | | prop="unit" /> |
| | |
| | | width: 200 |
| | | }, |
| | | { |
| | | label: "产品大类", |
| | | label: "物料编码", |
| | | prop: "productCategory", |
| | | width: 200 |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "specificationModel", |
| | | width: 220 |
| | | }, |
| | |
| | | <span class="descriptions">关联产品</span> |
| | | <el-table :data="tableData" border style="width: 100%; margin-top: 10px;"> |
| | | <el-table-column type="index" label="序号" width="60" align="center" /> |
| | | <el-table-column prop="productCategory" label="产品大类" align="center" /> |
| | | <el-table-column prop="specificationModel" label="规格型号" align="center" /> |
| | | <el-table-column prop="productCategory" label="物料编码" align="center" /> |
| | | <el-table-column prop="specificationModel" label="物料描述" align="center" /> |
| | | <el-table-column prop="unit" label="单位" align="center" /> |
| | | <el-table-column prop="expressCompany" label="快递公司" align="center" /> |
| | | <el-table-column prop="expressNumber" label="快递单号" align="center" /> |
| | |
| | | > |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="临期产品名称:" prop="productName"> |
| | | <el-form-item label="临期物料编码:" prop="productName"> |
| | | <el-input |
| | | v-model="form.productName" |
| | | placeholder="请输入产品名称" |
| | | placeholder="请输入物料编码" |
| | | clearable |
| | | :disabled="isFieldDisabled('productName')" |
| | | /> |
| | |
| | | status: 1 |
| | | }, |
| | | rules: { |
| | | productName: [{required: true, message: "请输入产品名称", trigger: "blur"}], |
| | | productName: [{required: true, message: "请输入物料编码", trigger: "blur"}], |
| | | batchNumber: [{required: true, message: "请输入产品批号", trigger: "blur"}], |
| | | expiryDate: [{required: true, message: "请选择临期日期", trigger: "change"}], |
| | | stockQuantity: [{required: true, message: "请输入库存数量", trigger: "blur"}], |
| | |
| | | formDia: null, |
| | | tableColumn: [ |
| | | { |
| | | label: "临期产品名称", |
| | | label: "临期物料编码", |
| | | prop: "productName", |
| | | width: "", |
| | | }, |
| | |
| | | }; |
| | | |
| | | const tableColumn = ref([ |
| | | { label: "产品大类", prop: "productCategory" }, |
| | | { label: "规格型号", prop: "specificationModel" }, |
| | | { label: "物料编码", prop: "productCategory" }, |
| | | { label: "物料描述", prop: "specificationModel" }, |
| | | { label: "单位", prop: "unit" }, |
| | | { |
| | | label: "产品状态", |
| | |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="供应商名称" prop="supplierName" width="240" show-overflow-tooltip /> |
| | | <el-table-column label="产品" prop="productCategory" min-width="100" show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" prop="specificationModel" min-width="200" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="specificationModel" min-width="200" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" width="70" show-overflow-tooltip /> |
| | | <el-table-column label="入库数量" prop="inboundNum" width="90" show-overflow-tooltip /> |
| | | <el-table-column label="库存数量" prop="inboundNum0" width="90" show-overflow-tooltip /> |
| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column prop="inboundBatches" label="入库单号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="supplierName" label="供应商" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="productName" label="产品名称" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" label="规格型号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="productName" label="物料编码" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" label="物料描述" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="purchaseContractNumber" label="采购订单号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="inboundDate" label="入库日期" width="110" align="center" /> |
| | | <el-table-column prop="inboundAmount" label="入库金额(含税)" width="120" align="right"> |
| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column prop="inboundBatches" label="入库单号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="supplierName" label="供应商" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="productName" label="产品名称" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" label="规格型号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="productName" label="物料编码" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" label="物料描述" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="purchaseContractNumber" label="采购订单号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="inboundDate" label="入库日期" width="110" align="center" /> |
| | | <el-table-column prop="inboundAmount" label="入库金额(含税)" width="120" align="right"> |
| | |
| | | dataType: "slot", |
| | | slot: "inboundDate", |
| | | }, |
| | | { label: "产品名称", prop: "productName", minWidth: "140" }, |
| | | { label: "物料编码", prop: "productName", minWidth: "140" }, |
| | | { label: "产品规格", prop: "specificationModel", minWidth: "140" }, |
| | | { |
| | | label: "金额", |
| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column prop="outboundBatches" label="出库单号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="customerName" label="客户名称" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="productName" label="产品名称" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" label="规格型号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="productName" label="物料编码" min-width="120" show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" label="物料描述" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="salesContractNo" label="销售合同号" min-width="140" show-overflow-tooltip /> |
| | | <el-table-column prop="shippingNo" label="发货单号" min-width="130" show-overflow-tooltip /> |
| | | <el-table-column prop="shippingDate" label="发货日期" width="110" align="center" /> |
| | |
| | | min-width="120" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="productName" |
| | | label="产品名称" |
| | | label="物料编码" |
| | | min-width="120" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="specificationModel" |
| | | label="规格型号" |
| | | label="物料描述" |
| | | min-width="140" |
| | | show-overflow-tooltip /> |
| | | <el-table-column prop="salesContractNo" |
| | |
| | | { label: "出库单号", prop: "outboundBatches", minWidth: "150" }, |
| | | { label: "客户名称", prop: "customerName", minWidth: "180" }, |
| | | { label: "出库日期", prop: "shippingDate", width: "170" }, |
| | | { label: "产品名称", prop: "productName", minWidth: "140" }, |
| | | { label: "物料编码", prop: "productName", minWidth: "140" }, |
| | | { label: "产品规格", prop: "specificationModel", minWidth: "140" }, |
| | | { |
| | | label: "金额", |
| | |
| | | </div> |
| | | <el-table :data="filteredOrders" stripe> |
| | | <el-table-column prop="orderNo" label="订单编号" min-width="150" /> |
| | | <el-table-column prop="productName" label="产品名称" min-width="120" /> |
| | | <el-table-column prop="productName" label="物料编码" min-width="120" /> |
| | | <el-table-column prop="planQty" label="计划数量" min-width="90" /> |
| | | <el-table-column prop="completedQty" label="已完成" min-width="90" /> |
| | | <el-table-column label="完成率" min-width="180"> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <el-form-item label="产品大类" prop="productName"> |
| | | <el-form-item label="物料编码" prop="productName"> |
| | | <el-input v-model="searchForm.productName" |
| | | style="width: 240px" |
| | | placeholder="请输入" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="产品大类" |
| | | label="物料编码" |
| | | prop="productName" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column label="规格型号" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="批号" prop="batchNo" width="150" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" width="80" show-overflow-tooltip /> |
| | | <el-table-column |
| | |
| | | <table class="product-table"> |
| | | <thead> |
| | | <tr> |
| | | <th>产品名称</th> |
| | | <th>规格型号</th> |
| | | <th>物料编码</th> |
| | | <th>物料描述</th> |
| | | <th>单位</th> |
| | | <th>单价</th> |
| | | <th>零售数量</th> |
| | |
| | | <el-table-column label="入库时间" prop="createTime" width="100" show-overflow-tooltip /> |
| | | <el-table-column label="入库批次" prop="inboundBatches" width="160" show-overflow-tooltip /> |
| | | <el-table-column label="供应商名称" prop="supplierName" width="240" show-overflow-tooltip /> |
| | | <el-table-column label="产品大类" prop="productCategory" width="100" show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" prop="specificationModel" width="200" show-overflow-tooltip /> |
| | | <el-table-column label="物料编码" prop="productCategory" width="100" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="specificationModel" width="200" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" width="70" show-overflow-tooltip /> |
| | | <el-table-column label="入库数量" prop="inboundNum" width="90" show-overflow-tooltip /> |
| | | <el-table-column label="库存数量" prop="inboundNum0" width="90" show-overflow-tooltip /> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="4"> |
| | | <el-form-item label="产品大类" prop="productName"> |
| | | <el-form-item label="物料编码" prop="productName"> |
| | | <el-input v-model="searchForm.productName" |
| | | style="width: 240px" |
| | | placeholder="请输入" |
| | |
| | | <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productName" |
| | | show-overflow-tooltip/> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="model" |
| | | show-overflow-tooltip/> |
| | | <el-table-column label="批号" |
| | |
| | | height="100%" |
| | | > |
| | | <el-table-column |
| | | label="产品名称" |
| | | label="物料编码" |
| | | prop="productName" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column label="规格型号" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" show-overflow-tooltip /> |
| | | <el-table-column label="批号" prop="batchNo" show-overflow-tooltip /> |
| | | <el-table-column |
| | |
| | | :model="formState" |
| | | label-position="top" |
| | | ref="formRef"> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | prop="productModelId" |
| | | :rules="[ |
| | | { |
| | |
| | | <div class="app-container"> |
| | | <div class="search_form"> |
| | | <div> |
| | | <span class="search_title ml10">产品大类:</span> |
| | | <span class="search_title ml10">物料编码:</span> |
| | | <el-input v-model="searchForm.productName" |
| | | style="width: 240px" |
| | | placeholder="请输入" |
| | |
| | | :row-class-name="tableRowClassName" height="calc(100vh - 18.5em)"> |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productName" show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="物料编码" prop="productName" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="批号" prop="batchNo" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" show-overflow-tooltip /> |
| | | <el-table-column label="库存数量" prop="qualitity" show-overflow-tooltip /> |
| | |
| | | > |
| | | <el-row :gutter="20"> |
| | | <el-col :span="4"> |
| | | <el-form-item label="产品大类" prop="productName"> |
| | | <el-form-item label="物料编码" prop="productName"> |
| | | <el-input v-model="searchForm.productName" |
| | | style="width: 240px" |
| | | placeholder="请输入" |
| | |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column |
| | | label="产品名称" |
| | | label="物料编码" |
| | | prop="productName" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column label="规格型号" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" show-overflow-tooltip /> |
| | | <!-- <el-table-column label="批号" prop="batchNo" show-overflow-tooltip /> --> |
| | | <el-table-column |
| | |
| | | // 点击详情 |
| | | const showDetailModal = (row) => { |
| | | if (!row?.productId || !row?.productModelId) { |
| | | proxy.$modal.msgError("当前数据缺少产品ID或规格型号ID"); |
| | | proxy.$modal.msgError("当前数据缺少产品ID或物料描述ID"); |
| | | return; |
| | | } |
| | | record.value = row; |
| | |
| | | > |
| | | <el-form label-width="140px" :model="formState" label-position="top" ref="formRef"> |
| | | <el-form-item |
| | | label="产品名称" |
| | | label="物料编码" |
| | | prop="productModelId" |
| | | :rules="[ |
| | | { |
| | |
| | | <div class="app-container"> |
| | | <div class="search_form"> |
| | | <div> |
| | | <span class="search_title ml10">产品大类:</span> |
| | | <span class="search_title ml10">物料编码:</span> |
| | | <el-input v-model="searchForm.productName" |
| | | style="width: 240px" |
| | | placeholder="请输入" |
| | |
| | | :row-class-name="tableRowClassName" height="calc(100vh - 18.5em)"> |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productName" show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="物料编码" prop="productName" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="model" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" show-overflow-tooltip /> |
| | | <el-table-column label="库存数量" prop="qualitity" show-overflow-tooltip /> |
| | | <el-table-column label="冻结数量" prop="lockedQuantity" show-overflow-tooltip /> |
| | |
| | | width="180" |
| | | show-overflow-tooltip |
| | | v-if="searchForm.reportType !== 'inout'" /> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productName" |
| | | show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="model" |
| | | show-overflow-tooltip /> |
| | | <el-table-column label="单位" |
| | |
| | | <el-table-column label="储气罐编码" prop="tankCode" width="120" show-overflow-tooltip /> |
| | | <el-table-column label="储气罐名称" prop="tankName" width="200" show-overflow-tooltip /> |
| | | <el-table-column label="储气罐类型" prop="tankType" width="120" show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" prop="specificationModel" width="150" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="specificationModel" width="150" show-overflow-tooltip /> |
| | | <el-table-column label="容积(m³)" prop="volume" width="100" show-overflow-tooltip /> |
| | | |
| | | <!-- 库存相关字段 --> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="specificationModel"> |
| | | <el-input v-model="form.specificationModel" placeholder="请输入规格型号" /> |
| | | <el-form-item label="物料描述:" prop="specificationModel"> |
| | | <el-input v-model="form.specificationModel" placeholder="请输入物料描述" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号" prop="specification"> |
| | | <el-input v-model="formData.specification" placeholder="请输入规格型号" /> |
| | | <el-form-item label="物料描述" prop="specification"> |
| | | <el-input v-model="formData.specification" placeholder="请输入物料描述" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | <el-table :data="tableData" border v-loading="loading" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="商品名称" prop="productName" /> |
| | | <el-table-column label="规格型号" prop="specification" /> |
| | | <el-table-column label="物料描述" prop="specification" /> |
| | | <el-table-column label="供应商名称" prop="supplierName" /> |
| | | <el-table-column label="原价格" prop="oldPrice" width="120"> |
| | | <template #default="{ row }">¥{{ row.oldPrice.toFixed(2) }}</template> |
| | |
| | | <el-option label="商品C" value="商品C" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="规格型号"> |
| | | <el-input v-model="formData.specification" placeholder="请输入规格型号" /> |
| | | <el-form-item label="物料描述"> |
| | | <el-input v-model="formData.specification" placeholder="请输入物料描述" /> |
| | | </el-form-item> |
| | | <el-form-item label="供应商名称"> |
| | | <el-select v-model="formData.supplierName" placeholder="请选择供应商" style="width: 100%"> |
| | |
| | | </div> |
| | | <el-table :data="productData" border> |
| | | <el-table-column type="index" label="序号" width="60" align="center" /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column label="物料编码" prop="productCategory" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" /> |
| | | <el-table-column label="单位" prop="unit" /> |
| | | <el-table-column label="数量" prop="quantity" /> |
| | | <el-table-column label="库存预留数量" prop="stockReservedQuantity" /> |
| | |
| | | <template #default="props"> |
| | | <el-table :data="props.row.children" border show-summary :summary-method="summarizeChildrenTable"> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column label="物料编码" prop="productCategory" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" /> |
| | | <el-table-column label="单位" prop="unit" /> |
| | | <el-table-column label="入库审核状态" prop="stockInApprovalStatus" width="120"> |
| | | <template #default="scope"> |
| | |
| | | :summary-method="summarizeProTable"> |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column label="物料编码" prop="productCategory" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" /> |
| | | <el-table-column label="单位" prop="unit" width="70" /> |
| | | <el-table-column label="数量" prop="quantity" width="70" /> |
| | | <!-- <el-table-column label="库存预警数量" prop="warnNum" width="120" show-overflow-tooltip />--> |
| | |
| | | <el-form :model="productForm" label-width="140px" label-position="top" :rules="productRules" ref="productFormRef"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品大类:" prop="productCategory"> |
| | | <el-form-item label="物料编码:" prop="productCategory"> |
| | | <el-input v-model="productForm.productCategory" |
| | | placeholder="点击选择" |
| | | readonly |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="productModelId"> |
| | | <el-form-item label="物料描述:" prop="productModelId"> |
| | | <el-input v-model="productForm.specificationModel" |
| | | placeholder="点击选择" |
| | | readonly |
| | |
| | | isChecked: false, |
| | | }, |
| | | productRules: { |
| | | productCategory: [{ required: true, message: "请选择产品大类", trigger: "change" }], |
| | | productModelId: [{ required: true, message: "请选择规格型号", trigger: "change" }], |
| | | productCategory: [{ required: true, message: "请选择物料编码", trigger: "change" }], |
| | | productModelId: [{ required: true, message: "请选择物料描述", trigger: "change" }], |
| | | unit: [{ required: true, message: "请输入", trigger: "blur" }], |
| | | quantity: [{ required: true, message: "请输入", trigger: "blur" }], |
| | | taxInclusiveUnitPrice: [ |
| | |
| | | style="width: 100%; margin-top: 20px;" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column prop="productCategory" label="产品大类" min-width="150" /> |
| | | <el-table-column prop="productCategory" label="物料编码" min-width="150" /> |
| | | <el-table-column prop="specificationModel" label="产品规格" width="120" /> |
| | | <el-table-column prop="inboundNum0" label="现有库存" width="100" align="right" /> |
| | | <el-table-column prop="inboundNum" label="安全库存" width="100" align="right" /> |
| | |
| | | </el-alert> |
| | | |
| | | <el-table :data="calculateResult" stripe border style="width: 100%; margin-top: 20px;"> |
| | | <el-table-column prop="productCategory" label="产品大类" min-width="150" /> |
| | | <el-table-column prop="productCategory" label="物料编码" min-width="150" /> |
| | | <el-table-column prop="specificationModel" label="产品规格" width="120" /> |
| | | <el-table-column prop="inboundNum0" label="现有库存" width="100" align="right" /> |
| | | <el-table-column prop="inboundNum" label="安全库存" width="100" align="right" /> |
| | |
| | | style="width: 240px" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item label="产品大类:"> |
| | | <el-form-item label="物料编码:"> |
| | | <el-tree-select |
| | | v-model="searchForm.productCategory" |
| | | placeholder="请选择商品类别" |
| | |
| | | // 表格列配置(根据后端字段定义) |
| | | const tableColumns = ref([ |
| | | { |
| | | label: '产品大类', |
| | | label: '物料编码', |
| | | prop: 'productCategory', |
| | | }, |
| | | { |
| | | label: '规格型号', |
| | | label: '物料描述', |
| | | prop: 'specificationModel', |
| | | }, |
| | | { |
| | |
| | | <el-table-column label="批次号" |
| | | prop="batchNo" |
| | | width="150" /> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productCategory" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="specificationModel" /> |
| | | <el-table-column label="单位" |
| | | prop="unit" |
| | |
| | | <el-table-column label="批次号" |
| | | prop="batchNo" |
| | | width="150" /> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productCategory" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="specificationModel" /> |
| | | <el-table-column label="单位" |
| | | prop="unit" |
| | |
| | | <el-table-column label="入库单号" prop="inboundBatches" width="150" /> |
| | | <el-table-column label="批次号" prop="batchNo" width="150" /> |
| | | <el-table-column |
| | | label="产品大类" |
| | | label="物料编码" |
| | | prop="productCategory" |
| | | min-width="120" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | label="物料描述" |
| | | prop="specificationModel" |
| | | min-width="140" |
| | | show-overflow-tooltip |
| | |
| | | <el-input v-model="row.productName" placeholder="请输入商品名称" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="规格型号" width="150"> |
| | | <el-table-column label="物料描述" width="150"> |
| | | <template #default="{ row }"> |
| | | <el-input v-model="row.specification" placeholder="请输入规格型号" /> |
| | | <el-input v-model="row.specification" placeholder="请输入物料描述" /> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="到货数量" width="150"> |
| | |
| | | type="index" |
| | | width="60" |
| | | /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column label="物料编码" prop="productCategory" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" /> |
| | | <el-table-column label="单位" prop="unit" width="70" /> |
| | | <el-table-column label="供应商" prop="supplierName" width="100" /> |
| | | <el-table-column label="采购数量" prop="quantity" width="100" /> |
| | |
| | | class="search-row"> |
| | | <el-col :span="6"> |
| | | <el-input v-model="searchForm.productName" |
| | | placeholder="请输入产品名称" |
| | | placeholder="请输入物料编码" |
| | | clearable |
| | | @keyup.enter="handleSearch"> |
| | | <template #prefix> |
| | |
| | | width="80" |
| | | align="center" /> |
| | | <el-table-column prop="productName" |
| | | label="产品名称" |
| | | label="物料编码" |
| | | width="150" /> |
| | | <el-table-column prop="productCode" |
| | | label="产品编码" |
| | | label="物料编码" |
| | | width="120" /> |
| | | <el-table-column prop="batchNo" |
| | | label="批次号" |
| | |
| | | label-width="100px"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | prop="productName"> |
| | | <el-input v-model="form.productName" |
| | | placeholder="请输入产品名称"></el-input> |
| | | placeholder="请输入物料编码"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品编码" |
| | | <el-form-item label="物料编码" |
| | | prop="productCode"> |
| | | <el-input v-model="form.productCode" |
| | | placeholder="请输入产品编码"></el-input> |
| | | placeholder="请输入物料编码"></el-input> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | title="标识生成" |
| | | width="500px"> |
| | | <el-form label-width="100px"> |
| | | <el-form-item label="产品名称"> |
| | | <el-form-item label="物料编码"> |
| | | <span>{{ currentProduct.productName }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="产品编码"> |
| | | <el-form-item label="物料编码"> |
| | | <span>{{ currentProduct.productCode }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="批次号"> |
| | |
| | | <el-select v-model="codeRule" |
| | | placeholder="请选择编码规则" |
| | | style="width: 100%"> |
| | | <el-option label="产品编码+批次号+序号" |
| | | value="产品编码+批次号+序号"></el-option> |
| | | <el-option label="物料编码+批次号+序号" |
| | | value="物料编码+批次号+序号"></el-option> |
| | | <el-option label="时间戳+随机数" |
| | | value="时间戳+随机数"></el-option> |
| | | <el-option label="自定义规则" |
| | |
| | | title="重新分配标识" |
| | | width="500px"> |
| | | <el-form label-width="100px"> |
| | | <el-form-item label="产品名称"> |
| | | <el-form-item label="物料编码"> |
| | | <span>{{ currentProduct.productName }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="标识码"> |
| | |
| | | alt="二维码" |
| | | class="qr-image" /> |
| | | <div class="qr-info"> |
| | | <p><strong>产品名称:</strong>{{ currentQRProduct.productName }}</p> |
| | | <p><strong>产品编码:</strong>{{ currentQRProduct.productCode }}</p> |
| | | <p><strong>物料编码:</strong>{{ currentQRProduct.productName }}</p> |
| | | <p><strong>物料编码:</strong>{{ currentQRProduct.productCode }}</p> |
| | | <p><strong>批次号:</strong>{{ currentQRProduct.batchNo }}</p> |
| | | <p><strong>标识码:</strong>{{ currentQRProduct.identifierCode }}</p> |
| | | <p><strong>标识类型:</strong>{{ currentQRProduct.identifierType }}</p> |
| | |
| | | }); |
| | | |
| | | const rules = { |
| | | productName: [{ required: true, message: "请输入产品名称", trigger: "blur" }], |
| | | productCode: [{ required: true, message: "请输入产品编码", trigger: "blur" }], |
| | | productName: [{ required: true, message: "请输入物料编码", trigger: "blur" }], |
| | | productCode: [{ required: true, message: "请输入物料编码", trigger: "blur" }], |
| | | batchNo: [{ required: true, message: "请输入批次号", trigger: "blur" }], |
| | | identifierType: [ |
| | | { required: true, message: "请选择标识类型", trigger: "change" }, |
| | |
| | | const newIdentifiers = []; |
| | | for (let i = 1; i <= generateQuantity.value; i++) { |
| | | let identifierCode = ""; |
| | | if (codeRule.value === "产品编码+批次号+序号") { |
| | | if (codeRule.value === "物料编码+批次号+序号") { |
| | | identifierCode = `${currentProduct.value.productCode}_${ |
| | | currentProduct.value.batchNo |
| | | }_${String(i).padStart(3, "0")}`; |
| | |
| | | // width:300 |
| | | // }, |
| | | { |
| | | label: "产品大类", |
| | | label: "物料编码", |
| | | prop: "productCategory", |
| | | width: 150, |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "specificationModel", |
| | | width: 150, |
| | | }, |
| | |
| | | > |
| | | <el-form label-width="140px" :model="formState" label-position="top" ref="formRef"> |
| | | <el-form-item |
| | | label="产品名称" |
| | | label="物料编码" |
| | | prop="productModelId" |
| | | :rules="[ |
| | | { |
| | |
| | | }); |
| | | |
| | | const tableColumn = ref([ |
| | | { label: "产品名称", prop: "productName", width: 180 }, |
| | | { label: "物料编码", prop: "productName", width: 180 }, |
| | | { label: "规格名称", prop: "model", width: 150 }, |
| | | { label: "单位", prop: "unit", width: 80 }, |
| | | { label: "工序名称", prop: "processId", width: 180 }, |
| | |
| | | :model="formState" |
| | | label-position="top" |
| | | ref="formRef"> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | prop="productModelId" |
| | | :rules="[ |
| | | { |
| | |
| | | prop: "processRouteCode", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | }, |
| | | { |
| | |
| | | </div> |
| | | <div class="info-item"> |
| | | <div class="info-label-wrapper"> |
| | | <span class="info-label">产品名称</span> |
| | | <span class="info-label">物料编码</span> |
| | | </div> |
| | | <div class="info-value-wrapper"> |
| | | <span class="info-value">{{ routeInfo.productName || '-' }}</span> |
| | |
| | | @click="handleViewParams(scope.row)">参数列表</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="产品名称" |
| | | <el-table-column label="物料编码" |
| | | prop="productName" |
| | | min-width="160" /> |
| | | <el-table-column label="规格名称" |
| | |
| | | </el-table-column> |
| | | <el-table-column label="BOM编号" |
| | | prop="bomNo" /> |
| | | <el-table-column label="产品名称" |
| | | <el-table-column label="物料编码" |
| | | prop="productName" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="model" /> |
| | | </el-table> |
| | | <ProductSelectDialog v-if="bomDataValue.showProductDialog" |
| | |
| | | v-else> |
| | | <span>{{ getProcessName(form.technologyOperationId) }}</span> |
| | | </el-form-item> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | v-if="operationType === 'add' || pageType === 'route'" |
| | | prop="productModelId"> |
| | | <el-button type="primary" |
| | |
| | | : '选择产品' }} |
| | | </el-button> |
| | | </el-form-item> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | v-else> |
| | | <span>{{ form.productName }}{{ form.model ? ' - ' + form.model : '' }}</span> |
| | | </el-form-item> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="BOM编号" |
| | | prop="bomNo" /> |
| | | <el-table-column label="产品名称" |
| | | <el-table-column label="物料编码" |
| | | prop="productName" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="model" /> |
| | | </el-table> |
| | | <product-select-dialog v-if="dataValue.showProductDialog" |
| | |
| | | </el-form> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="产品编码" prop="productCode" /> |
| | | <el-table-column label="产品名称" prop="productName" /> |
| | | <el-table-column label="规格型号" prop="model" /> |
| | | <el-table-column label="物料编码" prop="productCode" /> |
| | | <el-table-column label="物料编码" prop="productName" /> |
| | | <el-table-column label="物料描述" prop="model" /> |
| | | <el-table-column label="单位" prop="unit" /> |
| | | </el-table> |
| | | |
| | |
| | | :model="form" |
| | | :rules="rules" |
| | | label-width="120px"> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | prop="productModelId"> |
| | | <el-button type="primary" |
| | | @click="showProductSelectDialog = true"> |
| | |
| | | minWidth: 140, |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | |
| | | minWidth: 160, |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "productModelName", |
| | | minWidth: 140, |
| | | }, |
| | |
| | | // minWidth: 100, |
| | | // }, |
| | | { |
| | | label: "产品大类", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | minWidth: 100, |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "productModelName", |
| | | minWidth: 100, |
| | | }, |
| | |
| | | <el-table-column label="合同号" prop="salesContractNo" width="200" /> |
| | | <el-table-column label="客户名称" prop="customerName" width="200" /> |
| | | <!-- <el-table-column label="项目名称" prop="projectName" width="250" /> --> |
| | | <el-table-column label="产品大类" prop="productCategory" width="150" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" width="200" /> |
| | | <el-table-column label="物料编码" prop="productCategory" width="150" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" width="200" /> |
| | | <el-table-column label="绑定机器" prop="speculativeTradingName" width="120" /> |
| | | <el-table-column label="总数量" prop="quantity" width="100" align="right" /> |
| | | <el-table-column label="已排产" prop="schedulingNum" width="100" align="right" fixed="right" /> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品大类:" prop="productCategory"> |
| | | <el-form-item label="物料编码:" prop="productCategory"> |
| | | <el-input v-model="form.productCategory" placeholder="请输入" clearable disabled/> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> --> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="specificationModel"> |
| | | <el-form-item label="物料描述:" prop="specificationModel"> |
| | | <el-input v-model="form.specificationModel" placeholder="请输入" clearable disabled/> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品大类:" prop="productCategory"> |
| | | <el-form-item label="物料编码:" prop="productCategory"> |
| | | <el-input v-model="form.productCategory" placeholder="请输入" clearable disabled/> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | width: 250, |
| | | }, |
| | | { |
| | | label: "产品大类", |
| | | label: "物料编码", |
| | | prop: "productCategory", |
| | | width: 160, |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "specificationModel", |
| | | width: 120, |
| | | }, |
| | |
| | | :model="formState" |
| | | label-position="top" |
| | | ref="formRef"> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | prop="productModelId" |
| | | :rules="[ |
| | | { |
| | |
| | | <div class="info-row"> |
| | | <div class="info-item" |
| | | style="width: 50%;"> |
| | | <span class="label">产品名称/型号:</span> |
| | | <span class="label">物料编码/型号:</span> |
| | | <span class="value">{{ orderRow?.productName }} / {{ orderRow?.model }}</span> |
| | | </div> |
| | | <div class="info-item" |
| | |
| | | @selection-change="productSelected"> |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column label="物料编码" prop="productCategory" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" /> |
| | | <el-table-column label="单位" prop="unit" width="70" /> |
| | | <el-table-column label="数量" prop="quantity" width="70" /> |
| | | <el-table-column label="税率(%)" prop="taxRate" width="80" /> |
| | |
| | | ref="productFormRef"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品大类:" prop="productCategory"> |
| | | <el-form-item label="物料编码:" prop="productCategory"> |
| | | <el-input v-model="productForm.productCategory" |
| | | placeholder="点击选择" |
| | | readonly |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="productModelId"> |
| | | <el-form-item label="物料描述:" prop="productModelId"> |
| | | <el-input v-model="productForm.specificationModel" |
| | | placeholder="点击选择" |
| | | readonly |
| | |
| | | isChecked: false, |
| | | }, |
| | | productRules: { |
| | | productCategory: [{ required: true, message: "请选择产品大类", trigger: "change" }], |
| | | productModelId: [{ required: true, message: "请选择规格型号", trigger: "change" }], |
| | | productCategory: [{ required: true, message: "请选择物料编码", trigger: "change" }], |
| | | productModelId: [{ required: true, message: "请选择物料描述", trigger: "change" }], |
| | | unit: [{ required: true, message: "请输入", trigger: "blur" }], |
| | | quantity: [{ required: true, message: "请输入", trigger: "blur" }], |
| | | taxInclusiveUnitPrice: [{ required: true, message: "请输入", trigger: "blur" }], |
| | |
| | | return "请添加产品信息"; |
| | | } |
| | | const requiredFields = [ |
| | | ["productCategory", "产品大类"], |
| | | ["productModelId", "规格型号"], |
| | | ["productCategory", "物料编码"], |
| | | ["productModelId", "物料描述"], |
| | | ["unit", "单位"], |
| | | ["quantity", "数量"], |
| | | ["taxRate", "税率"], |
| | |
| | | style="width: 160px;" |
| | | @change="handleQuery" /> |
| | | </el-form-item> |
| | | <el-form-item label="产品名称:"> |
| | | <el-form-item label="物料编码:"> |
| | | <el-input v-model="searchForm.productName" |
| | | placeholder="请输入" |
| | | clearable |
| | |
| | | <div v-if="sourceRowData" |
| | | class="applyno-summary1"> |
| | | <div class="summary-item"> |
| | | <span class="summary-label">产品名称:</span> |
| | | <span class="summary-label">物料编码:</span> |
| | | <span class="summary-value"> |
| | | <el-tag type="primary">{{ sourceRowData.productName || '-' }}</el-tag> |
| | | </span> |
| | |
| | | : "info", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | width: "120px", |
| | | }, |
| | |
| | | prop: 'productNo', |
| | | }, |
| | | { |
| | | label: '投入产品名称', |
| | | label: '投入物料编码', |
| | | prop: 'productName', |
| | | }, |
| | | { |
| | |
| | | width: 120, |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | width: 120, |
| | | }, |
| | | { |
| | | label: "产品规格型号", |
| | | label: "物料描述", |
| | | prop: "productModelName", |
| | | width: 120, |
| | | }, |
| | |
| | | <el-descriptions :column="3" |
| | | border> |
| | | <el-descriptions-item label="生产订单号">{{ rowData.productionOrderDto?.npsNo || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="产品名称">{{ rowData.productionOrderDto?.productName || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="物料编码">{{ rowData.productionOrderDto?.productName || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="产品规格">{{ rowData.productionOrderDto?.model || '-' }}</el-descriptions-item> |
| | | <!-- <el-descriptions-item label="物料编码">{{ rowData.productionOrderDto?.materialCode || '-' }}</el-descriptions-item> --> |
| | | <el-descriptions-item label="计划数量">{{ rowData.productionOrderDto?.quantity || 0 }} <span class="unit">{{ rowData.productionOrderDto?.unit || '-' }}</span></el-descriptions-item> |
| | |
| | | label="工单编号" |
| | | align="center"> |
| | | </el-table-column> |
| | | <el-table-column label="产品名称" |
| | | <el-table-column label="物料编码" |
| | | align="center"> |
| | | <template #default="{ row }"> |
| | | {{ row.workOrder.productName || '-' }} |
| | |
| | | <el-descriptions-item label="检测日期">{{ parseTime(record.createTime, '{y}-{m}-{d}') || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="报工单号">{{ record.reportNo || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="报工人员">{{ record.userName || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="产品名称">{{ record.productName || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="规格型号">{{ record.model || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="物料编码">{{ record.productName || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="物料描述">{{ record.model || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="数量">{{ record.quantity || 0 }} {{ record.unit || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="检测单位">{{ record.checkCompany || '-' }}</el-descriptions-item> |
| | | <el-descriptions-item label="检验员">{{ record.checkName || '-' }}</el-descriptions-item> |
| | |
| | | <span class="info-value">{{ transferCardRowData.workOrderNo }}</span> |
| | | </div> |
| | | <!-- <div class="info-item"> |
| | | <span class="info-label">产品编号</span> |
| | | <span class="info-label">物料编码</span> |
| | | <span class="info-value">{{ transferCardRowData.productNo }}</span> |
| | | </div> --> |
| | | <div class="info-item"> |
| | | <span class="info-label">产品名称</span> |
| | | <span class="info-label">物料编码</span> |
| | | <span class="info-value">{{ transferCardRowData.productName }}</span> |
| | | </div> |
| | | <div class="info-item"> |
| | |
| | | width: "140", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | width: "140", |
| | | }, |
| | |
| | | width: "140", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | width: "140", |
| | | }, |
| | |
| | | <span class="info-value">{{ transferCardRowData.workOrderNo }}</span> |
| | | </div> |
| | | <div class="info-item"> |
| | | <span class="info-label">产品名称</span> |
| | | <span class="info-label">物料编码</span> |
| | | <span class="info-value">{{ transferCardRowData.productName }}</span> |
| | | </div> |
| | | <div class="info-item"> |
| | |
| | | width: "140", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | width: "140", |
| | | }, |
| | |
| | | </el-select> |
| | | </el-form-item> |
| | | <!-- 展开版搜索条件 --> |
| | | <el-form-item label="产品名称:" |
| | | <el-form-item label="物料编码:" |
| | | prop="productName"> |
| | | <el-input v-model="searchForm.productName" |
| | | placeholder="请输入" |
| | |
| | | label-width="120px"> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="10"> |
| | | <el-form-item label="产品名称"> |
| | | <el-form-item label="物料编码"> |
| | | <el-tag class="info-display">{{ mergeForm.productName || '-' }}</el-tag> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | disabled |
| | | placeholder="新增后自动生成" /> |
| | | </el-form-item> |
| | | <el-form-item label="产品名称" |
| | | <el-form-item label="物料编码" |
| | | prop="productId"> |
| | | <el-tree-select v-model="form.productId" |
| | | placeholder="请选择" |
| | |
| | | }, |
| | | |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | width: "200px", |
| | | dataType: "tag", |
| | |
| | | > |
| | | <el-table-column v-if="!isView" align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productCategory" /> |
| | | <el-table-column label="规格型号" prop="specificationModel" /> |
| | | <el-table-column label="物料编码" prop="productCategory" /> |
| | | <el-table-column label="物料描述" prop="specificationModel" /> |
| | | <el-table-column label="单位" prop="unit" /> |
| | | <el-table-column label="数量" prop="quantity" /> |
| | | <el-table-column label="税率(%)" prop="taxRate" /> |
| | |
| | | <el-form ref="productFormRef" :model="productForm" label-width="140px" label-position="top" :rules="productRules"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="产品大类:" prop="productCategoryId"> |
| | | <el-form-item label="物料编码:" prop="productCategoryId"> |
| | | <el-tree-select |
| | | v-model="productForm.productCategoryId" |
| | | placeholder="请选择" |
| | |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="24"> |
| | | <el-form-item label="规格型号:" prop="productModelId"> |
| | | <el-form-item label="物料描述:" prop="productModelId"> |
| | | <el-select v-model="productForm.productModelId" placeholder="请选择" clearable filterable @change="getProductModel"> |
| | | <el-option v-for="item in modelOptions" :key="item.id" :label="item.model" :value="item.id" /> |
| | | </el-select> |
| | |
| | | <el-divider content-position="left">产品信息</el-divider> |
| | | <el-table :data="productRows" border show-summary :summary-method="summarizeProductTable"> |
| | | <el-table-column align="center" label="序号" type="index" width="60" /> |
| | | <el-table-column label="产品大类" prop="productCategory" show-overflow-tooltip /> |
| | | <el-table-column label="规格型号" prop="specificationModel" show-overflow-tooltip /> |
| | | <el-table-column label="物料编码" prop="productCategory" show-overflow-tooltip /> |
| | | <el-table-column label="物料描述" prop="specificationModel" show-overflow-tooltip /> |
| | | <el-table-column label="单位" prop="unit" width="90" /> |
| | | <el-table-column label="数量" prop="quantity" width="90" /> |
| | | <el-table-column label="税率(%)" prop="taxRate" width="90" /> |
| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" type="index" width="55" align="center" /> |
| | | <el-table-column label="销售合同号" prop="contractNo" width="160" /> |
| | | <el-table-column label="产品编号" prop="productCode" width="140" /> |
| | | <el-table-column label="物料编码" prop="productCode" width="140" /> |
| | | <el-table-column label="产品型号" prop="productModel" width="140" /> |
| | | <el-table-column label="客户名称" prop="customerName" width="160" /> |
| | | <el-table-column label="联系方式" prop="contact" width="140" /> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品编号" prop="productCode"> |
| | | <el-form-item label="物料编码" prop="productCode"> |
| | | <el-input |
| | | v-model="form.productCode" |
| | | placeholder="请选择关联产品编号" |
| | | placeholder="请选择关联物料编码" |
| | | /> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | { required: true, message: "销售合同号不能为空", trigger: "blur" }, |
| | | ], |
| | | productCode: [ |
| | | { required: true, message: "产品编号不能为空", trigger: "blur" }, |
| | | { required: true, message: "物料编码不能为空", trigger: "blur" }, |
| | | ], |
| | | productModel: [ |
| | | { required: true, message: "产品型号不能为空", trigger: "blur" }, |
| | |
| | | <el-form :model="form" label-width="140px" label-position="top" :rules="rules" ref="formRef"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称:" prop="productId"> |
| | | <el-form-item label="物料编码:" prop="productId"> |
| | | <el-tree-select |
| | | v-model="form.productId" |
| | | placeholder="请选择" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="productModelId"> |
| | | <el-form-item label="物料描述:" prop="productModelId"> |
| | | <el-select v-model="form.productModelId" placeholder="请选择" clearable :disabled="isViewMode || operationType === 'edit'" |
| | | filterable readonly @change="handleChangeModel"> |
| | | <el-option v-for="item in modelOptions" :key="item.id" :label="item.model" :value="item.id" /> |
| | |
| | | clearable |
| | | :prefix-icon="Search" |
| | | /> |
| | | <span style="margin-left: 10px" class="search_title">产品名称:</span> |
| | | <span style="margin-left: 10px" class="search_title">物料编码:</span> |
| | | <el-input |
| | | v-model="searchForm.productName" |
| | | style="width: 240px" |
| | | placeholder="请输入产品名称搜索" |
| | | placeholder="请输入物料编码搜索" |
| | | @change="handleQuery" |
| | | clearable |
| | | :prefix-icon="Search" |
| | |
| | | prop: "checkName", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "model", |
| | | }, |
| | | { |
| | |
| | | > |
| | | <el-table-column type="selection" width="48" align="center" /> |
| | | <el-table-column type="index" label="序号" width="60" align="center" /> |
| | | <el-table-column prop="productName" label="产品名称" min-width="140" /> |
| | | <el-table-column prop="productName" label="物料编码" min-width="140" /> |
| | | <el-table-column label="操作" width="120" fixed="right" align="center"> |
| | | <template #default="{ row }"> |
| | | <el-button link type="danger" size="small" @click="handleUnbind(row)">删除</el-button> |
| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="产品名称" prop="productName"> |
| | | <el-form-item label="物料编码" prop="productName"> |
| | | <el-input |
| | | v-model="queryParams.productName" |
| | | placeholder="请输入产品名称" |
| | | placeholder="请输入物料编码" |
| | | clearable |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | |
| | | <el-table v-loading="loading" :data="nearExpiryReturnList" @selection-change="handleSelectionChange"> |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="序号" type="index" width="50" align="center" /> |
| | | <el-table-column label="产品名称" prop="productName" /> |
| | | <el-table-column label="物料编码" prop="productName" /> |
| | | <el-table-column label="产品规格" prop="productSpec" /> |
| | | <el-table-column label="批次号" prop="batchNumber" /> |
| | | <el-table-column label="生产日期" prop="productionDate" align="center"> |
| | |
| | | <el-form ref="formRef" :model="form" :rules="rules" label-width="100px"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称" prop="productName"> |
| | | <el-input v-model="form.productName" placeholder="请输入产品名称" /> |
| | | <el-form-item label="物料编码" prop="productName"> |
| | | <el-input v-model="form.productName" placeholder="请输入物料编码" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | |
| | | }, |
| | | rules: { |
| | | productName: [ |
| | | { required: true, message: "产品名称不能为空", trigger: "blur" } |
| | | { required: true, message: "物料编码不能为空", trigger: "blur" } |
| | | ], |
| | | productSpec: [ |
| | | { required: true, message: "产品规格不能为空", trigger: "blur" } |
| | |
| | | <el-descriptions-item label="类别"> |
| | | {{ getInspectTypeName(form.inspectType) }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="产品名称"> |
| | | <el-descriptions-item label="物料编码"> |
| | | {{ form.productName }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="规格型号"> |
| | | <el-descriptions-item label="物料描述"> |
| | | {{ form.model }} |
| | | </el-descriptions-item> |
| | | <el-descriptions-item label="单位"> |
| | |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称:" prop="productId"> |
| | | <el-form-item label="物料编码:" prop="productId"> |
| | | <el-tree-select |
| | | v-model="form.productId" |
| | | placeholder="请选择" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="model"> |
| | | <el-form-item label="物料描述:" prop="model"> |
| | | <el-select v-model="form.productModelId" placeholder="请选择" clearable :disabled="operationType === 'edit'" |
| | | filterable readonly @change="handleChangeModel"> |
| | | <el-option v-for="item in modelOptions" :key="item.id" :label="item.model" :value="item.id" /> |
| | |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称:" prop="productId"> |
| | | <el-form-item label="物料编码:" prop="productId"> |
| | | <el-tree-select |
| | | v-model="form.productId" |
| | | placeholder="请选择" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="model"> |
| | | <el-form-item label="物料描述:" prop="model"> |
| | | <el-input v-model="form.model" placeholder="请输入" clearable disabled/> |
| | | </el-form-item> |
| | | </el-col> |
| | |
| | | <el-option label="已处理" :value="1" /> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="产品名称:"> |
| | | <el-form-item label="物料编码:"> |
| | | <el-input |
| | | v-model="searchForm.productName" |
| | | style="width: 200px" |
| | | placeholder="请输入产品名称搜索" |
| | | placeholder="请输入物料编码搜索" |
| | | @change="handleQuery" |
| | | clearable |
| | | :prefix-icon="Search" |
| | |
| | | prop: "checkName", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "model", |
| | | }, |
| | | { |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称:" |
| | | <el-form-item label="物料编码:" |
| | | prop="productId"> |
| | | <el-tree-select v-model="form.productId" |
| | | placeholder="请选择" |
| | |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" |
| | | <el-form-item label="物料描述:" |
| | | prop="productModelId"> |
| | | <el-select v-model="form.productModelId" |
| | | placeholder="请选择" |
| | |
| | | handleChangeModel(form.value.productModelId); |
| | | } |
| | | } catch (e) { |
| | | console.error("加载规格型号失败", e); |
| | | console.error("加载物料描述失败", e); |
| | | modelOptions.value = []; |
| | | } |
| | | } |
| | |
| | | prop: "checkName", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "model", |
| | | }, |
| | | { |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称:" prop="productId"> |
| | | <el-form-item label="物料编码:" prop="productId"> |
| | | <el-tree-select |
| | | v-model="form.productId" |
| | | placeholder="请选择" |
| | |
| | | </el-row> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="productModelId"> |
| | | <el-form-item label="物料描述:" prop="productModelId"> |
| | | <el-select v-model="form.productModelId" placeholder="请选择" clearable :disabled="isViewMode || operationType === 'edit'" |
| | | filterable readonly @change="handleChangeModel"> |
| | | <el-option v-for="item in modelOptions" :key="item.id" :label="item.model" :value="item.id" /> |
| | |
| | | handleChangeModel(form.value.productModelId); |
| | | } |
| | | } catch (e) { |
| | | console.error("加载规格型号失败", e); |
| | | console.error("加载物料描述失败", e); |
| | | modelOptions.value = []; |
| | | } |
| | | } |
| | |
| | | prop: "checkName", |
| | | }, |
| | | { |
| | | label: "产品名称", |
| | | label: "物料编码", |
| | | prop: "productName", |
| | | }, |
| | | { |
| | | label: "规格型号", |
| | | label: "物料描述", |
| | | prop: "model", |
| | | }, |
| | | { |
| | |
| | | <template> |
| | | <div> |
| | | <PanelHeader title="产品大类" /> |
| | | <PanelHeader title="物料编码" /> |
| | | <div class="panel-item-customers"> |
| | | <div class="pie-chart-wrapper" ref="pieWrapperRef"> |
| | | <div class="pie-background" ref="pieBackgroundRef"></div> |
| | |
| | | // 双层环形饼图 |
| | | const landSeries = ref([ |
| | | { |
| | | name: '产品大类', |
| | | name: '物料编码', |
| | | type: 'pie', |
| | | radius: ['35%', '55%'], |
| | | center: ['50%', '50%'], |
| | |
| | | // 数据加载完成后调整背景位置 |
| | | adjustBackgroundPosition() |
| | | } catch (e) { |
| | | console.error('获取产品大类分布失败:', e) |
| | | console.error('获取物料编码分布失败:', e) |
| | | dataList.value = [] |
| | | landLegend.data = [] |
| | | landSeries.value[0].data = [] |
| | |
| | | <thead> |
| | | <tr> |
| | | <th>生产订单号</th> |
| | | <th>产品名称</th> |
| | | <th>物料编码</th> |
| | | <th>规格</th> |
| | | <th>需求数量</th> |
| | | <th>完成数量</th> |
| | |
| | | } |
| | | |
| | | .progress-table th:nth-child(1) { width: 15%; } /* 生产订单号 */ |
| | | .progress-table th:nth-child(2) { width: 15%; } /* 产品名称 */ |
| | | .progress-table th:nth-child(2) { width: 15%; } /* 物料编码 */ |
| | | .progress-table th:nth-child(3) { width: 15%; } /* 规格 */ |
| | | .progress-table th:nth-child(4) { width: 12%; } /* 需求数量 */ |
| | | .progress-table th:nth-child(5) { width: 12%; } /* 完成数量 */ |
| | |
| | | <thead> |
| | | <tr> |
| | | <th>生产订单号</th> |
| | | <th>产品名称</th> |
| | | <th>物料编码</th> |
| | | <th>规格</th> |
| | | <th>需求数量</th> |
| | | <th>完成数量</th> |
| | |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column prop="product" |
| | | label="产品名称" /> |
| | | label="物料编码" /> |
| | | <el-table-column prop="specification" |
| | | label="规格型号" /> |
| | | label="物料描述" /> |
| | | <el-table-column prop="unit" |
| | | label="单位" /> |
| | | <el-table-column prop="unitPrice" |
| | |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column prop="productCategory" |
| | | label="产品名称" /> |
| | | label="物料编码" /> |
| | | <el-table-column prop="specificationModel" |
| | | label="规格型号" /> |
| | | label="物料描述" /> |
| | | <el-table-column prop="unit" |
| | | label="单位" /> |
| | | <el-table-column prop="quantity" |
| | |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="产品名称" |
| | | label="物料编码" |
| | | prop="productName" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | label="物料描述" |
| | | prop="specificationModel" |
| | | show-overflow-tooltip |
| | | /> |
| | |
| | | <el-descriptions-item label="客户名称">{{ |
| | | detailRow.customerName || "--" |
| | | }}</el-descriptions-item> |
| | | <el-descriptions-item label="产品名称">{{ |
| | | <el-descriptions-item label="物料编码">{{ |
| | | detailRow.productName || "--" |
| | | }}</el-descriptions-item> |
| | | <el-descriptions-item label="规格型号">{{ |
| | | <el-descriptions-item label="物料描述">{{ |
| | | detailRow.specificationModel || "--" |
| | | }}</el-descriptions-item> |
| | | <el-descriptions-item label="发货类型">{{ |
| | |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="产品名称" |
| | | label="物料编码" |
| | | prop="productName" |
| | | min-width="160" |
| | | show-overflow-tooltip |
| | | /> |
| | | <el-table-column |
| | | label="规格型号" |
| | | label="物料描述" |
| | | prop="specificationModel" |
| | | min-width="160" |
| | | show-overflow-tooltip |
| | |
| | | const tableColumn = [ |
| | | {align: "center", label: "出库单号", prop: "outboundBatches"}, |
| | | {align: "center", label: "批次号", prop: "batchNo"}, |
| | | {align: "center", label: "产品大类", prop: "productName"}, |
| | | {align: "center", label: "规格型号", prop: "model"}, |
| | | {align: "center", label: "物料编码", prop: "productName"}, |
| | | {align: "center", label: "物料描述", prop: "model"}, |
| | | {align: "center", label: "单位", prop: "unit", width: 80}, |
| | | {align: "center", label: "总数量", prop: "stockOutNum", width: 120}, |
| | | {align: "center", label: "已退货数量", prop: "totalReturnNum", width: 120, dataType: "slot", slot: "totalReturnNum"}, |
| | |
| | | <el-table-column align="center" type="selection" width="55" /> |
| | | <el-table-column align="center" prop="outboundBatches" label="出库单号" /> |
| | | <el-table-column align="center" prop="batchNo" label="批次号" /> |
| | | <el-table-column align="center" prop="productCategory" label="产品大类" /> |
| | | <el-table-column align="center" prop="specificationModel" label="规格型号" /> |
| | | <el-table-column align="center" prop="productCategory" label="物料编码" /> |
| | | <el-table-column align="center" prop="specificationModel" label="物料描述" /> |
| | | <el-table-column align="center" prop="unit" label="单位" /> |
| | | <el-table-column align="center" prop="stockOutNum" label="总数量" /> |
| | | <el-table-column align="center" prop="unQuantity" label="未退货数量" /> |
| | |
| | | const tableColumn = ref([ |
| | | {align: "center", label: "出库单号", prop: "outboundBatches" }, |
| | | {align: "center", label: "批次号", prop: "batchNo" }, |
| | | {align: "center", label: "产品大类", prop: "productCategory" }, |
| | | {align: "center", label: "规格型号", prop: "specificationModel" }, |
| | | {align: "center", label: "物料编码", prop: "productCategory" }, |
| | | {align: "center", label: "物料描述", prop: "specificationModel" }, |
| | | {align: "center", label: "单位", prop: "unit", width: 80 }, |
| | | {align: "center", label: "总数量", prop: "stockOutNum", width: 120 }, |
| | | {align: "center", label: "已退货数量", prop: "totalReturnNum", width: 120, dataType: "slot", slot: "totalReturnNum" }, |
| | |
| | | <el-table-column align="center" |
| | | label="序号" |
| | | type="index" /> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productCategory" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="specificationModel" /> |
| | | <el-table-column label="单位" |
| | | prop="unit" /> |
| | |
| | | label="序号" |
| | | type="index" |
| | | width="60" /> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productCategory" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="specificationModel" /> |
| | | <el-table-column label="单位" |
| | | prop="unit" /> |
| | |
| | | ref="productFormRef"> |
| | | <el-row :gutter="30"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品大类:" prop="productCategory"> |
| | | <el-form-item label="物料编码:" prop="productCategory"> |
| | | <el-input v-model="productForm.productCategory" |
| | | placeholder="点击选择" |
| | | readonly |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号:" prop="productModelId"> |
| | | <el-form-item label="物料描述:" prop="productModelId"> |
| | | <el-input v-model="productForm.specificationModel" |
| | | placeholder="点击选择" |
| | | readonly |
| | |
| | | <table class="product-table"> |
| | | <thead> |
| | | <tr> |
| | | <th>产品名称</th> |
| | | <th>规格型号</th> |
| | | <th>物料编码</th> |
| | | <th>物料描述</th> |
| | | <th>单位</th> |
| | | <th>单价</th> |
| | | <th>零售数量</th> |
| | |
| | | {{ formatDeliveryBatchSalesOrderNo(scope.row) }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="产品大类" |
| | | <el-table-column label="物料编码" |
| | | prop="productName" |
| | | min-width="100" /> |
| | | <el-table-column label="规格型号" |
| | | <el-table-column label="物料描述" |
| | | prop="model" |
| | | min-width="100" /> |
| | | <el-table-column label="单位" |
| | |
| | | isProduction: false, |
| | | }, |
| | | productRules: { |
| | | productCategory: [{ required: true, message: "请选择产品大类", trigger: "change" }], |
| | | productModelId: [{ required: true, message: "请选择规格型号", trigger: "change" }], |
| | | productCategory: [{ required: true, message: "请选择物料编码", trigger: "change" }], |
| | | productModelId: [{ required: true, message: "请选择物料描述", trigger: "change" }], |
| | | unit: [{ required: true, message: "请输入", trigger: "blur" }], |
| | | quantity: [{ required: true, message: "请输入", trigger: "blur" }], |
| | | taxInclusiveUnitPrice: [ |
| | |
| | | } |
| | | } catch (e) { |
| | | // 加载失败时保持可编辑,不中断弹窗 |
| | | console.error("加载产品规格型号失败", e); |
| | | console.error("加载物料描述失败", e); |
| | | } |
| | | } else { |
| | | getProductOptions(); |
| | |
| | | </template> |
| | | <div class="form-content"> |
| | | <el-table :data="form.products" border style="width: 100%" class="product-table" v-if="form.products.length > 0"> |
| | | <el-table-column prop="product" label="产品名称" width="200"> |
| | | <el-table-column prop="product" label="物料编码" width="200"> |
| | | <template #default="scope"> |
| | | <el-form-item :prop="`products.${scope.$index}.productId`" class="product-table-form-item"> |
| | | <el-tree-select |
| | |
| | | </el-form-item> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="specification" label="规格型号" width="200"> |
| | | <el-table-column prop="specification" label="物料描述" width="200"> |
| | | <template #default="scope"> |
| | | <el-form-item :prop="`products.${scope.$index}.productModelId`" class="product-table-form-item"> |
| | | <el-select |
| | |
| | | <div style="margin: 20px 0;"> |
| | | <h4>产品明细</h4> |
| | | <el-table :data="currentQuotation.products" border style="width: 100%"> |
| | | <el-table-column prop="product" label="产品名称" /> |
| | | <el-table-column prop="specification" label="规格型号" /> |
| | | <el-table-column prop="product" label="物料编码" /> |
| | | <el-table-column prop="specification" label="物料描述" /> |
| | | <el-table-column prop="unit" label="单位" /> |
| | | <el-table-column prop="unitPrice" label="单价"> |
| | | <template #default="scope"> |
| | |
| | | } |
| | | |
| | | const productRowRules = { |
| | | productId: [{ required: true, message: '请选择产品名称', trigger: 'change' }], |
| | | productModelId: [{ required: true, message: '请选择规格型号', trigger: 'change' }], |
| | | productId: [{ required: true, message: '请选择物料编码', trigger: 'change' }], |
| | | productModelId: [{ required: true, message: '请选择物料描述', trigger: 'change' }], |
| | | unit: [{ required: true, message: '请填写单位', trigger: 'blur' }], |
| | | unitPrice: [{ required: true, message: '请填写单价', trigger: 'change' }] |
| | | } |
| | |
| | | } |
| | | } |
| | | } catch (error) { |
| | | console.error('加载规格型号失败:', error); |
| | | console.error('加载物料描述失败:', error); |
| | | } |
| | | } |
| | | |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="customerName" label="客户名称" width="180"/> |
| | | <el-table-column prop="productName" label="产品名称" width="200"/> |
| | | <el-table-column prop="specification" label="规格型号" width="120"/> |
| | | <el-table-column prop="productName" label="物料编码" width="200"/> |
| | | <el-table-column prop="specification" label="物料描述" width="120"/> |
| | | <el-table-column prop="basePrice" label="基础价格" width="100"> |
| | | <template #default="scope"> |
| | | ¥{{ scope.row.basePrice }}/吨 |
| | |
| | | <!-- 历史价格列表 --> |
| | | <el-table :data="priceComparisonList" border stripe v-loading="compareLoading" style="margin-top: 20px;"> |
| | | <el-table-column prop="date" label="日期" width="120"/> |
| | | <el-table-column prop="productName" label="产品名称" width="200"/> |
| | | <el-table-column prop="productName" label="物料编码" width="200"/> |
| | | <el-table-column prop="specification" label="规格" width="120"/> |
| | | <el-table-column prop="customerName" label="客户" width="180"/> |
| | | <el-table-column prop="region" label="区域" width="100"/> |
| | |
| | | <el-table :data="profitAnalysisList" border stripe v-loading="profitLoading" style="margin-top: 20px;" show-summary :summary-method="getProfitSummary"> |
| | | <el-table-column prop="orderNo" label="订单编号" width="150"/> |
| | | <el-table-column prop="customerName" label="客户名称" width="180"/> |
| | | <el-table-column prop="productName" label="产品名称" width="200"/> |
| | | <el-table-column prop="productName" label="物料编码" width="200"/> |
| | | <el-table-column prop="quantity" label="数量(吨)" width="100" align="right"> |
| | | <template #default="scope"> |
| | | {{ scope.row.quantity.toLocaleString() }} |
| | |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="产品名称" prop="productName"> |
| | | <el-form-item label="物料编码" prop="productName"> |
| | | <el-select v-model="priceStrategyForm.productName" placeholder="请选择产品" style="width: 100%;" :disabled="priceStrategyDialogMode === 'view'"> |
| | | <el-option label="P.O 42.5普通硅酸盐水泥" value="P.O 42.5普通硅酸盐水泥"></el-option> |
| | | <el-option label="P.S 32.5矿渣硅酸盐水泥" value="P.S 32.5矿渣硅酸盐水泥"></el-option> |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="规格型号" prop="specification"> |
| | | <el-input v-model="priceStrategyForm.specification" placeholder="请输入规格型号" :disabled="priceStrategyDialogMode === 'view'" /> |
| | | <el-form-item label="物料描述" prop="specification"> |
| | | <el-input v-model="priceStrategyForm.specification" placeholder="请输入物料描述" :disabled="priceStrategyDialogMode === 'view'" /> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |