| | |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | <el-form-item label="单据号" prop="HMaterNumber"> |
| | | <el-form-item label="单据号" prop="HBillNo"> |
| | | <el-input |
| | | v-model="queryParams.HMaterNumber" |
| | | v-model="queryParams.HBillNo" |
| | | placeholder="请输入物料编码" |
| | | @keyup.enter.native="handleQuery" |
| | | /> |
| | |
| | | </el-dialog> |
| | | <!-- 编辑 --> |
| | | <el-dialog |
| | | title="编辑职员" |
| | | title="编辑生产订单" |
| | | :visible.sync="openEdit" |
| | | width="1480px" |
| | | append-to-body |
| | |
| | | btResList: [], |
| | | tableData: [], //收料通知单列表(分页显示) |
| | | dataList: [], |
| | | titleData: ["HItemID", "Hprocid", "HUSEORGID", "HCREATEORGID", "HParentID"], //不需要显示的字段 可扩展 |
| | | titleData: [ |
| | | "HItemID", |
| | | "hmainid", |
| | | "Hprocid", |
| | | "HUSEORGID", |
| | | "HCREATEORGID", |
| | | "HParentID", |
| | | ], //不需要显示的字段 可扩展 |
| | | pageSizes: [50, 100, 500, 5000, 50000], |
| | | page: 1, |
| | | pageSize: 50, |
| | |
| | | console.log(Organization); |
| | | |
| | | try { |
| | | let res = await axios.get(this.baseURL + "/Xs_SeOutStockBill/list_byPage", { |
| | | params: { |
| | | sWhere: this.sWhere, |
| | | user: this.user, |
| | | Organization: Organization, |
| | | page: this.page, |
| | | size: this.pageSize, |
| | | }, |
| | | }); |
| | | let res = await axios.get( |
| | | this.baseURL + "/LEMS/MES_IF_ICMOBillList_Json_byPage", |
| | | { |
| | | params: { |
| | | sWhere: this.sWhere, |
| | | user: this.user, |
| | | Organization: Organization, |
| | | page: this.page, |
| | | size: this.pageSize, |
| | | }, |
| | | } |
| | | ); |
| | | this.tyResList = [...JSON.parse(JSON.stringify(res.data.data))]; //总数据 |
| | | let data1 = res.data; |
| | | let option = []; |
| | |
| | | }, |
| | | //选中行高亮样式 |
| | | rowStyle({ row, rowIndex }) { |
| | | if (this.ids.includes(row.HItemID)) { |
| | | if (this.ids.includes(row.hmainid)) { |
| | | return { background: "#ecf5ff" }; |
| | | } |
| | | }, |
| | |
| | | // 多选框选中数据 |
| | | handleSelectionChange(selection) { |
| | | // this.rowForm = {} |
| | | this.ids = selection.map((item) => item.HItemID); |
| | | this.ids = selection.map((item) => item.hmainid); |
| | | this.single = selection.length != 1; |
| | | this.multiple = !selection.length; |
| | | if (!this.single) { |