| | |
| | | </el-col> |
| | | |
| | | <el-col :span="12"> |
| | | <el-form-item label="合同订单"> |
| | | <el-form-item label="销售明细单"> |
| | | <div class="custom-name"> |
| | | <el-autocomplete |
| | | style="width: 100%" |
| | |
| | | </el-row> |
| | | </div> |
| | | <!-- 动态信息 --> |
| | | <div class="basic-info-title">动态信息</div> |
| | | <div class="basic-info-view"> |
| | | <!-- <div class="basic-info-title">动态信息</div> --> |
| | | <!-- <div class="basic-info-view"> |
| | | <el-row> |
| | | <el-col :span="12"> |
| | | <el-form-item label="状态" prop="salesReturnStatusId"> |
| | |
| | | > |
| | | <el-option v-for="item in statusOptions" :key="item.id" :label="item.name" :value="item.id"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-select> --> |
| | | <!-- <div class="common-select-btn"><i class="el-icon-setting"></i></div> --> |
| | | </div> |
| | | <!-- </div> |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> --> |
| | | |
| | | <!-- 备注信息 --> |
| | | <div class="basic-info-title">备注信息</div> |
| | | <div class="basic-info-view"> |
| | |
| | | import { getProductList } from "@/api/common/other" |
| | | import SelectCommonDialog from "@/views/other/commonDialog/SelectCommonDialog" |
| | | import codeMixin from "@/views/client/followupRecords/mixin/codeMixin" |
| | | import { getSalesDetailsList } from "@/api/sales/salesDetails" |
| | | import {mapActions} from "vuex" |
| | | |
| | | export default { |
| | | name: "AddSalesReturnDialog", |
| | | mixins: [codeMixin], |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | ...mapActions(["getSalesDetailsFliter"]), |
| | | formInfo() { |
| | | this.objCode.type = "销售退货编码" |
| | | this.objCode.codeStandID = "" |
| | |
| | | // 获取产品列表 |
| | | async getProductList() { |
| | | await getProductList({ |
| | | page: 0, |
| | | pageSize: 0, |
| | | page: 1, |
| | | pageSize: 15, |
| | | productName: "", |
| | | productNumber: "" |
| | | productNumber: "", |
| | | // clientId:"100" |
| | | }).then((res) => { |
| | | console.log(res) |
| | | }) |
| | | }, |
| | | // 保存 |
| | |
| | | } |
| | | } |
| | | }, |
| | | handleSelectClient(value, item) { |
| | | async handleSelectClient(value, item) { |
| | | if (value === "client") { |
| | | this.clientId = item.id |
| | | await getSalesDetailsList({ |
| | | clientId:this.clientId |
| | | }).then((res)=>{ |
| | | this.getSalesDetailsFliter(res.data.list) |
| | | }) |
| | | |
| | | } else if (value === "contract") { |
| | | console.log(item,item.number,"选择框66") |
| | | this.productTableList.tableData=item.products |
| | | this.SalesDetailsId = item.id |
| | | } |
| | | }, |