| | |
| | | import { addObj } from '@/api/plan/customer' |
| | | import { remote } from '@/api/admin/dict' |
| | | import PartDialog from '@/views/common/part.vue' |
| | | import { validateSixDecimal } from '@/util/validate' |
| | | import {dateFormat} from '@/util/date' |
| | | import { chooseStaff } from '@/api/admin/productType' |
| | | import { tableOption } from '@/const/crud/customerOrder/customerOrderForm' |
| | |
| | | components: { |
| | | PartDialog |
| | | }, |
| | | watch:{ |
| | | visible(newVal){ |
| | | if(!newVal){ |
| | | this.tableData = [{ |
| | | "$cellEdit": true, |
| | | "$index": 0, |
| | | "partNo": "", |
| | | "customerPartSpec": "", |
| | | "manufactureAttr": "", |
| | | "productName": "", |
| | | "productType": "", |
| | | "otcUnit": "", |
| | | "buyQtyDue": "", |
| | | "shippingAddress": "", |
| | | "remark": "", |
| | | "isTrusted": true |
| | | }] |
| | | } |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | salesSelectData: null, |