问题修改
This commit is contained in:
		
							parent
							
								
									f8bf51983e
								
							
						
					
					
						commit
						857f5201a8
					
				| 
						 | 
					@ -76,7 +76,7 @@
 | 
				
			||||||
                  </el-select>
 | 
					                  </el-select>
 | 
				
			||||||
                </el-form-item>
 | 
					                </el-form-item>
 | 
				
			||||||
              </el-col>
 | 
					              </el-col>
 | 
				
			||||||
              <!-- <el-col :span="12">
 | 
					              <el-col :span="12">
 | 
				
			||||||
                <el-form-item label="原料进价" prop="unitPrice">
 | 
					                <el-form-item label="原料进价" prop="unitPrice">
 | 
				
			||||||
                  <el-input
 | 
					                  <el-input
 | 
				
			||||||
                    v-model="form.unitPrice"
 | 
					                    v-model="form.unitPrice"
 | 
				
			||||||
| 
						 | 
					@ -88,6 +88,7 @@
 | 
				
			||||||
                  </el-input>
 | 
					                  </el-input>
 | 
				
			||||||
                </el-form-item>
 | 
					                </el-form-item>
 | 
				
			||||||
              </el-col>
 | 
					              </el-col>
 | 
				
			||||||
 | 
					              <!-- 
 | 
				
			||||||
              <el-col :span="12">
 | 
					              <el-col :span="12">
 | 
				
			||||||
                <el-form-item label="条码" prop="barCode">
 | 
					                <el-form-item label="条码" prop="barCode">
 | 
				
			||||||
                  <el-input
 | 
					                  <el-input
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@
 | 
				
			||||||
                        <span class="item-label">采购计划参考价:</span>
 | 
					                        <span class="item-label">采购计划参考价:</span>
 | 
				
			||||||
                        <el-select v-model="purchase_plan_reference_price" placeholder="请选择" style="width: 240px;">
 | 
					                        <el-select v-model="purchase_plan_reference_price" placeholder="请选择" style="width: 240px;">
 | 
				
			||||||
                            <el-option label="参考上次采购价格" value="0"></el-option>
 | 
					                            <el-option label="参考上次采购价格" value="0"></el-option>
 | 
				
			||||||
                            <el-option label="参考采集的市场价格" value="1"></el-option>  
 | 
					                            <el-option label="参考原料进价" value="1"></el-option>  
 | 
				
			||||||
                        </el-select>  
 | 
					                        </el-select>  
 | 
				
			||||||
                    </div>
 | 
					                    </div>
 | 
				
			||||||
                    <div style="color: #999;font-size: 14px;margin-top: 10px">采购计划中将按照设定的方式展示货品的参考价</div>
 | 
					                    <div style="color: #999;font-size: 14px;margin-top: 10px">采购计划中将按照设定的方式展示货品的参考价</div>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -86,11 +86,11 @@
 | 
				
			||||||
                        </template>
 | 
					                        </template>
 | 
				
			||||||
                    </el-table-column>
 | 
					                    </el-table-column>
 | 
				
			||||||
                    <el-table-column label="供应商名称" align="center" prop="supplierName" :show-overflow-tooltip="true"/>
 | 
					                    <el-table-column label="供应商名称" align="center" prop="supplierName" :show-overflow-tooltip="true"/>
 | 
				
			||||||
                    <el-table-column label="最近一次供货时间" align="center" prop="lastOrderGoodsDate" :show-overflow-tooltip="true"> 
 | 
					                    <el-table-column label="最近一次供货时间" align="center" prop="purchaseGoodsTime" :show-overflow-tooltip="true"> 
 | 
				
			||||||
                    </el-table-column>  
 | 
					                    </el-table-column>  
 | 
				
			||||||
                    <el-table-column label="价格" align="center" prop="lastOrderGoodsPrice" width="120" :show-overflow-tooltip="true" >
 | 
					                    <el-table-column label="价格" align="center" prop="singlePrice" width="120" :show-overflow-tooltip="true" >
 | 
				
			||||||
                        <template slot-scope="scope">
 | 
					                        <template slot-scope="scope">
 | 
				
			||||||
                            <!-- <span>{{ (scope.row.lastOrderGoodsPrice/100).toFixed(2)||0 }}</span> -->
 | 
					                            <span>{{ (scope.row.singlePrice/100).toFixed(2)||0 }}</span>
 | 
				
			||||||
                        </template>
 | 
					                        </template>
 | 
				
			||||||
                    </el-table-column>
 | 
					                    </el-table-column>
 | 
				
			||||||
                </el-table> 
 | 
					                </el-table> 
 | 
				
			||||||
| 
						 | 
					@ -340,13 +340,13 @@ export default {
 | 
				
			||||||
            systemMaterialTreeApi(param).then((response) => {
 | 
					            systemMaterialTreeApi(param).then((response) => {
 | 
				
			||||||
                this.treeTypeOptions = response.data;
 | 
					                this.treeTypeOptions = response.data;
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
        }, 
 | 
					        },
 | 
				
			||||||
          /** 查询供应商下拉结构 */
 | 
					          /** 查询供应商下拉结构 */
 | 
				
			||||||
        getSupplierData() { 
 | 
					        getSupplierData() { 
 | 
				
			||||||
            supplierPageApi({ isPaging:1,areaIdList:[] }).then((response) => {
 | 
					            supplierPageApi({ isPaging:1,areaIdList:[] }).then((response) => {
 | 
				
			||||||
                this.supplierOptions = response.rows||[]; 
 | 
					                this.supplierOptions = response.rows||[]; 
 | 
				
			||||||
            }); 
 | 
					            }); 
 | 
				
			||||||
        }, 
 | 
					        },
 | 
				
			||||||
        handleTabClick(){
 | 
					        handleTabClick(){
 | 
				
			||||||
            if(this.activeName=='material'){
 | 
					            if(this.activeName=='material'){
 | 
				
			||||||
                this.queryParams={
 | 
					                this.queryParams={
 | 
				
			||||||
| 
						 | 
					@ -385,7 +385,7 @@ export default {
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            this.resetForm("queryForm");
 | 
					            this.resetForm("queryForm");
 | 
				
			||||||
            this.handleQuery();
 | 
					            this.handleQuery();
 | 
				
			||||||
        }, 
 | 
					        },
 | 
				
			||||||
        /** 查询列表 */
 | 
					        /** 查询列表 */
 | 
				
			||||||
        getList() {
 | 
					        getList() {
 | 
				
			||||||
            this.loading = true;
 | 
					            this.loading = true;
 | 
				
			||||||
| 
						 | 
					@ -566,7 +566,7 @@ export default {
 | 
				
			||||||
                }
 | 
					                }
 | 
				
			||||||
            })
 | 
					            })
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        
 | 
					
 | 
				
			||||||
        //弹窗select操作
 | 
					        //弹窗select操作
 | 
				
			||||||
        dialogChangeSupplier(e){
 | 
					        dialogChangeSupplier(e){
 | 
				
			||||||
            console.log(e)
 | 
					            console.log(e)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue