库存任务,检验项目修改

master
shaoyong 10 months ago
parent 35431f0d62
commit 4c17ec66c7

@ -121,6 +121,7 @@ import { getCkeckProjectList,changeCheckDetailStatus,commitActualValue,commitChe
export default { export default {
name: "itemSelectUser", name: "itemSelectUser",
dicts: ["check_result","qc_rule_prop"], dicts: ["check_result","qc_rule_prop"],
props: ['defectType'],
data() { data() {
return { return {
viewStatus : '0', viewStatus : '0',
@ -172,7 +173,8 @@ export default {
methods: { methods: {
getDefect(){ getDefect(){
getDefectList('material').then(response => { console.log(this.defectType);
getDefectList(this.defectType).then(response => {
this.defectList = response; this.defectList = response;
}); });
}, },

@ -355,6 +355,7 @@
<ItemSelectProject <ItemSelectProject
ref="itemSelectProject" ref="itemSelectProject"
@saveCheck="saveCheck" @saveCheck="saveCheck"
:defectType="'material'"
></ItemSelectProject> ></ItemSelectProject>
</div> </div>
</template> </template>

@ -325,6 +325,7 @@
<ItemSelectProject <ItemSelectProject
ref="itemSelectProject" ref="itemSelectProject"
@saveCheck="saveCheck" @saveCheck="saveCheck"
:defectType="'inventory'"
></ItemSelectProject> ></ItemSelectProject>
</div> </div>
</template> </template>

@ -394,6 +394,7 @@
<ItemSelectProject <ItemSelectProject
ref="itemSelectProject" ref="itemSelectProject"
@saveCheck="saveCheck" @saveCheck="saveCheck"
:defectType="'product'"
></ItemSelectProject> ></ItemSelectProject>
</div> </div>
</template> </template>

Loading…
Cancel
Save