| | |
| | | //根据审核状态显示审核按钮或者是反审按钮 |
| | | value.value='原片|辅料' |
| | | getStoreWork() |
| | | console.log(res.data) |
| | | if(titleUploadData.value.reviewedState!==0){ |
| | | gridOptions.toolbarConfig.buttons[1].disabled = true |
| | | gridOptions.toolbarConfig.buttons[0].disabled = true |
| | |
| | | request.get(`/BasicWarehouse/BasicWarehouseTypes/库存组织|材料返库类型`).then((res) => { |
| | | |
| | | if(res.code==200){ |
| | | console.log(res.data) |
| | | titleSelectJson.value=deepClone(res.data) |
| | | // for(let i=0;i<titleSelectJson.value.inventoryOrganization.length;i++){ |
| | | // this.$set(this.produceList[i], "inventoryOrganization", titleSelectJson.value["inventoryOrganization"][i].operateTypeName); |
| | |
| | | filterData.value.type=value.value |
| | | request.get(`/BasicWarehouse/BasicWarehouseType/${value.value}`).then((res) => { |
| | | if(res.code==200){ |
| | | console.log(res.data) |
| | | gridOptions.columns=[] |
| | | BasicData.value = res.data |
| | | //添加列 |
| | |
| | | request.post(`/MaterialStore/getSelectMaterialStore/1/100`,filterData.value).then((res) => { |
| | | |
| | | if(res.code==200){ |
| | | console.log(res.data) |
| | | materialStore.value=[] |
| | | for (let i=0;i<res.data.data.length;i++){ |
| | | materialStore.value[i]=(res.data.data[i]) |