| | |
| | | <template> |
| | | <div class="rightContent"> |
| | | <div class="content-box"> |
| | | <div class="content-box" v-loading="tableLoading"> |
| | | <div class="supplier-search"> |
| | | <SearchCommonView |
| | | ref="searchCommonView" |
| | |
| | | computed: {}, |
| | | data() { |
| | | return { |
| | | tableLoading:false, |
| | | tableList: {}, // 列表 |
| | | selValueList: [], |
| | | commonDetail: { |
| | |
| | | signingDate:'', |
| | | deliveryDate:'', |
| | | remark:'', |
| | | wholeDiscountType:null, |
| | | wholeDiscount:0, |
| | | priceAdjustmentType:null, |
| | | priceAdjustment:0, |
| | | realTotalPrice:0, |
| | | } |
| | | }, |
| | | |
| | | // 编辑 |
| | | editClick(row){ |
| | | this.tableLoading=true |
| | | getPurchaseInfo({id:row.ID}).then((res) => { |
| | | if (res.code == 200) { |
| | | this.tableLoading=false |
| | | this.editConfig.visible = true |
| | | this.editConfig.title = "编辑" |
| | | this.editConfig.infomation = { |
| | |
| | | this.$message.error(res.msg?res.msg+',':''+'获取信息失败!') |
| | | } |
| | | }) |
| | | setTimeout(()=>{ |
| | | this.tableLoading=false |
| | | },3000) |
| | | // this.editRow = row; |
| | | // this.$refs.add.islook = true; |
| | | |
| | |
| | | // 详情 |
| | | selCommonClick(row) { |
| | | console.log(row) |
| | | this.tableLoading=true |
| | | getPurchaseInfo({id:row.ID}).then((res) => { |
| | | if (res.code == 200) { |
| | | this.tableLoading=false |
| | | this.commonDetail.visible = true |
| | | this.commonDetail.infomation = { |
| | | productList:res.data.productList, |
| | |
| | | this.$message.error(res.msg?res.msg+',':''+'获取信息失败!') |
| | | } |
| | | }) |
| | | setTimeout(()=>{ |
| | | this.tableLoading=false |
| | | },3000) |
| | | } |
| | | } |
| | | } |