| | |
| | | <span>å·²éä¸ {{ selection.length }} 项</span> |
| | | </el-col> |
| | | <el-col :span="8"> |
| | | <el-link |
| | | <!-- <el-link |
| | | type="primary" |
| | | size="small" |
| | | style="float: right; height: 20px" |
| | | @click="lockstocks" |
| | | >éå®åºå</el-link |
| | | > |
| | | > --> |
| | | <el-link |
| | | type="primary" |
| | | size="small" |
| | |
| | | type: "string", |
| | | width: 150, |
| | | }, |
| | | // { |
| | | // prop: "overQtyPcs", |
| | | // title: "å·²åºæ°é", |
| | | // type: "string", |
| | | // width: 150, |
| | | // }, |
| | | { |
| | | prop: "overQtyPcs", |
| | | title: "å·²åºæ°é", |
| | | prop: "lockQtyPcs", |
| | | title: "é宿°é", |
| | | type: "string", |
| | | width: 150, |
| | | }, |
| | |
| | | type: "string", |
| | | width: 120, |
| | | }, |
| | | { |
| | | prop: "assignStock", |
| | | title: "æå®åºå", |
| | | type: "icon", |
| | | width: 90, |
| | | icon: "el-icon-s-grid", |
| | | }, |
| | | // { |
| | | // prop: "assignStock", |
| | | // title: "æå®åºå", |
| | | // type: "icon", |
| | | // width: 90, |
| | | // icon: "el-icon-s-grid", |
| | | // }, |
| | | { |
| | | prop: "viewDetail", |
| | | title: "åºåºè¯¦ç»", |
| | |
| | | type: "datetime", |
| | | width: 160, |
| | | }, |
| | | { |
| | | prop: "modifier", |
| | | title: "ä¿®æ¹äºº", |
| | | type: "string", |
| | | width: 100, |
| | | }, |
| | | { |
| | | prop: "modifyDate", |
| | | title: "ä¿®æ¹æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | }, |
| | | // { |
| | | // prop: "modifier", |
| | | // title: "ä¿®æ¹äºº", |
| | | // type: "string", |
| | | // width: 100, |
| | | // }, |
| | | // { |
| | | // prop: "modifyDate", |
| | | // title: "ä¿®æ¹æ¶é´", |
| | | // type: "datetime", |
| | | // width: 160, |
| | | // }, |
| | | { |
| | | prop: "remark", |
| | | title: "夿³¨", |
| | |
| | | var keys = this.selection.map((item) => item.id); // è·åéä¸è¡çid |
| | | |
| | | this.http |
| | | .post("api/Mes/PPCutOutGenerateOutboundTasks", keys, "æ°æ®å¤çä¸") |
| | | .post("api/Task/OutProductTask?stationCode=5236", keys, "æ°æ®å¤çä¸") |
| | | .then((x) => { |
| | | if (!x.status) return this.$message.error(x.message); |
| | | this.$message.success("æä½æå"); |
| | |
| | | getButtonEnable(propName, row) { |
| | | if (propName == "assignStock") { |
| | | if ( |
| | | row.orderDetailStatus !== 0 && |
| | | row.orderDetailStatus !== 60 && |
| | | row.orderDetailStatus !== 70 && |
| | | row.orderDetailStatus !== 80 |
| | | row.proOrderDetailStatus !== 0 && |
| | | row.proOrderDetailStatus !== 60 && |
| | | row.proOrderDetailStatus !== 70 && |
| | | row.proOrderDetailStatus !== 80 |
| | | ) { |
| | | return true; |
| | | } else { |