| | |
| | | </el-divider> |
| | | <div> |
| | | <avue-crud ref="crud" |
| | | show-hide="false" |
| | | :option="option" |
| | | :data="tableData"> |
| | | <template slot="partNo" slot-scope="scope"> |
| | |
| | | this.dataForm.placeOrderDate = null |
| | | this.dataForm.factoryPlaceOrderDate = null |
| | | this.dataForm.deliveryDate = null |
| | | this.dataForm.customerOrderVOList = [{ |
| | | "$cellEdit": true, |
| | | "$index": 0, |
| | | "partNo": "", |
| | | "customerPartSpec": "", |
| | | "manufactureAttr": "", |
| | | "productName": "", |
| | | "productType": "", |
| | | "otcUnit": "", |
| | | "buyQtyDue": "", |
| | | "shippingAddress": "", |
| | | "remark": "", |
| | | "isTrusted": true |
| | | }] |
| | | }, |
| | | // 表单提交 |
| | | dataFormSubmit() { |
| | |
| | | addObj(this.dataForm) |
| | | .then((data) => { |
| | | this.$message.success('添加成功') |
| | | this.initDataForm(); |
| | | this.visible = false |
| | | this.buttonDisable = false |
| | | this.$emit('refreshDataList', 1) |