modified: src/views/plan/customerorder/sample-customerorder-form.vue
| | |
| | | <el-divider> |
| | | <span style="font-weight:bold;font-size:16px;">订单行</span> |
| | | </el-divider> |
| | | <div> |
| | | <div class="l-mes normal-form"> |
| | | <avue-crud ref="crud" |
| | | show-hide="false" |
| | | :option="option" |
| | |
| | | :label="item.label" |
| | | :value="item.value" /> |
| | | </el-select> |
| | | </template> |
| | | <template slot="menu" slot-scope="scope"> |
| | | <el-button type="text" icon="el-icon-circle-close" :disabled="tableData.length<2" @click="delRow(scope.row,scope.$index)">取消</el-button> |
| | | </template> |
| | | </avue-crud> |
| | | </div> |
| | |
| | | /> |
| | | </el-dialog> |
| | | </template> |
| | | <style> |
| | | .normal-form .el-input-group__append, |
| | | .normal-form .el-input-group__prepend { |
| | | padding: 0; |
| | | border-top: none; |
| | | border-right: none; |
| | | border-left: none; |
| | | border-radius: 0; |
| | | background-color: transparent; |
| | | } |
| | | .normal-form .el-input-group__append .el-button, |
| | | .normal-form .el-input-group__prepend .el-button { |
| | | padding: 0; |
| | | width: 25px; |
| | | border: none !important; |
| | | line-height: 28px; |
| | | color: #c0c4cc; |
| | | margin: -1px 0; |
| | | } |
| | | </style> |
| | | <script> |
| | | import { addObj } from '@/api/plan/customer' |
| | | import { remote } from '@/api/admin/dict' |
| | |
| | | "$cellEdit": true, |
| | | "$index": 0, |
| | | "partNo": "", |
| | | "customerPartSpec": "", |
| | | "specs": "", |
| | | "manufactureAttr": "", |
| | | "productName": "", |
| | | "productType": "", |
| | |
| | | this.getStaffOptions(); |
| | | }, |
| | | methods: { |
| | | delRow(row,index){ |
| | | this.tableData.splice(index,1) |
| | | }, |
| | | selsctionSales(data){ |
| | | this.dataForm.salesMan = data.staffName |
| | | this.dataForm.salerWorkCode = data.staffNo |
| | |
| | | "$cellEdit": true, |
| | | "$index": 0, |
| | | "partNo": "", |
| | | "customerPartSpec": "", |
| | | "specs": "", |
| | | "manufactureAttr": "", |
| | | "productName": "", |
| | | "productType": "", |
| | |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | | </script> |
| | | <style> |
| | | .normal-form .el-input-group__append, |
| | | .normal-form .el-input-group__prepend { |
| | | padding: 0; |
| | | border-top: none; |
| | | border-right: none; |
| | | border-left: none; |
| | | border-radius: 0; |
| | | background-color: transparent; |
| | | } |
| | | .normal-form .el-input-group__append .el-button, |
| | | .normal-form .el-input-group__prepend .el-button { |
| | | padding: 0; |
| | | width: 25px; |
| | | border: none !important; |
| | | line-height: 28px; |
| | | color: #c0c4cc; |
| | | margin: -1px 0; |
| | | } |
| | | </style> |